1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-be124c14"],{"009c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("77f3"),i=r("69a8"),a=r("9688");class o extends n.DocumentFragmentImpl{constructor(e,t){super(),this._host=e,this._mode=t}get mode(){return this._mode}get host(){return this._host}_getTheParent(e){return e._composedFlag||i.isEmpty(e._path)||a.tree_rootNode(e._path[0].invocationTarget)!==this?this._host:null}static _create(e,t){return new o(t,"closed")}}t.ShadowRootImpl=o},"00ce":function(e,t,r){"use strict";var n,i=r("a645"),a=r("417f7"),o=r("dc99"),s=r("1409"),l=r("67ee"),u=r("0d25"),c=r("67d9"),d=Function,h=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(t){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(P){p=null}var f=function(){throw new u},m=p?function(){try{return f}catch(e){try{return p(arguments,"callee").get}catch(t){return f}}}():f,g=r("5156")(),v=r("0a36")(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},w="undefined"!==typeof Uint8Array&&b?b(Uint8Array):n,_={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":y,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&g&&b?b((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&g&&b?b((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):n,"%Symbol%":g?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":u,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};if(b)try{null.error}catch(P){var S=b(b(P));_["%Error.prototype%"]=S}var E=function e(t){var r;if("%AsyncFunction%"===t)r=h("async function () {}");else if("%GeneratorFunction%"===t)r=h("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=h("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&b&&(r=b(i.prototype))}return _[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=r("0f7c"),C=r("9671"),x=T.call(Function.call,Array.prototype.concat),A=T.call(Function.apply,Array.prototype.splice),N=T.call(Function.call,String.prototype.replace),O=T.call(Function.call,String.prototype.slice),R=T.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,I=function(e){var t=O(e,0,1),r=O(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return N(e,L,(function(e,t,r,i){n[n.length]=r?N(i,k,"$1"):t||e})),n},D=function(e,t){var r,n=e;if(C(M,n)&&(r=M[n],n="%"+r[0]+"%"),C(_,n)){var i=_[n];if(i===y&&(i=E(n)),"undefined"===typeof i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===R(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=I(e),n=r.length>0?r[0]:"",i=D("%"+n+"%",t),a=i.name,o=i.value,s=!1,c=i.alias;c&&(n=c[0],A(r,x([0,1],c)));for(var d=1,h=!0;d<r.length;d+=1){var f=r[d],m=O(f,0,1),g=O(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&h||(s=!0),n+="."+f,a="%"+n+"%",C(_,a))o=_[a];else if(null!=o){if(!(f in o)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&d+1>=r.length){var v=p(o,f);h=!!v,o=h&&"get"in v&&!("originalValue"in v.get)?v.get:o[f]}else h=C(o,f),o=o[f];h&&!s&&(_[a]=o)}}return o}},"00dc":function(e,t,r){(function(e){var n=r("58a2"),i=r("c24de"),a=r("561d");function o(t){var r=new e(i[t].prime,"hex"),n=new e(i[t].gen,"hex");return new a(r,n)}var s={binary:!0,hex:!0,base64:!0};function l(t,r,i,o){return e.isBuffer(r)||void 0===s[r]?l(t,"binary",r,i):(r=r||"binary",o=o||"binary",i=i||new e([2]),e.isBuffer(i)||(i=new e(i,o)),"number"===typeof t?new a(n(t,i),i,!0):(e.isBuffer(t)||(t=new e(t,r)),new a(t,i,!0)))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=o,t.createDiffieHellman=t.DiffieHellman=l}).call(this,r("b639").Buffer)},"00fd":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("d06e");var n=r("9f10"),i=r("81ea");class a extends n["a"]{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];super(e)}getTrimmedIndexes(){return Object(i["arrayReduce"])(this.getValues(),(e,t,r)=>(t&&e.push(r),e),[])}}},"0106":function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(14).Buffer}catch(x){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else{var s=e.length-t;for(n=s%2===0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8}this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var d=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},a.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=h;p++){var f=u-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,c+=o/67108864|0,d=67108863&o}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}a.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,r=0!==a||o!==this.length-1?c[6-l.length]+l+r:l+r,i+=2,i>=26&&(i-=26,o--)}0!==a&&(r=a.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],p=h[e];r="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),r=f.isZero()?m+r:c[u-m.length]+m+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n("undefined"!==typeof o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,l="le"===t,u=new e(a),c=this.clone();if(l){for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)t=(0|r.words[o])-(0|n.words[o])+a,a=t>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)t=(0|r.words[o])+a,a=t>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,u=0,c=0|o[0],d=8191&c,h=c>>>13,p=0|o[1],f=8191&p,m=p>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],w=8191&y,_=y>>>13,S=0|o[4],E=8191&S,M=S>>>13,T=0|o[5],C=8191&T,x=T>>>13,A=0|o[6],N=8191&A,O=A>>>13,R=0|o[7],L=8191&R,k=R>>>13,I=0|o[8],D=8191&I,P=I>>>13,j=0|o[9],F=8191&j,H=j>>>13,B=0|s[0],U=8191&B,V=B>>>13,Y=0|s[1],z=8191&Y,W=Y>>>13,q=0|s[2],G=8191&q,K=q>>>13,X=0|s[3],Z=8191&X,$=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,U),i=Math.imul(d,V),i=i+Math.imul(h,U)|0,a=Math.imul(h,V);var ge=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=Math.imul(f,V),i=i+Math.imul(m,U)|0,a=Math.imul(m,V),n=n+Math.imul(d,z)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,z)|0,a=a+Math.imul(h,W)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,U),i=Math.imul(v,V),i=i+Math.imul(b,U)|0,a=Math.imul(b,V),n=n+Math.imul(f,z)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0,n=n+Math.imul(d,G)|0,i=i+Math.imul(d,K)|0,i=i+Math.imul(h,G)|0,a=a+Math.imul(h,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,U),i=Math.imul(w,V),i=i+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,z)|0,i=i+Math.imul(v,W)|0,i=i+Math.imul(b,z)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(f,G)|0,i=i+Math.imul(f,K)|0,i=i+Math.imul(m,G)|0,a=a+Math.imul(m,K)|0,n=n+Math.imul(d,Z)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,Z)|0,a=a+Math.imul(h,$)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(E,U),i=Math.imul(E,V),i=i+Math.imul(M,U)|0,a=Math.imul(M,V),n=n+Math.imul(w,z)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,z)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(b,G)|0,a=a+Math.imul(b,K)|0,n=n+Math.imul(f,Z)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,ee)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,U),i=Math.imul(C,V),i=i+Math.imul(x,U)|0,a=Math.imul(x,V),n=n+Math.imul(E,z)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,z)|0,a=a+Math.imul(M,W)|0,n=n+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(v,$)|0,i=i+Math.imul(b,Z)|0,a=a+Math.imul(b,$)|0,n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ne)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(N,U),i=Math.imul(N,V),i=i+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(C,z)|0,i=i+Math.imul(C,W)|0,i=i+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(M,G)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,Z)|0,i=i+Math.imul(w,$)|0,i=i+Math.imul(_,Z)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(h,ae)|0,a=a+Math.imul(h,oe)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,U),i=Math.imul(L,V),i=i+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(N,z)|0,i=i+Math.imul(N,W)|0,i=i+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(C,G)|0,i=i+Math.imul(C,K)|0,i=i+Math.imul(x,G)|0,a=a+Math.imul(x,K)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(M,Z)|0,a=a+Math.imul(M,$)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=i+Math.imul(v,ne)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(f,ae)|0,i=i+Math.imul(f,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,n=n+Math.imul(d,le)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ue)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,U),i=Math.imul(D,V),i=i+Math.imul(P,U)|0,a=Math.imul(P,V),n=n+Math.imul(L,z)|0,i=i+Math.imul(L,W)|0,i=i+Math.imul(k,z)|0,a=a+Math.imul(k,W)|0,n=n+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(O,G)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(C,Z)|0,i=i+Math.imul(C,$)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(w,re)|0,i=i+Math.imul(w,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(v,ae)|0,i=i+Math.imul(v,oe)|0,i=i+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,a=a+Math.imul(h,he)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,U),i=Math.imul(F,V),i=i+Math.imul(H,U)|0,a=Math.imul(H,V),n=n+Math.imul(D,z)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(P,z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(L,G)|0,i=i+Math.imul(L,K)|0,i=i+Math.imul(k,G)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(N,Z)|0,i=i+Math.imul(N,$)|0,i=i+Math.imul(O,Z)|0,a=a+Math.imul(O,$)|0,n=n+Math.imul(C,Q)|0,i=i+Math.imul(C,ee)|0,i=i+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(w,ae)|0,i=i+Math.imul(w,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(v,le)|0,i=i+Math.imul(v,ue)|0,i=i+Math.imul(b,le)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0,n=n+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,a=a+Math.imul(h,me)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,z),i=Math.imul(F,W),i=i+Math.imul(H,z)|0,a=Math.imul(H,W),n=n+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(P,G)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(k,Z)|0,a=a+Math.imul(k,$)|0,n=n+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(C,re)|0,i=i+Math.imul(C,ne)|0,i=i+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(E,ae)|0,i=i+Math.imul(E,oe)|0,i=i+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(w,le)|0,i=i+Math.imul(w,ue)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(b,de)|0,a=a+Math.imul(b,he)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,a=a+Math.imul(m,me)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,G),i=Math.imul(F,K),i=i+Math.imul(H,G)|0,a=Math.imul(H,K),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,$)|0,i=i+Math.imul(P,Z)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(L,Q)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(N,re)|0,i=i+Math.imul(N,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(C,ae)|0,i=i+Math.imul(C,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(E,le)|0,i=i+Math.imul(E,ue)|0,i=i+Math.imul(M,le)|0,a=a+Math.imul(M,ue)|0,n=n+Math.imul(w,de)|0,i=i+Math.imul(w,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,he)|0,n=n+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(b,fe)|0,a=a+Math.imul(b,me)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,Z),i=Math.imul(F,$),i=i+Math.imul(H,Z)|0,a=Math.imul(H,$),n=n+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(N,ae)|0,i=i+Math.imul(N,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(C,le)|0,i=i+Math.imul(C,ue)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(M,de)|0,a=a+Math.imul(M,he)|0,n=n+Math.imul(w,fe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,Q),i=Math.imul(F,ee),i=i+Math.imul(H,Q)|0,a=Math.imul(H,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(P,re)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(N,le)|0,i=i+Math.imul(N,ue)|0,i=i+Math.imul(O,le)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(C,de)|0,i=i+Math.imul(C,he)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,he)|0,n=n+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(M,fe)|0,a=a+Math.imul(M,me)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(H,re)|0,a=Math.imul(H,ne),n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ue)|0,i=i+Math.imul(k,le)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(N,de)|0,i=i+Math.imul(N,he)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,he)|0,n=n+Math.imul(C,fe)|0,i=i+Math.imul(C,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,ae),i=Math.imul(F,oe),i=i+Math.imul(H,ae)|0,a=Math.imul(H,oe),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(P,le)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0,n=n+Math.imul(N,fe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(O,fe)|0,a=a+Math.imul(O,me)|0;var Re=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(H,le)|0,a=Math.imul(H,ue),n=n+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(k,fe)|0,a=a+Math.imul(k,me)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,de),i=Math.imul(F,he),i=i+Math.imul(H,de)|0,a=Math.imul(H,he),n=n+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(P,fe)|0,a=a+Math.imul(P,me)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,fe),i=Math.imul(F,me),i=i+Math.imul(H,fe)|0,a=Math.imul(H,me);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=Se,l[7]=Ee,l[8]=Me,l[9]=Te,l[10]=Ce,l[11]=xe,l[12]=Ae,l[13]=Ne,l[14]=Oe,l[15]=Re,l[16]=Le,l[17]=ke,l[18]=Ie,0!==u&&(l[19]=u,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=l;u++){var c=a-u,d=0|e.words[c],h=0|t.words[u],p=d*h,f=67108863&p;o=o+(p/67108864|0)|0,f=f+s|0,s=67108863&f,o=o+(f>>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function v(e,t,r){var n=new b;return n.mulp(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?m(this,e,t):n<63?f(this,e,t):n<1024?g(this,e,t):v(this,e,t),r},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},b.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,p=0;p<o;p++){var f=r[c+p],m=n[c+p],g=r[c+p+o],v=n[c+p+o],b=d*g-h*v;v=d*v+h*g,g=b,r[c+p]=f+g,n[c+p]=m+v,r[c+p+o]=f-g,n[c+p+o]=m-v,p!==s&&(b=l*d-u*h,h=l*h+u*d,d=b)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,l,n,i),this.transform(u,a,c,d,n,i);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),v(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=p(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var a=this.words[r];return!!(a&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;a-=67108863&l,s=(a>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)a=(0|this.words[i+r])+s,s=a>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)a=-(0|this.words[i])+s,s=a>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1],s=this._countBits(o);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new a(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var d=n.clone()._ishlnsubmul(i,1,u);0===d.negative&&(n=d,l&&(l.words[u]=1));for(var h=u-1;h>=0;h--){var p=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,h);while(0!==n.negative)p--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new a(1),o=new a(0),s=new a(0),l=new a(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),d=t.clone();while(!t.isZero()){for(var h=0,p=1;0===(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0){t.iushrn(h);while(h-- >0)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(d)),i.iushrn(1),o.iushrn(1)}for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0){r.iushrn(f);while(f-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(l)):(r.isub(t),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,o=new a(1),s=new a(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)o.isOdd()&&o.iadd(l),o.iushrn(1)}for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0){r.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return i=0===t.cmpn(1)?o:s,i.cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new T(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,w),i(E,w),i(M,w),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return y[e]=t,t},T.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},T.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},T.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},T.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},T.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},T.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},T.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),o=0;while(!i.isZero()&&0===i.andln(1))o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new a(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),f=o;while(0!==p.cmp(s)){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new a(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},T.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},T.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new a(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var o=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var h=c>>d&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==s?(s<<=1,s|=h,l++,(l===r||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)):l=0}u=26}return o},T.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},T.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},i(C,T),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},"010e":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"0145":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"0184":function(e,t,r){"use strict";var n=r("da3e");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==e.padding}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var a=e.length-(e.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;while(t<e.length)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},"01b5":function(e,t,r){"use strict";var n=r("73fa"),i=r("8793"),a=r("7c2b");e.exports=function(e,t,r){var o,s;return a&&n(o=t.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(e,s),e}},"01d0":function(e,t){var r=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return i[this.type]||i.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var t=n[e];Object.defineProperty(r,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},"0204":function(e,t,r){"use strict";var n=r("48ab"),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},"0211":function(e,t,r){var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r})),t},n.der=r("8b71")},"0213":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("605c");class i extends n.BaseCBWriter{constructor(e){super(e),this._lineLength=0}declaration(e,t,r){let n=this._beginLine()+"<?xml";return n+=' version="'+e+'"',void 0!==t&&(n+=' encoding="'+t+'"'),void 0!==r&&(n+=' standalone="'+(r?"yes":"no")+'"'),n+="?>",n}docType(e,t,r){let n=this._beginLine();return n+=t&&r?"<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+r+'">':t?"<!DOCTYPE "+e+' PUBLIC "'+t+'">':r?"<!DOCTYPE "+e+' SYSTEM "'+r+'">':"<!DOCTYPE "+e+">",n}comment(e){return this._beginLine()+"\x3c!--"+e+"--\x3e"}text(e){return this._beginLine()+e}instruction(e,t){return t?this._beginLine()+"<?"+e+" "+t+"?>":this._beginLine()+"<?"+e+"?>"}cdata(e){return this._beginLine()+"<![CDATA["+e+"]]>"}openTagBegin(e){return this._lineLength+=1+e.length,this._beginLine()+"<"+e}openTagEnd(e,t,r){return r?" />":t?this._writerOptions.allowEmptyTags?"></"+e+">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"}closeTag(e){return this._beginLine()+"</"+e+">"}attribute(e,t){let r=e+'="'+t+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+r.length>this._writerOptions.width?(r=this._beginLine()+this._indent(1)+r,this._lineLength=r.length,r):(this._lineLength+=1+r.length," "+r)}beginElement(e){}endElement(e){}_beginLine(){if(this._writerOptions.prettyPrint){const e=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=e.length,e}return""}_indent(e){return e<=0?"":this._writerOptions.indent.repeat(e)}}t.XMLCBWriter=i},"0227":function(e,t,r){"use strict";var n=r("f2e8"),i=r("73fa"),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}},"022b":function(e,t,r){"use strict";e.exports=function(e){return null===e||void 0===e}},"0283":function(e,t,r){"use strict";r.r(t),r.d(t,"CONTEXT_MENU_ITEMS_NAMESPACE",(function(){return n})),r.d(t,"CONTEXTMENU_ITEMS_NO_ITEMS",(function(){return a})),r.d(t,"CONTEXTMENU_ITEMS_ROW_ABOVE",(function(){return o})),r.d(t,"CONTEXTMENU_ITEMS_ROW_BELOW",(function(){return s})),r.d(t,"CONTEXTMENU_ITEMS_INSERT_LEFT",(function(){return l})),r.d(t,"CONTEXTMENU_ITEMS_INSERT_RIGHT",(function(){return u})),r.d(t,"CONTEXTMENU_ITEMS_REMOVE_ROW",(function(){return c})),r.d(t,"CONTEXTMENU_ITEMS_REMOVE_COLUMN",(function(){return d})),r.d(t,"CONTEXTMENU_ITEMS_UNDO",(function(){return h})),r.d(t,"CONTEXTMENU_ITEMS_REDO",(function(){return p})),r.d(t,"CONTEXTMENU_ITEMS_READ_ONLY",(function(){return f})),r.d(t,"CONTEXTMENU_ITEMS_CLEAR_COLUMN",(function(){return m})),r.d(t,"CONTEXTMENU_ITEMS_COPY",(function(){return g})),r.d(t,"CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS",(function(){return v})),r.d(t,"CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS",(function(){return b})),r.d(t,"CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY",(function(){return y})),r.d(t,"CONTEXTMENU_ITEMS_CUT",(function(){return w})),r.d(t,"CONTEXTMENU_ITEMS_FREEZE_COLUMN",(function(){return _})),r.d(t,"CONTEXTMENU_ITEMS_UNFREEZE_COLUMN",(function(){return S})),r.d(t,"CONTEXTMENU_ITEMS_MERGE_CELLS",(function(){return E})),r.d(t,"CONTEXTMENU_ITEMS_UNMERGE_CELLS",(function(){return M})),r.d(t,"CONTEXTMENU_ITEMS_ADD_COMMENT",(function(){return T})),r.d(t,"CONTEXTMENU_ITEMS_EDIT_COMMENT",(function(){return C})),r.d(t,"CONTEXTMENU_ITEMS_REMOVE_COMMENT",(function(){return x})),r.d(t,"CONTEXTMENU_ITEMS_READ_ONLY_COMMENT",(function(){return A})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT",(function(){return N})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_LEFT",(function(){return O})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_CENTER",(function(){return R})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT",(function(){return L})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY",(function(){return k})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_TOP",(function(){return I})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE",(function(){return D})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM",(function(){return P})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS",(function(){return j})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_TOP",(function(){return F})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_RIGHT",(function(){return H})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_BOTTOM",(function(){return B})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_LEFT",(function(){return U})),r.d(t,"CONTEXTMENU_ITEMS_REMOVE_BORDERS",(function(){return V})),r.d(t,"CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD",(function(){return Y})),r.d(t,"CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD",(function(){return z})),r.d(t,"CONTEXTMENU_ITEMS_HIDE_COLUMN",(function(){return W})),r.d(t,"CONTEXTMENU_ITEMS_SHOW_COLUMN",(function(){return q})),r.d(t,"CONTEXTMENU_ITEMS_HIDE_ROW",(function(){return G})),r.d(t,"CONTEXTMENU_ITEMS_SHOW_ROW",(function(){return K})),r.d(t,"FILTERS_NAMESPACE",(function(){return X})),r.d(t,"FILTERS_CONDITIONS_NAMESPACE",(function(){return Z})),r.d(t,"FILTERS_CONDITIONS_NONE",(function(){return $})),r.d(t,"FILTERS_CONDITIONS_EMPTY",(function(){return J})),r.d(t,"FILTERS_CONDITIONS_NOT_EMPTY",(function(){return Q})),r.d(t,"FILTERS_CONDITIONS_EQUAL",(function(){return ee})),r.d(t,"FILTERS_CONDITIONS_NOT_EQUAL",(function(){return te})),r.d(t,"FILTERS_CONDITIONS_BEGINS_WITH",(function(){return re})),r.d(t,"FILTERS_CONDITIONS_ENDS_WITH",(function(){return ne})),r.d(t,"FILTERS_CONDITIONS_CONTAINS",(function(){return ie})),r.d(t,"FILTERS_CONDITIONS_NOT_CONTAIN",(function(){return ae})),r.d(t,"FILTERS_CONDITIONS_BY_VALUE",(function(){return oe})),r.d(t,"FILTERS_CONDITIONS_GREATER_THAN",(function(){return se})),r.d(t,"FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL",(function(){return le})),r.d(t,"FILTERS_CONDITIONS_LESS_THAN",(function(){return ue})),r.d(t,"FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL",(function(){return ce})),r.d(t,"FILTERS_CONDITIONS_BETWEEN",(function(){return de})),r.d(t,"FILTERS_CONDITIONS_NOT_BETWEEN",(function(){return he})),r.d(t,"FILTERS_CONDITIONS_AFTER",(function(){return pe})),r.d(t,"FILTERS_CONDITIONS_BEFORE",(function(){return fe})),r.d(t,"FILTERS_CONDITIONS_TODAY",(function(){return me})),r.d(t,"FILTERS_CONDITIONS_TOMORROW",(function(){return ge})),r.d(t,"FILTERS_CONDITIONS_YESTERDAY",(function(){return ve})),r.d(t,"FILTERS_DIVS_FILTER_BY_CONDITION",(function(){return be})),r.d(t,"FILTERS_DIVS_FILTER_BY_VALUE",(function(){return ye})),r.d(t,"FILTERS_LABELS_CONJUNCTION",(function(){return we})),r.d(t,"FILTERS_LABELS_DISJUNCTION",(function(){return _e})),r.d(t,"FILTERS_VALUES_BLANK_CELLS",(function(){return Se})),r.d(t,"FILTERS_BUTTONS_SELECT_ALL",(function(){return Ee})),r.d(t,"FILTERS_BUTTONS_CLEAR",(function(){return Me})),r.d(t,"FILTERS_BUTTONS_OK",(function(){return Te})),r.d(t,"FILTERS_BUTTONS_CANCEL",(function(){return Ce})),r.d(t,"FILTERS_BUTTONS_PLACEHOLDER_SEARCH",(function(){return xe})),r.d(t,"FILTERS_BUTTONS_PLACEHOLDER_VALUE",(function(){return Ae})),r.d(t,"FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE",(function(){return Ne})),r.d(t,"CHECKBOX_RENDERER_NAMESPACE",(function(){return Oe})),r.d(t,"CHECKBOX_CHECKED",(function(){return Re})),r.d(t,"CHECKBOX_UNCHECKED",(function(){return Le}));const n="ContextMenu:items",i=n,a=i+".noItems",o=i+".insertRowAbove",s=i+".insertRowBelow",l=i+".insertColumnOnTheLeft",u=i+".insertColumnOnTheRight",c=i+".removeRow",d=i+".removeColumn",h=i+".undo",p=i+".redo",f=i+".readOnly",m=i+".clearColumn",g=i+".copy",v=i+".copyWithHeaders",b=i+".copyWithGroupHeaders",y=i+".copyHeadersOnly",w=i+".cut",_=i+".freezeColumn",S=i+".unfreezeColumn",E=i+".mergeCells",M=i+".unmergeCells",T=i+".addComment",C=i+".editComment",x=i+".removeComment",A=i+".readOnlyComment",N=i+".align",O=i+".align.left",R=i+".align.center",L=i+".align.right",k=i+".align.justify",I=i+".align.top",D=i+".align.middle",P=i+".align.bottom",j=i+".borders",F=i+".borders.top",H=i+".borders.right",B=i+".borders.bottom",U=i+".borders.left",V=i+".borders.remove",Y=i+".nestedHeaders.insertChildRow",z=i+".nestedHeaders.detachFromParent",W=i+".hideColumn",q=i+".showColumn",G=i+".hideRow",K=i+".showRow",X="Filters:",Z=X+"conditions",$=Z+".none",J=Z+".isEmpty",Q=Z+".isNotEmpty",ee=Z+".isEqualTo",te=Z+".isNotEqualTo",re=Z+".beginsWith",ne=Z+".endsWith",ie=Z+".contains",ae=Z+".doesNotContain",oe=Z+".byValue",se=Z+".greaterThan",le=Z+".greaterThanOrEqualTo",ue=Z+".lessThan",ce=Z+".lessThanOrEqualTo",de=Z+".isBetween",he=Z+".isNotBetween",pe=Z+".after",fe=Z+".before",me=Z+".today",ge=Z+".tomorrow",ve=Z+".yesterday",be=X+"labels.filterByCondition",ye=X+"labels.filterByValue",we=X+"labels.conjunction",_e=X+"labels.disjunction",Se=X+"values.blankCells",Ee=X+"buttons.selectAll",Me=X+"buttons.clear",Te=X+"buttons.ok",Ce=X+"buttons.cancel",xe=X+"buttons.placeholder.search",Ae=X+"buttons.placeholder.value",Ne=X+"buttons.placeholder.secondValue",Oe="CheckboxRenderer:",Re=Oe+"checked",Le=Oe+"unchecked"},"02fb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,r){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"03529":function(e,t,r){"use strict";r.d(t,"a",(function(){return E}));r("7a89");var n=r("13e1"),i=r("87d6"),a=r("63d8"),o=r("5d7f"),s=r("ffec");function l(e,t,r){e.addEventListener(t,r,!1)}function u(e,t,r){e.removeEventListener(t,r,!1)}function c(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function d(e){const t={minHeight:200,maxHeight:300,minWidth:100,maxWidth:300},r=e.body,n=e.createTextNode(""),i=e.createElement("span");let a;function o(){n.textContent=a.value,i.style.position="absolute",i.style.fontSize=c(a).fontSize,i.style.fontFamily=c(a).fontFamily,i.style.whiteSpace="pre",r.appendChild(i);const e=i.clientWidth+2;r.removeChild(i);const o=a.style;o.height=t.minHeight+"px",t.minWidth>e?o.width=t.minWidth+"px":e>t.maxWidth?o.width=t.maxWidth+"px":o.width=e+"px";const s=a.scrollHeight?a.scrollHeight-1:0;t.minHeight>s?o.height=t.minHeight+"px":t.maxHeight<s?(o.height=t.maxHeight+"px",o.overflowY="visible"):o.height=s+"px"}function s(){e.defaultView.setTimeout(o,0)}function d(e){if(e&&e.minHeight)if("inherit"===e.minHeight)t.minHeight=a.clientHeight;else{const r=parseInt(e.minHeight,10);isNaN(r)||(t.minHeight=r)}if(e&&e.maxHeight)if("inherit"===e.maxHeight)t.maxHeight=a.clientHeight;else{const r=parseInt(e.maxHeight,10);isNaN(r)||(t.maxHeight=r)}if(e&&e.minWidth)if("inherit"===e.minWidth)t.minWidth=a.clientWidth;else{const r=parseInt(e.minWidth,10);isNaN(r)||(t.minWidth=r)}if(e&&e.maxWidth)if("inherit"===e.maxWidth)t.maxWidth=a.clientWidth;else{const r=parseInt(e.maxWidth,10);isNaN(r)||(t.maxWidth=r)}i.firstChild||(i.className="autoResize",i.style.display="inline-block",i.appendChild(n))}function h(e,r){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a=e,d(r),"TEXTAREA"===a.nodeName&&(a.style.resize="none",a.style.height=t.minHeight+"px",a.style.minWidth=t.minWidth+"px",a.style.maxWidth=t.maxWidth+"px",a.style.overflowY="hidden"),n&&(l(a,"input",o),l(a,"keydown",s)),o()}return{init:h,resize:o,unObserve(){u(a,"input",o),u(a,"keydown",s)}}}var h=r("7b9c"),p=r("c5c4");function f(e,t){const r=Object(o["getCaretPosition"])(t),n=t.value.split("\n");let i=r,a=0;for(let o=0;o<n.length;o++){const t=n[o];0!==o&&(a+=n[o-1].length+1);const s=a+t.length;if("home"===e?i=a:"end"===e&&(i=s),r<=s)break}Object(o["setCaretPosition"])(t,i)}var m=r("8828");function g(e,t,r){return t=v(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){var t=b(e,"string");return"symbol"==typeof t?t:t+""}function b(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const y="ht_editor_visible",w="ht_editor_hidden",_="textEditor",S="text";class E extends n["a"]{static get EDITOR_TYPE(){return S}constructor(e){super(e),g(this,"eventManager",new i["a"](this)),g(this,"autoResize",d(this.hot.rootDocument)),g(this,"TEXTAREA",void 0),g(this,"textareaStyle",void 0),g(this,"TEXTAREA_PARENT",void 0),g(this,"textareaParentStyle",void 0),g(this,"layerClass",void 0),this.eventManager=new i["a"](this),this.createElements(),this.bindEvents(),this.hot.addHookOnce("afterDestroy",()=>this.destroy())}getValue(){return this.TEXTAREA.value}setValue(e){this.TEXTAREA.value=e}open(){this.refreshDimensions(),this.showEditableElement(),this.hot.getShortcutManager().setActiveContextName("editor"),this.registerShortcuts()}close(){this.autoResize.unObserve(),Object(o["isThisHotChild"])(this.hot.rootDocument.activeElement,this.hot.rootElement)&&this.hot.listen(),this.hideEditableElement(),this.unregisterShortcuts()}prepare(e,t,r,i,a,o){const s=this.state;if(super.prepare(e,t,r,i,a,o),!o.readOnly){this.refreshDimensions(!0);const{allowInvalid:e}=o;e&&(this.TEXTAREA.value=""),s!==n["b"].FINISHED&&this.hideEditableElement()}}beginEditing(e,t){this.state===n["b"].VIRGIN&&(this.TEXTAREA.value="",super.beginEditing(e,t))}focus(){this.TEXTAREA.select(),Object(o["setCaretPosition"])(this.TEXTAREA,this.TEXTAREA.value.length)}createElements(){const{rootDocument:e}=this.hot;this.TEXTAREA=e.createElement("TEXTAREA"),Object(o["setAttribute"])(this.TEXTAREA,[["data-hot-input",""],Object(m["K"])(-1)]),this.hot.getSettings().ariaTags&&Object(o["setAttribute"])(this.TEXTAREA,[Object(m["n"])()]),Object(o["addClass"])(this.TEXTAREA,"handsontableInput"),this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.textareaStyle.overflowY="visible",this.TEXTAREA_PARENT=e.createElement("DIV"),Object(o["addClass"])(this.TEXTAREA_PARENT,"handsontableInputHolder"),Object(o["hasClass"])(this.TEXTAREA_PARENT,this.layerClass)&&Object(o["removeClass"])(this.TEXTAREA_PARENT,this.layerClass),Object(o["addClass"])(this.TEXTAREA_PARENT,w),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}hideEditableElement(){Object(a["isEdge"])()&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",Object(o["removeClass"])(this.TEXTAREA_PARENT,this.layerClass),Object(o["addClass"])(this.TEXTAREA_PARENT,w)}showEditableElement(){this.textareaParentStyle.height="",this.textareaParentStyle.overflow="",this.textareaParentStyle.position="",this.textareaParentStyle[this.hot.isRtl()?"left":"right"]="auto",this.textareaParentStyle.opacity="1",this.textareaStyle.textIndent="";const e=this.TEXTAREA_PARENT.childNodes;let t=!1;Object(s["rangeEach"])(e.length-1,r=>{const n=e[r];if(Object(o["hasClass"])(n,"handsontableEditor"))return t=!0,!1}),Object(o["hasClass"])(this.TEXTAREA_PARENT,w)&&Object(o["removeClass"])(this.TEXTAREA_PARENT,w),t?(this.layerClass=y,Object(o["addClass"])(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),Object(o["addClass"])(this.TEXTAREA_PARENT,this.layerClass))}refreshValue(){const e=this.hot.toPhysicalRow(this.row),t=this.hot.getSourceDataAtCell(e,this.col);this.originalValue=t,this.setValue(t),this.refreshDimensions()}refreshDimensions(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state!==n["b"].EDITING&&!e)return;if(this.TD=this.getEditedCell(),!this.TD)return void(e||this.close());const{top:t,start:r,width:i,maxWidth:a,height:s,maxHeight:l}=this.getEditedCellRect();this.textareaParentStyle.top=t+"px",this.textareaParentStyle[this.hot.isRtl()?"right":"left"]=r+"px",this.showEditableElement();const u=Object(o["getComputedStyle"])(this.TD,this.hot.rootWindow);this.TEXTAREA.style.fontSize=u.fontSize,this.TEXTAREA.style.fontFamily=u.fontFamily,this.TEXTAREA.style.backgroundColor=this.TD.style.backgroundColor;const c=Object(o["getComputedStyle"])(this.TEXTAREA),d=parseInt(c.paddingLeft,10)+parseInt(c.paddingRight,10),h=parseInt(c.paddingTop,10)+parseInt(c.paddingBottom,10),p=i-d,f=s-h,m=a-d,g=l-h;this.autoResize.init(this.TEXTAREA,{minWidth:Math.min(p,m),minHeight:Math.min(f,g),maxWidth:m,maxHeight:g},!0)}bindEvents(){Object(a["isIOS"])()&&this.eventManager.addEventListener(this.TEXTAREA,"focusout",()=>this.finishEditing(!1)),this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.addHook("afterColumnResize",()=>{this.refreshDimensions(),this.state===n["b"].EDITING&&this.focus()}),this.addHook("afterRowResize",()=>{this.refreshDimensions(),this.state===n["b"].EDITING&&this.focus()})}allowKeyEventPropagation(){}destroy(){this.eventManager.destroy(),this.clearHooks()}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor"),r=e.getContext("grid"),n={runOnlyIf:()=>Object(h["isDefined"])(this.hot.getSelected()),group:_},i=()=>{this.hot.rootDocument.execCommand("insertText",!1,"\n")};t.addShortcuts([{keys:[["Tab"],["Shift","Tab"],["PageUp"],["PageDown"]],forwardToContext:r,callback:()=>{}},{keys:[["Control","Enter"]],callback:()=>(i(),!1),runOnlyIf:e=>!this.hot.selection.isMultiple()&&!e.altKey},{keys:[["Meta","Enter"]],callback:()=>(i(),!1),runOnlyIf:()=>!this.hot.selection.isMultiple()},{keys:[["Alt","Enter"]],callback:()=>(i(),!1)},{keys:[["Home"]],callback:(e,t)=>{let[r]=t;f(r,this.TEXTAREA)}},{keys:[["End"]],callback:(e,t)=>{let[r]=t;f(r,this.TEXTAREA)}}],n)}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(p["a"]),t.removeShortcutsByGroup(_),t.removeShortcutsByGroup(n["c"])}}},"03ec":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t}))},"04be":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("7316");class i{static asNode(e){if(n.Guard.isNode(e))return e;throw new Error("Invalid object. Node expected.")}}t.Cast=i},"0558":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e){return e%100===11||e%10!==1}function r(e,r,n,i){var a=e+" ";switch(n){case"s":return r||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?a+(r||i?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return r?"mínúta":"mínútu";case"mm":return t(e)?a+(r||i?"mínútur":"mínútum"):r?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(r||i?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return r?"dagur":i?"dag":"degi";case"dd":return t(e)?r?a+"dagar":a+(i?"daga":"dögum"):r?a+"dagur":a+(i?"dag":"degi");case"M":return r?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?r?a+"mánuðir":a+(i?"mánuði":"mánuðum"):r?a+"mánuður":a+(i?"mánuð":"mánuði");case"y":return r||i?"ár":"ári";case"yy":return t(e)?a+(r||i?"ár":"árum"):a+(r||i?"ár":"ári")}}var n=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},"05c6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9688");class i{get _name(){return this.__name||""}set _name(e){this.__name=e}get _assignedSlot(){return this.__assignedSlot||null}set _assignedSlot(e){this.__assignedSlot=e}get assignedSlot(){return n.shadowTree_findASlot(this,!0)}}t.SlotableImpl=i},"06b0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©","ª":"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´","µ":"µ","¶":"¶","·":"·","¸":"¸","¹":"¹","º":"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿","À":"À","Á":"Á","Â":"Â","Ã":"Ã","Ä":"Ä","Å":"Å","Æ":"Æ","Ç":"Ç","È":"È","É":"É","Ê":"Ê","Ë":"Ë","Ì":"Ì","Í":"Í","Î":"Î","Ï":"Ï","Ð":"Ð","Ñ":"Ñ","Ò":"Ò","Ó":"Ó","Ô":"Ô","Õ":"Õ","Ö":"Ö","×":"×","Ø":"Ø","Ù":"Ù","Ú":"Ú","Û":"Û","Ü":"Ü","Ý":"Ý","Þ":"Þ","ß":"ß","à":"à","á":"á","â":"â","ã":"ã","ä":"ä","å":"å","æ":"æ","ç":"ç","è":"è","é":"é","ê":"ê","ë":"ë","ì":"ì","í":"í","î":"î","ï":"ï","ð":"ð","ñ":"ñ","ò":"ò","ó":"ó","ô":"ô","õ":"õ","ö":"ö","÷":"÷","ø":"ø","ù":"ù","ú":"ú","û":"û","ü":"ü","ý":"ý","þ":"þ","ÿ":"ÿ",'"':""","&":"&","<":"<",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{"Æ":"Æ","&":"&","Á":"Á","Ă":"Ă","Â":"Â","А":"А","𝔄":"𝔄","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","":"⁡","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","≎":"≎","Ч":"Ч","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","É":"É","Ě":"Ě","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","Ѓ":"Ѓ",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","Ħ":"Ħ","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ī":"Ī","ⅈ":"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","𝕃":"𝕃","↙":"↙","↘":"↘","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","":"​","\n":"
","𝔑":"𝔑","":"⁠"," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Õ":"Õ","⨷":"⨷","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",'"':""","𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","\t":"	","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ū":"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","а":"а","æ":"æ","𝔞":"𝔞","à":"à","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼","ą":"ą","𝕒":"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","å":"å","𝒶":"𝒶","*":"*","ã":"ã","ä":"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶","б":"б","„":"„","⦰":"⦰","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦","𝒷":"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍","č":"č","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","⦲":"⦲","¢":"¢","𝔠":"𝔠","ч":"ч","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭","𝕔":"𝕔","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†","ℸ":"ℸ","‐":"‐","⤏":"⤏","ď":"ď","д":"д","⇊":"⇊","⩷":"⩷","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","♦":"♦","ϝ":"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍",$:"$","𝕕":"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","⦦":"⦦","џ":"џ","⟿":"⟿","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","≕":"≕","э":"э","ė":"ė","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ϵ":"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","η":"η","ð":"ð","ë":"ë","€":"€","!":"!","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi",fj:"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","⪌":"⪌","ǵ":"ǵ","γ":"γ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","ℷ":"ℷ","ѓ":"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧","𝕘":"𝕘","ℊ":"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀","ъ":"ъ","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ħ":"ħ","⁃":"⁃","í":"í","î":"î","и":"и","е":"е","¡":"¡","𝔦":"𝔦","ì":"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","¿":"¿","𝒾":"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","ĩ":"ĩ","і":"і","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","λ":"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","л":"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼","𝔩":"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄","љ":"љ","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚","ł":"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩","м":"м","—":"—","𝔪":"𝔪","℧":"℧","µ":"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧","𝕞":"𝕞","𝓂":"𝓂","μ":"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮","ń":"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","♮":"♮","⩃":"⩃","ň":"ň","ņ":"ņ","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨","𝔫":"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺","њ":"њ","≦̸":"≦̸","↚":"↚","‥":"‥","𝕟":"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","𝓃":"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸","ñ":"ñ","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧","ó":"ó","ô":"ô","о":"о","ő":"ő","⨸":"⨸","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝","ℴ":"ℴ","ª":"ª","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ø":"ø","⊘":"⊘","õ":"õ","⨶":"⨶","ö":"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽","п":"п","%":"%",".":".","‰":"‰","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","☎":"☎","π":"π","ϖ":"ϖ","ℎ":"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕","𝕡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","р":"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽","𝔯":"𝔯","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›","𝓇":"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","⪴":"⪴","⪸":"⪸","š":"š","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","с":"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶","𝔰":"𝔰","♯":"♯","щ":"щ","ш":"ш","":"­","σ":"σ","ς":"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀","𝓈":"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪","ß":"ß","⌖":"⌖","τ":"τ","ť":"ť","ţ":"ţ","т":"т","⌕":"⌕","𝔱":"𝔱","θ":"θ","ϑ":"ϑ","þ":"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","⥣":"⥣","ú":"ú","ў":"ў","ŭ":"ŭ","û":"û","у":"у","ű":"ű","⥾":"⥾","𝔲":"𝔲","ù":"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","ų":"ų","𝕦":"𝕦","υ":"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","ü":"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","в":"в","⊻":"⊻","≚":"≚","⋮":"⋮","𝔳":"𝔳","𝕧":"𝕧","𝓋":"𝓋","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","𝓌":"𝓌","𝔵":"𝔵","ξ":"ξ","⋻":"⋻","𝕩":"𝕩","𝓍":"𝓍","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","":"‍","":"‌"}}}},"0706":function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),(function(t){r[t]=e[t]})),forEach(globals,(function(t){e[t]&&(r[t]=e[t])}));var a=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),(function(t){(t in e||-1===indexOf(a,t))&&(e[t]=r[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,r[t])})),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),(function(r){e[r]=t[r]})),r},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"===typeof e&&forEach(Object_keys(e),(function(r){t[r]=e[r]})),t}},"0716":function(e,t,r){"use strict";r("7a89");function n(e,t,r){i(e,t),t.set(e,r)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t,r){return t=o(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){var t=s(e,"string");return"symbol"==typeof t?t:t+""}function s(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function l(e,t){return e.get(c(e,t))}function u(e,t,r){return e.set(c(e,t),r),r}function c(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var d=new WeakMap;class h{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a(this,"row",null),a(this,"col",null),n(this,d,!1),u(d,this,r),"undefined"!==typeof e&&"undefined"!==typeof t&&(this.row=e,this.col=t)}isValid(e){const{countRows:t,countCols:r,countRowHeaders:n,countColHeaders:i}={countRows:0,countCols:0,countRowHeaders:0,countColHeaders:0,...e};return!(!Number.isInteger(this.row)||!Number.isInteger(this.col))&&(!(this.row<-i||this.col<-n)&&!(this.row>=t||this.col>=r))}isEqual(e){return e===this||this.row===e.row&&this.col===e.col}isHeader(){return!this.isCell()}isCell(){return this.row>=0&&this.col>=0}isRtl(){return l(d,this)}isSouthEastOf(e){return this.row>=e.row&&(l(d,this)?this.col<=e.col:this.col>=e.col)}isNorthWestOf(e){return this.row<=e.row&&(l(d,this)?this.col>=e.col:this.col<=e.col)}isSouthWestOf(e){return this.row>=e.row&&(l(d,this)?this.col>=e.col:this.col<=e.col)}isNorthEastOf(e){return this.row<=e.row&&(l(d,this)?this.col<=e.col:this.col>=e.col)}normalize(){return this.row=null===this.row?this.row:Math.max(this.row,0),this.col=null===this.col?this.col:Math.max(this.col,0),this}assign(e){return Number.isInteger(null===e||void 0===e?void 0:e.row)&&(this.row=e.row),Number.isInteger(null===e||void 0===e?void 0:e.col)&&(this.col=e.col),e instanceof h&&u(d,this,e.isRtl()),this}clone(){return new h(this.row,this.col,l(d,this))}toObject(){return{row:this.row,col:this.col}}}t["a"]=h},"0721":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"079e":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,r){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t}))},"07a0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Surrogate=/[\uD800-\uDFFF]/,t.ScalarValue=/[\uD800-\uDFFF]/,t.NonCharacter=/[\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]/,t.ASCIICodePoint=/[\u0000-\u007F]/,t.ASCIITabOrNewLine=/[\t\n\r]/,t.ASCIIWhiteSpace=/[\t\n\f\r ]/,t.C0Control=/[\u0000-\u001F]/,t.C0ControlOrSpace=/[\u0000-\u001F ]/,t.Control=/[\u0000-\u001F\u007F-\u009F]/,t.ASCIIDigit=/[0-9]/,t.ASCIIUpperHexDigit=/[0-9A-F]/,t.ASCIILowerHexDigit=/[0-9a-f]/,t.ASCIIHexDigit=/[0-9A-Fa-f]/,t.ASCIIUpperAlpha=/[A-Z]/,t.ASCIILowerAlpha=/[a-z]/,t.ASCIIAlpha=/[A-Za-z]/,t.ASCIIAlphanumeric=/[0-9A-Za-z]/},"07f2":function(e,t,r){"use strict";var n=r("c3c0"),i=r("6eed");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},"07f4":function(e,t,r){"use strict";var n=r("be7f"),i=4,a=0,o=1,s=2;function l(e){var t=e.length;while(--t>=0)e[t]=0}var u=0,c=1,d=2,h=3,p=258,f=29,m=256,g=m+1+f,v=30,b=19,y=2*g+1,w=15,_=16,S=7,E=256,M=16,T=17,C=18,x=[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],N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=512,L=new Array(2*(g+2));l(L);var k=new Array(2*v);l(k);var I=new Array(R);l(I);var D=new Array(p-h+1);l(D);var P=new Array(f);l(P);var j,F,H,B=new Array(v);function U(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function V(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Y(e){return e<256?I[e]:I[256+(e>>>7)]}function z(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function W(e,t,r){e.bi_valid>_-r?(e.bi_buf|=t<<e.bi_valid&65535,z(e,e.bi_buf),e.bi_buf=t>>_-e.bi_valid,e.bi_valid+=r-_):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function q(e,t,r){W(e,r[2*t],r[2*t+1])}function G(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function K(e){16===e.bi_valid?(z(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 X(e,t){var r,n,i,a,o,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(a=0;a<=w;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<y;r++)n=e.heap[r],a=l[2*l[2*n+1]+1]+1,a>f&&(a=f,m++),l[2*n+1]=a,n>u||(e.bl_count[a]++,o=0,n>=p&&(o=h[n-p]),s=l[2*n],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(c[2*n+1]+o)));if(0!==m){do{a=f-1;while(0===e.bl_count[a])a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(a=f;0!==a;a--){n=e.bl_count[a];while(0!==n)i=e.heap[--r],i>u||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),n--)}}}function Z(e,t,r){var n,i,a=new Array(w+1),o=0;for(n=1;n<=w;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=G(a[s]++,s))}}function $(){var e,t,r,n,i,a=new Array(w+1);for(r=0,n=0;n<f-1;n++)for(P[n]=r,e=0;e<1<<x[n];e++)D[r++]=n;for(D[r-1]=n,i=0,n=0;n<16;n++)for(B[n]=i,e=0;e<1<<A[n];e++)I[i++]=n;for(i>>=7;n<v;n++)for(B[n]=i<<7,e=0;e<1<<A[n]-7;e++)I[256+i++]=n;for(t=0;t<=w;t++)a[t]=0;e=0;while(e<=143)L[2*e+1]=8,e++,a[8]++;while(e<=255)L[2*e+1]=9,e++,a[9]++;while(e<=279)L[2*e+1]=7,e++,a[7]++;while(e<=287)L[2*e+1]=8,e++,a[8]++;for(Z(L,g+1,a),e=0;e<v;e++)k[2*e+1]=5,k[2*e]=G(e,5);j=new U(L,x,m+1,g,w),F=new U(k,A,0,v,w),H=new U(new Array(0),N,0,b,S)}function J(e){var t;for(t=0;t<g;t++)e.dyn_ltree[2*t]=0;for(t=0;t<v;t++)e.dyn_dtree[2*t]=0;for(t=0;t<b;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*E]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Q(e){e.bi_valid>8?z(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,r,i){Q(e),i&&(z(e,r),z(e,~r)),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function te(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function re(e,t,r){var n=e.heap[r],i=r<<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,n,e.heap[i],e.depth))break;e.heap[r]=e.heap[i],r=i,i<<=1}e.heap[r]=n}function ne(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do{n=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===n?q(e,i,t):(a=D[i],q(e,a+m+1,t),o=x[a],0!==o&&(i-=P[a],W(e,i,o)),n--,a=Y(n),q(e,a,r),o=A[a],0!==o&&(n-=B[a],W(e,n,o)))}while(s<e.last_lit);q(e,E,t)}function ie(e,t){var r,n,i,a=t.dyn_tree,o=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=y,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):a[2*r+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=u<2?++u:0,a[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;r>=1;r--)re(e,a,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],re(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,re(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],X(e,t),Z(a,u,e.bl_count)}function ae(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*M]++):s<=10?e.bl_tree[2*T]++:e.bl_tree[2*C]++,s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4))}function oe(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<u)do{q(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(q(e,i,e.bl_tree),s--),q(e,M,e.bl_tree),W(e,s-3,2)):s<=10?(q(e,T,e.bl_tree),W(e,s-3,3)):(q(e,C,e.bl_tree),W(e,s-11,7));s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4)}}function se(e){var t;for(ae(e,e.dyn_ltree,e.l_desc.max_code),ae(e,e.dyn_dtree,e.d_desc.max_code),ie(e,e.bl_desc),t=b-1;t>=3;t--)if(0!==e.bl_tree[2*O[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,r,n){var i;for(W(e,t-257,5),W(e,r-1,5),W(e,n-4,4),i=0;i<n;i++)W(e,e.bl_tree[2*O[i]+1],3);oe(e,e.dyn_ltree,t-1),oe(e,e.dyn_dtree,r-1)}function ue(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return a;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<m;t++)if(0!==e.dyn_ltree[2*t])return o;return a}l(B);var ce=!1;function de(e){ce||($(),ce=!0),e.l_desc=new V(e.dyn_ltree,j),e.d_desc=new V(e.dyn_dtree,F),e.bl_desc=new V(e.bl_tree,H),e.bi_buf=0,e.bi_valid=0,J(e)}function he(e,t,r,n){W(e,(u<<1)+(n?1:0),3),ee(e,t,r,!0)}function pe(e){W(e,c<<1,3),q(e,E,L),K(e)}function fe(e,t,r,n){var a,o,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),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==t?he(e,t,r,n):e.strategy===i||o===a?(W(e,(c<<1)+(n?1:0),3),ne(e,L,k)):(W(e,(d<<1)+(n?1:0),3),le(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),ne(e,e.dyn_ltree,e.dyn_dtree)),J(e),n&&Q(e)}function me(e,t,r){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&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(D[r]+m+1)]++,e.dyn_dtree[2*Y(t)]++),e.last_lit===e.lit_bufsize-1}t._tr_init=de,t._tr_stored_block=he,t._tr_flush_block=fe,t._tr_tally=me,t._tr_align=pe},"087f":function(e,t,r){var n=r("3fb5"),i=r("b672"),a=r("8707").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var h=0;h<80;++h){var p=~~(h/20),f=u(r)+d(p,n,i,a)+s+t[h]+o[p]|0;s=a,a=i,i=c(n),n=r,r=f}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},"088f":function(e,t,r){"use strict";var n=r("8793"),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}},"08e0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}get(e){return this._items.get(e)}set(e,t){if(this._items.set(e,t),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}}delete(e){return this._items.delete(e)}has(e){return this._items.has(e)}clear(){this._items.clear()}get size(){return this._items.size}forEach(e,t){this._items.forEach((r,n)=>e.call(t,n,r))}*keys(){yield*this._items.keys()}*values(){yield*this._items.values()}*entries(){yield*this._items.entries()}*[Symbol.iterator](){yield*this._items}get[Symbol.toStringTag](){return"ObjectCache"}}t.ObjectCache=n},"09f5":function(e,t,r){var n=r("39f5"),i=r("8707").Buffer,a=r("6430"),o=r("3fb5");function s(e,t,r,o){a.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._mode=e}o(s,a),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},"0a36":function(e,t,r){"use strict";var n={__proto__:null,foo:{}},i=Object;e.exports=function(){return{__proto__:n}.foo===n.foo&&!(n instanceof i)}},"0a3c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return a}))},"0a73":function(e,t,r){"use strict";var n=r("d128"),i=r("69ba"),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&"something"===function(){}.name,u=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},"0a84":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"0a9e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Set,this._limit=e}add(e){if(this._items.add(e),this._items.size>this._limit){const e=this._items.values().next();e.done||this._items.delete(e.value)}}remove(e){this._items.delete(e)}clear(){this._items.clear()}get length(){return this._items.size}*entries(){yield*this}*[Symbol.iterator](){yield*this._items}}t.ObjectCache=n},"0ac3":function(e,t,r){t=e.exports=r("6f2e"),t.Stream=t,t.Readable=t,t.Writable=r("6ffa"),t.Duplex=r("d6dd"),t.Transform=r("dcd0"),t.PassThrough=r("aa69")},"0ad8":function(e,t,r){"use strict";var n,i=r("088f"),a=r("fdba"),o=r("e1c6"),s=r("861e"),l=r("f808"),u=r("2179"),c=r("ab25"),d=">",h="<",p="prototype",f="script",m=c("IE_PROTO"),g=function(){},v=function(e){return h+f+d+e+h+"/"+f+d},b=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=u("iframe"),r="java"+f+":";return t.style.display="none",l.appendChild(t),t.src=String(r),e=t.contentWindow.document,e.open(),e.write(v("document.F=Object")),e.close(),e.F},w=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}w="undefined"!=typeof document?document.domain&&n?b(n):y():b(n);var e=o.length;while(e--)delete w[p][o[e]];return w()};s[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(g[p]=i(e),r=new g,g[p]=null,r[m]=e):r=w(),void 0===t?r:a.f(r,t)}},"0b16":function(e,t,r){"use strict";var n=r("1985");function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var a=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(l),c=["'"].concat(u),d=["%","/","?",";","#"].concat(c),h=["/","?","#"],p=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r("184d");function w(e,t,r){if(e&&"object"===typeof e&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}function _(e){return"string"===typeof e&&(e=w(e)),e instanceof i?e.format():i.prototype.format.call(e)}function S(e,t){return w(e,!1,!0).resolve(t)}function E(e,t){return e?w(e,!1,!0).resolveObject(t):t}i.prototype.parse=function(e,t,r){if("string"!==typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),o=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(o),u=/\\/g;l[0]=l[0].replace(u,"/"),e=l.join(o);var w=e;if(w=w.trim(),!r&&1===e.split("#").length){var _=s.exec(w);if(_)return this.path=w,this.href=w,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var S=a.exec(w);if(S){S=S[0];var E=S.toLowerCase();this.protocol=E,w=w.substr(S.length)}if(r||S||w.match(/^\/\/[^@/]+@[^@/]+/)){var M="//"===w.substr(0,2);!M||S&&v[S]||(w=w.substr(2),this.slashes=!0)}if(!v[S]&&(M||S&&!b[S])){for(var T,C,x=-1,A=0;A<h.length;A++){var N=w.indexOf(h[A]);-1!==N&&(-1===x||N<x)&&(x=N)}C=-1===x?w.lastIndexOf("@"):w.lastIndexOf("@",x),-1!==C&&(T=w.slice(0,C),w=w.slice(C+1),this.auth=decodeURIComponent(T)),x=-1;for(A=0;A<d.length;A++){N=w.indexOf(d[A]);-1!==N&&(-1===x||N<x)&&(x=N)}-1===x&&(x=w.length),this.host=w.slice(0,x),w=w.slice(x),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var R=this.hostname.split(/\./),L=(A=0,R.length);A<L;A++){var k=R[A];if(k&&!k.match(f)){for(var I="",D=0,P=k.length;D<P;D++)k.charCodeAt(D)>127?I+="x":I+=k[D];if(!I.match(f)){var j=R.slice(0,A),F=R.slice(A+1),H=k.match(m);H&&(j.push(H[1]),F.unshift(H[2])),F.length&&(w="/"+F.join(".")+w),this.hostname=j.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+B,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!g[E])for(A=0,L=c.length;A<L;A++){var V=c[A];if(-1!==w.indexOf(V)){var Y=encodeURIComponent(V);Y===V&&(Y=escape(V)),w=w.split(V).join(Y)}}var z=w.indexOf("#");-1!==z&&(this.hash=w.substr(z),w=w.slice(0,z));var W=w.indexOf("?");if(-1!==W?(this.search=w.substr(W),this.query=w.substr(W+1),t&&(this.query=y.parse(this.query)),w=w.slice(0,W)):t&&(this.search="",this.query={}),w&&(this.pathname=w),b[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var q=this.search||"";this.path=B+q}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&"object"===typeof this.query&&Object.keys(this.query).length&&(a=y.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var o=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),o&&"?"!==o.charAt(0)&&(o="?"+o),r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),o=o.replace("#","%23"),t+i+r+o+n},i.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if("string"===typeof e){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),a=0;a<n.length;a++){var o=n[a];r[o]=this[o]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(r[u]=e[u])}return b[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!b[e.protocol]){for(var c=Object.keys(e),d=0;d<c.length;d++){var h=c[d];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||v[e.protocol])r.pathname=e.pathname;else{var p=(e.pathname||"").split("/");while(p.length&&!(e.host=p.shift()));e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var f=r.pathname||"",m=r.search||"";r.path=f+m}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var g=r.pathname&&"/"===r.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=y||g||r.host&&e.pathname,_=w,S=r.pathname&&r.pathname.split("/")||[],E=(p=e.pathname&&e.pathname.split("/")||[],r.protocol&&!b[r.protocol]);if(E&&(r.hostname="",r.port=null,r.host&&(""===S[0]?S[0]=r.host:S.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),w=w&&(""===p[0]||""===S[0])),y)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,S=p;else if(p.length)S||(S=[]),S.pop(),S=S.concat(p),r.search=e.search,r.query=e.query;else if(null!=e.search){if(E){r.host=S.shift(),r.hostname=r.host;var M=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");M&&(r.auth=M.shift(),r.hostname=M.shift(),r.host=r.hostname)}return r.search=e.search,r.query=e.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var T=S.slice(-1)[0],C=(r.host||e.host||S.length>1)&&("."===T||".."===T)||""===T,x=0,A=S.length;A>=0;A--)T=S[A],"."===T?S.splice(A,1):".."===T?(S.splice(A,1),x++):x&&(S.splice(A,1),x--);if(!w&&!_)for(;x--;x)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),C&&"/"!==S.join("/").substr(-1)&&S.push("");var N=""===S[0]||S[0]&&"/"===S[0].charAt(0);if(E){r.hostname=N?"":S.length?S.shift():"",r.host=r.hostname;M=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");M&&(r.auth=M.shift(),r.hostname=M.shift(),r.host=r.hostname)}return w=w||r.host&&S.length,w&&!N&&S.unshift(""),S.length>0?r.pathname=S.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=o.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=w,t.resolve=S,t.resolveObject=E,t.format=_,t.Url=i},"0b68":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r("4195")),a=n(r("65c4")),o=n(r("a697")),s=n(r("29f2")),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=d(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(o.default),t.decodeHTMLStrict=u(i.default);var c=function(e,t){return e<t?1:-1};function d(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(a.default).sort(c),t=Object.keys(i.default).sort(c),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=d(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(o,l)}}()},"0be8":function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},"0c0f":function(e,t,r){"use strict";var n=r("b343"),i=r("73fa"),a=/#|\.prototype\./,o=function(e,t){var r=l[s(e)];return r===c||r!==u&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},"0caa":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?i[r][0]:i[r][1]}var r=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return r}))},"0cbb":function(e,t,r){"use strict";var n,i=t,a=r("7d92"),o=r("4136"),s=r("f3a3"),l=s.assert;function u(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new u(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=u,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r("409b")}catch(d){n=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},"0d25":function(e,t,r){"use strict";e.exports=TypeError},"0da4":function(e,t,r){"use strict";var n=r("da3e"),i=r("3fb5"),a={};function o(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}function s(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(a),n=0;n<r.length;n++){var o=r[n];t.prototype[o]=a[o]}return t.create=function(e){return new t(e)},t}t.instantiate=s,a._cbcInit=function(){var e=new o(this.options.iv);this._cbcState=e},a._update=function(e,t,r,n){var i=this._cbcState,a=this.constructor.super_.prototype,o=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)o[s]^=e[t+s];a._update.call(this,o,0,r,n);for(s=0;s<this.blockSize;s++)o[s]=r[n+s]}else{a._update.call(this,e,t,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=o[s];for(s=0;s<this.blockSize;s++)o[s]=e[t+s]}}},"0e49":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},"0e57":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("69a8");function i(e){return n.isBoolean(e)?e:e.capture||!1}function a(e){const t=i(e);let r=!1,a=!1;return n.isBoolean(e)||(r=e.once||!1,a=e.passive||!1),[t,a,r]}function o(e,t){if(null!==t.callback){for(let r=0;r<e._eventListenerList.length;r++){const n=e._eventListenerList[r];if(n.type===t.type&&n.callback.handleEvent===t.callback.handleEvent&&n.capture===t.capture)return}e._eventListenerList.push(t)}}function s(e,t,r){t.removed=!0,e._eventListenerList.splice(r,1)}function l(e){for(const t of e._eventListenerList)t.removed=!0;e._eventListenerList.length=0}t.eventTarget_flatten=i,t.eventTarget_flattenMore=a,t.eventTarget_addEventListener=o,t.eventTarget_removeEventListener=s,t.eventTarget_removeAllEventListeners=l},"0e6b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:0,doy:4}});return t}))},"0e7a":function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"0e81":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},r=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,r){return e<12?r?"öö":"ÖÖ":r?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10,i=e%100-n,a=e>=100?100:null;return e+(t[n]||t[i]||t[a])}},week:{dow:1,doy:7}});return r}))},"0e87":function(e,t,r){"use strict";var n=r("73fa"),i=r("a60d"),a=r("b384"),o=r("3df8");e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&a(r,u,s),s.global)l?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(c){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},"0eec":function(e,t,r){"use strict";var n=r("ac4f"),i=r("f2e8"),a=r("d2e4").clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==a},{clearImmediate:a})},"0f14":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"0f2c":function(e,t,r){var n=r("2aee"),i=r("f460"),a=r("83d5"),o=r("0106"),s=r("a958"),l=r("98e6"),u=r("5291"),c=r("8707").Buffer;function d(e,t){var r=e.modulus.byteLength(),n=l("sha1").update(c.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),u=t.slice(o+1),d=a(s,i(u,o)),h=a(u,i(d,r-o-1));if(p(n,h.slice(0,o)))throw new Error("decryption error");var f=o;while(0===h[f])f++;if(1!==h[f++])throw new Error("decryption error");return h.slice(f)}function h(e,t,r){var n=t.slice(0,2),i=2,a=0;while(0!==t[i++])if(i>=t.length){a++;break}var o=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return t.slice(i)}function p(e,t){e=c.from(e),t=c.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;while(++i<n)r+=e[i]^t[i];return r}e.exports=function(e,t,r){var i;i=e.padding?e.padding:r?1:4;var a,l=n(e),p=l.modulus.byteLength();if(t.length>p||new o(t).cmp(l.modulus)>=0)throw new Error("decryption error");a=r?u(new o(t),l):s(t,l);var f=c.alloc(p-a.length);if(a=c.concat([f,a],p),4===i)return d(l,a);if(1===i)return h(l,a,r);if(3===i)return a;throw new Error("unknown padding")}},"0f38":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"0f7c":function(e,t,r){"use strict";var n=r("688e");e.exports=Function.prototype.bind||n},"0f94":function(e,t,r){var n=e.exports;[r("68b4"),r("26f99"),r("7a39"),r("733c"),r("9f20"),r("f67e")].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},"0fc1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e,t=""){super(t),this.name=e}}t.DOMException=n;class i extends n{constructor(e=""){super("DOMStringSizeError",e)}}t.DOMStringSizeError=i;class a extends n{constructor(e=""){super("WrongDocumentError","The object is in the wrong document. "+e)}}t.WrongDocumentError=a;class o extends n{constructor(e=""){super("NoDataAllowedError",e)}}t.NoDataAllowedError=o;class s extends n{constructor(e=""){super("NoModificationAllowedError","The object can not be modified. "+e)}}t.NoModificationAllowedError=s;class l extends n{constructor(e=""){super("NotSupportedError","The operation is not supported. "+e)}}t.NotSupportedError=l;class u extends n{constructor(e=""){super("InUseAttributeError",e)}}t.InUseAttributeError=u;class c extends n{constructor(e=""){super("InvalidStateError","The object is in an invalid state. "+e)}}t.InvalidStateError=c;class d extends n{constructor(e=""){super("InvalidModificationError","The object can not be modified in this way. "+e)}}t.InvalidModificationError=d;class h extends n{constructor(e=""){super("NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+e)}}t.NamespaceError=h;class p extends n{constructor(e=""){super("InvalidAccessError","The object does not support the operation or argument. "+e)}}t.InvalidAccessError=p;class f extends n{constructor(e=""){super("ValidationError",e)}}t.ValidationError=f;class m extends n{constructor(e=""){super("TypeMismatchError",e)}}t.TypeMismatchError=m;class g extends n{constructor(e=""){super("SecurityError","The operation is insecure. "+e)}}t.SecurityError=g;class v extends n{constructor(e=""){super("NetworkError","A network error occurred. "+e)}}t.NetworkError=v;class b extends n{constructor(e=""){super("AbortError","The operation was aborted. "+e)}}t.AbortError=b;class y extends n{constructor(e=""){super("URLMismatchError","The given URL does not match another URL. "+e)}}t.URLMismatchError=y;class w extends n{constructor(e=""){super("QuotaExceededError","The quota has been exceeded. "+e)}}t.QuotaExceededError=w;class _ extends n{constructor(e=""){super("TimeoutError","The operation timed out. "+e)}}t.TimeoutError=_;class S extends n{constructor(e=""){super("InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+e)}}t.InvalidNodeTypeError=S;class E extends n{constructor(e=""){super("DataCloneError","The object can not be cloned. "+e)}}t.DataCloneError=E;class M extends n{constructor(e=""){super("NotImplementedError","The DOM method is not implemented by this module. "+e)}}t.NotImplementedError=M;class T extends n{constructor(e=""){super("HierarchyRequestError","The operation would yield an incorrect node tree. "+e)}}t.HierarchyRequestError=T;class C extends n{constructor(e=""){super("NotFoundError","The object can not be found here. "+e)}}t.NotFoundError=C;class x extends n{constructor(e=""){super("IndexSizeError","The index is not in the allowed range. "+e)}}t.IndexSizeError=x;class A extends n{constructor(e=""){super("SyntaxError","The string did not match the expected pattern. "+e)}}t.SyntaxError=A;class N extends n{constructor(e=""){super("InvalidCharacterError","The string contains invalid characters. "+e)}}t.InvalidCharacterError=N},"0ff2":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},1004:function(e,t,r){"use strict";r("7a89"),r("d06e");var n=r("81ea"),i=r("351d"),a=r("29b0"),o=r("bd5e"),s=r("67a87"),l=r("97b9");function u(e,t,r){return t=c(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){var t=d(e,"string");return"symbol"==typeof t?t:t+""}function d(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const h=["afterCellMetaReset","afterChange","afterContextMenuDefaultOptions","beforeContextMenuSetItems","afterDropdownMenuDefaultOptions","beforeDropdownMenuSetItems","afterContextMenuHide","beforeContextMenuShow","afterContextMenuShow","afterCopyLimit","beforeCreateCol","afterColumnSequenceChange","afterCreateCol","beforeCreateRow","afterCreateRow","afterDeselect","afterDestroy","afterDocumentKeyDown","afterDrawSelection","beforeRemoveCellClassNames","afterGetCellMeta","afterGetColHeader","afterGetRowHeader","afterInit","afterLoadData","afterUpdateData","afterMomentumScroll","afterOnCellCornerMouseDown","afterOnCellCornerDblClick","afterOnCellMouseDown","afterOnCellMouseUp","afterOnCellContextMenu","afterOnCellMouseOver","afterOnCellMouseOut","afterRemoveCol","afterRemoveRow","beforeRenderer","afterRenderer","afterRowSequenceChange","beforeViewportScrollVertically","beforeViewportScrollHorizontally","beforeViewportScroll","afterScrollHorizontally","afterScrollVertically","afterScroll","afterSelection","afterSelectionByProp","afterSelectionEnd","afterSelectionEndByProp","afterSelectionFocusSet","beforeSelectColumns","afterSelectColumns","beforeSelectRows","afterSelectRows","afterSetCellMeta","afterRemoveCellMeta","afterSetDataAtCell","afterSetDataAtRowProp","afterSetSourceDataAtCell","afterUpdateSettings","afterValidate","beforeLanguageChange","afterLanguageChange","beforeAutofill","afterAutofill","beforeCellAlignment","beforeChange","beforeChangeRender","beforeDrawBorders","beforeGetCellMeta","beforeRemoveCellMeta","beforeInit","beforeInitWalkontable","beforeLoadData","beforeUpdateData","beforeKeyDown","beforeOnCellMouseDown","beforeOnCellMouseUp","beforeOnCellContextMenu","beforeOnCellMouseOver","beforeOnCellMouseOut","beforeRemoveCol","beforeRemoveRow","beforeViewRender","afterViewRender","beforeRender","afterRender","beforeRowWrap","beforeColumnWrap","beforeSetCellMeta","beforeSelectionFocusSet","beforeSetRangeStartOnly","beforeSetRangeStart","beforeSetRangeEnd","beforeSelectionHighlightSet","beforeTouchScroll","beforeValidate","beforeValueRender","construct","init","modifyColHeader","modifyColWidth","modifyFiltersMultiSelectValue","modifyFocusedElement","modifyRowHeader","modifyRowHeight","modifyData","modifySourceData","modifyRowData","modifyGetCellCoords","modifyFocusOnTabNavigation","beforeHighlightingRowHeader","beforeHighlightingColumnHeader","persistentStateLoad","persistentStateReset","persistentStateSave","beforeColumnSort","afterColumnSort","modifyAutofillRange","modifyCopyableRange","beforeCut","afterCut","beforeCopy","afterCopy","beforePaste","afterPaste","beforeColumnFreeze","afterColumnFreeze","beforeColumnMove","afterColumnMove","beforeColumnUnfreeze","afterColumnUnfreeze","beforeRowMove","afterRowMove","beforeColumnResize","afterColumnResize","beforeRowResize","afterRowResize","afterGetColumnHeaderRenderers","afterGetRowHeaderRenderers","beforeStretchingColumnWidth","beforeFilter","afterFilter","afterFormulasValuesUpdate","afterNamedExpressionAdded","afterNamedExpressionRemoved","afterSheetAdded","afterSheetRenamed","afterSheetRemoved","modifyColumnHeaderHeight","modifyColumnHeaderValue","beforeUndo","beforeUndoStackChange","afterUndo","afterUndoStackChange","beforeRedo","beforeRedoStackChange","afterRedo","afterRedoStackChange","modifyRowHeaderWidth","modifyTransformFocus","modifyTransformStart","modifyTransformEnd","afterModifyTransformFocus","afterModifyTransformStart","afterModifyTransformEnd","afterViewportRowCalculatorOverride","afterViewportColumnCalculatorOverride","afterPluginsInitialized","beforeHideRows","afterHideRows","beforeUnhideRows","afterUnhideRows","beforeHideColumns","afterHideColumns","beforeUnhideColumns","afterUnhideColumns","beforeTrimRow","afterTrimRow","beforeUntrimRow","afterUntrimRow","beforeDropdownMenuShow","afterDropdownMenuShow","afterDropdownMenuHide","beforeAddChild","afterAddChild","beforeDetachChild","afterDetachChild","beforeBeginEditing","afterBeginEditing","beforeMergeCells","afterMergeCells","beforeUnmergeCells","afterUnmergeCells","afterListen","afterUnlisten","afterRefreshDimensions","beforeRefreshDimensions","beforeColumnCollapse","afterColumnCollapse","beforeColumnExpand","afterColumnExpand","modifyAutoColumnSizeSeed"],p=s["a"]`The plugin hook "[hookName]" was removed in Handsontable [removedInVersion].\x20
- Please consult release notes https://github.com/handsontable/handsontable/releases/tag/[removedInVersion] to\x20
- learn about the migration path.`,f=new Map([["modifyRow","8.0.0"],["modifyCol","8.0.0"],["unmodifyRow","8.0.0"],["unmodifyCol","8.0.0"],["skipLengthCache","8.0.0"],["hiddenColumn","8.0.0"],["hiddenRow","8.0.0"]]),m=new Map([[]]);class g{static getSingleton(){return b()}constructor(){u(this,"globalBucket",void 0),this.globalBucket=this.createEmptyBucket()}createEmptyBucket(){const e=Object.create(null);return Object(n["arrayEach"])(h,t=>e[t]=[]),e}getBucket(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?(e.pluginHookBucket||(e.pluginHookBucket=this.createEmptyBucket()),e.pluginHookBucket):this.globalBucket}add(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Array.isArray(t))Object(n["arrayEach"])(t,t=>this.add(e,t,r));else{f.has(e)&&Object(o["b"])(Object(a["substitute"])(p,{hookName:e,removedInVersion:f.get(e)})),m.has(e)&&Object(o["b"])(m.get(e));const i=this.getBucket(r);if("undefined"===typeof i[e]&&(this.register(e),i[e]=[]),t.skip=!1,-1===i[e].indexOf(t)){let r=!1;t.initialHook&&Object(n["arrayEach"])(i[e],(n,a)=>{if(n.initialHook)return i[e][a]=t,r=!0,!1}),r||i[e].push(t)}}return this}once(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Array.isArray(t)?Object(n["arrayEach"])(t,t=>this.once(e,t,r)):(t.runOnce=!0,this.add(e,t,r))}remove(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const n=this.getBucket(r);return"undefined"!==typeof n[e]&&n[e].indexOf(t)>=0&&(t.skip=!0,!0)}has(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=this.getBucket(t);return!(void 0===r[e]||!r[e].length)}run(e,t,r,n,i,a,o,s){{const u=this.globalBucket[t],c=u?u.length:0;let d=0;if(c)while(d<c){if(!u[d]||u[d].skip){d+=1;continue}const c=Object(l["fastCall"])(u[d],e,r,n,i,a,o,s);void 0!==c&&(r=c),u[d]&&u[d].runOnce&&this.remove(t,u[d]),d+=1}}{const u=this.getBucket(e)[t],c=u?u.length:0;let d=0;if(c)while(d<c){if(!u[d]||u[d].skip){d+=1;continue}const c=Object(l["fastCall"])(u[d],e,r,n,i,a,o,s);void 0!==c&&(r=c),u[d]&&u[d].runOnce&&this.remove(t,u[d],e),d+=1}}return r}destroy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Object(i["objectEach"])(this.getBucket(e),(e,t,r)=>r[t].length=0)}register(e){this.isRegistered(e)||h.push(e)}deregister(e){this.isRegistered(e)&&h.splice(h.indexOf(e),1)}isDeprecated(e){return m.has(e)||f.has(e)}isRegistered(e){return h.indexOf(e)>=0}getRegistered(){return h}}const v=new g;function b(){return v}t["a"]=g},1096:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));r("7a89"),r("d06e");var n=r("ffec"),i=r("351d"),a=r("97b9"),o=r("7ae0");function s(e,t,r){return t=l(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){var t=u(e,"string");return"symbol"==typeof t?t:t+""}function u(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class c{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;s(this,"indexedValues",[]),s(this,"initValueOrFn",void 0),this.initValueOrFn=e}getValues(){return this.indexedValues}getValueAtIndex(e){const t=this.indexedValues;if(e<t.length)return t[e]}setValues(e){this.indexedValues=e.slice(),this.runLocalHooks("change")}setValueAtIndex(e,t){return e<this.indexedValues.length&&(this.indexedValues[e]=t,this.runLocalHooks("change"),!0)}clear(){this.setDefaultValues()}getLength(){return this.getValues().length}setDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.indexedValues.length;this.indexedValues.length=0,Object(a["isFunction"])(this.initValueOrFn)?Object(n["rangeEach"])(e-1,e=>this.indexedValues.push(this.initValueOrFn(e))):Object(n["rangeEach"])(e-1,()=>this.indexedValues.push(this.initValueOrFn)),this.runLocalHooks("change")}init(e){return this.setDefaultValues(e),this.runLocalHooks("init"),this}insert(){this.runLocalHooks("change")}remove(){this.runLocalHooks("change")}destroy(){this.clearLocalHooks(),this.indexedValues=null,this.initValueOrFn=null}}Object(i["mixin"])(c,o["a"])},"10e8":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,r){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},"116d":function(e,t,r){"use strict";e.exports=r("b4e8")},1178:function(e,t,r){"use strict";function n(e){for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(!(r>=97&&r<=122||r>=65&&r<=90||58===r||95===r||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=767||r>=880&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533)&&(0===t||!(45===r||46===r||r>=48&&r<=57||183===r||r>=768&&r<=879||r>=8255&&r<=8256))){if(r>=55296&&r<=56319&&t<e.length-1){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343&&(r=1024*(r-55296)+n-56320+65536,t++,r>=65536&&r<=983039))continue}return!1}}return!0}function i(e){let t=!1;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(!(n>=97&&n<=122||n>=65&&n<=90||95===n||n>=192&&n<=214||n>=216&&n<=246||n>=248&&n<=767||n>=880&&n<=893||n>=895&&n<=8191||n>=8204&&n<=8205||n>=8304&&n<=8591||n>=11264&&n<=12271||n>=12289&&n<=55295||n>=63744&&n<=64975||n>=65008&&n<=65533)&&(0===r||!(45===n||46===n||n>=48&&n<=57||183===n||n>=768&&n<=879||n>=8255&&n<=8256))){if(0===r||58!==n){if(n>=55296&&n<=56319&&r<e.length-1){const t=e.charCodeAt(r+1);if(t>=56320&&t<=57343&&(n=1024*(n-55296)+t-56320+65536,r++,n>=65536&&n<=983039))continue}return!1}if(t)return!1;if(r===e.length-1)return!1;t=!0}}return!0}function a(e){for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(!(9===r||10===r||13===r||r>=32&&r<=55295||r>=57344&&r<=65533)){if(r>=55296&&r<=56319&&t<e.length-1){const n=e.charCodeAt(t+1);if(n>=56320&&n<=57343&&(r=1024*(r-55296)+n-56320+65536,t++,r>=65536&&r<=1114111))continue}return!1}}return!0}function o(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(!(r>=97&&r<=122||r>=65&&r<=90||r>=39&&r<=59||32===r||13===r||10===r||r>=35&&r<=37||33===r||61===r||63===r||64===r||95===r))return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.xml_isName=n,t.xml_isQName=i,t.xml_isLegalChar=a,t.xml_isPubidChar=o},"11b3":function(e,t,r){"use strict";var n=r("8793"),i=r("939b"),a=r("80dd"),o=a("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},"11dc":function(e,t,r){"use strict";(function(t,n){var i=65536,a=4294967295;function o(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var s=r("8707").Buffer,l=t.crypto||t.msCrypto;function u(e,t){if(e>a)throw new RangeError("requested too many random bytes");var r=s.allocUnsafe(e);if(e>0)if(e>i)for(var o=0;o<e;o+=i)l.getRandomValues(r.slice(o,o+i));else l.getRandomValues(r);return"function"===typeof t?n.nextTick((function(){t(null,r)})):r}l&&l.getRandomValues?e.exports=u:e.exports=o}).call(this,r("c8ba"),r("4362"))},"12e2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("5fb5");function a(e,t){let r=t?e._current._firstChild:e._current._lastChild;while(null!==r){const a=i.traversal_filter(e,r);if(a===n.FilterResult.Accept)return e._current=r,r;if(a===n.FilterResult.Skip){const e=t?r._firstChild:r._lastChild;if(null!==e){r=e;continue}}while(null!==r){const n=t?r._nextSibling:r._previousSibling;if(null!==n){r=n;break}const i=r._parent;if(null===i||i===e._root||i===e._current)return null;r=i}}return null}function o(e,t){let r=e._current;if(r===e._root)return null;while(1){let a=t?r._nextSibling:r._previousSibling;while(null!==a){r=a;const o=i.traversal_filter(e,r);if(o===n.FilterResult.Accept)return e._current=r,r;a=t?r._firstChild:r._lastChild,o!==n.FilterResult.Reject&&null!==a||(a=t?r._nextSibling:r._previousSibling)}if(r=r._parent,null===r||r===e._root)return null;if(i.traversal_filter(e,r)===n.FilterResult.Accept)return null}}t.treeWalker_traverseChildren=a,t.treeWalker_traverseSiblings=o},"12e9":function(e,t,r){"use strict";var n=r("80dd"),i=n("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},"13e1":function(e,t,r){"use strict";r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return g})),r.d(t,"a",(function(){return v}));r("7a89");var n=r("7b9c"),i=r("351d"),a=r("c5c4"),o=(r("d06e"),r("81ea"));const s="hooksRefRegisterer",l={_hooksStorage:Object.create(null),addHook(e,t){return this._hooksStorage[e]||(this._hooksStorage[e]=[]),this.hot.addHook(e,t),this._hooksStorage[e].push(t),this},removeHooksByKey(e){Object(o["arrayEach"])(this._hooksStorage[e]||[],t=>{this.hot.removeHook(e,t)})},clearHooks(){Object(i["objectEach"])(this._hooksStorage,(e,t)=>this.removeHooksByKey(t)),this._hooksStorage={}}};Object(i["defineGetter"])(l,"MIXIN_NAME",s,{writable:!1,enumerable:!1});var u=l,c=r("5d7f");function d(e,t,r){return t=h(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=p(e,"string");return"symbol"==typeof t?t:t+""}function p(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const f="base",m=Object.freeze({VIRGIN:"STATE_VIRGIN",EDITING:"STATE_EDITING",WAITING:"STATE_WAITING",FINISHED:"STATE_FINISHED"}),g="baseEditor";class v{static get EDITOR_TYPE(){return f}constructor(e){d(this,"hot",void 0),d(this,"state",m.VIRGIN),d(this,"_opened",!1),d(this,"_fullEditMode",!1),d(this,"_closeCallback",null),d(this,"TD",null),d(this,"row",null),d(this,"col",null),d(this,"prop",null),d(this,"originalValue",null),d(this,"cellProperties",null),this.hot=e,this.init()}_fireCallbacks(e){this._closeCallback&&(this._closeCallback(e),this._closeCallback=null)}init(){}getValue(){throw Error("Editor getValue() method unimplemented")}setValue(){throw Error("Editor setValue() method unimplemented")}open(){throw Error("Editor open() method unimplemented")}close(){throw Error("Editor close() method unimplemented")}prepare(e,t,r,n,i,a){this.TD=n,this.row=e,this.col=t,this.prop=r,this.originalValue=i,this.cellProperties=a,this.state=m.VIRGIN}extend(){return class extends this.constructor{}}saveValue(e,t){let r,i,a,o;if(t){const e=this.hot.getSelectedLast();r=Math.max(Math.min(e[0],e[2]),0),i=Math.max(Math.min(e[1],e[3]),0),a=Math.max(e[0],e[2]),o=Math.max(e[1],e[3])}else[r,i,a,o]=[this.row,this.col,null,null];const s=this.hot.runHooks("modifyGetCellCoords",r,i);Array.isArray(s)&&([r,i]=s);const l=this.hot.getShortcutManager(),u=l.getContext("editor"),c={runOnlyIf:()=>Object(n["isDefined"])(this.hot.getSelected()),group:g};this.isInFullEditMode()&&u.addShortcuts([{keys:[["ArrowUp"]],callback:()=>{this.hot.selection.transformStart(-1,0)}},{keys:[["ArrowDown"]],callback:()=>{this.hot.selection.transformStart(1,0)}},{keys:[["ArrowLeft"]],callback:()=>{this.hot.selection.transformStart(0,-1*this.hot.getDirectionFactor())}},{keys:[["ArrowRight"]],callback:()=>{this.hot.selection.transformStart(0,this.hot.getDirectionFactor())}}],c),this.hot.populateFromArray(r,i,e,a,o,"edit")}beginEditing(e,t){if(this.state!==m.VIRGIN)return;const r=this.hot,i=r.rowIndexMapper.getRenderableFromVisualIndex(this.row),a=r.columnIndexMapper.getRenderableFromVisualIndex(this.col);if(r.view.scrollViewport(r._createCellCoords(i,a)),this.state=m.EDITING,this.isInFullEditMode()){const t="string"===typeof e?e:Object(n["stringify"])(this.originalValue);this.setValue(t)}this.open(t),this._opened=!0,this.focus(),r.view.render(),r.runHooks("afterBeginEditing",this.row,this.col)}finishEditing(e,t,r){let n;if(r){const e=this._closeCallback;this._closeCallback=t=>{e&&e(t),r(t),this.hot.view.render()}}if(this.isWaiting())return;const i=this.hot.getShortcutManager(),o=i.getContext("editor");if(o.removeShortcutsByGroup(g),o.removeShortcutsByGroup(a["a"]),this.state!==m.VIRGIN){if(this.state===m.EDITING){if(e)return this.cancelChanges(),void this.hot.view.render();const r=this.getValue();n=this.cellProperties.trimWhitespace?[["string"===typeof r?String.prototype.trim.call(r||""):r]]:[[r]],this.state=m.WAITING,this.saveValue(n,t),this.hot.getCellValidator(this.cellProperties)?this.hot.addHookOnce("postAfterValidate",e=>{this.state=m.FINISHED,this.discardEditor(e)}):(this.state=m.FINISHED,this.discardEditor(!0))}}else this.hot._registerTimeout(()=>{this._fireCallbacks(!0)})}cancelChanges(){this.state=m.FINISHED,this.discardEditor()}discardEditor(e){if(this.state===m.FINISHED)if(!1===e&&!0!==this.cellProperties.allowInvalid)this.hot.selectCell(this.row,this.col),this.focus(),this.state=m.EDITING,this._fireCallbacks(!1);else{this.close(),this._opened=!1,this._fullEditMode=!1,this.state=m.VIRGIN,this._fireCallbacks(!0);const e=this.hot.getShortcutManager();e.setActiveContextName("grid")}}enableFullEditMode(){this._fullEditMode=!0}isInFullEditMode(){return this._fullEditMode}isOpened(){return this._opened}isWaiting(){return this.state===m.WAITING}getEditedCellRect(){var e;const t=this.getEditedCell();if(!t)return;const{wtOverlays:r,wtViewport:n}=this.hot.view._wt,i=this.hot.rootWindow,a=Object(c["offset"])(t),o=Object(c["outerWidth"])(t),s=Object(c["offset"])(this.hot.rootElement),l=Object(c["outerWidth"])(this.hot.rootElement),u=r.topOverlay.holder,d=r.inlineStartOverlay.holder,h=u!==i?u.scrollTop:0,p=d!==i?d.scrollLeft:0,f=i.innerWidth-s.left-l,{wtTable:m}=null!==(e=r.getParentOverlay(t))&&void 0!==e?e:this.hot.view._wt,g=m.name,v=["master","inline_start"].includes(g)?h:0,b=["master","top","bottom"].includes(g)?p:0,y=a.top===s.top?0:1;let w=a.top-s.top-y-v,_=0;_=this.hot.isRtl()?i.innerWidth-a.left-o-f-1+b:a.left-s.left-1-b,["top","top_inline_start_corner"].includes(g)&&(w+=r.topOverlay.getOverlayOffset()),["inline_start","top_inline_start_corner"].includes(g)&&(_+=Math.abs(r.inlineStartOverlay.getOverlayOffset()));const S=this.hot.hasColHeaders(),E=this.hot.rowIndexMapper.getRenderableFromVisualIndex(this.row),M=this.hot.columnIndexMapper.getRenderableFromVisualIndex(this.col),T=this.hot.rowIndexMapper.getRenderableIndexesLength(),C=T-this.hot.view._wt.getSetting("fixedRowsBottom");(S&&E<=0||E===C)&&(w+=1),M<=0&&(_+=1);const x=n.rowsRenderCalculator.startPosition,A=n.columnsRenderCalculator.startPosition,N=Math.abs(r.inlineStartOverlay.getScrollPosition()),O=r.topOverlay.getScrollPosition(),R=Object(c["getScrollbarWidth"])(this.hot.rootDocument);let L=t.offsetTop;if(["inline_start","master"].includes(g)&&(L+=x-O),["bottom","bottom_inline_start_corner"].includes(g)){const{wtViewport:e,wtTable:t}=r.bottomOverlay.clone;L+=e.getWorkspaceHeight()-t.getHeight()-R}let k=t.offsetLeft;this.hot.isRtl()?(k=k>=0?m.getWidth()-t.offsetLeft:Math.abs(k),k+=A-N-o):["top","master","bottom"].includes(g)&&(k+=A-N);const I=Object(c["getComputedStyle"])(this.TD,this.hot.rootWindow),D=this.hot.isRtl()?"borderRightWidth":"borderLeftWidth",P=parseInt(I[D],10)>0?0:1,j=parseInt(I.borderTopWidth,10)>0?0:1,F=Object(c["outerWidth"])(t)+P,H=Object(c["outerHeight"])(t)+j,B=Object(c["hasVerticalScrollbar"])(u)?R:0,U=Object(c["hasHorizontalScrollbar"])(d)?R:0,V=this.hot.view.maximumVisibleElementWidth(k)-B+P,Y=Math.max(this.hot.view.maximumVisibleElementHeight(L)-U+j,23);return{top:w,start:_,height:H,maxHeight:Y,width:F,maxWidth:V}}getEditedCellsLayerClass(){const e=this.checkEditorSection();switch(e){case"inline-start":return"ht_clone_left ht_clone_inline_start";case"bottom":return"ht_clone_bottom";case"bottom-inline-start-corner":return"ht_clone_bottom_left_corner ht_clone_bottom_inline_start_corner";case"top":return"ht_clone_top";case"top-inline-start-corner":return"ht_clone_top_left_corner ht_clone_top_inline_start_corner";default:return"ht_clone_master"}}getEditedCell(){return this.hot.getCell(this.row,this.col,!0)}checkEditorSection(){const e=this.hot.countRows();let t="";return this.row<this.hot.getSettings().fixedRowsTop?t=this.col<this.hot.getSettings().fixedColumnsStart?"top-inline-start-corner":"top":this.hot.getSettings().fixedRowsBottom&&this.row>=e-this.hot.getSettings().fixedRowsBottom?t=this.col<this.hot.getSettings().fixedColumnsStart?"bottom-inline-start-corner":"bottom":this.col<this.hot.getSettings().fixedColumnsStart&&(t="inline-start"),t}}Object(i["mixin"])(v,u)},"13e2":function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),a=r("aa56"),o=n.rotl32,s=n.sum32,l=n.sum32_5,u=a.ft_1,c=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,c),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=o(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],a=this.h[1],c=this.h[2],h=this.h[3],p=this.h[4];for(n=0;n<r.length;n++){var f=~~(n/20),m=l(o(i,5),u(f,a,c,h),p,r[n],d[f]);p=h,h=c,c=o(a,30),a=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],c),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],p)},h.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},"13e9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,r,n,i){var a,o=t.words[n];return 1===n.length?"y"===n&&r?"једна година":i||r?o[0]:o[1]:(a=t.correctGrammaticalCase(e,o),"yy"===n&&r&&"годину"===a?e+" година":e+" "+a)}},r=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},1409:function(e,t,r){"use strict";e.exports=ReferenceError},"142d":function(e,t,r){"use strict";var n=r("7b69"),i=r("088f"),a=r("2471");e.exports=function(e,t,r){var o,s;i(e);try{if(o=a(e,"return"),!o){if("throw"===t)throw r;return r}o=n(o,e)}catch(l){s=!0,o=l}if("throw"===t)throw r;if(s)throw o;return i(o),r}},1545:function(e,t,r){"use strict";t.utils=r("5ee7"),t.Cipher=r("0184"),t.DES=r("4e2b"),t.CBC=r("0da4"),t.EDE=r("1fec")},"167b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}});return t}))},1696:function(e,t,r){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;var n=42;for(t in e[t]=n,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==n||!0!==a.enumerable)return!1}return!0}},"169f":function(e,t,r){"use strict";r.d(t,"d",(function(){return c})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return s}));r("7a89");var n=r("9acd");const{register:i,getItem:a,hasItem:o,getNames:s,getValues:l}=Object(n["a"])("validators");function u(e){if("function"===typeof e)return e;if(!o(e))throw Error(`No registered validator found under "${e}" name`);return a(e)}function c(e,t){"string"!==typeof e&&(t=e,e=t.VALIDATOR_TYPE),i(e,t)}},"16cb":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("0fc1"),a=r("9af8"),o=r("9389"),s=r("4b7d"),l=r("c598"),u=r("3d7e"),c=r("51f1"),d=r("ba82"),h=r("2f3c");function p(e){return e._startNode===e._endNode&&e._startOffset===e._endOffset}function f(e){return s.tree_rootNode(e._startNode)}function m(e,t){return s.tree_rootNode(e)===f(t)&&l.boundaryPoint_position([e,0],t._start)===n.BoundaryPosition.After&&l.boundaryPoint_position([e,s.tree_nodeLength(e)],t._end)===n.BoundaryPosition.Before}function g(e,t){const r=s.tree_isAncestorOf(t._startNode,e,!0),n=s.tree_isAncestorOf(t._endNode,e,!0);return r&&!n||!r&&n}function v(e,t,r){if(a.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(r>s.tree_nodeLength(t))throw new i.IndexSizeError;const o=[t,r];f(e)===s.tree_rootNode(t)&&l.boundaryPoint_position(o,e._end)!==n.BoundaryPosition.After||(e._end=o),e._start=o}function b(e,t,r){if(a.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(r>s.tree_nodeLength(t))throw new i.IndexSizeError;const o=[t,r];f(e)===s.tree_rootNode(t)&&l.boundaryPoint_position(o,e._start)!==n.BoundaryPosition.Before||(e._start=o),e._end=o}function y(e,t){const r=e._parent;if(null===r)throw new i.InvalidNodeTypeError;const n=s.tree_index(e);t._start=[r,n],t._end=[r,n+1]}function w(e){const t=o.create_documentFragment(e._startNode._nodeDocument);if(p(e))return t;const r=e._startNode,n=e._startOffset,l=e._endNode,h=e._endOffset;if(r===l&&a.Guard.isCharacterDataNode(r)){const e=c.node_clone(r);return e._data=u.characterData_substringData(r,n,h-n),d.mutation_append(e,t),u.characterData_replaceData(r,n,h-n,""),t}let f=r;while(!s.tree_isAncestorOf(l,f,!0)){if(null===f._parent)throw new Error("Parent node is null.");f=f._parent}let v=null;if(!s.tree_isAncestorOf(l,r,!0))for(const i of f._children)if(g(i,e)){v=i;break}let b=null;if(!s.tree_isAncestorOf(r,l,!0)){const t=[...f._children];for(let r=t.length-1;r>0;r--){const n=t[r];if(g(n,e)){b=n;break}}}const y=[];for(const o of f._children)if(m(o,e)){if(a.Guard.isDocumentTypeNode(o))throw new i.HierarchyRequestError;y.push(o)}let _,S;if(s.tree_isAncestorOf(l,r,!0))_=r,S=n;else{let e=r;while(null!==e._parent&&!s.tree_isAncestorOf(l,e._parent))e=e._parent;if(null===e._parent)throw new Error("Parent node is null.");_=e._parent,S=1+s.tree_index(e)}if(a.Guard.isCharacterDataNode(v)){const e=c.node_clone(r);e._data=u.characterData_substringData(r,n,s.tree_nodeLength(r)-n),d.mutation_append(e,t),u.characterData_replaceData(r,n,s.tree_nodeLength(r)-n,"")}else if(null!==v){const e=c.node_clone(v);d.mutation_append(e,t);const i=o.create_range([r,n],[v,s.tree_nodeLength(v)]),a=w(i);d.mutation_append(a,e)}for(const i of y)d.mutation_append(i,t);if(a.Guard.isCharacterDataNode(b)){const e=c.node_clone(l);e._data=u.characterData_substringData(l,0,h),d.mutation_append(e,t),u.characterData_replaceData(l,0,h,"")}else if(null!==b){const e=c.node_clone(b);d.mutation_append(e,t);const r=o.create_range([b,0],[l,h]),n=w(r);d.mutation_append(n,e)}return e._start=[_,S],e._end=[_,S],t}function _(e){const t=o.create_documentFragment(e._startNode._nodeDocument);if(p(e))return t;const r=e._startNode,n=e._startOffset,l=e._endNode,h=e._endOffset;if(r===l&&a.Guard.isCharacterDataNode(r)){const e=c.node_clone(r);e._data=u.characterData_substringData(r,n,h-n),d.mutation_append(e,t)}let f=r;while(!s.tree_isAncestorOf(l,f,!0)){if(null===f._parent)throw new Error("Parent node is null.");f=f._parent}let v=null;if(!s.tree_isAncestorOf(l,r,!0))for(const i of f._children)if(g(i,e)){v=i;break}let b=null;if(!s.tree_isAncestorOf(r,l,!0)){const t=[...f._children];for(let r=t.length-1;r>0;r--){const n=t[r];if(g(n,e)){b=n;break}}}const y=[];for(const o of f._children)if(m(o,e)){if(a.Guard.isDocumentTypeNode(o))throw new i.HierarchyRequestError;y.push(o)}if(a.Guard.isCharacterDataNode(v)){const e=c.node_clone(r);e._data=u.characterData_substringData(r,n,s.tree_nodeLength(r)-n),d.mutation_append(e,t)}else if(null!==v){const e=c.node_clone(v);d.mutation_append(e,t);const i=o.create_range([r,n],[v,s.tree_nodeLength(v)]),a=_(i);d.mutation_append(a,e)}for(const i of y){const e=c.node_clone(i);d.mutation_append(e,t)}if(a.Guard.isCharacterDataNode(b)){const e=c.node_clone(l);e._data=u.characterData_substringData(l,0,h),d.mutation_append(e,t)}else if(null!==b){const e=c.node_clone(b);t.append(e);const r=o.create_range([b,0],[l,h]),n=w(r);d.mutation_append(n,e)}return t}function S(e,t){if(a.Guard.isProcessingInstructionNode(t._startNode)||a.Guard.isCommentNode(t._startNode)||a.Guard.isTextNode(t._startNode)&&null===t._startNode._parent||t._startNode===e)throw new i.HierarchyRequestError;let r,n=null;if(a.Guard.isTextNode(t._startNode))n=t._startNode;else{let e=0;for(const r of t._startNode._children){if(e===t._startOffset){n=r;break}e++}}if(null===n)r=t._startNode;else{if(null===n._parent)throw new Error("Parent node is null.");r=n._parent}d.mutation_ensurePreInsertionValidity(e,r,n),a.Guard.isTextNode(t._startNode)&&(n=h.text_split(t._startNode,t._startOffset)),e===n&&(n=e._nextSibling),null!==e._parent&&d.mutation_remove(e,e._parent);let o=null===n?s.tree_nodeLength(r):s.tree_index(n);a.Guard.isDocumentFragmentNode(e)?o+=s.tree_nodeLength(e):o++,d.mutation_preInsert(e,r,n),p(t)&&(t._end=[r,o])}function E(e){return{[Symbol.iterator]:()=>{const t=e.commonAncestorContainer;let r=s.tree_getFirstDescendantNode(t);return{next:()=>{while(r&&!m(r,e))r=s.tree_getNextDescendantNode(t,r);if(null===r)return{done:!0,value:null};{const e={done:!1,value:r};return r=s.tree_getNextDescendantNode(t,r),e}}}}}}function M(e){return{[Symbol.iterator]:()=>{const t=e.commonAncestorContainer;let r=s.tree_getFirstDescendantNode(t);return{next:()=>{while(r&&!g(r,e))r=s.tree_getNextDescendantNode(t,r);if(null===r)return{done:!0,value:null};{const e={done:!1,value:r};return r=s.tree_getNextDescendantNode(t,r),e}}}}}}t.range_collapsed=p,t.range_root=f,t.range_isContained=m,t.range_isPartiallyContained=g,t.range_setTheStart=v,t.range_setTheEnd=b,t.range_select=y,t.range_extract=w,t.range_cloneTheContents=_,t.range_insert=S,t.range_getContainedNodes=E,t.range_getPartiallyContainedNodes=M},"16e7":function(e,t,r){"use strict";var n=r("d6c7"),i=r("1696")(),a=r("545e"),o=Object,s=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),u=i?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var r=o(e);if(1===arguments.length)return r;for(var a=1;a<arguments.length;++a){var c=o(arguments[a]),d=n(c),h=i&&(Object.getOwnPropertySymbols||u);if(h)for(var p=h(c),f=0;f<p.length;++f){var m=p[f];l(c,m)&&s(d,m)}for(var g=0;g<d.length;++g){var v=d[g];if(l(c,v)){var b=c[v];r[v]=b}}}return r}},"170e":function(e,t,r){"use strict";var n=r("0227"),i=r("69ba"),a=r("2d2d"),o=r("1e92"),s=r("7c2b"),l=r("1d07"),u=r("2c35"),c=r("01b5"),d=r("a45f"),h=r("9718"),p=r("2daa"),f=r("d128"),m=r("d62b");e.exports=function(e,t,r,g){var v="stackTraceLimit",b=g?2:1,y=e.split("."),w=y[y.length-1],_=n.apply(null,y);if(_){var S=_.prototype;if(!m&&i(S,"cause")&&delete S.cause,!r)return _;var E=n("Error"),M=t((function(e,t){var r=d(g?t:e,void 0),n=g?new _(e):new _;return void 0!==r&&a(n,"message",r),p(n,M,n.stack,2),this&&o(S,this)&&c(n,this,M),arguments.length>b&&h(n,arguments[b]),n}));if(M.prototype=S,"Error"!==w?s?s(M,E):l(M,E,{name:!0}):f&&v in _&&(u(M,_,v),u(M,_,"prepareStackTrace")),l(M,_),!m)try{S.name!==w&&a(S,"name",w),S.constructor=M}catch(T){}return M}}},1715:function(e,t,r){"use strict";var n=r("966d"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r("3a7c"));a.inherits=r("3fb5");var o=r("8b77"),s=r("5bc2");a.inherits(d,o);for(var l=i(s.prototype),u=0;u<l.length;u++){var c=l[u];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},"172d":function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},"184d":function(e,t,r){"use strict";var n=r("f177"),i=r("2500"),a=r("bbc7");e.exports={formats:a,parse:i,stringify:n}},"186a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9af8"),i=r("9688");class a{before(...e){const t=n.Cast.asNode(this),r=t._parent;if(null===r)return;let a=t._previousSibling,o=!0;while(o&&a){o=!1;for(let t=0;t<e.length;t++){const r=e[t];if(r===a){a=a._previousSibling,o=!0;break}}}const s=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);a=null===a?r._firstChild:a._nextSibling,i.mutation_preInsert(s,r,a)}after(...e){const t=n.Cast.asNode(this),r=t._parent;if(!r)return;let a=t._nextSibling,o=!0;while(o&&a){o=!1;for(let t=0;t<e.length;t++){const r=e[t];if(r===a){a=a._nextSibling,o=!0;break}}}const s=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);i.mutation_preInsert(s,r,a)}replaceWith(...e){const t=n.Cast.asNode(this),r=t._parent;if(!r)return;let a=t._nextSibling,o=!0;while(o&&a){o=!1;for(let t=0;t<e.length;t++){const r=e[t];if(r===a){a=a._nextSibling,o=!0;break}}}const s=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);t._parent===r?i.mutation_replace(t,s,r):i.mutation_preInsert(s,r,a)}remove(){const e=n.Cast.asNode(this),t=e._parent;t&&i.mutation_remove(e,t)}}t.ChildNodeImpl=a},1880:function(e,t,r){var n=r("d5ec"),i=r("5eac"),a=r("8029");a.elementNames.__proto__=null,a.attributeNames.__proto__=null;var o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};function s(e,t){if(e){var r,n="";for(var o in e)r=e[o],n&&(n+=" "),"foreign"===t.xmlMode&&(o=a.attributeNames[o]||o),n+=o,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?i.encodeXML(r):r.replace(/\"/g,"""))+'"');return n}}var l={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},u=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",i=0;i<e.length;i++){var a=e[i];"root"===a.type?r+=u(a.children,t):n.isTag(a)?r+=d(a,t):a.type===n.Directive?r+=h(a):a.type===n.Comment?r+=m(a):a.type===n.CDATA?r+=f(a):r+=p(a,t)}return r},c=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function d(e,t){"foreign"===t.xmlMode&&(e.name=a.elementNames[e.name]||e.name,e.parent&&c.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=s(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=u(e.children,t)),l[e.name]&&!t.xmlMode||(r+="</"+e.name+">")):r+="/>",r}function h(e){return"<"+e.data+">"}function p(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in o||(r=i.encodeXML(r)),r}function f(e){return"<![CDATA["+e.children[0].data+"]]>"}function m(e){return"\x3c!--"+e.data+"--\x3e"}},"18a2":function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=r("53b7").Buffer,a=r(9);function o(e,t,r){e.copy(t,r)}e.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,r=""+t.data;while(t=t.next)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);var t=i.allocUnsafe(e>>>0),r=this.head,n=0;while(r)o(r.data,t,n),n+=r.data.length,r=r.next;return t},e}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e})},1985:function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n&&n;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,u=36,c=1,d=26,h=38,p=700,f=72,m=128,g="-",v=/^xn--/,b=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,S=Math.floor,E=String.fromCharCode;function M(e){throw new RangeError(w[e])}function T(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function C(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(y,".");var i=e.split("."),a=T(i,t).join(".");return n+a}function x(e){var t,r,n=[],i=0,a=e.length;while(i<a)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<a?(r=e.charCodeAt(i++),56320==(64512&r)?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--)):n.push(t);return n}function A(e){return T(e,(function(e){var t="";return e>65535&&(e-=65536,t+=E(e>>>10&1023|55296),e=56320|1023&e),t+=E(e),t})).join("")}function N(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,r){var n=0;for(e=r?S(e/p):e>>1,e+=S(e/t);e>_*d>>1;n+=u)e=S(e/_);return S(n+(_+1)*e/(e+h))}function L(e){var t,r,n,i,a,o,s,h,p,v,b=[],y=e.length,w=0,_=m,E=f;for(r=e.lastIndexOf(g),r<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&M("not-basic"),b.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<y;){for(a=w,o=1,s=u;;s+=u){if(i>=y&&M("invalid-input"),h=N(e.charCodeAt(i++)),(h>=u||h>S((l-w)/o))&&M("overflow"),w+=h*o,p=s<=E?c:s>=E+d?d:s-E,h<p)break;v=u-p,o>S(l/v)&&M("overflow"),o*=v}t=b.length+1,E=R(w-a,t,0==a),S(w/t)>l-_&&M("overflow"),_+=S(w/t),w%=t,b.splice(w++,0,_)}return A(b)}function k(e){var t,r,n,i,a,o,s,h,p,v,b,y,w,_,T,C=[];for(e=x(e),y=e.length,t=m,r=0,a=f,o=0;o<y;++o)b=e[o],b<128&&C.push(E(b));n=i=C.length,i&&C.push(g);while(n<y){for(s=l,o=0;o<y;++o)b=e[o],b>=t&&b<s&&(s=b);for(w=n+1,s-t>S((l-r)/w)&&M("overflow"),r+=(s-t)*w,t=s,o=0;o<y;++o)if(b=e[o],b<t&&++r>l&&M("overflow"),b==t){for(h=r,p=u;;p+=u){if(v=p<=a?c:p>=a+d?d:p-a,h<v)break;T=h-v,_=u-v,C.push(E(O(v+T%_,0))),h=S(T/_)}C.push(E(O(h,0))),a=R(r,w,n==i),r=0,++n}++r,++t}return C.join("")}function I(e){return C(e,(function(e){return v.test(e)?L(e.slice(4).toLowerCase()):e}))}function D(e){return C(e,(function(e){return b.test(e)?"xn--"+k(e):e}))}s={version:"1.4.1",ucs2:{decode:x,encode:A},decode:L,encode:k,toASCII:D,toUnicode:I},i=function(){return s}.call(t,r,t,e),void 0===i||(e.exports=i)})()}).call(this,r("62e4")(e),r("c8ba"))},"1a2a":function(e,t,r){"use strict";var n=r("3fb5"),i=r("d424"),a=r("6430"),o=r("8707").Buffer,s=r("5a76"),l=r("b5ca"),u=r("69f2"),c=o.alloc(128);function d(e,t){a.call(this,"digest"),"string"===typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){var n="rmd160"===e?new l:u(e);t=n.update(t).digest()}else t.length<r&&(t=o.concat([t,c],r));for(var i=this._ipad=o.allocUnsafe(r),s=this._opad=o.allocUnsafe(r),d=0;d<r;d++)i[d]=54^t[d],s[d]=92^t[d];this._hash="rmd160"===e?new l:u(e),this._hash.update(i)}n(d,a),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest(),t="rmd160"===this._alg?new l:u(this._alg);return t.update(this._opad).update(e).digest()},e.exports=function(e,t){return e=e.toLowerCase(),"rmd160"===e||"ripemd160"===e?new d("rmd160",t):"md5"===e?new i(s,t):new d(e,t)}},"1ad6":function(e,t,r){e.exports=r("faa1").EventEmitter},"1b1a":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("1096"),i=r("3d57"),a=r("a73f");class o extends n["a"]{constructor(){super(e=>e)}insert(e,t){const r=Object(a["b"])(this.indexedValues,t);this.indexedValues=Object(i["a"])(r,e,t),super.insert(e,t)}remove(e){const t=Object(i["b"])(this.indexedValues,e);this.indexedValues=Object(a["a"])(t,e),super.remove(e)}}},"1b45":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"1c46":function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r("11dc"),t.createHash=t.Hash=r("98e6"),t.createHmac=t.Hmac=r("1a2a");var n=r("116d"),i=Object.keys(n),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return a};var o=r("a099");t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var s=r("956a");t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var l=r("00dc");t.DiffieHellmanGroup=l.DiffieHellmanGroup,t.createDiffieHellmanGroup=l.createDiffieHellmanGroup,t.getDiffieHellman=l.getDiffieHellman,t.createDiffieHellman=l.createDiffieHellman,t.DiffieHellman=l.DiffieHellman;var u=r("b692");t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=r("e1d30");var c=r("6442");t.publicEncrypt=c.publicEncrypt,t.privateEncrypt=c.privateEncrypt,t.publicDecrypt=c.publicDecrypt,t.privateDecrypt=c.privateDecrypt;var d=r("75cc");t.randomFill=d.randomFill,t.randomFillSync=d.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"1caf":function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"1cfd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,a,o){var s=r(t),l=n[e][r(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return o}))},"1d07":function(e,t,r){"use strict";var n=r("69ba"),i=r("fb46"),a=r("485c"),o=r("a60d");e.exports=function(e,t,r){for(var s=i(t),l=o.f,u=a.f,c=0;c<s.length;c++){var d=s[c];n(e,d)||r&&n(r,d)||l(e,d,u(t,d))}}},"1e3c":function(e,t,r){var n=r("6430"),i=r("1545"),a=r("3fb5"),o=r("8707").Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function l(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var a=e.key;o.isBuffer(a)||(a=o.from(a)),"des-ede"!==r&&"des-ede-cbc"!==r||(a=o.concat([a,a.slice(0,8)]));var l=e.iv;o.isBuffer(l)||(l=o.from(l)),this._des=i.create({key:a,iv:l,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=l,a(l,n),l.prototype._update=function(e){return o.from(this._des.update(e))},l.prototype._final=function(){return o.from(this._des.final())}},"1e8c":function(e,t,r){"use strict";r.d(t,"a",(function(){return J}));var n=r("c4fa");const i={name:"editorCloseAndSave",callback(e,t){const r=e._getEditorManager();r.closeEditorAndSaveChanges(t.ctrlKey||t.metaKey),r.moveSelectionAfterEnter(t)}},a={name:"editorCloseWithoutSaving",callback(e){const t=e._getEditorManager();t.closeEditorAndRestoreOriginalValue(e.getShortcutManager().isCtrlPressed()),t.activeEditor.focus()}},o={name:"editorFastOpen",callback(e,t){const{highlight:r}=e.getSelectedRangeLast();r.isHeader()||e._getEditorManager().openEditor(null,t,!0)}};var s=r("de3b");const l={name:"editorOpen",callback(e,t,r){const n=e._getEditorManager(),i=e.getSelectedRangeLast(),{highlight:a}=i;if(e.selection.isMultiple()&&!i.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0){const n=e.getSettings(),i="function"===typeof n.enterMoves?n.enterMoves(t):n.enterMoves;r.includes("shift")?e.selection.transformFocus(-i.row,-i.col):e.selection.transformFocus(i.row,i.col)}else a.isHeader()||(e.getSettings().enterBeginsEditing?n.cellProperties.readOnly?n.moveSelectionAfterEnter(t):n.openEditor(null,t,!0):n.moveSelectionAfterEnter(t),Object(s["stopImmediatePropagation"])(t))}};function u(){return[i,a,o,l]}const c={name:"extendCellsSelectionDown",callback(e){const{highlight:t}=e.getSelectedRangeLast();e.selection.isSelectedByColumnHeader()||e.selection.isSelectedByCorner()||!(t.isCell()||t.isHeader()&&e.selection.isSelectedByRowHeader())||e.selection.transformEnd(1,0)}},d={name:"extendCellsSelectionDownByViewportHeight",callback(e){const{to:t}=e.getSelectedRangeLast(),r=Math.min(t.row+e.countVisibleRows(),e.countRows()-1),n=e.rowIndexMapper.getNearestNotHiddenIndex(r,-1);if(null!==n){const r=e._createCellCoords(n,t.col),i=t.row-e.view.getFirstFullyVisibleRow(),a=Math.min(r.row-i,e.countRows()-1);e.selection.setRangeEnd(r),e.scrollViewportTo({row:a,verticalSnap:"top",horizontalSnap:"start"})}}},h={name:"extendCellsSelectionLeft",callback(e){const{highlight:t}=e.getSelectedRangeLast();e.selection.isSelectedByRowHeader()||e.selection.isSelectedByCorner()||!(t.isCell()||t.isHeader()&&e.selection.isSelectedByColumnHeader())||e.selection.transformEnd(0,-1*e.getDirectionFactor())}},p={name:"extendCellsSelectionRight",callback(e){const{highlight:t}=e.getSelectedRangeLast();e.selection.isSelectedByRowHeader()||e.selection.isSelectedByCorner()||!(t.isCell()||t.isHeader()&&e.selection.isSelectedByColumnHeader())||e.selection.transformEnd(0,e.getDirectionFactor())}},f={name:"extendCellsSelectionToColumns",callback(e){const{highlight:t,from:r,to:n}=e.getSelectedRangeLast();e.selection.isSelectedByRowHeader()?e.selection.selectAll(!0,!0):e.selectColumns(r.col,n.col,t)}},m={name:"extendCellsSelectionToMostBottom",callback(e){const{selection:t,rowIndexMapper:r}=e,{highlight:n,from:i,to:a}=e.getSelectedRangeLast(),o=n.isHeader()&&e.selection.isSelectedByRowHeader();if(n.isCell()||o){const s=r.getNearestNotHiddenIndex(e.countRows()-1,-1),l=i.clone();l.row=n.row,t.setRangeStart(l,void 0,!1,n.clone()),o&&t.selectedByRowHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(s,a.col))}}},g={name:"extendCellsSelectionToMostInlineEnd",callback(e){const{selection:t,columnIndexMapper:r}=e,{highlight:n,from:i,to:a}=e.getSelectedRangeLast();if(!e.selection.isSelectedByRowHeader()&&!e.selection.isSelectedByCorner()&&n.isCell()){const o=r.getNearestNotHiddenIndex(e.countCols()-1,-1),s=i.clone();s.col=n.col,t.setRangeStart(s,void 0,!1,n.clone()),t.setRangeEnd(e._createCellCoords(a.row,o))}}},v={name:"extendCellsSelectionToMostInlineStart",callback(e){const{selection:t,columnIndexMapper:r}=e,{highlight:n,from:i,to:a}=e.getSelectedRangeLast();if(!e.selection.isSelectedByRowHeader()&&!e.selection.isSelectedByCorner()&&n.isCell()){const o=parseInt(e.getSettings().fixedColumnsStart,10),s=r.getNearestNotHiddenIndex(o,1),l=i.clone();l.col=n.col,t.setRangeStart(l,void 0,!1,n.clone()),t.setRangeEnd(e._createCellCoords(a.row,s))}}},b={name:"extendCellsSelectionToMostLeft",callback(e){const{selection:t,columnIndexMapper:r}=e,{highlight:n,from:i,to:a}=e.getSelectedRangeLast(),o=n.isHeader()&&e.selection.isSelectedByColumnHeader();if(n.isCell()||o){const s=r.getNearestNotHiddenIndex(...e.isRtl()?[e.countCols()-1,-1]:[0,1]),l=i.clone();l.col=n.col,t.setRangeStart(l,void 0,!1,n.clone()),o&&t.selectedByColumnHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(a.row,s))}}},y={name:"extendCellsSelectionToMostRight",callback(e){const{selection:t,columnIndexMapper:r}=e,{highlight:n,from:i,to:a}=e.getSelectedRangeLast(),o=n.isHeader()&&e.selection.isSelectedByColumnHeader();if(n.isCell()||o){const s=r.getNearestNotHiddenIndex(...e.isRtl()?[0,1]:[e.countCols()-1,-1]),l=i.clone();l.col=n.col,t.setRangeStart(l,void 0,!1,n.clone()),o&&t.selectedByColumnHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(a.row,s))}}},w={name:"extendCellsSelectionToMostTop",callback(e){const{selection:t,rowIndexMapper:r}=e,{highlight:n,from:i,to:a}=e.getSelectedRangeLast(),o=n.isHeader()&&e.selection.isSelectedByRowHeader();if(n.isCell()||o){const s=r.getNearestNotHiddenIndex(0,1),l=i.clone();l.row=n.row,t.setRangeStart(l,void 0,!1,n.clone()),o&&t.selectedByRowHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(s,a.col))}}},_={name:"extendCellsSelectionToRows",callback(e){const{highlight:t,from:r,to:n}=e.getSelectedRangeLast();e.selection.isSelectedByColumnHeader()?e.selection.selectAll(!0,!0):e.selectRows(r.row,n.row,t)}},S={name:"extendCellsSelectionUp",callback(e){const{highlight:t}=e.getSelectedRangeLast();e.selection.isSelectedByColumnHeader()||e.selection.isSelectedByCorner()||!(t.isCell()||t.isHeader()&&e.selection.isSelectedByRowHeader())||e.selection.transformEnd(-1,0)}},E={name:"extendCellsSelectionUpByViewportHeight",callback(e){const{to:t}=e.getSelectedRangeLast(),r=Math.max(t.row-e.countVisibleRows(),0),n=e.rowIndexMapper.getNearestNotHiddenIndex(r,1);if(null!==n){const r=e._createCellCoords(n,t.col),i=t.row-e.view.getFirstFullyVisibleRow(),a=Math.max(r.row-i,0);e.selection.setRangeEnd(r),e.scrollViewportTo({row:a,verticalSnap:"top",horizontalSnap:"start"})}}};function M(){return[c,d,h,p,f,m,g,v,b,y,w,_,S,E]}const T={name:"moveCellSelectionDown",callback(e){let{selection:t}=e;t.transformStart(1,0)}},C={name:"moveCellSelectionDownByViewportHeight",callback(e){const{navigableHeaders:t}=e.getSettings(),r=t?e.countColHeaders():0,{row:n}=e.getSelectedRangeLast().highlight;let i=e.countVisibleRows()+r;n===e.countRows()-1?i=1:n+i>e.countRows()&&(i=e.countRows()-n-1),e.selection.transformStart(i,0),e.getSelectedRangeLast().highlight.row<0&&e.scrollViewportTo({row:0})}},x={name:"moveCellSelectionInlineEnd",callback(e,t){const r=e.getSettings(),n=e.getSelectedRangeLast(),i="function"===typeof r.tabMoves?r.tabMoves(t):r.tabMoves;e.selection.isMultiple()&&!n.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0?e.selection.transformFocus(-i.row,-i.col):e.selection.transformStart(-i.row,-i.col)}},A={name:"moveCellSelectionInlineStart",callback(e,t){const r=e.getSettings(),n=e.getSelectedRangeLast(),i="function"===typeof r.tabMoves?r.tabMoves(t):r.tabMoves;e.selection.isMultiple()&&!n.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0?e.selection.transformFocus(i.row,i.col):e.selection.transformStart(i.row,i.col)}},N={name:"moveCellSelectionLeft",callback(e){e.selection.transformStart(0,-1*e.getDirectionFactor())}},O={name:"moveCellSelectionRight",callback(e){e.selection.transformStart(0,e.getDirectionFactor())}},R={name:"moveCellSelectionToMostBottom",callback(e){const{col:t}=e.getSelectedRangeLast().highlight;let r=e.rowIndexMapper.getNearestNotHiddenIndex(e.countRows()-1,-1);null===r&&(r=-1),e.selection.setRangeStart(e._createCellCoords(r,t))}},L={name:"moveCellSelectionToMostBottomInlineEnd",callback(e){const{selection:t,rowIndexMapper:r,columnIndexMapper:n}=e,i=parseInt(e.getSettings().fixedRowsBottom,10),a=r.getNearestNotHiddenIndex(e.countRows()-i-1,-1),o=n.getNearestNotHiddenIndex(e.countCols()-1,-1);t.setRangeStart(e._createCellCoords(a,o))}},k={name:"moveCellSelectionToMostInlineEnd",callback(e){const{selection:t,columnIndexMapper:r}=e;t.setRangeStart(e._createCellCoords(e.getSelectedRangeLast().highlight.row,r.getNearestNotHiddenIndex(e.countCols()-1,-1)))}},I={name:"moveCellSelectionToMostInlineStart",callback(e){const{selection:t,columnIndexMapper:r}=e,n=parseInt(e.getSettings().fixedColumnsStart,10),i=e.getSelectedRangeLast().highlight.row,a=r.getNearestNotHiddenIndex(n,1);t.setRangeStart(e._createCellCoords(i,a))}},D={name:"moveCellSelectionToMostLeft",callback(e){const{selection:t,columnIndexMapper:r}=e,n=e.getSelectedRangeLast().highlight.row;let i=r.getNearestNotHiddenIndex(...e.isRtl()?[e.countCols()-1,-1]:[0,1]);null===i&&(i=e.isRtl()?-1:-e.countRowHeaders()),t.setRangeStart(e._createCellCoords(n,i))}},P={name:"moveCellSelectionToMostRight",callback(e){const{selection:t,columnIndexMapper:r}=e,{row:n}=e.getSelectedRangeLast().highlight;let i=r.getNearestNotHiddenIndex(...e.isRtl()?[0,1]:[e.countCols()-1,-1]);null===i&&(i=e.isRtl()?-e.countRowHeaders():-1),t.setRangeStart(e._createCellCoords(n,i))}},j={name:"moveCellSelectionToMostTop",callback(e){const{col:t}=e.getSelectedRangeLast().highlight;let r=e.rowIndexMapper.getNearestNotHiddenIndex(0,1);null===r&&(r=-e.countColHeaders()),e.selection.setRangeStart(e._createCellCoords(r,t))}},F={name:"moveCellSelectionToMostTopInlineStart",callback(e){const{selection:t,rowIndexMapper:r,columnIndexMapper:n}=e,i=parseInt(e.getSettings().fixedRowsTop,10),a=parseInt(e.getSettings().fixedColumnsStart,10),o=r.getNearestNotHiddenIndex(i,1),s=n.getNearestNotHiddenIndex(a,1);t.setRangeStart(e._createCellCoords(o,s))}},H={name:"moveCellSelectionUp",callback(e){let{selection:t}=e;t.transformStart(-1,0)}},B={name:"moveCellSelectionUpByViewportHight",callback(e){const{navigableHeaders:t}=e.getSettings(),r=t?e.countColHeaders():0,{row:n}=e.getSelectedRangeLast().highlight;let i=-(e.countVisibleRows()+r);n===-r?i=-1:n+i<r&&(i=-(n+r)),e.selection.transformStart(i,0),e.getSelectedRangeLast().highlight.row<0&&e.scrollViewportTo({row:0})}};function U(){return[T,C,x,A,N,O,R,L,k,I,D,P,j,F,H,B]}const V={name:"emptySelectedCells",callback(e){e.emptySelectedCells(),e._getEditorManager().prepareEditor()}},Y={name:"scrollToFocusedCell",callback(e){const{highlight:t}=e.getSelectedRangeLast(),r=e.view.getFirstFullyVisibleRow()-1,n=e.view.getFirstFullyVisibleColumn()-1,i=e.view.getLastFullyVisibleRow()+1,a=e.view.getLastFullyVisibleColumn()+1,o=e._createCellCoords(r,n),s=e._createCellCoords(i,a),l=e._createCellRange(o,o,s);if(!l.includes(t)&&(t.row>=0||t.col>=0)){const r={};if(t.col>=0){const n=Math.floor(e.countVisibleCols()/2);r.col=Math.max(t.col-n,0)}if(t.row>=0){const n=Math.floor(e.countVisibleRows()/2);r.row=Math.max(t.row-n,0)}e.scrollViewportTo({...r,verticalSnap:"top",horizontalSnap:"start"})}}},z={name:"selectAllCells",callback(e){e.selection.selectAll(!0,!0,{disableHeadersHighlight:!0})}},W={name:"selectAllCellsAndHeaders",callback(e){e.selection.selectAll(!0,!0,{disableHeadersHighlight:!1})}},q={name:"populateSelectedCellsData",callback(e){const t=e.getSelectedRange(),{row:r,col:n}=t[t.length-1].highlight.normalize(),i=e.getDataAtCell(r,n),a=new Map;for(let o=0;o<t.length;o++)t[o].forAll((t,o)=>{if(t>=0&&o>=0&&(t!==r||o!==n)){const{readOnly:r}=e.getCellMeta(t,o);r||a.set(`${t}x${o}`,[t,o,i])}});e.setDataAtCell(Array.from(a.values()))}},G=[...u(),...M(),...U(),V,Y,z,W,q];function K(e){const t={};return G.forEach(r=>{let{name:n,callback:i}=r;t[n]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return i(e,...r)}}),t}function X(e){const t=e.getShortcutManager().addContext("editor"),r=K(e),i={group:n["a"]};t.addShortcuts([{keys:[["Enter"],["Enter","Shift"]],callback:(e,t)=>r.editorCloseAndSave(e,t)},{keys:[["Enter","Control/Meta"],["Enter","Control/Meta","Shift"]],captureCtrl:!0,callback:(e,t)=>r.editorCloseAndSave(e,t)},{keys:[["Escape"],["Escape","Control/Meta"]],callback:()=>r.editorCloseWithoutSaving()}],i)}var Z=r("7b9c");function $(e){const t=e.getShortcutManager().addContext("grid"),r=K(e),i={runOnlyIf:()=>{const{navigableHeaders:t}=e.getSettings();return Object(Z["isDefined"])(e.getSelected())&&(t||!t&&e.countRenderedRows()>0&&e.countRenderedCols()>0)},group:n["b"]};t.addShortcuts([{keys:[["F2"]],callback:e=>r.editorFastOpen(e)},{keys:[["Enter"],["Enter","Shift"]],callback:(e,t)=>r.editorOpen(e,t)},{keys:[["Backspace"],["Delete"]],callback:()=>r.emptySelectedCells()}],{group:n["a"],runOnlyIf:()=>Object(Z["isDefined"])(e.getSelected())}),t.addShortcuts([{keys:[["Control/Meta","A"]],callback:()=>r.selectAllCells(),runOnlyIf:()=>!e.getSelectedRangeLast().highlight.isHeader()},{keys:[["Control/Meta","A"]],callback:()=>{},runOnlyIf:()=>e.getSelectedRangeLast().highlight.isHeader(),preventDefault:!0},{keys:[["Control/Meta","Shift","Space"]],callback:()=>r.selectAllCellsAndHeaders()},{keys:[["Control/Meta","Enter"]],callback:()=>r.populateSelectedCellsData(),runOnlyIf:()=>!e.getSelectedRangeLast().highlight.isHeader()&&e.getSelectedRangeLast().getCellsCount()>1},{keys:[["Control","Space"]],captureCtrl:!0,callback:()=>r.extendCellsSelectionToColumns()},{keys:[["Shift","Space"]],stopPropagation:!0,callback:()=>r.extendCellsSelectionToRows()},{keys:[["ArrowUp"]],callback:()=>r.moveCellSelectionUp()},{keys:[["ArrowUp","Control/Meta"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostTop()},{keys:[["ArrowUp","Shift"]],callback:()=>r.extendCellsSelectionUp()},{keys:[["ArrowUp","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>r.extendCellsSelectionToMostTop(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByColumnHeader())},{keys:[["ArrowDown"]],callback:()=>r.moveCellSelectionDown()},{keys:[["ArrowDown","Control/Meta"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostBottom()},{keys:[["ArrowDown","Shift"]],callback:()=>r.extendCellsSelectionDown()},{keys:[["ArrowDown","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>r.extendCellsSelectionToMostBottom(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByColumnHeader())},{keys:[["ArrowLeft"]],callback:()=>r.moveCellSelectionLeft()},{keys:[["ArrowLeft","Control/Meta"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostLeft()},{keys:[["ArrowLeft","Shift"]],callback:()=>r.extendCellsSelectionLeft()},{keys:[["ArrowLeft","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>r.extendCellsSelectionToMostLeft(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByRowHeader())},{keys:[["ArrowRight"]],callback:()=>r.moveCellSelectionRight()},{keys:[["ArrowRight","Control/Meta"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostRight()},{keys:[["ArrowRight","Shift"]],callback:()=>r.extendCellsSelectionRight()},{keys:[["ArrowRight","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>r.extendCellsSelectionToMostRight(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByRowHeader())},{keys:[["Home"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostInlineStart(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["Home","Shift"]],callback:()=>r.extendCellsSelectionToMostInlineStart()},{keys:[["Home","Control/Meta"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostTopInlineStart(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostInlineEnd(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End","Shift"]],callback:()=>r.extendCellsSelectionToMostInlineEnd()},{keys:[["End","Control/Meta"]],captureCtrl:!0,callback:()=>r.moveCellSelectionToMostBottomInlineEnd(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["PageUp"]],callback:()=>r.moveCellSelectionUpByViewportHight()},{keys:[["PageUp","Shift"]],callback:()=>r.extendCellsSelectionUpByViewportHeight()},{keys:[["PageDown"]],callback:()=>r.moveCellSelectionDownByViewportHeight()},{keys:[["PageDown","Shift"]],callback:()=>r.extendCellsSelectionDownByViewportHeight()},{keys:[["Tab"]],preventDefault:!1,callback:e=>r.moveCellSelectionInlineStart(e)},{keys:[["Shift","Tab"]],preventDefault:!1,callback:e=>r.moveCellSelectionInlineEnd(e)},{keys:[["Control/Meta","Backspace"]],callback:()=>r.scrollToFocusedCell()}],i)}function J(e){[X,$].forEach(t=>t(e))}},"1e92":function(e,t,r){"use strict";var n=r("fd18");e.exports=n({}.isPrototypeOf)},"1ef2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("7b71"),i=r("0fc1"),a=r("9af8");class o extends n.AbstractRangeImpl{constructor(e){if(super(),a.Guard.isDocumentTypeNode(e.startContainer)||a.Guard.isAttrNode(e.startContainer)||a.Guard.isDocumentTypeNode(e.endContainer)||a.Guard.isAttrNode(e.endContainer))throw new i.InvalidNodeTypeError;this._start=[e.startContainer,e.startOffset],this._end=[e.endContainer,e.endOffset]}}t.StaticRangeImpl=o},"1fa5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9");class i{constructor(e){this._activeFlag=!1,this._root=e,this._whatToShow=n.WhatToShow.All,this._filter=null}get root(){return this._root}get whatToShow(){return this._whatToShow}get filter(){return this._filter}}t.TraverserImpl=i},"1fb5":function(e,t,r){"use strict";t.byteLength=c,t.toByteArray=h,t.fromByteArray=m;for(var n=[],i=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s<l;++s)n[s]=o[s],i[o.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 r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function c(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n}function d(e,t,r){return 3*(t+r)/4-r}function h(e){var t,r,n=u(e),o=n[0],s=n[1],l=new a(d(e,o,s)),c=0,h=s>0?o-4:o;for(r=0;r<h;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l}function p(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function f(e,t,r){for(var n,i=[],a=t;a<r;a+=3)n=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(p(n));return i.join("")}function m(e){for(var t,r=e.length,i=r%3,a=[],o=16383,s=0,l=r-i;s<l;s+=o)a.push(f(e,s,s+o>l?l:s+o));return 1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fc1":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t){var r=e.split("_");return t%10===1&&t%100!==11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){var i={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:r?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?r?"хвіліна":"хвіліну":"h"===n?r?"гадзіна":"гадзіну":e+" "+t(i[n],+e)}var n=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:r,mm:r,h:r,hh:r,d:"дзень",dd:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return n}))},"1fec":function(e,t,r){"use strict";var n=r("da3e"),i=r("3fb5"),a=r("0184"),o=r("4e2b");function s(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),i=t.slice(8,16),a=t.slice(16,24);this.ciphers="encrypt"===e?[o.create({type:"encrypt",key:r}),o.create({type:"decrypt",key:i}),o.create({type:"encrypt",key:a})]:[o.create({type:"decrypt",key:a}),o.create({type:"encrypt",key:i}),o.create({type:"decrypt",key:r})]}function l(e){a.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(l,a),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},l.prototype._pad=o.prototype._pad,l.prototype._unpad=o.prototype._unpad},"201b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,r){return"ი"===r?t+"ში":t+r+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t}))},"206d":function(e,t,r){(function(t){var n,i,a=r("8707").Buffer,o=r("7d2a"),s=r("9f9d"),l=r("e07bf"),u=r("8be6"),c=t.crypto&&t.crypto.subtle,d={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function p(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];n=n||a.alloc(8);var r=m(n,n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=r,r}function f(){return i||(i=t.process&&t.process.nextTick?t.process.nextTick:t.queueMicrotask?t.queueMicrotask:t.setImmediate?t.setImmediate:t.setTimeout,i)}function m(e,t,r,n,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return a.from(e)}))}function g(e,t){e.then((function(e){f()((function(){t(null,e)}))}),(function(e){f()((function(){t(e)}))}))}e.exports=function(e,r,n,i,a,c){"function"===typeof a&&(c=a,a=void 0),a=a||"sha1";var h=d[a.toLowerCase()];if(h&&"function"===typeof t.Promise){if(o(n,i),e=u(e,s,"Password"),r=u(r,s,"Salt"),"function"!==typeof c)throw new Error("No callback provided to pbkdf2");g(p(h).then((function(t){return t?m(e,r,n,i,h):l(e,r,n,i,a)})),c)}else f()((function(){var t;try{t=l(e,r,n,i,a)}catch(o){return c(o)}c(null,t)}))}}).call(this,r("c8ba"))},"20f6":function(e,t,r){var n=t;n.der=r("cfbd"),n.pem=r("8df7")},2137:function(e,t,r){"use strict";var n=r("c3c0"),i=r("da3e");function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},2179:function(e,t,r){"use strict";var n=r("f2e8"),i=r("8793"),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},"21a6":function(e,t,r){(function(r){var n,i,a;(function(r,o){i=[],n=o,a="function"===typeof n?n.apply(t,i):n,void 0===a||(e.exports=a)})(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 n(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){l(n.response,t,r)},n.onerror=function(){console.error("could not download file")},n.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 a(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){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 o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r&&r.global===r?r:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,r){var s=o.URL||o.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?a(l):i(l.href)?n(e,t,r):a(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){a(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,r,o){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,o),r);else if(i(e))n(e,r,o);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){a(s)}))}}:function(e,t,r,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return n(e,t,r);var a="application/octet-stream"===e.type,l=/constructor/i.test(o.HTMLElement)||o.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||a&&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 d=o.URL||o.webkitURL,h=d.createObjectURL(e);i?i.location=h:location.href=h,i=null,setTimeout((function(){d.revokeObjectURL(h)}),4e4)}});o.saveAs=l.saveAs=l,e.exports=l}))}).call(this,r("c8ba"))},"21e29":function(e,t,r){var n=r("b639"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},"220a":function(e,t,r){"use strict";r("7a89"),r("d06e");var n=r("5d7f"),i=r("81ea");function a(e,t,r){return t=o(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){var t=s(e,"string");return"symbol"==typeof t?t:t+""}function s(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class l{constructor(e){a(this,"hot",null),a(this,"container",null),a(this,"injected",!1),a(this,"rows",[]),a(this,"columns",[]),a(this,"samples",null),a(this,"settings",{useHeaders:!0}),this.hot=e}addRow(e,t){if(this.columns.length)throw new Error("Doesn't support multi-dimensional table");this.rows.length||(this.container=this.createContainer(this.hot.rootElement.className));const r={row:e};this.rows.push(r),this.samples=t,this.table=this.createTable(this.hot.table.className),this.table.colGroup.appendChild(this.createColGroupsCol(e)),this.table.tr.appendChild(this.createRow(e)),this.container.container.appendChild(this.table.fragment),r.table=this.table.table}addColumnHeadersRow(e){const t=this.hot.getColHeader(0);if(null!==t&&void 0!==t){const t={row:-1};this.rows.push(t),this.container=this.createContainer(this.hot.rootElement.className),this.samples=e,this.table=this.createTable(this.hot.table.className),this.table.colGroup.appendChild(this.createColGroupsCol()),this.appendColumnHeadersRow(),this.container.container.appendChild(this.table.fragment),t.table=this.table.table}}addColumn(e,t){if(this.rows.length)throw new Error("Doesn't support multi-dimensional table");this.columns.length||(this.container=this.createContainer(this.hot.rootElement.className));const r={col:e};this.columns.push(r),this.samples=t,this.table=this.createTable(this.hot.table.className),this.getSetting("useHeaders")&&null!==this.hot.getColHeader(e)&&this.hot.view.appendColHeader(e,this.table.th),this.table.tBody.appendChild(this.createCol(e)),this.container.container.appendChild(this.table.fragment),r.table=this.table.table}getHeights(e){this.injected||this.injectTable(),Object(i["arrayEach"])(this.rows,t=>{e(t.row,Object(n["outerHeight"])(t.table)-1)})}getWidths(e){this.injected||this.injectTable(),Object(i["arrayEach"])(this.columns,t=>{const{width:r}=t.table.getBoundingClientRect();e(t.col,Math.ceil(r))})}setSettings(e){this.settings=e}setSetting(e,t){this.settings||(this.settings={}),this.settings[e]=t}getSettings(){return this.settings}getSetting(e){return this.settings?this.settings[e]:null}createColGroupsCol(e){const t=this.hot.rootDocument.createDocumentFragment();return this.hot.hasRowHeaders()&&t.appendChild(this.createColElement(-1,-1)),this.samples.forEach(r=>{Object(i["arrayEach"])(r.strings,r=>{t.appendChild(this.createColElement(r.col,e))})}),t}createRow(e){const{rootDocument:t}=this.hot,r=t.createDocumentFragment(),n=t.createElement("th");return this.hot.hasRowHeaders()&&(this.hot.view.appendRowHeader(e,n),r.appendChild(n)),this.samples.forEach(n=>{Object(i["arrayEach"])(n.strings,n=>{const i=n.col,a=this.hot.getCellMeta(e,i);a.col=i,a.row=e;const o=this.hot.getCellRenderer(a),s=t.createElement("td");s.setAttribute("ghost-table",1),o(this.hot,s,e,i,this.hot.colToProp(i),n.value,a),r.appendChild(s)})}),r}appendColumnHeadersRow(){const{rootDocument:e}=this.hot,t=e.createDocumentFragment(),r=[];if(this.hot.hasRowHeaders()){const n=e.createElement("th");r.push([-1,n]),t.appendChild(n)}this.samples.forEach(n=>{Object(i["arrayEach"])(n.strings,n=>{const i=n.col,a=e.createElement("th");r.push([i,a]),t.appendChild(a)})}),this.table.tHead.appendChild(t),Object(i["arrayEach"])(r,e=>{const[t,r]=e;this.hot.view.appendColHeader(t,r)})}createCol(e){const{rootDocument:t}=this.hot,r=t.createDocumentFragment();return this.samples.forEach(n=>{Object(i["arrayEach"])(n.strings,n=>{const i=n.row,a=this.hot.getCellMeta(i,e);a.col=e,a.row=i;const o=this.hot.getCellRenderer(a),s=t.createElement("td"),l=t.createElement("tr");s.setAttribute("ghost-table",1),o(this.hot,s,i,e,this.hot.colToProp(e),n.value,a),l.appendChild(s),r.appendChild(l)})}),r}clean(){this.rows.length=0,this.rows[-1]=void 0,this.columns.length=0,this.samples&&this.samples.clear(),this.samples=null,this.removeTable()}injectTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.injected||((e||this.hot.rootElement).appendChild(this.container.fragment),this.injected=!0)}removeTable(){this.injected&&this.container.container.parentNode&&(this.container.container.parentNode.removeChild(this.container.container),this.container=null,this.injected=!1)}createColElement(e,t){const r=this.hot.rootDocument.createElement("col");let n=0;t>=0&&e>=0&&(n=this.hot.getCellMeta(t,e).colspan);let i=this.hot.getColWidth(e);if(n>1)for(let a=e+1;a<e+n;a++)i+=this.hot.getColWidth(a);return r.style.width=i+"px",r}createTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,r=t.createDocumentFragment(),i=t.createElement("table"),a=t.createElement("thead"),o=t.createElement("tbody"),s=t.createElement("colgroup"),l=t.createElement("tr"),u=t.createElement("th");return this.isVertical()&&i.appendChild(s),this.isHorizontal()&&(l.appendChild(u),a.appendChild(l),i.style.tableLayout="auto",i.style.width="auto"),i.appendChild(a),this.isVertical()&&o.appendChild(l),i.appendChild(o),Object(n["addClass"])(i,e),r.appendChild(i),{fragment:r,table:i,tHead:a,tBody:o,colGroup:s,tr:l,th:u}}createContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,r=t.createDocumentFragment(),i=t.createElement("div"),a="htGhostTable htAutoSize "+e.trim();return Object(n["addClass"])(i,a),r.appendChild(i),{fragment:r,container:i}}isVertical(){return!(!this.rows.length||this.columns.length)}isHorizontal(){return!(!this.columns.length||this.rows.length)}}t["a"]=l},"22f8":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,r){return e<12?"오전":"오후"}});return t}))},2335:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},2349:function(e,t,r){"use strict";var n=r("d128"),i=r("bdfe"),a=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!o(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},2408:function(e,t,r){"use strict";var n=r("e156"),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},2421:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,r){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},2471:function(e,t,r){"use strict";var n=r("2aac"),i=r("022b");e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},"24b5":function(e,t,r){"use strict";r.d(t,"b",(function(){return _})),r.d(t,"a",(function(){return S})),r.d(t,"c",(function(){return E})),r.d(t,"d",(function(){return M}));r("7a89");var n=r("29b0"),i=r("ffec"),a=r("97b9");const o="asc",s="desc",l=new Map([[o,[-1,1]],[s,[1,-1]]]),u=e=>`The priority '${e}' is already declared in a map.`,c=e=>`The priority '${e}' is not a number.`;function d(){let{errorPriorityExists:e,errorPriorityNaN:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=new Map;function n(n,a){if(!Object(i["isNumeric"])(n))throw new Error(t(n));if(r.has(n))throw new Error(e(n));r.set(n,a)}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;const[t,n]=l.get(e)||l.get(o);return[...r].sort((e,r)=>e[0]<r[0]?t:n).map(e=>e[1])}return e=Object(a["isFunction"])(e)?e:u,t=Object(a["isFunction"])(t)?t:c,{addItem:n,getItems:s}}var h=r("6906");const p=e=>`'${e}' value is already declared in a unique set.`;function f(){let{errorItemExists:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Set;function r(r){if(t.has(r))throw new Error(e(r));t.add(r)}function n(){return[...t]}function i(){t.clear()}return e=Object(a["isFunction"])(e)?e:p,{addItem:r,clear:i,getItems:n}}const m=e=>`There is already registered "${e}" plugin.`,g=e=>`There is already registered plugin on priority "${e}".`,v=e=>`The priority "${e}" is not a number.`,b=d({errorPriorityExists:g,errorPriorityNaN:v}),y=f({errorItemExists:m}),w=Object(h["a"])({errorIdExists:m});function _(){return[...b.getItems(),...y.getItems()]}function S(e){const t=Object(n["toUpperCaseFirst"])(e);return w.getItem(t)}function E(e){return!!S(e)}function M(e,t,r){[e,t,r]=C(e,t,r),void 0===S(e)&&T(e,t,r)}function T(e,t,r){const i=Object(n["toUpperCaseFirst"])(e);if(w.hasItem(i))throw new Error(m(i));void 0===r?y.addItem(i):b.addItem(r,i),w.addItem(i,t)}function C(e,t,r){return"function"===typeof e&&(t=e,e=t.PLUGIN_KEY,r=t.PLUGIN_PRIORITY),[e,t,r]}},"24b9e":function(e,t,r){"use strict";var n=r("f41c");n("flat")},"24d5":function(e,t,r){"use strict";var n=r("84d8"),i=r("4c54");e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},"24f8":function(e,t,r){var n=r("9490"),i=r("0b16"),a=e.exports;for(var o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);function s(e){if("string"===typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}a.request=function(e,t){return e=s(e),n.request.call(this,e,t)},a.get=function(e,t){return e=s(e),n.get.call(this,e,t)}},2500:function(e,t,r){"use strict";var n=r("a29f"),i=Object.prototype.hasOwnProperty,a=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",d=function(e,t){var r,d={__proto__:null},h=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=h.split(t.delimiter,p),m=-1,g=t.charset;if(t.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&(f[r]===c?g="utf-8":f[r]===u&&(g="iso-8859-1"),m=r,r=f.length);for(r=0;r<f.length;++r)if(r!==m){var v,b,y=f[r],w=y.indexOf("]="),_=-1===w?y.indexOf("="):w+1;-1===_?(v=t.decoder(y,o.decoder,g,"key"),b=t.strictNullHandling?null:""):(v=t.decoder(y.slice(0,_),o.decoder,g,"key"),b=n.maybeMap(l(y.slice(_+1),t),(function(e){return t.decoder(e,o.decoder,g,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===g&&(b=s(b)),y.indexOf("[]=")>-1&&(b=a(b)?[b]:b);var S=i.call(d,v);S&&"combine"===t.duplicates?d[v]=n.combine(d[v],b):S&&"last"!==t.duplicates||(d[v]=b)}return d},h=function(e,t,r,n){for(var i=n?t:l(t,r),a=e.length-1;a>=0;--a){var o,s=e[a];if("[]"===s&&r.parseArrays)o=r.allowEmptyArrays&&""===i?[]:[].concat(i);else{o=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,d=parseInt(c,10);r.parseArrays||""!==c?!isNaN(d)&&s!==c&&String(d)===c&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(o=[],o[d]=i):"__proto__"!==c&&(o[c]=i):o={0:i}}i=o}return i},p=function(e,t,r,n){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=r.depth>0&&o.exec(a),u=l?a.slice(0,l.index):a,c=[];if(u){if(!r.plainObjects&&i.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}var d=0;while(r.depth>0&&null!==(l=s.exec(a))&&d<r.depth){if(d+=1,!r.plainObjects&&i.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+a.slice(l.index)+"]"),h(c,t,r,n)}},f=function(e){if(!e)return o;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.decodeDotInKeys&&"boolean"!==typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&"undefined"!==typeof e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?o.charset:e.charset,r="undefined"===typeof e.duplicates?o.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");var i="undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:o.decoder,delimiter:"string"===typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}};e.exports=function(e,t){var r=f(t);if(""===e||null===e||"undefined"===typeof e)return r.plainObjects?Object.create(null):{};for(var i="string"===typeof e?d(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(i),s=0;s<o.length;++s){var l=o[s],u=p(l,i[l],r,"string"===typeof e);a=n.merge(a,u,r)}return!0===r.allowSparse?a:n.compact(a)}},2533:function(e,t,r){var n=r("8098"),i=r("815f");e.exports=function(e,t){var r=n(e,t);return function(e,t){var n,a="undefined"===typeof t&&"string"===typeof e,o=!a,s=a?e:t,l=o?e.getVNodeKey:void 0,u=i(s);return n=u.length>1?u.map((function(e){return r.convert(e,l)})):r.convert(u[0],l),n}}},2554:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",n;case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",n;case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",n;case"dd":return n+=1===e?"dan":"dana",n;case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",n;case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",n}}var r=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"26d6":function(e,t,r){"use strict";function n(e){return e>=0&&e<=127}Object.defineProperty(t,"__esModule",{value:!0}),t.isASCIIByte=n},"26f9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function r(e,t,r,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function n(e,t,r,n){return t?a(r)[0]:n?a(r)[1]:a(r)[2]}function i(e){return e%10===0||e>10&&e<20}function a(e){return t[e].split("_")}function o(e,t,r,o){var s=e+" ";return 1===e?s+n(e,t,r[0],o):t?s+(i(e)?a(r)[1]:a(r)[0]):o?s+a(r)[1]:s+(i(e)?a(r)[1]:a(r)[2])}var s=e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:r,ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s}))},"26f99":function(e,t){var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},2714:function(e,t,r){(function(t){var n="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&i&&"function"===typeof i.get?i.get:null,o=n&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"===typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype,h=d?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype,f=p?WeakSet.prototype.has:null,m="function"===typeof WeakRef&&WeakRef.prototype,g=m?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,b=Object.prototype.toString,y=Function.prototype.toString,w=String.prototype.match,_=String.prototype.slice,S=String.prototype.replace,E=String.prototype.toUpperCase,M=String.prototype.toLowerCase,T=RegExp.prototype.test,C=Array.prototype.concat,x=Array.prototype.join,A=Array.prototype.slice,N=Math.floor,O="function"===typeof BigInt?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,L="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"===typeof Symbol&&"object"===typeof Symbol.iterator,I="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===k||"symbol")?Symbol.toStringTag:null,D=Object.prototype.propertyIsEnumerable,P=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||T.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var n=e<0?-N(-e):N(e);if(n!==e){var i=String(n),a=_.call(t,i.length+1);return S.call(i,r,"$&_")+"."+S.call(S.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return S.call(t,r,"$&_")}var F=r(1),H=F.custom,B=Z(H)?H:null;function U(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function V(e){return S.call(String(e),/"/g,""")}function Y(e){return"[object Array]"===ee(e)&&(!I||!("object"===typeof e&&I in e))}function z(e){return"[object Date]"===ee(e)&&(!I||!("object"===typeof e&&I in e))}function W(e){return"[object RegExp]"===ee(e)&&(!I||!("object"===typeof e&&I in e))}function q(e){return"[object Error]"===ee(e)&&(!I||!("object"===typeof e&&I in e))}function G(e){return"[object String]"===ee(e)&&(!I||!("object"===typeof e&&I in e))}function K(e){return"[object Number]"===ee(e)&&(!I||!("object"===typeof e&&I in e))}function X(e){return"[object Boolean]"===ee(e)&&(!I||!("object"===typeof e&&I in e))}function Z(e){if(k)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!L)return!1;try{return L.call(e),!0}catch(t){}return!1}function $(e){if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}e.exports=function e(r,n,i,s){var l=n||{};if(Q(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Q(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var d=!Q(l,"customInspect")||l.customInspect;if("boolean"!==typeof d&&"symbol"!==d)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Q(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Q(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=l.numericSeparator;if("undefined"===typeof r)return"undefined";if(null===r)return"null";if("boolean"===typeof r)return r?"true":"false";if("string"===typeof r)return ue(r,l);if("number"===typeof r){if(0===r)return 1/0/r>0?"0":"-0";var p=String(r);return h?j(r,p):p}if("bigint"===typeof r){var f=String(r)+"n";return h?j(r,f):f}var m="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof i&&(i=0),i>=m&&m>0&&"object"===typeof r)return Y(r)?"[Array]":"[Object]";var g=me(l,i);if("undefined"===typeof s)s=[];else if(re(s,r)>=0)return"[Circular]";function b(t,r,n){if(r&&(s=A.call(s),s.push(r)),n){var a={depth:l.depth};return Q(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,i+1,s)}return e(t,l,i+1,s)}if("function"===typeof r&&!W(r)){var y=te(r),w=ve(r,b);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(w.length>0?" { "+x.call(w,", ")+" }":"")}if(Z(r)){var E=k?S.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):L.call(r);return"object"!==typeof r||k?E:de(E)}if(le(r)){for(var T="<"+M.call(String(r.nodeName)),N=r.attributes||[],R=0;R<N.length;R++)T+=" "+N[R].name+"="+U(V(N[R].value),"double",l);return T+=">",r.childNodes&&r.childNodes.length&&(T+="..."),T+="</"+M.call(String(r.nodeName))+">",T}if(Y(r)){if(0===r.length)return"[]";var H=ve(r,b);return g&&!fe(H)?"["+ge(H,g)+"]":"[ "+x.call(H,", ")+" ]"}if(q(r)){var J=ve(r,b);return"cause"in Error.prototype||!("cause"in r)||D.call(r,"cause")?0===J.length?"["+String(r)+"]":"{ ["+String(r)+"] "+x.call(J,", ")+" }":"{ ["+String(r)+"] "+x.call(C.call("[cause]: "+b(r.cause),J),", ")+" }"}if("object"===typeof r&&d){if(B&&"function"===typeof r[B]&&F)return F(r,{depth:m-i});if("symbol"!==d&&"function"===typeof r.inspect)return r.inspect()}if(ne(r)){var ce=[];return o&&o.call(r,(function(e,t){ce.push(b(t,r,!0)+" => "+b(e,r))})),pe("Map",a.call(r),ce,g)}if(oe(r)){var be=[];return c&&c.call(r,(function(e){be.push(b(e,r))})),pe("Set",u.call(r),be,g)}if(ie(r))return he("WeakMap");if(se(r))return he("WeakSet");if(ae(r))return he("WeakRef");if(K(r))return de(b(Number(r)));if($(r))return de(b(O.call(r)));if(X(r))return de(v.call(r));if(G(r))return de(b(String(r)));if("undefined"!==typeof window&&r===window)return"{ [object Window] }";if(r===t)return"{ [object globalThis] }";if(!z(r)&&!W(r)){var ye=ve(r,b),we=P?P(r)===Object.prototype:r instanceof Object||r.constructor===Object,_e=r instanceof Object?"":"null prototype",Se=!we&&I&&Object(r)===r&&I in r?_.call(ee(r),8,-1):_e?"Object":"",Ee=we||"function"!==typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"",Me=Ee+(Se||_e?"["+x.call(C.call([],Se||[],_e||[]),": ")+"] ":"");return 0===ye.length?Me+"{}":g?Me+"{"+ge(ye,g)+"}":Me+"{ "+x.call(ye,", ")+" }"}return String(r)};var J=Object.prototype.hasOwnProperty||function(e){return e in this};function Q(e,t){return J.call(e,t)}function ee(e){return b.call(e)}function te(e){if(e.name)return e.name;var t=w.call(y.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function re(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function ne(e){if(!a||!e||"object"!==typeof e)return!1;try{a.call(e);try{u.call(e)}catch(t){return!0}return e instanceof Map}catch(r){}return!1}function ie(e){if(!h||!e||"object"!==typeof e)return!1;try{h.call(e,h);try{f.call(e,f)}catch(t){return!0}return e instanceof WeakMap}catch(r){}return!1}function ae(e){if(!g||!e||"object"!==typeof e)return!1;try{return g.call(e),!0}catch(t){}return!1}function oe(e){if(!u||!e||"object"!==typeof e)return!1;try{u.call(e);try{a.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}function se(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{h.call(e,h)}catch(t){return!0}return e instanceof WeakSet}catch(r){}return!1}function le(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function ue(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return ue(_.call(e,0,t.maxStringLength),t)+n}var i=S.call(S.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ce);return U(i,"single",t)}function ce(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+E.call(t.toString(16))}function de(e){return"Object("+e+")"}function he(e){return e+" { ? }"}function pe(e,t,r,n){var i=n?ge(r,n):x.call(r,", ");return e+" ("+t+") {"+i+"}"}function fe(e){for(var t=0;t<e.length;t++)if(re(e[t],"\n")>=0)return!1;return!0}function me(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;r=x.call(Array(e.indent+1)," ")}return{base:r,prev:x.call(Array(t+1),r)}}function ge(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function ve(e,t){var r=Y(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Q(e,i)?t(e[i],e):""}var a,o="function"===typeof R?R(e):[];if(k){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var l in e)Q(e,l)&&(r&&String(Number(l))===l&&l<e.length||k&&a["$"+l]instanceof Symbol||(T.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"===typeof R)for(var u=0;u<o.length;u++)D.call(e,o[u])&&n.push("["+t(o[u])+"]: "+t(e[o[u]],e));return n}}).call(this,r("c8ba"))},"27dc":function(e,t,r){"use strict";var n=r("9394"),i=r("6b27"),a=r("7dcf4"),o=function(e){return function(t,r,o){var s=n(t),l=a(s);if(0===l)return!e&&-1;var u,c=i(o,l);if(e&&r!==r){while(l>c)if(u=s[c++],u!==u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},2801:function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.5","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <fedor@indutny.com>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},"28a0":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},2921:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"293c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},r=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},2953:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}get(e){return this._items.get(e)}set(e,t){if(this._items.set(e,t),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}}delete(e){return this._items.delete(e)}has(e){return this._items.has(e)}clear(){this._items.clear()}get size(){return this._items.size}forEach(e,t){this._items.forEach((r,n)=>e.call(t,n,r))}*keys(){yield*this._items.keys()}*values(){yield*this._items.values()}*entries(){yield*this._items.entries()}*[Symbol.iterator](){yield*this._items}get[Symbol.toStringTag](){return"ObjectCache"}}t.ObjectCache=n},"29b0":function(e,t,r){"use strict";r.r(t),r.d(t,"toUpperCaseFirst",(function(){return a})),r.d(t,"equalsIgnoreCase",(function(){return o})),r.d(t,"randomString",(function(){return s})),r.d(t,"isPercentValue",(function(){return l})),r.d(t,"substitute",(function(){return u})),r.d(t,"stripTags",(function(){return c})),r.d(t,"sanitize",(function(){return d}));r("d06e");var n=r("c0c4"),i=r("7b9c");function a(e){return e[0].toUpperCase()+e.substr(1)}function o(){const e=[];for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];let a=r.length;while(a){a-=1;const t=Object(i["stringify"])(r[a]).toLowerCase();-1===e.indexOf(t)&&e.push(t)}return 1===e.length}function s(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+e()+e()}function l(e){return/^([0-9][0-9]?%$)|(^100%$)/.test(e)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(""+e).replace(/(?:\\)?\[([^[\]]+)]/g,(e,r)=>"\\"===e.charAt(0)?e.substr(1,e.length-1):void 0===t[r]?"":t[r])}function c(e){return d(""+e,{ALLOWED_TAGS:[]})}function d(e,t){return n.sanitize(e,t)}},"29f2":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r("53c6")),a=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function o(e){return e>=55296&&e<=57343||e>1114111?"�":(e in i.default&&(e=i.default[e]),a(e))}t.default=o},"2aa9":function(e,t,r){"use strict";var n=r("00ce"),i=n("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(a){i=null}e.exports=i},"2aaa":function(e,t,r){e.exports=r("faa1").EventEmitter},"2aac":function(e,t,r){"use strict";var n=r("73fa"),i=r("71ca"),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}},"2aee":function(e,t,r){"use strict";var n=r("4111"),i=r("d70e"),a=r("4dd0"),o=r("fda6"),s=r("a099"),l=r("8707").Buffer;function u(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,h=s.pbkdf2Sync(t,r,n,d,"sha1"),p=o.createDecipheriv(a,h,u),f=[];return f.push(p.update(c)),f.push(p["final"]()),l.concat(f)}function c(e){var t;"object"!==typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=l.from(e));var r,i,o=a(e,t),s=o.tag,c=o.data;switch(s){case"CERTIFICATE":i=n.certificate.decode(c,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=n.PublicKey.decode(c,"der")),r=i.algorithm.algorithm.join("."),r){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=n.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":c=n.EncryptedPrivateKey.decode(c,"der"),c=u(c,t);case"PRIVATE KEY":switch(i=n.PrivateKey.decode(c,"der"),r=i.algorithm.algorithm.join("."),r){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:n.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=n.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(c,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(c,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(c,"der")};case"EC PRIVATE KEY":return c=n.ECPrivateKey.decode(c,"der"),{curve:c.parameters.value,privateKey:c.privateKey};default:throw new Error("unknown key type "+s)}}c.signature=n.signature,e.exports=c},"2b75":function(e,t,r){"use strict";var n=r("d128"),i=r("b343");e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},"2bfb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"vm":"VM":r?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},"2bfb9":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("591a"),i=r("d3a3"),a=r("e871"),o=r("0b16");let s;const l={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,f=/[\0\t\f\r #%/:?@\[\\\]]/;function m(e){s=e}function g(e){void 0!==s&&s.call(null,"Validation Error: "+e)}function v(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(e){return e in l}function y(e){return b(e.scheme)}function w(e){return l[e]||null}function _(e){return""!==e.username||""!==e.password}function S(e){return null===e.host||""===e.host||e._cannotBeABaseURLFlag||"file"===e.scheme}function E(e,t=!1){let r=e.scheme+":";if(null!==e.host?(r+="//",_(e)&&(r+=e.username,""!==e.password&&(r+=":"+e.password),r+="@"),r+=M(e.host),null!==e.port&&(r+=":"+e.port)):null===e.host&&"file"===e.scheme&&(r+="//"),e._cannotBeABaseURLFlag)r+=e.path[0];else for(const n of e.path)r+="/"+n;return null!==e.query&&(r+="?"+e.query),t||null===e.fragment||(r+="#"+e.fragment),r}function M(e){return n.isNumber(e)?T(e):n.isArray(e)?"["+C(e)+"]":e}function T(e){let t="",r=e;for(let n=1;n<=4;n++)t=(r%256).toString()+t,4!==n&&(t="."+t),r=Math.floor(r/256);return t}function C(e){let t="",r=null,n=-1,i=0,a=0;for(let s=0;s<8;s++)if(0===e[s]){i=1;for(let t=s+1;t<8;t++){if(0!==e[t])break;i++}i>a&&(a=i,n=s)}a>1&&(r=n);let o=!1;for(let s=0;s<8;s++)o&&0===e[s]||(o&&(o=!1),r!==s?(t+=e[s].toString(16),7!==s&&(t+=":")):(t+=0===s?"::":":",o=!0));return t}function x(e,t,r){const n=A(e,t,r);if(null===n)return null;if("blob"!==n.scheme)return n;const i=V(n);return n._blobURLEntry=null!==i?i:null,n}function A(e,t,r,o,s){if(void 0===o){o=v();const t=/^[\u0000-\u001F\u0020]+/,r=/[\u0000-\u001F\u0020]+$/;(t.test(e)||r.test(e))&&g("Input string contains leading or trailing control characters or space."),e=e.replace(t,""),e=e.replace(r,"")}const l=/[\u0009\u000A\u000D]/g;l.test(e)&&g("Input string contains tab or newline characters."),e=e.replace(l,"");let f=void 0===s?i.ParserState.SchemeStart:s;void 0===t&&(t=null);let m=void 0===r||"replacement"===r||"UTF-16BE"===r||"UTF-16LE"===r?"UTF-8":r,S="",E=!1,M=!1,T=!1;const C="",x=new n.StringWalker(e);while(1){switch(f){case i.ParserState.SchemeStart:if(a.codePoint.ASCIIAlpha.test(x.c()))S+=x.c().toLowerCase(),f=i.ParserState.Scheme;else{if(void 0!==s)return g("Invalid scheme start character."),null;f=i.ParserState.NoScheme,x.pointer--}break;case i.ParserState.Scheme:if(a.codePoint.ASCIIAlphanumeric.test(x.c())||"+"===x.c()||"-"===x.c()||"."===x.c())S+=x.c().toLowerCase();else{if(":"!==x.c()){if(void 0===s){S="",f=i.ParserState.NoScheme,x.pointer=0;continue}return g("Invalid input string."),null}if(void 0!==s){if(b(o.scheme)&&!b(S))return o;if(!b(o.scheme)&&b(S))return o;if((_(o)||null!==o.port)&&"file"===S)return o;if("file"===o.scheme&&(""===o.host||null===o.host))return o}if(o.scheme=S,void 0!==s)return o.port===w(o.scheme)&&(o.port=null),o;S="","file"===o.scheme?(x.remaining().startsWith("//")||g("Invalid file URL scheme, '//' expected."),f=i.ParserState.File):y(o)&&null!==t&&t.scheme===o.scheme?f=i.ParserState.SpecialRelativeOrAuthority:y(o)?f=i.ParserState.SpecialAuthoritySlashes:x.remaining().startsWith("/")?(f=i.ParserState.PathOrAuthority,x.pointer++):(o._cannotBeABaseURLFlag=!0,o.path.push(""),f=i.ParserState.CannotBeABaseURLPath)}break;case i.ParserState.NoScheme:if(null===t||t._cannotBeABaseURLFlag&&"#"!==x.c())return g("Invalid input string."),null;t._cannotBeABaseURLFlag&&"#"===x.c()?(o.scheme=t.scheme,o.path=a.list.clone(t.path),o.query=t.query,o.fragment="",o._cannotBeABaseURLFlag=!0,f=i.ParserState.Fragment):"file"!==t.scheme?(f=i.ParserState.Relative,x.pointer--):(f=i.ParserState.File,x.pointer--);break;case i.ParserState.SpecialRelativeOrAuthority:"/"===x.c()&&x.remaining().startsWith("/")?(f=i.ParserState.SpecialAuthorityIgnoreSlashes,x.pointer++):(g("Invalid input string."),f=i.ParserState.Relative,x.pointer--);break;case i.ParserState.PathOrAuthority:"/"===x.c()?f=i.ParserState.Authority:(f=i.ParserState.Path,x.pointer--);break;case i.ParserState.Relative:if(null===t)throw new Error("Invalid parser state. Base URL is null.");switch(o.scheme=t.scheme,x.c()){case C:o.username=t.username,o.password=t.password,o.host=t.host,o.port=t.port,o.path=a.list.clone(t.path),o.query=t.query;break;case"/":f=i.ParserState.RelativeSlash;break;case"?":o.username=t.username,o.password=t.password,o.host=t.host,o.port=t.port,o.path=a.list.clone(t.path),o.query="",f=i.ParserState.Query;break;case"#":o.username=t.username,o.password=t.password,o.host=t.host,o.port=t.port,o.path=a.list.clone(t.path),o.query=t.query,o.fragment="",f=i.ParserState.Fragment;break;default:y(o)&&"\\"===x.c()?(g("Invalid input string."),f=i.ParserState.RelativeSlash):(o.username=t.username,o.password=t.password,o.host=t.host,o.port=t.port,o.path=a.list.clone(t.path),0!==o.path.length&&o.path.splice(o.path.length-1,1),f=i.ParserState.Path,x.pointer--);break}break;case i.ParserState.RelativeSlash:if(!y(o)||"/"!==x.c()&&"\\"!==x.c())if("/"===x.c())f=i.ParserState.Authority;else{if(null===t)throw new Error("Invalid parser state. Base URL is null.");o.username=t.username,o.password=t.password,o.host=t.host,o.port=t.port,f=i.ParserState.Path,x.pointer--}else"\\"===x.c()&&g("Invalid input string."),f=i.ParserState.SpecialAuthorityIgnoreSlashes;break;case i.ParserState.SpecialAuthoritySlashes:"/"===x.c()&&x.remaining().startsWith("/")?(f=i.ParserState.SpecialAuthorityIgnoreSlashes,x.pointer++):(g("Expected '//'."),f=i.ParserState.SpecialAuthorityIgnoreSlashes,x.pointer--);break;case i.ParserState.SpecialAuthorityIgnoreSlashes:"/"!==x.c()&&"\\"!==x.c()?(f=i.ParserState.Authority,x.pointer--):g("Unexpected '/' or '\\'.");break;case i.ParserState.Authority:if("@"===x.c()){g("Unexpected '@'."),E&&(S="%40"+S),E=!0;for(const e of S){if(":"===e&&!T){T=!0;continue}const t=q(e,h);T?o.password+=t:o.username+=t}S=""}else if(x.c()===C||"/"===x.c()||"?"===x.c()||"#"===x.c()||y(o)&&"\\"===x.c()){if(E&&""===S)return g("Invalid input string."),null;x.pointer-=S.length+1,S="",f=i.ParserState.Host}else S+=x.c();break;case i.ParserState.Host:case i.ParserState.Hostname:if(void 0!==s&&"file"===o.scheme)x.pointer--,f=i.ParserState.FileHost;else if(":"!==x.c()||M)if(x.c()===C||"/"===x.c()||"?"===x.c()||"#"===x.c()||y(o)&&"\\"===x.c()){if(x.pointer--,y(o)&&""===S)return g("Invalid input string."),null;if(void 0!==s&&""===S&&(_(o)||null!==o.port))return g("Invalid input string."),o;const e=j(S,!y(o));if(null===e)return null;if(o.host=e,S="",f=i.ParserState.PathStart,void 0!==s)return o}else"["===x.c()&&(M=!0),"]"===x.c()&&(M=!1),S+=x.c();else{if(""===S)return g("Invalid input string."),null;const e=j(S,!y(o));if(null===e)return null;if(o.host=e,S="",f=i.ParserState.Port,s===i.ParserState.Hostname)return o}break;case i.ParserState.Port:if(a.codePoint.ASCIIDigit.test(x.c()))S+=x.c();else{if(!(x.c()===C||"/"===x.c()||"?"===x.c()||"#"===x.c()||y(o)&&"\\"===x.c()||s))return g("Invalid input string."),null;if(""!==S&&""!==S){const e=parseInt(S,10);if(e>Math.pow(2,16)-1)return g("Invalid port number."),null;o.port=e===w(o.scheme)?null:e,S=""}if(void 0!==s)return o;f=i.ParserState.PathStart,x.pointer--}break;case i.ParserState.File:if(o.scheme="file","/"===x.c()||"\\"===x.c())"\\"===x.c()&&g("Invalid input string."),f=i.ParserState.FileSlash;else if(null!==t&&"file"===t.scheme)switch(x.c()){case C:o.host=t.host,o.path=a.list.clone(t.path),o.query=t.query;break;case"?":o.host=t.host,o.path=a.list.clone(t.path),o.query="",f=i.ParserState.Query;break;case"#":o.host=t.host,o.path=a.list.clone(t.path),o.query=t.query,o.fragment="",f=i.ParserState.Fragment;break;default:P(x.substring())?g("Unexpected windows drive letter in input string."):(o.host=t.host,o.path=a.list.clone(t.path),k(o)),f=i.ParserState.Path,x.pointer--;break}else f=i.ParserState.Path,x.pointer--;break;case i.ParserState.FileSlash:"/"===x.c()||"\\"===x.c()?("\\"===x.c()&&g("Invalid input string."),f=i.ParserState.FileHost):(null===t||"file"!==t.scheme||P(x.substring())||(I(t.path[0])?o.path.push(t.path[0]):o.host=t.host),f=i.ParserState.Path,x.pointer--);break;case i.ParserState.FileHost:if(x.c()===C||"/"===x.c()||"\\"===x.c()||"?"===x.c()||"#"===x.c())if(x.pointer--,void 0===s&&D(S))g("Unexpected windows drive letter in input string."),f=i.ParserState.Path;else if(""===S){if(o.host="",void 0!==s)return o;f=i.ParserState.PathStart}else{let e=j(S,!y(o));if(null===e)return null;if("localhost"===e&&(e=""),o.host=e,void 0!==s)return o;S="",f=i.ParserState.PathStart}else S+=x.c();break;case i.ParserState.PathStart:y(o)?("\\"===x.c()&&g("Invalid input string."),f=i.ParserState.Path,"/"!==x.c()&&"\\"!==x.c()&&x.pointer--):void 0===s&&"?"===x.c()?(o.query="",f=i.ParserState.Query):void 0===s&&"#"===x.c()?(o.fragment="",f=i.ParserState.Fragment):x.c()!==C&&(f=i.ParserState.Path,"/"!==x.c()&&x.pointer--);break;case i.ParserState.Path:if(x.c()===C||"/"===x.c()||y(o)&&"\\"===x.c()||void 0===s&&("?"===x.c()||"#"===x.c())){if(y(o)&&"\\"===x.c()&&g("Invalid input string."),L(S))k(o),"/"===x.c()||y(o)&&"\\"===x.c()||o.path.push("");else if(!R(S)||"/"===x.c()||y(o)&&"\\"===x.c()){if(!R(S)){if("file"===o.scheme&&0===o.path.length&&D(S)){null!==o.host&&""!==o.host&&(g("Invalid input string."),o.host="");const e=Array.from(S);S=e.slice(0,1)+":"+e.slice(2)}o.path.push(S)}}else o.path.push("");if(S="","file"===o.scheme&&(x.c()===C||"?"===x.c()||"#"===x.c()))while(o.path.length>1&&""===o.path[0])g("Invalid input string."),o.path.splice(0,1);"?"===x.c()&&(o.query="",f=i.ParserState.Query),"#"===x.c()&&(o.fragment="",f=i.ParserState.Fragment)}else p.test(x.c())||"%"===x.c()||g("Character is not a URL code point or a percent encoded character."),"%"!==x.c()||/^[0-9a-fA-F][0-9a-fA-F]/.test(x.remaining())||g("Percent encoded character must be followed by two hex digits."),S+=q(x.c(),d);break;case i.ParserState.CannotBeABaseURLPath:"?"===x.c()?(o.query="",f=i.ParserState.Query):"#"===x.c()?(o.fragment="",f=i.ParserState.Fragment):(x.c()===C||p.test(x.c())||"%"===x.c()||g("Character is not a URL code point or a percent encoded character."),"%"!==x.c()||/^[0-9a-fA-F][0-9a-fA-F]/.test(x.remaining())||g("Percent encoded character must be followed by two hex digits."),x.c()!==C&&(o.path[0]+=q(x.c(),u)));break;case i.ParserState.Query:if("UTF-8"===m||y(o)&&"ws"!==o.scheme&&"wss"!==o.scheme||(m="UTF-8"),void 0===s&&"#"===x.c())o.fragment="",f=i.ParserState.Fragment;else if(x.c()!==C){if(p.test(x.c())||"%"===x.c()||g("Character is not a URL code point or a percent encoded character."),"%"!==x.c()||/^[0-9a-fA-F][0-9a-fA-F]/.test(x.remaining())||g("Percent encoded character must be followed by two hex digits."),"UTF-8"!==m.toUpperCase())throw new Error("Only UTF-8 encoding is supported.");let e=n.utf8Encode(x.c());if(e.length>=3&&38===e[0]&&35===e[1]&&59===e[e.length-1])e=e.subarray(2,e.length-1),o.query+="%26%23"+a.byteSequence.isomorphicDecode(e)+"%3B";else for(const t of e)t<33||t>126||34===t||35===t||60===t||62===t||39===t&&y(o)?o.query+=Y(t):o.query+=String.fromCharCode(t)}break;case i.ParserState.Fragment:x.c()===C||("\0"===x.c()?g("NULL character in input string."):(p.test(x.c())||"%"===x.c()||g("Unexpected character in fragment string."),"%"!==x.c()||/^[A-Za-z0-9][A-Za-z0-9]/.test(x.remaining())||g("Unexpected character in fragment string."),o.fragment+=q(x.c(),c)));break}if(x.eof)break;x.pointer++}return o}function N(e,t){let r="";for(const n of t)r+=q(n,h);e.username=r}function O(e,t){let r="";for(const n of t)r+=q(n,h);e.password=r}function R(e){return"."===e||"%2e"===e.toLowerCase()}function L(e){const t=e.toLowerCase();return".."===t||".%2e"===t||"%2e."===t||"%2e%2e"===t}function k(e){const t=e.path;0!==t.length&&("file"===e.scheme&&1===t.length&&I(t[0])||e.path.splice(e.path.length-1,1))}function I(e){return e.length>=2&&a.codePoint.ASCIIAlpha.test(e[0])&&":"===e[1]}function D(e){return e.length>=2&&a.codePoint.ASCIIAlpha.test(e[0])&&(":"===e[1]||"|"===e[1])}function P(e){return e.length>=2&&D(e)&&(2===e.length||"/"===e[2]||"\\"===e[2]||"?"===e[2]||"#"===e[2])}function j(e,t=!1){if(e.startsWith("["))return e.endsWith("]")?B(e.substring(1,e.length-1)):(g("Expected ']' after '['."),null);if(t)return U(e);const r=n.utf8Decode(W(e)),i=ee(r);if(null===i)return g("Invalid domain."),null;if(f.test(i))return g("Invalid domain."),null;const a=H(i);return null===a||n.isNumber(a)?a:i}function F(e,t={value:!1}){let r=10;if(e.startsWith("0x")||e.startsWith("0X")?(t.value=!0,e=e.substr(2),r=16):e.length>=2&&"0"===e[0]&&(t.value=!0,e=e.substr(1),r=8),""===e)return 0;const n=10===r?/^[0-9]+$/:16===r?/^[0-9A-Fa-f]+$/:/^[0-7]+$/;return n.test(e)?parseInt(e,r):null}function H(e){const t={value:!1},r=e.split(".");if(""===r[r.length-1]&&(t.value=!0,r.length>1&&r.pop()),r.length>4)return e;const n=[];for(const o of r){if(""===o)return e;const r=F(o,t);if(null===r)return e;n.push(r)}t.value&&g("Invalid IP v4 address.");for(let o=0;o<n.length;o++){const e=n[o];if(e>255&&(g("Invalid IP v4 address."),o<n.length-1))return null}if(n[n.length-1]>=Math.pow(256,5-n.length))return g("Invalid IP v4 address."),null;let i=n[n.length-1];n.pop();let a=0;for(const o of n)i+=o*Math.pow(256,3-a),a++;return i}function B(e){const t="",r=[0,0,0,0,0,0,0,0];let i=0,o=null;const s=new n.StringWalker(e);if(":"===s.c()){if(!s.remaining().startsWith(":"))return g("Invalid IP v6 address."),null;s.pointer+=2,i+=1,o=i}while(s.c()!==t){if(8===i)return g("Invalid IP v6 address."),null;if(":"===s.c()){if(null!==o)return g("Invalid IP v6 address."),null;s.pointer++,i++,o=i;continue}let e=0,n=0;while(n<4&&a.codePoint.ASCIIHexDigit.test(s.c()))e=16*e+parseInt(s.c(),16),s.pointer++,n++;if("."===s.c()){if(0===n)return g("Invalid IP v6 address."),null;if(s.pointer-=n,i>6)return g("Invalid IP v6 address."),null;let e=0;while(s.c()!==t){let t=null;if(e>0){if(!("."===s.c()&&e<4))return g("Invalid IP v6 address."),null;s.pointer++}if(!a.codePoint.ASCIIDigit.test(s.c()))return g("Invalid IP v6 address."),null;while(a.codePoint.ASCIIDigit.test(s.c())){const e=parseInt(s.c(),10);if(null===t)t=e;else{if(0===t)return g("Invalid IP v6 address."),null;t=10*t+e}if(t>255)return g("Invalid IP v6 address."),null;s.pointer++}if(null===t)return g("Invalid IP v6 address."),null;r[i]=256*r[i]+t,e++,2!==e&&4!==e||i++}if(4!==e)return g("Invalid IP v6 address."),null;break}if(":"===s.c()){if(s.pointer++,s.c()===t)return g("Invalid IP v6 address."),null}else if(s.c()!==t)return g("Invalid IP v6 address."),null;r[i]=e,i++}if(null!==o){let e=i-o;i=7;while(0!==i&&e>0)[r[i],r[o+e-1]]=[r[o+e-1],r[i]],i--,e--}else if(null===o&&8!==i)return g("Invalid IP v6 address."),null;return r}function U(e){const t=/[\x00\t\f\r #/:?@\[\\\]]/;if(t.test(e))return g("Invalid host string."),null;let r="";for(const n of e)r+=q(n,u);return r}function V(e){return null}function Y(e){return"%"+("00"+e.toString(16).toUpperCase()).slice(-2)}function z(e){const t=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,r=new Uint8Array(e.length);let i=0;for(let a=0;a<e.length;a++){const o=e[a];if(37!==o)r[i]=o,i++;else if(37===o&&a>=e.length-2)r[i]=o,i++;else if(37!==o||t(e[a+1])&&t(e[a+2])){const t=parseInt(n.utf8Decode(Uint8Array.of(e[a+1],e[a+2])),16);r[i]=t,i++,a+=2}else r[i]=o,i++}return r.subarray(0,i)}function W(e){return z(n.utf8Encode(e))}function q(e,t){if(!t.test(e))return e;const r=n.utf8Encode(e);let i="";for(const n of r)i+=Y(n);return i}function G(e,t){return e===t}function K(e,t,r=!1){return E(e,r)===E(t,r)}function X(e){return Z(n.utf8Encode(e))}function Z(e){const t=[];let r=[];for(const n of e)38===n?(t.push(Uint8Array.from(r)),r=[]):r.push(n);0!==r.length&&t.push(Uint8Array.from(r));const i=[];for(const a of t){if(0===a.length)continue;const e=a.indexOf(61),t=-1!==e?a.slice(0,e):a,r=-1!==e?a.slice(e+1):new Uint8Array;for(let n=0;n<t.length;n++)43===t[n]&&(t[n]=32);for(let n=0;n<r.length;n++)43===r[n]&&(r[n]=32);const o=n.utf8Decode(t),s=n.utf8Decode(r);i.push([o,s])}return i}function $(e){let t="";for(const r of e)t+=32===r?"+":42===r||45===r||46===r||r>=48&&r<=57||r>=65&&r<=90||95===r||r>=97&&r<=122?String.fromCodePoint(r):Y(r);return t}function J(e,t){const r=void 0===t||"replacement"===t||"UTF-16BE"===t||"UTF-16LE"===t?"UTF-8":t;if("UTF-8"!==r.toUpperCase())throw new Error("Only UTF-8 encoding is supported.");let i="";for(const a of e){const e=$(n.utf8Encode(a[0]));let t=a[1];t=$(n.utf8Encode(t)),""!==i&&(i+="&"),i+=e+"="+t}return i}function Q(e){switch(e.scheme){case"blob":e._blobURLEntry;const t=A(e.path[0]);return null===t?i.OpaqueOrigin:Q(t);case"ftp":case"http":case"https":case"ws":case"wss":return[e.scheme,null===e.host?"":e.host,e.port,null];case"file":return i.OpaqueOrigin;default:return i.OpaqueOrigin}}function ee(e,t=!1){const r=o.domainToASCII(e);return""===r?(g("Invalid domain name."),null):r}function te(e,t=!1){const r=o.domainToUnicode(e);return""===r&&g("Invalid domain name."),r}function re(e){if(""===e[0]&&""===e[1]&&null===e[2]&&null===e[3])return"null";let t=e[0]+"://"+M(e[1]);return null!==e[2]&&(t+=":"+e[2].toString()),t}t.setValidationErrorCallback=m,t.newURL=v,t.isSpecialScheme=b,t.isSpecial=y,t.defaultPort=w,t.includesCredentials=_,t.cannotHaveAUsernamePasswordPort=S,t.urlSerializer=E,t.hostSerializer=M,t.iPv4Serializer=T,t.iPv6Serializer=C,t.urlParser=x,t.basicURLParser=A,t.setTheUsername=N,t.setThePassword=O,t.isSingleDotPathSegment=R,t.isDoubleDotPathSegment=L,t.shorten=k,t.isNormalizedWindowsDriveLetter=I,t.isWindowsDriveLetter=D,t.startsWithAWindowsDriveLetter=P,t.hostParser=j,t.iPv4NumberParser=F,t.iPv4Parser=H,t.iPv6Parser=B,t.opaqueHostParser=U,t.resolveABlobURL=V,t.percentEncode=Y,t.percentDecode=z,t.stringPercentDecode=W,t.utf8PercentEncode=q,t.hostEquals=G,t.urlEquals=K,t.urlEncodedStringParser=X,t.urlEncodedParser=Z,t.urlEncodedByteSerializer=$,t.urlEncodedSerializer=J,t.origin=Q,t.domainToASCII=ee,t.domainToUnicode=te,t.asciiSerializationOfAnOrigin=re},"2c35":function(e,t,r){"use strict";var n=r("a60d").f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},"2c98":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("9af8"),a=r("a45a");class o{constructor(e){this._nodeList=[],this._recordQueue=[],this._callback=e;const t=n.dom.window;a.set.append(t._mutationObservers,this)}observe(e,t){if(t=t||{childList:!1,subtree:!1},void 0===t.attributeOldValue&&void 0===t.attributeFilter||void 0!==t.attributes||(t.attributes=!0),void 0!==t.characterDataOldValue&&void 0===t.characterData&&(t.characterData=!0),!t.childList&&!t.attributes&&!t.characterData)throw new TypeError;if(t.attributeOldValue&&!t.attributes)throw new TypeError;if(void 0!==t.attributeFilter&&!t.attributes)throw new TypeError;if(t.characterDataOldValue&&!t.characterData)throw new TypeError;let r=!1;const n=t;for(const o of e._registeredObserverList)if(o.observer===this){r=!0;for(const e of this._nodeList)a.list.remove(e._registeredObserverList,e=>i.Guard.isTransientRegisteredObserver(e)&&e.source===o);o.options=n}r||(e._registeredObserverList.push({observer:this,options:t}),this._nodeList.push(e))}disconnect(){for(const e of this._nodeList)a.list.remove(e._registeredObserverList,e=>e.observer===this);this._recordQueue=[]}takeRecords(){const e=this._recordQueue;return this._recordQueue=[],e}}t.MutationObserverImpl=o},"2cb8":function(e,t,r){"use strict";var n=r("7b69"),i=r("69ba"),a=r("1e92"),o=r("97dc"),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!a(s,e)?t:n(o,e)}},"2ceb":function(e,t,r){"use strict";e.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}},"2d2d":function(e,t,r){"use strict";var n=r("d128"),i=r("a60d"),a=r("1caf");e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},"2daa":function(e,t,r){"use strict";var n=r("2d2d"),i=r("78e9"),a=r("cf36"),o=Error.captureStackTrace;e.exports=function(e,t,r,s){a&&(o?o(e,t):n(e,"stack",i(r,s)))}},"2e8c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t}))},"2f3c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("9af8"),a=r("0fc1"),o=r("9389"),s=r("4b7d"),l=r("3d7e"),u=r("ba82");function c(e,t=!1){return{[Symbol.iterator](){let r=e;while(r&&i.Guard.isTextNode(r._previousSibling))r=r._previousSibling;return{next(){if(r&&!t&&r===e&&(r=i.Guard.isTextNode(r._nextSibling)?r._nextSibling:null),null===r)return{done:!0,value:null};{const e={done:!1,value:r};return r=i.Guard.isTextNode(r._nextSibling)?r._nextSibling:null,e}}}}}}function d(e,t=!1){return{[Symbol.iterator](){let r=e;while(r&&i.Guard.isExclusiveTextNode(r._previousSibling))r=r._previousSibling;return{next(){if(r&&!t&&r===e&&(r=i.Guard.isExclusiveTextNode(r._nextSibling)?r._nextSibling:null),null===r)return{done:!0,value:null};{const e={done:!1,value:r};return r=i.Guard.isExclusiveTextNode(r._nextSibling)?r._nextSibling:null,e}}}}}}function h(e){let t="",r=s.tree_getFirstDescendantNode(e,!1,!1,e=>i.Guard.isTextNode(e));while(null!==r)t+=r._data,r=s.tree_getNextDescendantNode(e,r,!1,!1,e=>i.Guard.isTextNode(e));return t}function p(e,t){const r=e._data.length;if(t>r)throw new a.IndexSizeError;const i=r-t,c=l.characterData_substringData(e,t,i),d=o.create_text(e._nodeDocument,c),h=e._parent;if(null!==h){u.mutation_insert(d,h,e._nextSibling);for(const r of n.dom.rangeList){r._start[0]===e&&r._start[1]>t&&(r._start[0]=d,r._start[1]-=t),r._end[0]===e&&r._end[1]>t&&(r._end[0]=d,r._end[1]-=t);const n=s.tree_index(e);r._start[0]===h&&r._start[1]===n+1&&r._start[1]++,r._end[0]===h&&r._end[1]===n+1&&r._end[1]++}}return l.characterData_replaceData(e,t,i,""),d}t.text_contiguousTextNodes=c,t.text_contiguousExclusiveTextNodes=d,t.text_descendantTextContent=h,t.text_split=p},"2f60":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},3022:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!S(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,a=n.length,o=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}})),l=n[r];r<a;l=n[++r])y(l)||!C(l)?o+=" "+l:o+=" "+s(l);return o},t.deprecate=function(r,n){if("undefined"!==typeof e&&!0===e.noDeprecation)return r;if("undefined"===typeof e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;function a(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}return a};var a,o={};function s(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),b(r)?n.showHidden=r:r&&t._extend(n,r),M(n.showHidden)&&(n.showHidden=!1),M(n.depth)&&(n.depth=2),M(n.colors)&&(n.colors=!1),M(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),d(n,e,n.depth)}function l(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function u(e,t){return e}function c(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}function d(e,r,n){if(e.customInspect&&r&&N(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return S(i)||(i=d(e,i,n)),i}var a=h(e,r);if(a)return a;var o=Object.keys(r),s=c(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),A(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(r);if(0===o.length){if(N(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(T(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(A(r))return p(r)}var u,b="",y=!1,w=["{","}"];if(v(r)&&(y=!0,w=["[","]"]),N(r)){var _=r.name?": "+r.name:"";b=" [Function"+_+"]"}return T(r)&&(b=" "+RegExp.prototype.toString.call(r)),x(r)&&(b=" "+Date.prototype.toUTCString.call(r)),A(r)&&(b=" "+p(r)),0!==o.length||y&&0!=r.length?n<0?T(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=y?f(e,r,n,s,o):o.map((function(t){return m(e,r,n,s,t,y)})),e.seen.pop(),g(u,b,w)):w[0]+b+w[1]}function h(e,t){if(M(t))return e.stylize("undefined","undefined");if(S(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return _(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)D(t,String(o))?a.push(m(e,t,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(m(e,t,r,n,i,!0))})),a}function m(e,t,r,n,i,a){var o,s,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),D(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=y(r)?d(e,l.value,null):d(e,l.value,r-1),s.indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n"))):s=e.stylize("[Circular]","special")),M(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function g(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return n>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function v(e){return Array.isArray(e)}function b(e){return"boolean"===typeof e}function y(e){return null===e}function w(e){return null==e}function _(e){return"number"===typeof e}function S(e){return"string"===typeof e}function E(e){return"symbol"===typeof e}function M(e){return void 0===e}function T(e){return C(e)&&"[object RegExp]"===R(e)}function C(e){return"object"===typeof e&&null!==e}function x(e){return C(e)&&"[object Date]"===R(e)}function A(e){return C(e)&&("[object Error]"===R(e)||e instanceof Error)}function N(e){return"function"===typeof e}function O(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function R(e){return Object.prototype.toString.call(e)}function L(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(M(a)&&(a=Object({NODE_ENV:"production",VUE_APP_BASE_API:"http://120.46.190.49:8000",BASE_URL:"/"}).NODE_DEBUG||""),r=r.toUpperCase(),!o[r])if(new RegExp("\\b"+r+"\\b","i").test(a)){var n=e.pid;o[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else o[r]=function(){};return o[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=v,t.isBoolean=b,t.isNull=y,t.isNullOrUndefined=w,t.isNumber=_,t.isString=S,t.isSymbol=E,t.isUndefined=M,t.isRegExp=T,t.isObject=C,t.isDate=x,t.isError=A,t.isFunction=N,t.isPrimitive=O,t.isBuffer=r("d60a");var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(){var e=new Date,t=[L(e.getHours()),L(e.getMinutes()),L(e.getSeconds())].join(":");return[e.getDate(),k[e.getMonth()],t].join(" ")}function D(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",I(),t.format.apply(t,arguments))},t.inherits=r("28a0"),t._extend=function(e,t){if(!t||!C(t))return e;var r=Object.keys(t),n=r.length;while(n--)e[r[n]]=t[r[n]];return e};var P="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function F(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};t.apply(this,r).then((function(t){e.nextTick(o,null,t)}),(function(t){e.nextTick(j,t,o)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t=e[P];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(o){r(o)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=P,t.callbackify=F}).call(this,r("4362"))},3030:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("4f09");function i(e,t){e.push(t)}function a(e,t){e.push(...t)}function o(e,t){e.unshift(t)}function s(e,t,r){let i=0;for(const a of e){if(n.isFunction(t))t.call(null,a)&&(e[i]=r);else if(a===t)return void(e[i]=r);i++}}function l(e,t,r){e.splice(r,0,t)}function u(e,t){let r=e.length;while(r--){const i=e[r];if(n.isFunction(t))t.call(null,i)&&e.splice(r,1);else if(i===t)return void e.splice(r,1)}}function c(e){e.length=0}function d(e,t){for(const r of e)if(n.isFunction(t)){if(t.call(null,r))return!0}else if(r===t)return!0;return!1}function h(e,t){if(void 0===t)return e.length;{let r=0;for(const n of e)t.call(null,n)&&r++;return r}}function p(e){return 0===e.length}function*f(e,t){if(void 0===t)yield*e;else for(const r of e)t.call(null,r)&&(yield r)}function m(e){return new Array(...e)}function g(e,t){return e.sort((e,r)=>t.call(null,e,r)?-1:1)}function v(e,t){return e.sort((e,r)=>t.call(null,e,r)?1:-1)}t.append=i,t.extend=a,t.prepend=o,t.replace=s,t.insert=l,t.remove=u,t.empty=c,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=g,t.sortInDescendingOrder=v},3037:function(e,t,r){"use strict";var n=r("fd18"),i=r("bdfe"),a=r("73fa"),o=r("939b"),s=r("2408"),l=n([].push);e.exports=function(e){if(a(e))return e;if(i(e)){for(var t=e.length,r=[],n=0;n<t;n++){var u=e[n];"string"==typeof u?l(r,u):"number"!=typeof u&&"Number"!==o(u)&&"String"!==o(u)||l(r,s(u))}var c=r.length,d=!0;return function(e,t){if(d)return d=!1,t;if(i(this))return t;for(var n=0;n<c;n++)if(r[n]===e)return t}}}},"321f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("a45a"),a=r("9af8"),o=r("0fc1"),s=r("9389"),l=r("bcd6"),u=r("7c81"),c=r("dc6b"),d=r("ba82"),h=r("b777");function p(e,t){return-1!==t._attributeList._asArray().indexOf(e)}function f(e,t,r){n.dom.features.mutationObservers&&u.observer_queueAttributeMutationRecord(t,e._localName,e._namespace,e._value),n.dom.features.customElements&&a.Guard.isCustomElementNode(t)&&l.customElement_enqueueACustomElementCallbackReaction(t,"attributeChangedCallback",[e._localName,e._value,r,e._namespace]),n.dom.features.steps&&c.dom_runAttributeChangeSteps(t,e._localName,e._value,r,e._namespace),e._value=r}function m(e,t){n.dom.features.mutationObservers&&u.observer_queueAttributeMutationRecord(t,e._localName,e._namespace,null),n.dom.features.customElements&&a.Guard.isCustomElementNode(t)&&l.customElement_enqueueACustomElementCallbackReaction(t,"attributeChangedCallback",[e._localName,null,e._value,e._namespace]),n.dom.features.steps&&c.dom_runAttributeChangeSteps(t,e._localName,null,e._value,e._namespace),t._attributeList._asArray().push(e),e._element=t,t._nodeDocument._hasNamespaces||null===e._namespace&&null===e._namespacePrefix&&"xmlns"!==e._localName||(t._nodeDocument._hasNamespaces=!0)}function g(e,t){n.dom.features.mutationObservers&&u.observer_queueAttributeMutationRecord(t,e._localName,e._namespace,e._value),n.dom.features.customElements&&a.Guard.isCustomElementNode(t)&&l.customElement_enqueueACustomElementCallbackReaction(t,"attributeChangedCallback",[e._localName,e._value,null,e._namespace]),n.dom.features.steps&&c.dom_runAttributeChangeSteps(t,e._localName,e._value,null,e._namespace);const r=t._attributeList._asArray().indexOf(e);t._attributeList._asArray().splice(r,1),e._element=null}function v(e,t,r){n.dom.features.mutationObservers&&u.observer_queueAttributeMutationRecord(r,e._localName,e._namespace,e._value),n.dom.features.customElements&&a.Guard.isCustomElementNode(r)&&l.customElement_enqueueACustomElementCallbackReaction(r,"attributeChangedCallback",[e._localName,e._value,t._value,e._namespace]),n.dom.features.steps&&c.dom_runAttributeChangeSteps(r,e._localName,e._value,t._value,e._namespace);const i=r._attributeList._asArray().indexOf(e);-1!==i&&(r._attributeList._asArray()[i]=t),e._element=null,t._element=r,r._nodeDocument._hasNamespaces||null===t._namespace&&null===t._namespacePrefix&&"xmlns"!==t._localName||(r._nodeDocument._hasNamespaces=!0)}function b(e,t){return t._namespace===i.namespace.HTML&&"html"===t._nodeDocument._type&&(e=e.toLowerCase()),t._attributeList._asArray().find(t=>t._qualifiedName===e)||null}function y(e,t,r){const n=e||null;return r._attributeList._asArray().find(e=>e._namespace===n&&e._localName===t)||null}function w(e,t,r=""){const n=y(r,t,e);return null===n?"":n._value}function _(e,t){if(null!==e._element&&e._element!==t)throw new o.InUseAttributeError(`This attribute already exists in the document: ${e._qualifiedName} as a child of ${e._element._qualifiedName}.`);const r=y(e._namespace||"",e._localName,t);return r===e?e:(null!==r?v(r,e,t):m(e,t),r)}function S(e,t,r,n=null,i=null){const a=y(i||"",t,e);if(null===a){const a=s.create_attr(e._nodeDocument,t);return a._namespace=i,a._namespacePrefix=n,a._value=r,void m(a,e)}f(a,e,r)}function E(e,t){const r=b(e,t);return null!==r&&g(r,t),r}function M(e,t,r){const n=y(e,t,r);return null!==n&&g(n,r),n}function T(e,t,r,a=null,u=null,c=!1){let d=null;if(!n.dom.features.customElements)return d=s.create_element(e,t,r,a),d._customElementState="uncustomized",d._customElementDefinition=null,d._is=u,d;const p=l.customElement_lookUpACustomElementDefinition(e,r,t,u);if(null!==p&&p.name!==p.localName){const r=h.document_elementInterface(t,i.namespace.HTML);d=new r,d._localName=t,d._namespace=i.namespace.HTML,d._namespacePrefix=a,d._customElementState="undefined",d._customElementDefinition=null,d._is=u,d._nodeDocument=e,c?l.customElement_upgrade(p,d):l.customElement_enqueueACustomElementUpgradeReaction(d,p)}else if(null!==p)if(c)try{const r=p.constructor,n=new r;if(console.assert(void 0!==n._customElementState),console.assert(void 0!==n._customElementDefinition),console.assert(n._namespace===i.namespace.HTML),0!==n._attributeList.length)throw new o.NotSupportedError("Custom element already has attributes.");if(0!==n._children.size)throw new o.NotSupportedError("Custom element already has child nodes.");if(null!==n._parent)throw new o.NotSupportedError("Custom element already has a parent node.");if(n._nodeDocument!==e)throw new o.NotSupportedError("Custom element is already in a document.");if(n._localName!==t)throw new o.NotSupportedError("Custom element has a different local name.");n._namespacePrefix=a,n._is=null}catch(f){d=s.create_htmlUnknownElement(e,t,i.namespace.HTML,a),d._customElementState="failed",d._customElementDefinition=null,d._is=null}else d=s.create_htmlElement(e,t,i.namespace.HTML,a),d._customElementState="undefined",d._customElementDefinition=null,d._is=null,l.customElement_enqueueACustomElementUpgradeReaction(d,p);else{const n=h.document_elementInterface(t,r);d=new n,d._localName=t,d._namespace=r,d._namespacePrefix=a,d._customElementState="uncustomized",d._customElementDefinition=null,d._is=u,d._nodeDocument=e,r!==i.namespace.HTML||null===u&&!l.customElement_isValidCustomElementName(t)||(d._customElementState="undefined")}if(null===d)throw new Error("Unable to create element.");return d}function C(e,t,r){switch(t.toLowerCase()){case"beforebegin":return null===e._parent?null:d.mutation_preInsert(r,e._parent,e);case"afterbegin":return d.mutation_preInsert(r,e,e._firstChild);case"beforeend":return d.mutation_preInsert(r,e,null);case"afterend":return null===e._parent?null:d.mutation_preInsert(r,e._parent,e._nextSibling);default:throw new o.SyntaxError('Invalid \'where\' argument. "beforebegin", "afterbegin", "beforeend" or "afterend" expected')}}t.element_has=p,t.element_change=f,t.element_append=m,t.element_remove=g,t.element_replace=v,t.element_getAnAttributeByName=b,t.element_getAnAttributeByNamespaceAndLocalName=y,t.element_getAnAttributeValue=w,t.element_setAnAttribute=_,t.element_setAnAttributeValue=S,t.element_removeAnAttributeByName=E,t.element_removeAnAttributeByNamespaceAndLocalName=M,t.element_createAnElement=T,t.element_insertAdjacent=C},"32ac":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("0fc1");function i(e,t){throw new n.NotSupportedError}t.selectors_scopeMatchASelectorsString=i},"32d8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("42e9"),a=r("58c0"),o=r("9af8"),s=r("0fc1"),l=r("9688"),u=r("2bfb9"),c=r("68d5");class d extends a.EventTargetImpl{constructor(){super(),this._parent=null,this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null}get _childNodes(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))}get _nodeDocument(){return this._nodeDocumentOverride||n.dom.window._associatedDocument}set _nodeDocument(e){this._nodeDocumentOverride=e}get _registeredObserverList(){return this.__registeredObserverList||(this.__registeredObserverList=[])}get nodeType(){return this._nodeType}get nodeName(){return o.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:o.Guard.isAttrNode(this)?this._qualifiedName:o.Guard.isExclusiveTextNode(this)?"#text":o.Guard.isCDATASectionNode(this)?"#cdata-section":o.Guard.isProcessingInstructionNode(this)?this._target:o.Guard.isCommentNode(this)?"#comment":o.Guard.isDocumentNode(this)?"#document":o.Guard.isDocumentTypeNode(this)?this._name:o.Guard.isDocumentFragmentNode(this)?"#document-fragment":""}get baseURI(){return u.urlSerializer(this._nodeDocument._URL)}get isConnected(){return o.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)}get ownerDocument(){return this._nodeType===i.NodeType.Document?null:this._nodeDocument}getRootNode(e){return l.tree_rootNode(this,!!e&&e.composed)}get parentNode(){return this._nodeType===i.NodeType.Attribute?null:this._parent}get parentElement(){return this._parent&&o.Guard.isElementNode(this._parent)?this._parent:null}hasChildNodes(){return null!==this._firstChild}get childNodes(){return this._childNodes}get firstChild(){return this._firstChild}get lastChild(){return this._lastChild}get previousSibling(){return this._previousSibling}get nextSibling(){return this._nextSibling}get nodeValue(){return o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null}set nodeValue(e){null===e&&(e=""),o.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)}get textContent(){return o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?l.text_descendantTextContent(this):o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null}set textContent(e){null===e&&(e=""),o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):o.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)}normalize(){const e=[];let t=l.tree_getFirstDescendantNode(this,!1,!1,e=>o.Guard.isExclusiveTextNode(e));while(null!==t)e.push(t),t=l.tree_getNextDescendantNode(this,t,!1,!1,e=>o.Guard.isExclusiveTextNode(e));for(let r=0;r<e.length;r++){const t=e[r];if(null===t._parent)continue;let i=l.tree_nodeLength(t);if(0===i){l.mutation_remove(t,t._parent);continue}const a=[];let s="";for(const e of l.text_contiguousExclusiveTextNodes(t))a.push(e),s+=e._data;if(l.characterData_replaceData(t,i,0,s),0!==n.dom.rangeList.size){let e=t._nextSibling;while(null!==e&&o.Guard.isExclusiveTextNode(e)){const r=e,a=l.tree_index(r);for(const e of n.dom.rangeList)e._start[0]===r&&(e._start[0]=t,e._start[1]+=i),e._end[0]===r&&(e._end[0]=t,e._end[1]+=i),e._start[0]===r._parent&&e._start[1]===a&&(e._start[0]=t,e._start[1]=i),e._end[0]===r._parent&&e._end[1]===a&&(e._end[0]=t,e._end[1]=i);i+=l.tree_nodeLength(e),e=e._nextSibling}}for(let e=0;e<a.length;e++){const t=a[e];null!==t._parent&&l.mutation_remove(t,t._parent)}}}cloneNode(e=!1){if(o.Guard.isShadowRoot(this))throw new s.NotSupportedError;return l.node_clone(this,null,e)}isEqualNode(e=null){return null!==e&&l.node_equals(this,e)}isSameNode(e=null){return this===e}compareDocumentPosition(e){if(e===this)return 0;let t=e,r=this,a=null,s=null;if(o.Guard.isAttrNode(t)&&(a=t,t=a._element),o.Guard.isAttrNode(r)&&(s=r,r=s._element,a&&t&&t===r))for(let n=0;n<r._attributeList.length;n++){const e=r._attributeList[n];if(l.node_equals(e,a))return i.Position.ImplementationSpecific|i.Position.Preceding;if(l.node_equals(e,s))return i.Position.ImplementationSpecific|i.Position.Following}return null===t||null===r||l.tree_rootNode(t)!==l.tree_rootNode(r)?i.Position.Disconnected|i.Position.ImplementationSpecific|(n.dom.compareCache.check(this,e)?i.Position.Preceding:i.Position.Following):!a&&l.tree_isAncestorOf(r,t)||s&&t===r?i.Position.Contains|i.Position.Preceding:!s&&l.tree_isDescendantOf(r,t)||a&&t===r?i.Position.ContainedBy|i.Position.Following:l.tree_isPreceding(r,t)?i.Position.Preceding:i.Position.Following}contains(e){return null!==e&&l.tree_isDescendantOf(this,e,!0)}lookupPrefix(e){return e?o.Guard.isElementNode(this)?l.node_locateANamespacePrefix(this,e):o.Guard.isDocumentNode(this)?null===this.documentElement?null:l.node_locateANamespacePrefix(this.documentElement,e):o.Guard.isDocumentTypeNode(this)||o.Guard.isDocumentFragmentNode(this)?null:o.Guard.isAttrNode(this)?null===this._element?null:l.node_locateANamespacePrefix(this._element,e):null!==this._parent&&o.Guard.isElementNode(this._parent)?l.node_locateANamespacePrefix(this._parent,e):null:null}lookupNamespaceURI(e){return l.node_locateANamespace(this,e||null)}isDefaultNamespace(e){e||(e=null);const t=l.node_locateANamespace(this,null);return t===e}insertBefore(e,t){return l.mutation_preInsert(e,this,t)}appendChild(e){return l.mutation_append(e,this)}replaceChild(e,t){return l.mutation_replace(t,e,this)}removeChild(e){return l.mutation_preRemove(e,this)}_getTheParent(e){return o.Guard.isSlotable(this)&&l.shadowTree_isAssigned(this)?this._assignedSlot:this._parent}}t.NodeImpl=d,d.ELEMENT_NODE=1,d.ATTRIBUTE_NODE=2,d.TEXT_NODE=3,d.CDATA_SECTION_NODE=4,d.ENTITY_REFERENCE_NODE=5,d.ENTITY_NODE=6,d.PROCESSING_INSTRUCTION_NODE=7,d.COMMENT_NODE=8,d.DOCUMENT_NODE=9,d.DOCUMENT_TYPE_NODE=10,d.DOCUMENT_FRAGMENT_NODE=11,d.NOTATION_NODE=12,d.DOCUMENT_POSITION_DISCONNECTED=1,d.DOCUMENT_POSITION_PRECEDING=2,d.DOCUMENT_POSITION_FOLLOWING=4,d.DOCUMENT_POSITION_CONTAINS=8,d.DOCUMENT_POSITION_CONTAINED_BY=16,d.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32,d.prototype._children=new o.EmptySet,c.idl_defineConst(d.prototype,"ELEMENT_NODE",1),c.idl_defineConst(d.prototype,"ATTRIBUTE_NODE",2),c.idl_defineConst(d.prototype,"TEXT_NODE",3),c.idl_defineConst(d.prototype,"CDATA_SECTION_NODE",4),c.idl_defineConst(d.prototype,"ENTITY_REFERENCE_NODE",5),c.idl_defineConst(d.prototype,"ENTITY_NODE",6),c.idl_defineConst(d.prototype,"PROCESSING_INSTRUCTION_NODE",7),c.idl_defineConst(d.prototype,"COMMENT_NODE",8),c.idl_defineConst(d.prototype,"DOCUMENT_NODE",9),c.idl_defineConst(d.prototype,"DOCUMENT_TYPE_NODE",10),c.idl_defineConst(d.prototype,"DOCUMENT_FRAGMENT_NODE",11),c.idl_defineConst(d.prototype,"NOTATION_NODE",12),c.idl_defineConst(d.prototype,"DOCUMENT_POSITION_DISCONNECTED",1),c.idl_defineConst(d.prototype,"DOCUMENT_POSITION_PRECEDING",2),c.idl_defineConst(d.prototype,"DOCUMENT_POSITION_FOLLOWING",4),c.idl_defineConst(d.prototype,"DOCUMENT_POSITION_CONTAINS",8),c.idl_defineConst(d.prototype,"DOCUMENT_POSITION_CONTAINED_BY",16),c.idl_defineConst(d.prototype,"DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC",32)},3300:function(e,t,r){"use strict";var n=r("f3a3"),i=r("80af"),a=r("3fb5"),o=r("ea53"),s=n.assert;function l(e){o.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,r,n){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(l,o),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var a=this._getEndoRoots(this.p);t=a[0].cmp(a[1])<0?a[0]:a[1],t=t.toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return n=e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(r),{beta:t,lambda:r,basis:n}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),a=new i(3).toRed(t).redNeg().redSqrt().redMul(r),o=n.redAdd(a).fromRed(),s=n.redSub(a).fromRed();return[o,s]},l.prototype._getEndoBasis=function(e){var t,r,n,a,o,s,l,u,c,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,p=this.n.clone(),f=new i(1),m=new i(0),g=new i(0),v=new i(1),b=0;while(0!==h.cmpn(0)){var y=p.div(h);u=p.sub(y.mul(h)),c=g.sub(y.mul(f));var w=v.sub(y.mul(m));if(!n&&u.cmp(d)<0)t=l.neg(),r=f,n=u.neg(),a=c;else if(n&&2===++b)break;l=u,p=h,h=u,g=f,f=c,v=m,m=w}o=u.neg(),s=c;var _=n.sqr().add(a.sqr()),S=o.sqr().add(s.sqr());return S.cmp(_)>=0&&(o=t,s=r),n.negative&&(n=n.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:a},{a:o,b:s}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),l=i.mul(r.b),u=a.mul(n.b),c=e.sub(o).sub(s),d=l.add(u).neg();return{k1:c,k2:d}},l.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var a=n.fromRed().isOdd();return(t&&!a||!t&&a)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a<e.length;a++){var o=this._endoSplit(t[a]),s=e[a],l=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),l=l.neg(!0)),n[2*a]=s,n[2*a+1]=l,i[2*a]=o.k1,i[2*a+1]=o.k2}for(var u=this._wnafMulAdd(1,n,i,2*a,r),c=0;c<2*a;c++)n[c]=null,i[c]=null;return u},a(u,o.BasePoint),l.prototype.point=function(e,t,r){return new u(this,e,t,r)},l.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"===typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function i(t){return e.point(t[0],t[1],r)}var a=t[2];return n.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[n].concat(a.doubles.points.map(i))},naf:a.naf&&{wnd:a.naf.wnd,points:[n].concat(a.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},a(c,o.BasePoint),l.prototype.jpoint=function(e,t,r){return new c(this,e,t,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),l=a.redSub(o);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),d=n.redMul(u),h=l.redSqr().redIAdd(c).redISub(d).redISub(d),p=l.redMul(d.redISub(h)).redISub(a.redMul(c)),f=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,p,f)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=o.redSqr(),u=l.redMul(o),c=r.redMul(l),d=s.redSqr().redIAdd(u).redISub(c).redISub(c),h=s.redMul(c.redISub(d)).redISub(i.redMul(u)),p=this.z.redMul(o);return this.curve.jpoint(d,h,p)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t<e;t++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,a=this.x,o=this.y,s=this.z,l=s.redSqr().redSqr(),u=o.redAdd(o);for(t=0;t<e;t++){var c=a.redSqr(),d=u.redSqr(),h=d.redSqr(),p=c.redAdd(c).redIAdd(c).redIAdd(n.redMul(l)),f=a.redMul(d),m=p.redSqr().redISub(f.redAdd(f)),g=f.redISub(m),v=p.redMul(g);v=v.redIAdd(v).redISub(h);var b=u.redMul(s);t+1<e&&(l=l.redMul(h)),a=m,s=b,u=v}return this.curve.jpoint(a,u.redMul(i),s)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n),l=s.redSqr().redISub(o).redISub(o),u=a.redIAdd(a);u=u.redIAdd(u),u=u.redIAdd(u),e=l,t=s.redMul(o.redISub(l)).redISub(u),r=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(c).redISub(h);p=p.redIAdd(p);var f=c.redAdd(c).redIAdd(c),m=f.redSqr(),g=h.redIAdd(h);g=g.redIAdd(g),g=g.redIAdd(g),e=m.redISub(p).redISub(p),t=f.redMul(p.redISub(e)).redISub(g),r=this.y.redMul(this.z),r=r.redIAdd(r)}return this.curve.jpoint(e,t,r)},c.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),l=s.redSqr().redISub(o).redISub(o);e=l;var u=a.redIAdd(a);u=u.redIAdd(u),u=u.redIAdd(u),t=s.redMul(o.redISub(l)).redISub(u),r=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),p=this.x.redSub(c).redMul(this.x.redAdd(c));p=p.redAdd(p).redIAdd(p);var f=h.redIAdd(h);f=f.redIAdd(f);var m=f.redAdd(f);e=p.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(d).redISub(c);var g=d.redSqr();g=g.redIAdd(g),g=g.redIAdd(g),g=g.redIAdd(g),t=p.redMul(f.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,r)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),a=t.redSqr(),o=r.redSqr(),s=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(i)),l=t.redAdd(t);l=l.redIAdd(l);var u=l.redMul(o),c=s.redSqr().redISub(u.redAdd(u)),d=u.redISub(c),h=o.redSqr();h=h.redIAdd(h),h=h.redIAdd(h),h=h.redIAdd(h);var p=s.redMul(d).redISub(h),f=r.redAdd(r).redMul(n);return this.curve.jpoint(c,p,f)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),a=i.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n);o=o.redIAdd(o),o=o.redAdd(o).redIAdd(o),o=o.redISub(a);var s=o.redSqr(),l=n.redIAdd(n);l=l.redIAdd(l),l=l.redIAdd(l),l=l.redIAdd(l);var u=i.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(l),c=t.redMul(u);c=c.redIAdd(c),c=c.redIAdd(c);var d=this.x.redMul(s).redISub(c);d=d.redIAdd(d),d=d.redIAdd(d);var h=this.y.redMul(u.redMul(l.redISub(u)).redISub(o.redMul(s)));h=h.redIAdd(h),h=h.redIAdd(h),h=h.redIAdd(h);var p=this.z.redAdd(o).redSqr().redISub(r).redISub(s);return this.curve.jpoint(d,h,p)},c.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3337:function(e,t,r){"use strict";var n=t;n.version=r("2801").version,n.utils=r("f3a3"),n.rand=r("fdac"),n.curve=r("4136"),n.curves=r("0cbb"),n.ec=r("b9a8"),n.eddsa=r("945d")},"333d1":function(e,t,r){var n=r("1985"),i=r("49ba");function a(e){if("string"!==typeof e)throw new TypeError("Expected a String");return e.replace(/&(#?[^;\W]+;?)/g,(function(e,t){var r;if(r=/^#(\d+);?$/.exec(t))return n.ucs2.encode([parseInt(r[1],10)]);if(r=/^#[Xx]([A-Fa-f0-9]+);?/.exec(t))return n.ucs2.encode([parseInt(r[1],16)]);var a=/;$/.test(t),o=a?t.replace(/;$/,""):t,s=i[o]||a&&i[t];return"number"===typeof s?n.ucs2.encode([s]):"string"===typeof s?s:"&"+t}))}e.exports=a},"343e":function(e,t,r){var n=t;n.der=r("3768"),n.pem=r("85b3")},"34d5":function(e,t,r){t=e.exports=r("cf35"),t.Stream=t,t.Readable=t,t.Writable=r("49ce"),t.Duplex=r("5e7d"),t.Transform=r("f1c8"),t.PassThrough=r("9d28")},3505:function(e,t,r){var n=r("8707").Buffer,i=r("8c8a");function a(e,t,r){var a=t.length,o=i(t,e._cache);return e._cache=e._cache.slice(a),e._prev=n.concat([e._prev,r?t:o]),o}t.encrypt=function(e,t,r){var i,o=n.allocUnsafe(0);while(t.length){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){o=n.concat([o,a(e,t,r)]);break}i=e._cache.length,o=n.concat([o,a(e,t.slice(0,i),r)]),t=t.slice(i)}return o}},"351d":function(e,t,r){"use strict";r.r(t),r.d(t,"duckSchema",(function(){return i})),r.d(t,"inherit",(function(){return a})),r.d(t,"extend",(function(){return o})),r.d(t,"deepExtend",(function(){return s})),r.d(t,"deepClone",(function(){return l})),r.d(t,"clone",(function(){return u})),r.d(t,"mixin",(function(){return c})),r.d(t,"isObjectEqual",(function(){return d})),r.d(t,"isObject",(function(){return h})),r.d(t,"defineGetter",(function(){return p})),r.d(t,"objectEach",(function(){return f})),r.d(t,"getProperty",(function(){return m})),r.d(t,"setProperty",(function(){return g})),r.d(t,"deepObjectSize",(function(){return v})),r.d(t,"createObjectPropListener",(function(){return b})),r.d(t,"hasOwnProperty",(function(){return y}));r("7a89"),r("d06e"),r("5b82");var n=r("81ea");function i(e){let t;return Array.isArray(e)?t=e.length?new Array(e.length).fill(null):[]:(t={},f(e,(e,r)=>{"__children"!==r&&(e&&"object"===typeof e&&!Array.isArray(e)?t[r]=i(e):Array.isArray(e)?e.length&&"object"===typeof e[0]&&!Array.isArray(e[0])?t[r]=[i(e[0])]:t[r]=[]:t[r]=null)})),t}function a(e,t){return t.prototype.constructor=t,e.prototype=new t,e.prototype.constructor=e,e}function o(e,t,r){const n=Array.isArray(r);return f(t,(t,i)=>{(!1===n||r.includes(i))&&(e[i]=t)}),e}function s(e,t){f(t,(r,n)=>{t[n]&&"object"===typeof t[n]?(e[n]||(Array.isArray(t[n])?e[n]=[]:"[object Date]"===Object.prototype.toString.call(t[n])?e[n]=t[n]:e[n]={}),s(e[n],t[n])):e[n]=t[n]})}function l(e){return"object"===typeof e?JSON.parse(JSON.stringify(e)):e}function u(e){const t={};return f(e,(e,r)=>{t[r]=e}),t}function c(e){e.MIXINS||(e.MIXINS=[]);for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return Object(n["arrayEach"])(r,t=>{e.MIXINS.push(t.MIXIN_NAME),f(t,(t,r)=>{if(void 0!==e.prototype[r])throw new Error(`Mixin conflict. Property '${r}' already exist and cannot be overwritten.`);if("function"===typeof t)e.prototype[r]=t;else{const n=function(e,t){const r="_"+e,n=e=>{let t=e;return(Array.isArray(t)||h(t))&&(t=l(t)),t};return function(){return void 0===this[r]&&(this[r]=n(t)),this[r]}},i=function(e){const t="_"+e;return function(e){this[t]=e}};Object.defineProperty(e.prototype,r,{get:n(r,t),set:i(r),configurable:!0})}})}),e}function d(e,t){return JSON.stringify(e)===JSON.stringify(t)}function h(e){return"[object Object]"===Object.prototype.toString.call(e)}function p(e,t,r,n){n.value=r,n.writable=!1!==n.writable,n.enumerable=!1!==n.enumerable,n.configurable=!1!==n.configurable,Object.defineProperty(e,t,n)}function f(e,t){for(const r in e)if((!e.hasOwnProperty||e.hasOwnProperty&&Object.prototype.hasOwnProperty.call(e,r))&&!1===t(e[r],r,e))break;return e}function m(e,t){const r=t.split(".");let n=e;return f(r,e=>{if(n=n[e],void 0===n)return n=void 0,!1}),n}function g(e,t,r){const n=t.split(".");let i=e;n.forEach((e,t)=>{t!==n.length-1?(y(i,e)||(i[e]={}),i=i[e]):i[e]=r})}function v(e){if(!h(e))return 0;const t=function(e){let r=0;return h(e)?f(e,(e,n)=>{"__children"!==n&&(r+=t(e))}):r+=1,r};return t(e)}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";const r="_"+t,n={_touched:!1,[r]:e,isTouched(){return this._touched}};return Object.defineProperty(n,t,{get(){return this[r]},set(e){this._touched=!0,this[r]=e},enumerable:!0,configurable:!0}),n}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},"36cc":function(e,t,r){var n=r("4d1e"),i=/\s+/g,a=r("01d0"),o=r("66ec");function s(e,t,r){"object"===typeof e?(r=t,t=e,e=null):"function"===typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"===typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(o):Object.create(a),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(i," "):t.data+=e;else{r&&(e=e.replace(i," "));var a=this._createDomElement({data:e,type:n.Text});this._addDomElement(a)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=s},"36f2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("32d8"),a=r("0fc1"),o=r("a45a"),s=r("9688"),l=r("68d5");class u extends i.NodeImpl{constructor(){super(),this._children=new Set,this._namespace=null,this._namespacePrefix=null,this._localName="",this._customElementState="undefined",this._customElementDefinition=null,this._is=null,this._shadowRoot=null,this._attributeList=s.create_namedNodeMap(this),this._attributeChangeSteps=[],this._name="",this._assignedSlot=null}get namespaceURI(){return this._namespace}get prefix(){return this._namespacePrefix}get localName(){return this._localName}get tagName(){return this._htmlUppercasedQualifiedName}get id(){return s.element_getAnAttributeValue(this,"id")}set id(e){s.element_setAnAttributeValue(this,"id",e)}get className(){return s.element_getAnAttributeValue(this,"class")}set className(e){s.element_setAnAttributeValue(this,"class",e)}get classList(){let e=s.element_getAnAttributeByName("class",this);return null===e&&(e=s.create_attr(this._nodeDocument,"class")),s.create_domTokenList(this,e)}get slot(){return s.element_getAnAttributeValue(this,"slot")}set slot(e){s.element_setAnAttributeValue(this,"slot",e)}hasAttributes(){return 0!==this._attributeList.length}get attributes(){return this._attributeList}getAttributeNames(){const e=[];for(const t of this._attributeList)e.push(t._qualifiedName);return e}getAttribute(e){const t=s.element_getAnAttributeByName(e,this);return t?t._value:null}getAttributeNS(e,t){const r=s.element_getAnAttributeByNamespaceAndLocalName(e,t,this);return r?r._value:null}setAttribute(e,t){if(!s.xml_isName(e))throw new a.InvalidCharacterError;this._namespace===o.namespace.HTML&&"html"===this._nodeDocument._type&&(e=e.toLowerCase());let r=null;for(let n=0;n<this._attributeList.length;n++){const t=this._attributeList[n];if(t._qualifiedName===e){r=t;break}}if(null===r)return r=s.create_attr(this._nodeDocument,e),r._value=t,void s.element_append(r,this);s.element_change(r,this,t)}setAttributeNS(e,t,r){const[n,i,a]=s.namespace_validateAndExtract(e,t);s.element_setAnAttributeValue(this,a,r,i,n)}removeAttribute(e){s.element_removeAnAttributeByName(e,this)}removeAttributeNS(e,t){s.element_removeAnAttributeByNamespaceAndLocalName(e,t,this)}hasAttribute(e){this._namespace===o.namespace.HTML&&"html"===this._nodeDocument._type&&(e=e.toLowerCase());for(let t=0;t<this._attributeList.length;t++){const r=this._attributeList[t];if(r._qualifiedName===e)return!0}return!1}toggleAttribute(e,t){if(!s.xml_isName(e))throw new a.InvalidCharacterError;this._namespace===o.namespace.HTML&&"html"===this._nodeDocument._type&&(e=e.toLowerCase());let r=null;for(let n=0;n<this._attributeList.length;n++){const t=this._attributeList[n];if(t._qualifiedName===e){r=t;break}}return null===r?(void 0===t||!0===t)&&(r=s.create_attr(this._nodeDocument,e),r._value="",s.element_append(r,this),!0):void 0!==t&&!1!==t||(s.element_removeAnAttributeByName(e,this),!1)}hasAttributeNS(e,t){const r=e||null;for(let n=0;n<this._attributeList.length;n++){const e=this._attributeList[n];if(e._namespace===r&&e._localName===t)return!0}return!1}getAttributeNode(e){return s.element_getAnAttributeByName(e,this)}getAttributeNodeNS(e,t){return s.element_getAnAttributeByNamespaceAndLocalName(e,t,this)}setAttributeNode(e){return s.element_setAnAttribute(e,this)}setAttributeNodeNS(e){return s.element_setAnAttribute(e,this)}removeAttributeNode(e){let t=!1;for(let r=0;r<this._attributeList.length;r++){const n=this._attributeList[r];if(n===e){t=!0;break}}if(!t)throw new a.NotFoundError;return s.element_remove(e,this),e}attachShadow(e){if(this._namespace!==o.namespace.HTML)throw new a.NotSupportedError;if(!s.customElement_isValidCustomElementName(this._localName)&&!s.customElement_isValidShadowHostName(this._localName))throw new a.NotSupportedError;if(s.customElement_isValidCustomElementName(this._localName)||null!==this._is){const e=s.customElement_lookUpACustomElementDefinition(this._nodeDocument,this._namespace,this._localName,this._is);if(null!==e&&!0===e.disableShadow)throw new a.NotSupportedError}if(null!==this._shadowRoot)throw new a.NotSupportedError;const t=s.create_shadowRoot(this._nodeDocument,this);return t._mode=e.mode,this._shadowRoot=t,t}get shadowRoot(){const e=this._shadowRoot;return null===e||"closed"===e.mode?null:e}closest(e){throw new a.NotImplementedError}matches(e){throw new a.NotImplementedError}webkitMatchesSelector(e){return this.matches(e)}getElementsByTagName(e){return s.node_listOfElementsWithQualifiedName(e,this)}getElementsByTagNameNS(e,t){return s.node_listOfElementsWithNamespace(e,t,this)}getElementsByClassName(e){return s.node_listOfElementsWithClassNames(e,this)}insertAdjacentElement(e,t){return s.element_insertAdjacent(this,e,t)}insertAdjacentText(e,t){const r=s.create_text(this._nodeDocument,t);s.element_insertAdjacent(this,e,r)}get _qualifiedName(){return this._namespacePrefix?this._namespacePrefix+":"+this._localName:this._localName}get _htmlUppercasedQualifiedName(){let e=this._qualifiedName;return this._namespace===o.namespace.HTML&&"html"===this._nodeDocument._type&&(e=e.toUpperCase()),e}get children(){throw new Error("Mixin: ParentNode not implemented.")}get firstElementChild(){throw new Error("Mixin: ParentNode not implemented.")}get lastElementChild(){throw new Error("Mixin: ParentNode not implemented.")}get childElementCount(){throw new Error("Mixin: ParentNode not implemented.")}prepend(...e){throw new Error("Mixin: ParentNode not implemented.")}append(...e){throw new Error("Mixin: ParentNode not implemented.")}querySelector(e){throw new Error("Mixin: ParentNode not implemented.")}querySelectorAll(e){throw new Error("Mixin: ParentNode not implemented.")}get previousElementSibling(){throw new Error("Mixin: NonDocumentTypeChildNode not implemented.")}get nextElementSibling(){throw new Error("Mixin: NonDocumentTypeChildNode not implemented.")}before(...e){throw new Error("Mixin: ChildNode not implemented.")}after(...e){throw new Error("Mixin: ChildNode not implemented.")}replaceWith(...e){throw new Error("Mixin: ChildNode not implemented.")}remove(){throw new Error("Mixin: ChildNode not implemented.")}get assignedSlot(){throw new Error("Mixin: Slotable not implemented.")}static _create(e,t,r=null,n=null){const i=new u;return i._localName=t,i._namespace=r,i._namespacePrefix=n,i._nodeDocument=e,i}}t.ElementImpl=u,l.idl_defineConst(u.prototype,"_nodeType",n.NodeType.Element)},3768:function(e,t,r){var n=r("3fb5"),i=r("b639").Buffer,a=r("7f7a"),o=a.base,s=a.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.Node.call(this,"der",e)}function c(e){return e<10?"0"+e:e}function d(e,t,r,n){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),s.tagByName.hasOwnProperty(e))i=s.tagByName[e];else{if("number"!==typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=s.tagClassByName[r||"universal"]<<6,i)}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,o.Node),u.prototype._encodeComposite=function(e,t,r,n){var a=d(e,t,r,this.reporter);if(n.length<128){var o=new i(2);return o[0]=a,o[1]=n.length,this._createEncoderBuffer([o,n])}for(var s=1,l=n.length;l>=256;l>>=8)s++;o=new i(2+s);o[0]=a,o[1]=128|s;l=1+s;for(var u=n.length;u>0;l--,u>>=8)o[l]=255&u;return this._createEncoderBuffer([o,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new i(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,r){if("string"===typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var a=0;for(n=0;n<e.length;n++){var o=e[n];for(a++;o>=128;o>>=7)a++}var s=new i(a),l=s.length-1;for(n=e.length-1;n>=0;n--){o=e[n];s[l--]=127&o;while((o>>=7)>0)s[l--]=128|127&o}return this._createEncoderBuffer(s)},u.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[c(n.getFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[c(n.getFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new i(r)}if(i.isBuffer(e)){var n=e.length;0===e.length&&n++;var a=new i(n);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var o=e;o>=256;o>>=8)n++;for(a=new Array(n),o=a.length-1;o>=0;o--)a[o]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new i(a))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i["default"])return!1;var a=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i["default"],t,r).join()),a.length!==i.defaultBuffer.length)return!1;for(n=0;n<a.length;n++)if(a[n]!==i.defaultBuffer[n])return!1;return!0}},"37e6":function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(13).Buffer}catch(x){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else{var s=e.length-t;for(n=s%2===0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8}this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var d=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},a.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=h;p++){var f=u-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,c+=o/67108864|0,d=67108863&o}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}a.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,r=0!==a||o!==this.length-1?c[6-l.length]+l+r:l+r,i+=2,i>=26&&(i-=26,o--)}0!==a&&(r=a.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],p=h[e];r="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),r=f.isZero()?m+r:c[u-m.length]+m+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n("undefined"!==typeof o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,l="le"===t,u=new e(a),c=this.clone();if(l){for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)t=(0|r.words[o])-(0|n.words[o])+a,a=t>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)t=(0|r.words[o])+a,a=t>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,u=0,c=0|o[0],d=8191&c,h=c>>>13,p=0|o[1],f=8191&p,m=p>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],w=8191&y,_=y>>>13,S=0|o[4],E=8191&S,M=S>>>13,T=0|o[5],C=8191&T,x=T>>>13,A=0|o[6],N=8191&A,O=A>>>13,R=0|o[7],L=8191&R,k=R>>>13,I=0|o[8],D=8191&I,P=I>>>13,j=0|o[9],F=8191&j,H=j>>>13,B=0|s[0],U=8191&B,V=B>>>13,Y=0|s[1],z=8191&Y,W=Y>>>13,q=0|s[2],G=8191&q,K=q>>>13,X=0|s[3],Z=8191&X,$=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,U),i=Math.imul(d,V),i=i+Math.imul(h,U)|0,a=Math.imul(h,V);var ge=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=Math.imul(f,V),i=i+Math.imul(m,U)|0,a=Math.imul(m,V),n=n+Math.imul(d,z)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,z)|0,a=a+Math.imul(h,W)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,U),i=Math.imul(v,V),i=i+Math.imul(b,U)|0,a=Math.imul(b,V),n=n+Math.imul(f,z)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0,n=n+Math.imul(d,G)|0,i=i+Math.imul(d,K)|0,i=i+Math.imul(h,G)|0,a=a+Math.imul(h,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,U),i=Math.imul(w,V),i=i+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,z)|0,i=i+Math.imul(v,W)|0,i=i+Math.imul(b,z)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(f,G)|0,i=i+Math.imul(f,K)|0,i=i+Math.imul(m,G)|0,a=a+Math.imul(m,K)|0,n=n+Math.imul(d,Z)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,Z)|0,a=a+Math.imul(h,$)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(E,U),i=Math.imul(E,V),i=i+Math.imul(M,U)|0,a=Math.imul(M,V),n=n+Math.imul(w,z)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,z)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(b,G)|0,a=a+Math.imul(b,K)|0,n=n+Math.imul(f,Z)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,ee)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,U),i=Math.imul(C,V),i=i+Math.imul(x,U)|0,a=Math.imul(x,V),n=n+Math.imul(E,z)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,z)|0,a=a+Math.imul(M,W)|0,n=n+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(v,$)|0,i=i+Math.imul(b,Z)|0,a=a+Math.imul(b,$)|0,n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ne)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(N,U),i=Math.imul(N,V),i=i+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(C,z)|0,i=i+Math.imul(C,W)|0,i=i+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(M,G)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,Z)|0,i=i+Math.imul(w,$)|0,i=i+Math.imul(_,Z)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(h,ae)|0,a=a+Math.imul(h,oe)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,U),i=Math.imul(L,V),i=i+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(N,z)|0,i=i+Math.imul(N,W)|0,i=i+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(C,G)|0,i=i+Math.imul(C,K)|0,i=i+Math.imul(x,G)|0,a=a+Math.imul(x,K)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(M,Z)|0,a=a+Math.imul(M,$)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=i+Math.imul(v,ne)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(f,ae)|0,i=i+Math.imul(f,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,n=n+Math.imul(d,le)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ue)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,U),i=Math.imul(D,V),i=i+Math.imul(P,U)|0,a=Math.imul(P,V),n=n+Math.imul(L,z)|0,i=i+Math.imul(L,W)|0,i=i+Math.imul(k,z)|0,a=a+Math.imul(k,W)|0,n=n+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(O,G)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(C,Z)|0,i=i+Math.imul(C,$)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(w,re)|0,i=i+Math.imul(w,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(v,ae)|0,i=i+Math.imul(v,oe)|0,i=i+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,a=a+Math.imul(h,he)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,U),i=Math.imul(F,V),i=i+Math.imul(H,U)|0,a=Math.imul(H,V),n=n+Math.imul(D,z)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(P,z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(L,G)|0,i=i+Math.imul(L,K)|0,i=i+Math.imul(k,G)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(N,Z)|0,i=i+Math.imul(N,$)|0,i=i+Math.imul(O,Z)|0,a=a+Math.imul(O,$)|0,n=n+Math.imul(C,Q)|0,i=i+Math.imul(C,ee)|0,i=i+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(w,ae)|0,i=i+Math.imul(w,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(v,le)|0,i=i+Math.imul(v,ue)|0,i=i+Math.imul(b,le)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0,n=n+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,a=a+Math.imul(h,me)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,z),i=Math.imul(F,W),i=i+Math.imul(H,z)|0,a=Math.imul(H,W),n=n+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(P,G)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(k,Z)|0,a=a+Math.imul(k,$)|0,n=n+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(C,re)|0,i=i+Math.imul(C,ne)|0,i=i+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(E,ae)|0,i=i+Math.imul(E,oe)|0,i=i+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(w,le)|0,i=i+Math.imul(w,ue)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(b,de)|0,a=a+Math.imul(b,he)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,a=a+Math.imul(m,me)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,G),i=Math.imul(F,K),i=i+Math.imul(H,G)|0,a=Math.imul(H,K),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,$)|0,i=i+Math.imul(P,Z)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(L,Q)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(N,re)|0,i=i+Math.imul(N,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(C,ae)|0,i=i+Math.imul(C,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(E,le)|0,i=i+Math.imul(E,ue)|0,i=i+Math.imul(M,le)|0,a=a+Math.imul(M,ue)|0,n=n+Math.imul(w,de)|0,i=i+Math.imul(w,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,he)|0,n=n+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(b,fe)|0,a=a+Math.imul(b,me)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,Z),i=Math.imul(F,$),i=i+Math.imul(H,Z)|0,a=Math.imul(H,$),n=n+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(N,ae)|0,i=i+Math.imul(N,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(C,le)|0,i=i+Math.imul(C,ue)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(M,de)|0,a=a+Math.imul(M,he)|0,n=n+Math.imul(w,fe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,Q),i=Math.imul(F,ee),i=i+Math.imul(H,Q)|0,a=Math.imul(H,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(P,re)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(N,le)|0,i=i+Math.imul(N,ue)|0,i=i+Math.imul(O,le)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(C,de)|0,i=i+Math.imul(C,he)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,he)|0,n=n+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(M,fe)|0,a=a+Math.imul(M,me)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(H,re)|0,a=Math.imul(H,ne),n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ue)|0,i=i+Math.imul(k,le)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(N,de)|0,i=i+Math.imul(N,he)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,he)|0,n=n+Math.imul(C,fe)|0,i=i+Math.imul(C,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,ae),i=Math.imul(F,oe),i=i+Math.imul(H,ae)|0,a=Math.imul(H,oe),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(P,le)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0,n=n+Math.imul(N,fe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(O,fe)|0,a=a+Math.imul(O,me)|0;var Re=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(H,le)|0,a=Math.imul(H,ue),n=n+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(k,fe)|0,a=a+Math.imul(k,me)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,de),i=Math.imul(F,he),i=i+Math.imul(H,de)|0,a=Math.imul(H,he),n=n+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(P,fe)|0,a=a+Math.imul(P,me)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,fe),i=Math.imul(F,me),i=i+Math.imul(H,fe)|0,a=Math.imul(H,me);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=Se,l[7]=Ee,l[8]=Me,l[9]=Te,l[10]=Ce,l[11]=xe,l[12]=Ae,l[13]=Ne,l[14]=Oe,l[15]=Re,l[16]=Le,l[17]=ke,l[18]=Ie,0!==u&&(l[19]=u,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=l;u++){var c=a-u,d=0|e.words[c],h=0|t.words[u],p=d*h,f=67108863&p;o=o+(p/67108864|0)|0,f=f+s|0,s=67108863&f,o=o+(f>>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function v(e,t,r){var n=new b;return n.mulp(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?m(this,e,t):n<63?f(this,e,t):n<1024?g(this,e,t):v(this,e,t),r},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},b.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,p=0;p<o;p++){var f=r[c+p],m=n[c+p],g=r[c+p+o],v=n[c+p+o],b=d*g-h*v;v=d*v+h*g,g=b,r[c+p]=f+g,n[c+p]=m+v,r[c+p+o]=f-g,n[c+p+o]=m-v,p!==s&&(b=l*d-u*h,h=l*h+u*d,d=b)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,l,n,i),this.transform(u,a,c,d,n,i);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),v(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=p(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var a=this.words[r];return!!(a&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;a-=67108863&l,s=(a>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)a=(0|this.words[i+r])+s,s=a>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)a=-(0|this.words[i])+s,s=a>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1],s=this._countBits(o);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new a(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var d=n.clone()._ishlnsubmul(i,1,u);0===d.negative&&(n=d,l&&(l.words[u]=1));for(var h=u-1;h>=0;h--){var p=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,h);while(0!==n.negative)p--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new a(1),o=new a(0),s=new a(0),l=new a(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),d=t.clone();while(!t.isZero()){for(var h=0,p=1;0===(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0){t.iushrn(h);while(h-- >0)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(d)),i.iushrn(1),o.iushrn(1)}for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0){r.iushrn(f);while(f-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(l)):(r.isub(t),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,o=new a(1),s=new a(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)o.isOdd()&&o.iadd(l),o.iushrn(1)}for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0){r.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return i=0===t.cmpn(1)?o:s,i.cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new T(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,w),i(E,w),i(M,w),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return y[e]=t,t},T.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},T.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},T.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},T.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},T.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},T.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},T.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),o=0;while(!i.isZero()&&0===i.andln(1))o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new a(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),f=o;while(0!==p.cmp(s)){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new a(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},T.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},T.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new a(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var o=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var h=c>>d&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==s?(s<<=1,s|=h,l++,(l===r||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)):l=0}u=26}return o},T.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},T.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},i(C,T),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},"380f":function(e,t,r){"use strict";var n=r("f3a3"),i=n.assert,a=n.parseBytes,o=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=a(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=a(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},o(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),o(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),o(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),o(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),o(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),o(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=s},3886:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}});return t}))},"399f":function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(10).Buffer}catch(O){}function s(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,i){for(var a=0,o=0,s=Math.min(e.length,r),l=t;l<s;l++){var u=e.charCodeAt(l)-48;a*=i,o=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&o<i,"Invalid character"),a+=o}return a}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);return this._strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else{var s=e.length-t;for(n=s%2===0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8}this._strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var d=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this._strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype._move=function(e){c(e,this)},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},a.prototype._strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(O){a.prototype.inspect=d}else a.prototype.inspect=d;function d(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,i+=2,i>=26&&(i-=26,o--),r=0!==a||o!==this.length-1?h[6-l.length]+l+r:l+r}0!==a&&(r=a.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=p[e],c=f[e];r="";var d=this.clone();d.negative=0;while(!d.isZero()){var m=d.modrn(c).toString(e);d=d.idivn(c),r=d.isZero()?m+r:h[u-m.length]+m+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},o&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var m=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function g(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=e.words[n]>>>i&1}return t}function v(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=h;p++){var f=u-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,c+=o/67108864|0,d=67108863&o}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r._strip()}a.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0");var o=m(e,a),s="le"===t?"LE":"BE";return this["_toArrayLike"+s](o,i),o},a.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,a=0;i<this.length;i++){var o=this.words[i]<<a|n;e[r++]=255&o,r<e.length&&(e[r++]=o>>8&255),r<e.length&&(e[r++]=o>>16&255),6===a?(r<e.length&&(e[r++]=o>>24&255),n=0,a=0):(n=o>>>24,a+=2)}if(r<e.length){e[r++]=n;while(r<e.length)e[r++]=0}},a.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,a=0;i<this.length;i++){var o=this.words[i]<<a|n;e[r--]=255&o,r>=0&&(e[r--]=o>>8&255),r>=0&&(e[r--]=o>>16&255),6===a?(r>=0&&(e[r--]=o>>24&255),n=0,a=0):(n=o>>>24,a+=2)}if(r>=0){e[r--]=n;while(r>=0)e[r--]=0}},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)t=(0|r.words[o])-(0|n.words[o])+a,a=t>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)t=(0|r.words[o])+a,a=t>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var b=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,u=0,c=0|o[0],d=8191&c,h=c>>>13,p=0|o[1],f=8191&p,m=p>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],w=8191&y,_=y>>>13,S=0|o[4],E=8191&S,M=S>>>13,T=0|o[5],C=8191&T,x=T>>>13,A=0|o[6],N=8191&A,O=A>>>13,R=0|o[7],L=8191&R,k=R>>>13,I=0|o[8],D=8191&I,P=I>>>13,j=0|o[9],F=8191&j,H=j>>>13,B=0|s[0],U=8191&B,V=B>>>13,Y=0|s[1],z=8191&Y,W=Y>>>13,q=0|s[2],G=8191&q,K=q>>>13,X=0|s[3],Z=8191&X,$=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,U),i=Math.imul(d,V),i=i+Math.imul(h,U)|0,a=Math.imul(h,V);var ge=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=Math.imul(f,V),i=i+Math.imul(m,U)|0,a=Math.imul(m,V),n=n+Math.imul(d,z)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,z)|0,a=a+Math.imul(h,W)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,U),i=Math.imul(v,V),i=i+Math.imul(b,U)|0,a=Math.imul(b,V),n=n+Math.imul(f,z)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0,n=n+Math.imul(d,G)|0,i=i+Math.imul(d,K)|0,i=i+Math.imul(h,G)|0,a=a+Math.imul(h,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,U),i=Math.imul(w,V),i=i+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,z)|0,i=i+Math.imul(v,W)|0,i=i+Math.imul(b,z)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(f,G)|0,i=i+Math.imul(f,K)|0,i=i+Math.imul(m,G)|0,a=a+Math.imul(m,K)|0,n=n+Math.imul(d,Z)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,Z)|0,a=a+Math.imul(h,$)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(E,U),i=Math.imul(E,V),i=i+Math.imul(M,U)|0,a=Math.imul(M,V),n=n+Math.imul(w,z)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,z)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(b,G)|0,a=a+Math.imul(b,K)|0,n=n+Math.imul(f,Z)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,ee)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,U),i=Math.imul(C,V),i=i+Math.imul(x,U)|0,a=Math.imul(x,V),n=n+Math.imul(E,z)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,z)|0,a=a+Math.imul(M,W)|0,n=n+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(v,$)|0,i=i+Math.imul(b,Z)|0,a=a+Math.imul(b,$)|0,n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ne)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(N,U),i=Math.imul(N,V),i=i+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(C,z)|0,i=i+Math.imul(C,W)|0,i=i+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(M,G)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,Z)|0,i=i+Math.imul(w,$)|0,i=i+Math.imul(_,Z)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(h,ae)|0,a=a+Math.imul(h,oe)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,U),i=Math.imul(L,V),i=i+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(N,z)|0,i=i+Math.imul(N,W)|0,i=i+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(C,G)|0,i=i+Math.imul(C,K)|0,i=i+Math.imul(x,G)|0,a=a+Math.imul(x,K)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(M,Z)|0,a=a+Math.imul(M,$)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=i+Math.imul(v,ne)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(f,ae)|0,i=i+Math.imul(f,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,n=n+Math.imul(d,le)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ue)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,U),i=Math.imul(D,V),i=i+Math.imul(P,U)|0,a=Math.imul(P,V),n=n+Math.imul(L,z)|0,i=i+Math.imul(L,W)|0,i=i+Math.imul(k,z)|0,a=a+Math.imul(k,W)|0,n=n+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(O,G)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(C,Z)|0,i=i+Math.imul(C,$)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(w,re)|0,i=i+Math.imul(w,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(v,ae)|0,i=i+Math.imul(v,oe)|0,i=i+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,a=a+Math.imul(h,he)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,U),i=Math.imul(F,V),i=i+Math.imul(H,U)|0,a=Math.imul(H,V),n=n+Math.imul(D,z)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(P,z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(L,G)|0,i=i+Math.imul(L,K)|0,i=i+Math.imul(k,G)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(N,Z)|0,i=i+Math.imul(N,$)|0,i=i+Math.imul(O,Z)|0,a=a+Math.imul(O,$)|0,n=n+Math.imul(C,Q)|0,i=i+Math.imul(C,ee)|0,i=i+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(w,ae)|0,i=i+Math.imul(w,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(v,le)|0,i=i+Math.imul(v,ue)|0,i=i+Math.imul(b,le)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0,n=n+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,a=a+Math.imul(h,me)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,z),i=Math.imul(F,W),i=i+Math.imul(H,z)|0,a=Math.imul(H,W),n=n+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(P,G)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(k,Z)|0,a=a+Math.imul(k,$)|0,n=n+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(C,re)|0,i=i+Math.imul(C,ne)|0,i=i+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(E,ae)|0,i=i+Math.imul(E,oe)|0,i=i+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(w,le)|0,i=i+Math.imul(w,ue)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(b,de)|0,a=a+Math.imul(b,he)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,a=a+Math.imul(m,me)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,G),i=Math.imul(F,K),i=i+Math.imul(H,G)|0,a=Math.imul(H,K),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,$)|0,i=i+Math.imul(P,Z)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(L,Q)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(N,re)|0,i=i+Math.imul(N,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(C,ae)|0,i=i+Math.imul(C,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(E,le)|0,i=i+Math.imul(E,ue)|0,i=i+Math.imul(M,le)|0,a=a+Math.imul(M,ue)|0,n=n+Math.imul(w,de)|0,i=i+Math.imul(w,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,he)|0,n=n+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(b,fe)|0,a=a+Math.imul(b,me)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,Z),i=Math.imul(F,$),i=i+Math.imul(H,Z)|0,a=Math.imul(H,$),n=n+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(N,ae)|0,i=i+Math.imul(N,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(C,le)|0,i=i+Math.imul(C,ue)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(M,de)|0,a=a+Math.imul(M,he)|0,n=n+Math.imul(w,fe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,Q),i=Math.imul(F,ee),i=i+Math.imul(H,Q)|0,a=Math.imul(H,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(P,re)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(N,le)|0,i=i+Math.imul(N,ue)|0,i=i+Math.imul(O,le)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(C,de)|0,i=i+Math.imul(C,he)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,he)|0,n=n+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(M,fe)|0,a=a+Math.imul(M,me)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(H,re)|0,a=Math.imul(H,ne),n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ue)|0,i=i+Math.imul(k,le)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(N,de)|0,i=i+Math.imul(N,he)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,he)|0,n=n+Math.imul(C,fe)|0,i=i+Math.imul(C,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,ae),i=Math.imul(F,oe),i=i+Math.imul(H,ae)|0,a=Math.imul(H,oe),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(P,le)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0,n=n+Math.imul(N,fe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(O,fe)|0,a=a+Math.imul(O,me)|0;var Re=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(H,le)|0,a=Math.imul(H,ue),n=n+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(k,fe)|0,a=a+Math.imul(k,me)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,de),i=Math.imul(F,he),i=i+Math.imul(H,de)|0,a=Math.imul(H,he),n=n+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(P,fe)|0,a=a+Math.imul(P,me)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,fe),i=Math.imul(F,me),i=i+Math.imul(H,fe)|0,a=Math.imul(H,me);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=Se,l[7]=Ee,l[8]=Me,l[9]=Te,l[10]=Ce,l[11]=xe,l[12]=Ae,l[13]=Ne,l[14]=Oe,l[15]=Re,l[16]=Le,l[17]=ke,l[18]=Ie,0!==u&&(l[19]=u,r.length++),r};function y(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=l;u++){var c=a-u,d=0|e.words[c],h=0|t.words[u],p=d*h,f=67108863&p;o=o+(p/67108864|0)|0,f=f+s|0,s=67108863&f,o=o+(f>>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r._strip()}function w(e,t,r){return y(e,t,r)}function _(e,t){this.x=e,this.y=t}Math.imul||(b=v),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?b(this,e,t):n<63?v(this,e,t):n<1024?y(this,e,t):w(this,e,t),r},_.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},_.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},_.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},_.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,p=0;p<o;p++){var f=r[c+p],m=n[c+p],g=r[c+p+o],v=n[c+p+o],b=d*g-h*v;v=d*v+h*g,g=b,r[c+p]=f+g,n[c+p]=m+v,r[c+p+o]=f-g,n[c+p+o]=m-v,p!==s&&(b=l*d-u*h,h=l*h+u*d,d=b)}},_.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},_.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},_.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},_.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},_.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},_.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,l,n,i),this.transform(u,a,c,d,n,i);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),w(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"===typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var a=(0|this.words[i])*e,o=(67108863&a)+(67108863&r);r>>=26,r+=a/67108864|0,r+=o>>>26,this.words[i]=67108863&o}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=g(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var a=this.words[r];return!!(a&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;a-=67108863&l,s=(a>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)a=(0|this.words[i+r])+s,s=a>>26,this.words[i+r]=67108863&a;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)a=-(0|this.words[i])+s,s=a>>26,this.words[i]=67108863&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1],s=this._countBits(o);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new a(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var d=n.clone()._ishlnsubmul(i,1,u);0===d.negative&&(n=d,l&&(l.words[u]=1));for(var h=u-1;h>=0;h--){var p=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,h);while(0!==n.negative)p--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);l&&(l.words[h]=p)}return l&&l._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,a=this.length-1;a>=0;a--)i=(r*i+(0|this.words[a]))%e;return t?-i:i},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var a=(0|this.words[i])+67108864*r;this.words[i]=a/e|0,r=a%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new a(1),o=new a(0),s=new a(0),l=new a(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),d=t.clone();while(!t.isZero()){for(var h=0,p=1;0===(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0){t.iushrn(h);while(h-- >0)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(d)),i.iushrn(1),o.iushrn(1)}for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0){r.iushrn(f);while(f-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(l)):(r.isub(t),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,o=new a(1),s=new a(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)o.isOdd()&&o.iadd(l),o.iushrn(1)}for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0){r.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return i=0===t.cmpn(1)?o:s,i.cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new A(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var S={k256:null,p224:null,p192:null,p25519:null};function E(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){E.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function N(e){A.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}E.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},E.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},E.prototype.split=function(e,t){e.iushrn(this.n,0,t)},E.prototype.imulK=function(e){return e.imul(this.k)},i(M,E),M.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},M.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(T,E),i(C,E),i(x,E),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(S[e])return S[e];var t;if("k256"===e)t=new M;else if("p224"===e)t=new T;else if("p192"===e)t=new C;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return S[e]=t,t},A.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},A.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},A.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},A.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},A.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},A.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},A.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},A.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},A.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},A.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},A.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},A.prototype.isqr=function(e){return this.imul(e,e.clone())},A.prototype.sqr=function(e){return this.mul(e,e)},A.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),o=0;while(!i.isZero()&&0===i.andln(1))o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new a(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),f=o;while(0!==p.cmp(s)){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new a(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},A.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new a(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var o=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var h=c>>d&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==s?(s<<=1,s|=h,l++,(l===r||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)):l=0}u=26}return o},A.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},A.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new N(e)},i(N,A),N.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},N.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},N.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},N.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},N.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},"39a6":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},"39bd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,r,n){var i="";if(t)switch(r){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे";break}else switch(r){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां";break}return i.replace(/%d/i,e)}var i=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,r){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i}))},"39f5":function(e,t,r){var n=r("8707").Buffer;function i(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function a(e){for(var t=0;t<e.length;e++)e[t]=0}function o(e,t,r,n,i){for(var a,o,s,l,u=r[0],c=r[1],d=r[2],h=r[3],p=e[0]^t[0],f=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],v=4,b=1;b<i;b++)a=u[p>>>24]^c[f>>>16&255]^d[m>>>8&255]^h[255&g]^t[v++],o=u[f>>>24]^c[m>>>16&255]^d[g>>>8&255]^h[255&p]^t[v++],s=u[m>>>24]^c[g>>>16&255]^d[p>>>8&255]^h[255&f]^t[v++],l=u[g>>>24]^c[p>>>16&255]^d[f>>>8&255]^h[255&m]^t[v++],p=a,f=o,m=s,g=l;return a=(n[p>>>24]<<24|n[f>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^t[v++],o=(n[f>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&p])^t[v++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[p>>>8&255]<<8|n[255&f])^t[v++],l=(n[g>>>24]<<24|n[p>>>16&255]<<16|n[f>>>8&255]<<8|n[255&m])^t[v++],a>>>=0,o>>>=0,s>>>=0,l>>>=0,[a,o,s,l]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,l=0;l<256;++l){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[o]=u,n[u]=o;var c=e[o],d=e[c],h=e[d],p=257*e[u]^16843008*u;i[0][o]=p<<24|p>>>8,i[1][o]=p<<16|p>>>16,i[2][o]=p<<8|p>>>24,i[3][o]=p,p=16843009*h^65537*d^257*c^16843008*o,a[0][u]=p<<24|p>>>8,a[1][u]=p<<16|p>>>16,a[2][u]=p<<8|p>>>24,a[3][u]=p,0===o?o=s=1:(o=c^e[e[e[h^c]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:a}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],a=0;a<t;a++)i[a]=e[a];for(a=t;a<n;a++){var o=i[a-1];a%t===0?(o=o<<8|o>>>24,o=l.SBOX[o>>>24]<<24|l.SBOX[o>>>16&255]<<16|l.SBOX[o>>>8&255]<<8|l.SBOX[255&o],o^=s[a/t|0]<<24):t>6&&a%t===4&&(o=l.SBOX[o>>>24]<<24|l.SBOX[o>>>16&255]<<16|l.SBOX[o>>>8&255]<<8|l.SBOX[255&o]),i[a]=i[a-t]^o}for(var u=[],c=0;c<n;c++){var d=n-c,h=i[d-(c%4?0:4)];u[c]=c<4||d<=4?h:l.INV_SUB_MIX[0][l.SBOX[h>>>24]]^l.INV_SUB_MIX[1][l.SBOX[h>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[h>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return e=i(e),o(e,this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){e=i(e);var t=e[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),a=n.allocUnsafe(16);return a.writeUInt32BE(r[0],0),a.writeUInt32BE(r[3],4),a.writeUInt32BE(r[2],8),a.writeUInt32BE(r[1],12),a},u.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=u},"3a39":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,r){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return n}))},"3a6c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"3a7c":function(e,t,r){(function(e){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function n(e){return"boolean"===typeof e}function i(e){return null===e}function a(e){return null==e}function o(e){return"number"===typeof e}function s(e){return"string"===typeof e}function l(e){return"symbol"===typeof e}function u(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function d(e){return"object"===typeof e&&null!==e}function h(e){return"[object Date]"===g(e)}function p(e){return"[object Error]"===g(e)||e instanceof Error}function f(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=r,t.isBoolean=n,t.isNull=i,t.isNullOrUndefined=a,t.isNumber=o,t.isString=s,t.isSymbol=l,t.isUndefined=u,t.isRegExp=c,t.isObject=d,t.isDate=h,t.isError=p,t.isFunction=f,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,r("b639").Buffer)},"3b1b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},r=e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}});return r}))},"3bc4":function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n=/^(\r\n|\n\r|\r|\n)/,i=/^[^\t\r\n]+/,a=/^\t/;function o(e){const t=[[""]];if(0===e.length)return t;let r,o=0,s=0;while(e.length>0){if(r===e.length)break;if(r=e.length,e.match(a))e=e.replace(a,""),o+=1,t[s][o]="";else if(e.match(n))e=e.replace(n,""),o=0,s+=1,t[s]=[""];else{let r="";if(e.startsWith('"')){let t=0,n=!0;while(n){const i=e.slice(0,1);'"'===i&&(t+=1),r+=i,e=e.slice(1),(0===e.length||e.match(/^[\t\r\n]/)&&t%2===0)&&(n=!1)}r=r.replace(/^"/,"").replace(/"$/,"").replace(/["]*/g,e=>new Array(Math.floor(e.length/2)).fill('"').join(""))}else{const t=e.match(i);r=t?t[0]:"",e=e.slice(r.length)}t[s][o]=r}}return t}function s(e){let t,r,n,i,a,o="";for(t=0,r=e.length;t<r;t+=1){for(i=e[t].length,n=0;n<i;n+=1)n>0&&(o+="\t"),a=e[t][n],"string"===typeof a?a.indexOf("\n")>-1?o+=`"${a.replace(/"/g,'""')}"`:o+=a:o+=null===a||void 0===a?"":a;t!==r-1&&(o+="\n")}return o}},"3bc6":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("42e9"),a=r("9af8"),o=r("8c5c"),s=r("802d"),l=r("0fc1"),u=r("4b7d"),c=r("7ef7"),d=r("dc6b");function h(e){e._cancelable&&!e._inPassiveListenerFlag&&(e._canceledFlag=!0)}function p(e,t,r,n){e._initializedFlag=!0,e._stopPropagationFlag=!1,e._stopImmediatePropagationFlag=!1,e._canceledFlag=!1,e._isTrusted=!1,e._target=null,e._type=t,e._bubbles=r,e._cancelable=n}function f(e,t){void 0===t&&(t=null);const r={},n=m(e,t,new Date,r);return n._isTrusted=!0,n}function m(e,t,r,i){const a=new e("");return a._initializedFlag=!0,a._timeStamp=r.getTime(),Object.assign(a,i),n.dom.features.steps&&d.dom_runEventConstructingSteps(a),a}function g(e,t,r=!1,n={value:!1}){let o=!1;e._dispatchFlag=!0;let s=t;if(r){const e=t._associatedDocument;a.Guard.isDocumentNode(e)&&(s=e)}let l=null,d=u.tree_retarget(e._relatedTarget,t);if(t!==d||t===e._relatedTarget){let r=[];for(const n of e._touchTargetList)r.push(u.tree_retarget(n,t));v(e,t,s,d,r,!1);const h=a.Guard.isMouseEvent(e)&&"click"===e._type;h&&void 0!==t._activationBehavior&&(l=t);let p=a.Guard.isSlotable(t)&&c.shadowTree_isAssigned(t)?t:null,f=!1,m=t._getTheParent(e);while(null!==m&&a.Guard.isNode(m)){if(null!==p){if(!a.Guard.isSlot(m))throw new Error("Parent node of a slotable should be a slot.");p=null;const e=u.tree_rootNode(m,!0);a.Guard.isShadowRoot(e)&&"closed"===e._mode&&(f=!0)}a.Guard.isSlotable(m)&&c.shadowTree_isAssigned(m)&&(p=m),d=u.tree_retarget(e._relatedTarget,m),r=[];for(const t of e._touchTargetList)r.push(u.tree_retarget(t,m));a.Guard.isWindow(m)||a.Guard.isNode(m)&&a.Guard.isNode(t)&&u.tree_isAncestorOf(u.tree_rootNode(t,!0),m,!0,!0)?(h&&e._bubbles&&null===l&&m._activationBehavior&&(l=m),v(e,m,null,d,r,f)):m===d?m=null:(t=m,h&&null===l&&t._activationBehavior&&(l=t),v(e,m,t,d,r,f)),null!==m&&(m=m._getTheParent(e)),f=!1}let g=null;const y=e._path;for(let e=y.length-1;e>=0;e--){const t=y[e];if(null!==t.shadowAdjustedTarget){g=t;break}}if(null!==g)if(a.Guard.isNode(g.shadowAdjustedTarget)&&a.Guard.isShadowRoot(u.tree_rootNode(g.shadowAdjustedTarget,!0)))o=!0;else if(a.Guard.isNode(g.relatedTarget)&&a.Guard.isShadowRoot(u.tree_rootNode(g.relatedTarget,!0)))o=!0;else for(let e=0;e<g.touchTargetList.length;e++){const t=g.touchTargetList[e];if(a.Guard.isNode(t)&&a.Guard.isShadowRoot(u.tree_rootNode(t,!0))){o=!0;break}}null!==l&&void 0!==l._legacyPreActivationBehavior&&l._legacyPreActivationBehavior(e);for(let t=y.length-1;t>=0;t--){const r=y[t];null!==r.shadowAdjustedTarget?e._eventPhase=i.EventPhase.AtTarget:e._eventPhase=i.EventPhase.Capturing,b(r,e,"capturing",n)}for(let t=0;t<y.length;t++){const r=y[t];if(null!==r.shadowAdjustedTarget)e._eventPhase=i.EventPhase.AtTarget;else{if(!e._bubbles)continue;e._eventPhase=i.EventPhase.Bubbling}b(r,e,"bubbling",n)}}return e._eventPhase=i.EventPhase.None,e._currentTarget=null,e._path=[],e._dispatchFlag=!1,e._stopPropagationFlag=!1,e._stopImmediatePropagationFlag=!1,o&&(e._target=null,e._relatedTarget=null,e._touchTargetList=[]),null!==l&&(e._canceledFlag||void 0===l._activationBehavior?void 0!==l._legacyCanceledActivationBehavior&&l._legacyCanceledActivationBehavior(e):l._activationBehavior(e)),!e._canceledFlag}function v(e,t,r,n,i,o){let s=!1;a.Guard.isNode(t)&&a.Guard.isShadowRoot(u.tree_rootNode(t))&&(s=!0);let l=!1;a.Guard.isShadowRoot(t)&&"closed"===t._mode&&(l=!0),e._path.push({invocationTarget:t,invocationTargetInShadowTree:s,shadowAdjustedTarget:r,relatedTarget:n,touchTargetList:i,rootOfClosedTree:l,slotInClosedTree:o})}function b(e,t,r,n={value:!1}){const i=t._path;let a=-1;for(let c=0;c<i.length;c++)if(i[c]===e){a=c;break}if(-1!==a){let e=i[a];null!==e.shadowAdjustedTarget?t._target=e.shadowAdjustedTarget:a>0&&(e=i[a-1],null!==e.shadowAdjustedTarget&&(t._target=e.shadowAdjustedTarget))}if(t._relatedTarget=e.relatedTarget,t._touchTargetList=e.touchTargetList,t._stopPropagationFlag)return;t._currentTarget=e.invocationTarget;const o=t._currentTarget,s=o._eventListenerList;let l=new Array(...s);const u=y(t,l,r,e,n);if(!u&&t._isTrusted){const i=t._type;"animationend"===i?t._type="webkitAnimationEnd":"animationiteration"===i?t._type="webkitAnimationIteration":"animationstart"===i?t._type="webkitAnimationStart":"transitionend"===i&&(t._type="webkitTransitionEnd"),y(t,l,r,e,n),t._type=i}}function y(e,t,r,n,i={value:!1}){let o=!1;for(let l=0;l<t.length;l++){const u=t[l];if(!u.removed){if(e._type!==u.type)continue;if(o=!0,"capturing"===r&&!u.capture)continue;if("bubbling"===r&&u.capture)continue;if(u.once&&null!==e._currentTarget){const t=e._currentTarget;let r=-1;for(let e=0;e<t._eventListenerList.length;e++)if(t._eventListenerList[e]===u){r=e;break}-1!==r&&t._eventListenerList.splice(r,1)}const t=void 0;let l=void 0;a.Guard.isWindow(t)&&(l=t._currentEvent,!1===n.invocationTargetInShadowTree&&(t._currentEvent=e)),u.passive&&(e._inPassiveListenerFlag=!0);try{u.callback.handleEvent.call(e._currentTarget,e)}catch(s){i.value=!0}if(u.passive&&(e._inPassiveListenerFlag=!1),a.Guard.isWindow(t)&&(t._currentEvent=l),e._stopImmediatePropagationFlag)return o}}return o}function w(e,t,r,n,i){void 0===r&&(r=s.EventImpl);const a=f(r);if(a._type=e,n)for(const o in n){const e=a;e[o]=n[o]}return g(a,t,i)}function _(e){let t=null;switch(e.toLowerCase()){case"beforeunloadevent":break;case"compositionevent":break;case"customevent":t=o.CustomEventImpl;break;case"devicemotionevent":break;case"deviceorientationevent":break;case"dragevent":break;case"event":case"events":t=s.EventImpl;break;case"focusevent":break;case"hashchangeevent":break;case"htmlevents":break;case"keyboardevent":break;case"messageevent":break;case"mouseevent":break;case"mouseevents":break;case"storageevent":break;case"svgevents":break;case"textevent":break;case"touchevent":break;case"uievent":break;case"uievents":break}if(null===t)throw new l.NotSupportedError(`Event constructor not found for interface ${e}.`);const r=new t("");return r._type="",r._timeStamp=(new Date).getTime(),r._isTrusted=!1,r._initializedFlag=!1,r}function S(e,t){const r=M(e,t);return null===r?null:T(r,t)}function E(e,t,r){const n=M(e,t);if(null!==n)if(null===r)x(n,t);else{const e=n._eventHandlerMap,i=e["onabort"];void 0!==i&&(i.value=r),C(n,t)}}function M(e,t){return null}function T(e,t){return null}function C(e,t){}function x(e,t){}t.event_setTheCanceledFlag=h,t.event_initialize=p,t.event_createAnEvent=f,t.event_innerEventCreationSteps=m,t.event_dispatch=g,t.event_appendToAnEventPath=v,t.event_invoke=b,t.event_innerInvoke=y,t.event_fireAnEvent=w,t.event_createLegacyEvent=_,t.event_getterEventHandlerIDLAttribute=S,t.event_setterEventHandlerIDLAttribute=E,t.event_determineTheTargetOfAnEventHandler=M,t.event_getTheCurrentValueOfAnEventHandler=T,t.event_activateAnEventHandler=C,t.event_deactivateAnEventHandler=x},"3c0d":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3d1b":function(e,t,r){t=e.exports=r("8b77"),t.Stream=t,t.Readable=t,t.Writable=r("5bc2"),t.Duplex=r("1715"),t.Transform=r("4e92"),t.PassThrough=r("461a")},"3d57":function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n=r("81ea");function i(e,t,r){return[...e.slice(0,t),...r,...e.slice(t)]}function a(e,t){return Object(n["arrayFilter"])(e,e=>!1===t.includes(e))}},"3d76":function(e,t,r){"use strict";r.d(t,"d",(function(){return c})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return s}));r("7a89");var n=r("9acd");const{register:i,getItem:a,hasItem:o,getNames:s,getValues:l}=Object(n["a"])("renderers");function u(e){if("function"===typeof e)return e;if(!o(e))throw Error(`No registered renderer found under "${e}" name`);return a(e)}function c(e,t){"string"!==typeof e&&(t=e,e=t.RENDERER_TYPE),i(e,t)}},"3d7e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("9af8"),a=r("0fc1"),o=r("4b7d"),s=r("7c81"),l=r("dc6b");function u(e,t,r,u){const c=o.tree_nodeLength(e);if(t>c)throw new a.IndexSizeError(`Offset exceeds character data length. Offset: ${t}, Length: ${c}, Node is ${e.nodeName}.`);t+r>c&&(r=c-t),n.dom.features.mutationObservers&&s.observer_queueMutationRecord("characterData",e,null,null,e._data,[],[],null,null);const d=e._data.substring(0,t)+u+e._data.substring(t+r);e._data=d;for(const i of n.dom.rangeList)i._start[0]===e&&i._start[1]>t&&i._start[1]<=t+r&&(i._start[1]=t),i._end[0]===e&&i._end[1]>t&&i._end[1]<=t+r&&(i._end[1]=t),i._start[0]===e&&i._start[1]>t+r&&(i._start[1]+=u.length-r),i._end[0]===e&&i._end[1]>t+r&&(i._end[1]+=u.length-r);n.dom.features.steps&&i.Guard.isTextNode(e)&&null!==e._parent&&l.dom_runChildTextContentChangeSteps(e._parent)}function c(e,t,r){const n=o.tree_nodeLength(e);if(t>n)throw new a.IndexSizeError(`Offset exceeds character data length. Offset: ${t}, Length: ${n}, Node is ${e.nodeName}.`);return t+r>n?e._data.substr(t):e._data.substr(t,r)}t.characterData_replaceData=u,t.characterData_substringData=c},"3daf":function(e,t,r){"use strict";var n=r("f3a3"),i=r("80af"),a=r("3fb5"),o=r("ea53"),s=n.assert;function l(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function u(e,t,r,n,a){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=a&&new i(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(l,o),e.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},l.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),a=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(a.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var l=s.fromRed().isOdd();return(t&&!l||!t&&l)&&(s=s.redNeg()),this.point(e,s)},l.prototype.pointFromY=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),a=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=n.redMul(a.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},a(u,o.BasePoint),l.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},l.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=n.redAdd(t),o=a.redSub(r),s=n.redSub(t),l=i.redMul(o),u=a.redMul(s),c=i.redMul(s),d=o.redMul(a);return this.curve.point(l,u,d,c)},u.prototype._projDbl=function(){var e,t,r,n,i,a,o=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){n=this.curve._mulA(s);var u=n.redAdd(l);this.zOne?(e=o.redSub(s).redSub(l).redMul(u.redSub(this.curve.two)),t=u.redMul(n.redSub(l)),r=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),a=u.redSub(i).redISub(i),e=o.redSub(s).redISub(l).redMul(a),t=u.redMul(n.redSub(l)),r=u.redMul(a))}else n=s.redAdd(l),i=this.curve._mulC(this.z).redSqr(),a=n.redSub(i).redSub(i),e=this.curve._mulC(o.redISub(n)).redMul(a),t=this.curve._mulC(n).redMul(s.redISub(l)),r=n.redMul(a);return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),a=r.redSub(t),o=i.redSub(n),s=i.redAdd(n),l=r.redAdd(t),u=a.redMul(o),c=s.redMul(l),d=a.redMul(l),h=o.redMul(s);return this.curve.point(u,c,h,d)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),l=i.redSub(s),u=i.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),d=n.redMul(l).redMul(c);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(a))),r=l.redMul(u)):(t=n.redMul(u).redMul(o.redSub(a)),r=this.curve._mulC(l).redMul(u)),this.curve.point(d,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},"3de5":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},r={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},n=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,r){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return n}))},"3de9":function(e,t,r){var n=r("1985"),i=r("b2ed");function a(e,t){if("string"!==typeof e)throw new TypeError("Expected a String");t||(t={});var r=!0;t.named&&(r=!1),void 0!==t.numeric&&(r=t.numeric);for(var a=t.special||{'"':!0,"'":!0,"<":!0,">":!0,"&":!0},o=n.ucs2.decode(e),s=[],l=0;l<o.length;l++){var u=o[l],c=n.ucs2.encode([u]),d=i[u];d&&(u>=127||a[c])&&!r?s.push("&"+(/;$/.test(d)?d:d+";")):u<32||u>=127||a[c]?s.push("&#"+u+";"):s.push(c)}return s.join("")}e.exports=a},"3df8":function(e,t,r){"use strict";var n=r("f2e8"),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},"3e8f":function(e,t){},"3e92":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},r={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},n=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return n}))},"3eb1":function(e,t,r){"use strict";var n=r("0f7c"),i=r("00ce"),a=r("d009"),o=r("0d25"),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),u=i("%Reflect.apply%",!0)||n.call(l,s),c=r("71c9"),d=i("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new o("a function is required");var t=u(n,l,arguments);return a(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return u(n,s,arguments)};c?c(e.exports,"apply",{value:h}):e.exports.apply=h},"3eb5":function(e,t,r){"use strict";function n(e){const t=new Date(e);return isNaN(new Date(e+"T00:00").getDate())?t:new Date(t.getTime()+6e4*t.getTimezoneOffset())}r.r(t),r.d(t,"getNormalizedDate",(function(){return n}))},"3f41":function(e,t,r){var n=r("2533");e.exports=function(e){if(!e.VNode||!e.VText)throw new Error("html-to-vdom needs to be initialized with VNode and VText");return n(e.VNode,e.VText)}},"3f62":function(e,t,r){var n=r("8707").Buffer,i=n.alloc(16,0);function a(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function o(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}s.prototype.ghash=function(e){var t=-1;while(++t<e.length)this.state[t]^=e[t];this._multiply()},s.prototype._multiply=function(){var e,t,r,n=a(this.h),i=[0,0,0,0],s=-1;while(++s<128){for(t=0!==(this.state[~~(s/8)]&1<<7-s%8),t&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!==(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},s.prototype.update=function(e){var t;this.cache=n.concat([this.cache,e]);while(this.cache.length>=16)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=s},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},"400e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},"409b":function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},"409e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("4f09");function i(e,t){e.add(t)}function a(e,t){t.forEach(e.add,e)}function o(e,t){const r=new Set(e);e.clear(),e.add(t),r.forEach(e.add,e)}function s(e,t,r){const i=new Set;for(const a of e)n.isFunction(t)?t.call(null,a)?i.add(r):i.add(a):a===t?i.add(r):i.add(a);e.clear(),i.forEach(e.add,e)}function l(e,t,r){const n=new Set;let i=0;for(const a of e)i===r&&n.add(t),n.add(a),i++;e.clear(),n.forEach(e.add,e)}function u(e,t){if(n.isFunction(t)){const r=[];for(const n of e)t.call(null,n)&&r.push(n);for(const t of r)e.delete(t)}else e.delete(t)}function c(e){e.clear()}function d(e,t){if(!n.isFunction(t))return e.has(t);for(const r of e)if(t.call(null,r))return!0;return!1}function h(e,t){if(void 0===t)return e.size;{let r=0;for(const n of e)t.call(null,n)&&r++;return r}}function p(e){return 0===e.size}function*f(e,t){if(void 0===t)yield*e;else for(const r of e)t.call(null,r)&&(yield r)}function m(e){return new Set(e)}function g(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?-1:1),new Set(r)}function v(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?1:-1),new Set(r)}function b(e,t){for(const r of e)if(!t.has(r))return!1;return!0}function y(e,t){return b(t,e)}function w(e,t){const r=new Set;for(const n of e)t.has(n)&&r.add(n);return r}function _(e,t){const r=new Set(e);return t.forEach(r.add,r),r}function S(e,t){const r=new Set;for(let n=e;n<=t;n++)r.add(n);return r}t.append=i,t.extend=a,t.prepend=o,t.replace=s,t.insert=l,t.remove=u,t.empty=c,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=g,t.sortInDescendingOrder=v,t.isSubsetOf=b,t.isSupersetOf=y,t.intersection=w,t.union=_,t.range=S},4111:function(e,t,r){"use strict";var n=r("7f7a");t.certificate=r("56b5");var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version")["int"](),this.key("modulus")["int"](),this.key("publicExponent")["int"](),this.key("privateExponent")["int"](),this.key("prime1")["int"](),this.key("prime2")["int"](),this.key("exponent1")["int"](),this.key("exponent2")["int"](),this.key("coefficient")["int"]())}));t.RSAPrivateKey=i;var a=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus")["int"](),this.key("publicExponent")["int"]())}));t.RSAPublicKey=a;var o=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p")["int"](),this.key("q")["int"](),this.key("g")["int"]()).optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}));t.PublicKey=s;var l=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version")["int"](),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=l;var u=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters")["int"]())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=u;var c=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version")["int"](),this.key("p")["int"](),this.key("q")["int"](),this.key("g")["int"](),this.key("pub_key")["int"](),this.key("priv_key")["int"]())}));t.DSAPrivateKey=c,t.DSAparam=n.define("DSAparam",(function(){this["int"]()}));var d=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),h=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version")["int"](),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=h,t.signature=n.define("signature",(function(){this.seq().obj(this.key("r")["int"](),this.key("s")["int"]())}))},4136:function(e,t,r){"use strict";var n=t;n.base=r("ea53"),n.short=r("3300"),n.mont=r("676f"),n.edwards=r("3daf")},"417f7":function(e,t,r){"use strict";e.exports=EvalError},4195:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},"41df":function(e,t,r){var n=t;n.Reporter=r("d1c8").Reporter,n.DecoderBuffer=r("6283").DecoderBuffer,n.EncoderBuffer=r("6283").EncoderBuffer,n.Node=r("8360")},4228:function(e,t,r){var n=r("82f0"),i=r("8707").Buffer,a=r("bac2"),o=r("09f5"),s=r("6430"),l=r("39f5"),u=r("ae84"),c=r("3fb5");function d(e,t,r){s.call(this),this._cache=new h,this._last=void 0,this._cipher=new l.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}function h(){this.cache=i.allocUnsafe(0)}function p(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;while(++r<t)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function f(e,t,r){var s=a[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"===typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new o(s.module,t,r,!0):"auth"===s.type?new n(s.module,t,r,!0):new d(s.module,t,r)}function m(e,t){var r=a[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return f(e,n.key,n.iv)}c(d,s),d.prototype._update=function(e){var t,r;this._cache.add(e);var n=[];while(t=this._cache.get(this._autopadding))r=this._mode.decrypt(this,t),n.push(r);return i.concat(n)},d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return p(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=i.concat([this.cache,e])},h.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=m,t.createDecipheriv=f},"423e":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t}))},"42e9":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["Before"]=0]="Before",e[e["Equal"]=1]="Equal",e[e["After"]=2]="After"}(t.BoundaryPosition||(t.BoundaryPosition={})),function(e){e[e["None"]=0]="None",e[e["Capturing"]=1]="Capturing",e[e["AtTarget"]=2]="AtTarget",e[e["Bubbling"]=3]="Bubbling"}(t.EventPhase||(t.EventPhase={})),function(e){e[e["Element"]=1]="Element",e[e["Attribute"]=2]="Attribute",e[e["Text"]=3]="Text",e[e["CData"]=4]="CData",e[e["EntityReference"]=5]="EntityReference",e[e["Entity"]=6]="Entity",e[e["ProcessingInstruction"]=7]="ProcessingInstruction",e[e["Comment"]=8]="Comment",e[e["Document"]=9]="Document",e[e["DocumentType"]=10]="DocumentType",e[e["DocumentFragment"]=11]="DocumentFragment",e[e["Notation"]=12]="Notation"}(t.NodeType||(t.NodeType={})),function(e){e[e["Disconnected"]=1]="Disconnected",e[e["Preceding"]=2]="Preceding",e[e["Following"]=4]="Following",e[e["Contains"]=8]="Contains",e[e["ContainedBy"]=16]="ContainedBy",e[e["ImplementationSpecific"]=32]="ImplementationSpecific"}(t.Position||(t.Position={})),function(e){e[e["Accept"]=1]="Accept",e[e["Reject"]=2]="Reject",e[e["Skip"]=3]="Skip"}(t.FilterResult||(t.FilterResult={})),function(e){e[e["All"]=4294967295]="All",e[e["Element"]=1]="Element",e[e["Attribute"]=2]="Attribute",e[e["Text"]=4]="Text",e[e["CDataSection"]=8]="CDataSection",e[e["EntityReference"]=16]="EntityReference",e[e["Entity"]=32]="Entity",e[e["ProcessingInstruction"]=64]="ProcessingInstruction",e[e["Comment"]=128]="Comment",e[e["Document"]=256]="Document",e[e["DocumentType"]=512]="DocumentType",e[e["DocumentFragment"]=1024]="DocumentFragment",e[e["Notation"]=2048]="Notation"}(t.WhatToShow||(t.WhatToShow={})),function(e){e[e["StartToStart"]=0]="StartToStart",e[e["StartToEnd"]=1]="StartToEnd",e[e["EndToEnd"]=2]="EndToEnd",e[e["EndToStart"]=3]="EndToStart"}(t.HowToCompare||(t.HowToCompare={}))},4365:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=r("9905").Buffer,a=r(16);function o(e,t,r){e.copy(t,r)}e.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,r=""+t.data;while(t=t.next)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);var t=i.allocUnsafe(e>>>0),r=this.head,n=0;while(r)o(r.data,t,n),n+=r.data.length,r=r.next;return t},e}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e})},"440c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[r][0]:i[r][1]}function r(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,r=e/10;return i(0===t?r:t)}if(e<1e4){while(e>=10)e/=10;return i(e)}return e/=1e3,i(e)}var a=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:r,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"44a3":function(e,t,r){"use strict";var n=r("80af"),i=r("f3a3"),a=i.assert,o=i.cachedProperty,s=i.parseBytes;function l(e,t){this.eddsa=e,"object"!==typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),o(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),o(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),o(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},"44d0":function(e,t,r){"use strict";var n,i,a=r("f2e8"),o=r("65c6"),s=a.process,l=a.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(n=c.split("."),i=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(n=o.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/),n&&(i=+n[1]))),e.exports=i},"461a":function(e,t,r){"use strict";e.exports=a;var n=r("4e92"),i=Object.create(r("3a7c"));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r("3fb5"),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},"470b":function(e,t,r){"use strict";(function(e){var n=r("b639").Buffer,i=r("d485").Transform,a=r("6b75e"),o=r("3022"),s=r("f654").ok,l=r("b639").kMaxLength,u="Cannot create final Buffer. It would be larger than 0x"+l.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var c=Object.keys(a),d=0;d<c.length;d++){var h=c[d];h.match(/^Z/)&&Object.defineProperty(t,h,{enumerable:!0,value:a[h],writable:!1})}for(var p={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ERROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},f=Object.keys(p),m=0;m<f.length;m++){var g=f[m];p[p[g]]=g}function v(e,t,r){var i=[],a=0;function o(){var t;while(null!==(t=e.read()))i.push(t),a+=t.length;e.once("readable",o)}function s(t){e.removeListener("end",c),e.removeListener("readable",o),r(t)}function c(){var t,o=null;a>=l?o=new RangeError(u):t=n.concat(i,a),i=[],e.close(),r(o,t)}e.on("error",s),e.on("end",c),e.end(t),o()}function b(e,t){if("string"===typeof t&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function y(e){if(!(this instanceof y))return new y(e);x.call(this,e,a.DEFLATE)}function w(e){if(!(this instanceof w))return new w(e);x.call(this,e,a.INFLATE)}function _(e){if(!(this instanceof _))return new _(e);x.call(this,e,a.GZIP)}function S(e){if(!(this instanceof S))return new S(e);x.call(this,e,a.GUNZIP)}function E(e){if(!(this instanceof E))return new E(e);x.call(this,e,a.DEFLATERAW)}function M(e){if(!(this instanceof M))return new M(e);x.call(this,e,a.INFLATERAW)}function T(e){if(!(this instanceof T))return new T(e);x.call(this,e,a.UNZIP)}function C(e){return e===a.Z_NO_FLUSH||e===a.Z_PARTIAL_FLUSH||e===a.Z_SYNC_FLUSH||e===a.Z_FULL_FLUSH||e===a.Z_FINISH||e===a.Z_BLOCK}function x(e,r){var o=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,i.call(this,e),e.flush&&!C(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!C(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||a.Z_NO_FLUSH,this._finishFlushFlag="undefined"!==typeof e.finishFlush?e.finishFlush:a.Z_FINISH,e.chunkSize&&(e.chunkSize<t.Z_MIN_CHUNK||e.chunkSize>t.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<t.Z_MIN_WINDOWBITS||e.windowBits>t.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<t.Z_MIN_LEVEL||e.level>t.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<t.Z_MIN_MEMLEVEL||e.memLevel>t.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=t.Z_FILTERED&&e.strategy!=t.Z_HUFFMAN_ONLY&&e.strategy!=t.Z_RLE&&e.strategy!=t.Z_FIXED&&e.strategy!=t.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(e,r){A(s),s._hadError=!0;var n=new Error(e);n.errno=r,n.code=t.codes[r],s.emit("error",n)};var l=t.Z_DEFAULT_COMPRESSION;"number"===typeof e.level&&(l=e.level);var u=t.Z_DEFAULT_STRATEGY;"number"===typeof e.strategy&&(u=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,l,e.memLevel||t.Z_DEFAULT_MEMLEVEL,u,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=u,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!o._handle},configurable:!0,enumerable:!0})}function A(t,r){r&&e.nextTick(r),t._handle&&(t._handle.close(),t._handle=null)}function N(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),t.Deflate=y,t.Inflate=w,t.Gzip=_,t.Gunzip=S,t.DeflateRaw=E,t.InflateRaw=M,t.Unzip=T,t.createDeflate=function(e){return new y(e)},t.createInflate=function(e){return new w(e)},t.createDeflateRaw=function(e){return new E(e)},t.createInflateRaw=function(e){return new M(e)},t.createGzip=function(e){return new _(e)},t.createGunzip=function(e){return new S(e)},t.createUnzip=function(e){return new T(e)},t.deflate=function(e,t,r){return"function"===typeof t&&(r=t,t={}),v(new y(t),e,r)},t.deflateSync=function(e,t){return b(new y(t),e)},t.gzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),v(new _(t),e,r)},t.gzipSync=function(e,t){return b(new _(t),e)},t.deflateRaw=function(e,t,r){return"function"===typeof t&&(r=t,t={}),v(new E(t),e,r)},t.deflateRawSync=function(e,t){return b(new E(t),e)},t.unzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),v(new T(t),e,r)},t.unzipSync=function(e,t){return b(new T(t),e)},t.inflate=function(e,t,r){return"function"===typeof t&&(r=t,t={}),v(new w(t),e,r)},t.inflateSync=function(e,t){return b(new w(t),e)},t.gunzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),v(new S(t),e,r)},t.gunzipSync=function(e,t){return b(new S(t),e)},t.inflateRaw=function(e,t,r){return"function"===typeof t&&(r=t,t={}),v(new M(t),e,r)},t.inflateRawSync=function(e,t){return b(new M(t),e)},o.inherits(x,i),x.prototype.params=function(r,n,i){if(r<t.Z_MIN_LEVEL||r>t.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+r);if(n!=t.Z_FILTERED&&n!=t.Z_HUFFMAN_ONLY&&n!=t.Z_RLE&&n!=t.Z_FIXED&&n!=t.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==r||this._strategy!==n){var o=this;this.flush(a.Z_SYNC_FLUSH,(function(){s(o._handle,"zlib binding closed"),o._handle.params(r,n),o._hadError||(o._level=r,o._strategy=n,i&&i())}))}else e.nextTick(i)},x.prototype.reset=function(){return s(this._handle,"zlib binding closed"),this._handle.reset()},x.prototype._flush=function(e){this._transform(n.alloc(0),"",e)},x.prototype.flush=function(t,r){var i=this,o=this._writableState;("function"===typeof t||void 0===t&&!r)&&(r=t,t=a.Z_FULL_FLUSH),o.ended?r&&e.nextTick(r):o.ending?r&&this.once("end",r):o.needDrain?r&&this.once("drain",(function(){return i.flush(t,r)})):(this._flushFlag=t,this.write(n.alloc(0),"",r))},x.prototype.close=function(t){A(this,t),e.nextTick(N,this)},x.prototype._transform=function(e,t,r){var i,o=this._writableState,s=o.ending||o.ended,l=s&&(!e||o.length===e.length);return null===e||n.isBuffer(e)?this._handle?(l?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),void this._processChunk(e,i,r)):r(new Error("zlib binding closed")):r(new Error("invalid input"))},x.prototype._processChunk=function(e,t,r){var i=e&&e.length,a=this._chunkSize-this._offset,o=0,c=this,d="function"===typeof r;if(!d){var h,p=[],f=0;this.on("error",(function(e){h=e})),s(this._handle,"zlib binding closed");do{var m=this._handle.writeSync(t,e,o,i,this._buffer,this._offset,a)}while(!this._hadError&&b(m[0],m[1]));if(this._hadError)throw h;if(f>=l)throw A(this),new RangeError(u);var g=n.concat(p,f);return A(this),g}s(this._handle,"zlib binding closed");var v=this._handle.write(t,e,o,i,this._buffer,this._offset,a);function b(l,u){if(this&&(this.buffer=null,this.callback=null),!c._hadError){var h=a-u;if(s(h>=0,"have should not go down"),h>0){var m=c._buffer.slice(c._offset,c._offset+h);c._offset+=h,d?c.push(m):(p.push(m),f+=m.length)}if((0===u||c._offset>=c._chunkSize)&&(a=c._chunkSize,c._offset=0,c._buffer=n.allocUnsafe(c._chunkSize)),0===u){if(o+=i-l,i=l,!d)return!0;var g=c._handle.write(t,e,o,i,c._buffer,c._offset,c._chunkSize);return g.callback=b,void(g.buffer=e)}if(!d)return!1;r()}}v.buffer=e,v.callback=b},o.inherits(y,x),o.inherits(w,x),o.inherits(_,x),o.inherits(S,x),o.inherits(E,x),o.inherits(M,x),o.inherits(T,x)}).call(this,r("4362"))},"480c":function(e,t,r){"use strict";r.r(t),r.d(t,"spreadsheetColumnLabel",(function(){return o})),r.d(t,"spreadsheetColumnIndex",(function(){return s})),r.d(t,"createSpreadsheetData",(function(){return l})),r.d(t,"createSpreadsheetObjectData",(function(){return u})),r.d(t,"createEmptySpreadsheetData",(function(){return c})),r.d(t,"dataRowToChangesArray",(function(){return d})),r.d(t,"countFirstRowKeys",(function(){return h})),r.d(t,"isArrayOfArrays",(function(){return p})),r.d(t,"isArrayOfObjects",(function(){return f}));r("d06e");var n=r("351d");const i="ABCDEFGHIJKLMNOPQRSTUVWXYZ",a=i.length;function o(e){let t,r=e+1,n="";while(r>0)t=(r-1)%a,n=String.fromCharCode(65+t)+n,r=parseInt((r-t)/a,10);return n}function s(e){let t=0;if(e)for(let r=0,n=e.length-1;r<e.length;r+=1,n-=1)t+=a**n*(i.indexOf(e[r])+1);return t-=1,t}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const r=[];let n,i;for(n=0;n<e;n++){const e=[];for(i=0;i<t;i++)e.push(o(i)+(n+1));r.push(e)}return r}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const r=[];let n,i;for(n=0;n<e;n++){const e={};for(i=0;i<t;i++)e["prop"+i]=o(i)+(n+1);r.push(e)}return r}function c(e,t){const r=[];let n;for(let i=0;i<e;i++){n=[];for(let e=0;e<t;e++)n.push("");r.push(n)}return r}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e;const n=[];return Array.isArray(e)&&Array.isArray(e[0])||(r=[e]),r.forEach((e,r)=>{Array.isArray(e)?e.forEach((e,i)=>{n.push([r+t,i,e])}):Object.keys(e).forEach(i=>{n.push([r+t,i,e[i]])})}),n}function h(e){let t=0;return Array.isArray(e)&&(e[0]&&Array.isArray(e[0])?t=e[0].length:e[0]&&Object(n["isObject"])(e[0])&&(t=Object(n["deepObjectSize"])(e[0]))),t}function p(e){return!!(Array.isArray(e)&&e.length&&e.every(e=>Array.isArray(e)))}function f(e){return!!(Array.isArray(e)&&e.length&&e.every(e=>"object"===typeof e&&!Array.isArray(e)&&null!==e))}},4850:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("5230"),i=r("ff74"),a=r("9af8"),o=r("cfc0"),s=r("a023"),l=r("3022"),u=r("cfc0");function c(e,t){const r=v(g(e)?e:n.DefaultBuilderOptions),i=a.Guard.isNode(e)||l.isArray(e)?e:t;if(void 0===i)throw new Error("Invalid arguments.");if(l.isArray(i)){const e=[];for(let t=0;t<i.length;t++){const n=new o.XMLBuilderImpl(i[t]);n.set(r),e.push(n)}return e}{const e=new o.XMLBuilderImpl(i);return e.set(r),e}}function d(e,t){const r=v(void 0===e||g(e)?e:n.DefaultBuilderOptions),a=g(e)?t:e;let l;if(void 0===a){const e=s.createDocument();l=new o.XMLBuilderImpl(e),b(e,r)}else if(i.isObject(a)){const e=s.createDocument();l=new o.XMLBuilderImpl(e),b(e,r),l.ele(a)}else if(/^\s*</.test(a)){const e=s.createParser(),t=e.parseFromString(s.sanitizeInput(a,r.invalidCharReplacement),"text/xml");s.throwIfParserError(t),l=new o.XMLBuilderImpl(t),b(t,r)}else{const e=s.createDocument();l=new o.XMLBuilderImpl(e),b(e,r);const t=JSON.parse(a);l.ele(t)}return l}function h(e,t){const r=v(void 0===e||g(e)?e:n.DefaultBuilderOptions),a=g(e)?t:e;let l;if(void 0===a){const e=s.createDocument();b(e,r,!0),l=new o.XMLBuilderImpl(e.createDocumentFragment())}else if(i.isObject(a)){const e=s.createDocument();b(e,r,!0),l=new o.XMLBuilderImpl(e.createDocumentFragment()),l.ele(a)}else if(/^\s*</.test(a)){const e=s.createParser(),t=e.parseFromString("<TEMP_ROOT>"+s.sanitizeInput(a,r.invalidCharReplacement)+"</TEMP_ROOT>","text/xml");if(s.throwIfParserError(t),b(t,r,!0),null===t.documentElement)throw new Error("Document element is null.");const n=t.createDocumentFragment();for(const r of t.documentElement.childNodes){const e=t.importNode(r,!0);n.appendChild(e)}l=new o.XMLBuilderImpl(n)}else{const e=s.createDocument();b(e,r,!0),l=new o.XMLBuilderImpl(e.createDocumentFragment());const t=JSON.parse(a);l.ele(t)}return l}function p(e,t,r){let i,a,o;return g(e)&&void 0!==t?(i=e,a=t,o=r):(i=n.DefaultBuilderOptions,a=e,o=t||void 0),d(i,a).end(o)}function f(e){return new u.XMLBuilderCBImpl(e)}function m(e){return new u.XMLBuilderCBImpl(e,!0)}function g(e){if(!i.isPlainObject(e))return!1;for(const t in e)if(e.hasOwnProperty(t)&&!n.XMLBuilderOptionKeys.has(t))return!1;return!0}function v(e={}){const t=i.applyDefaults(e,n.DefaultBuilderOptions);if(0===t.convert.att.length||0===t.convert.ins.length||0===t.convert.text.length||0===t.convert.cdata.length||0===t.convert.comment.length)throw new Error("JS object converter strings cannot be zero length.");return t}function b(e,t,r){const n=e;n._xmlBuilderOptions=t,n._isFragment=r}t.builder=c,t.create=d,t.fragment=h,t.convert=p,t.createCB=f,t.fragmentCB=m},"485c":function(e,t,r){"use strict";var n=r("d128"),i=r("7b69"),a=r("ba51"),o=r("1caf"),s=r("9394"),l=r("24d5"),u=r("69ba"),c=r("d435"),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=s(e),t=l(t),c)try{return d(e,t)}catch(r){}if(u(e,t))return o(!i(a.f,e,t),e[t])}},"485c5":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},r=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,r){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var r=e%10,n=e%100-r,i=e>=100?100:null;return e+(t[r]||t[n]||t[i])},week:{dow:1,doy:7}});return r}))},"48ab":function(e,t,r){"use strict";var n=r("b343");e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"48e6":function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(5).Buffer}catch(x){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else{var s=e.length-t;for(n=s%2===0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8}this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var d=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},a.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=h;p++){var f=u-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,c+=o/67108864|0,d=67108863&o}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}a.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,r=0!==a||o!==this.length-1?c[6-l.length]+l+r:l+r,i+=2,i>=26&&(i-=26,o--)}0!==a&&(r=a.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],p=h[e];r="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),r=f.isZero()?m+r:c[u-m.length]+m+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n("undefined"!==typeof o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,l="le"===t,u=new e(a),c=this.clone();if(l){for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)t=(0|r.words[o])-(0|n.words[o])+a,a=t>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)t=(0|r.words[o])+a,a=t>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,u=0,c=0|o[0],d=8191&c,h=c>>>13,p=0|o[1],f=8191&p,m=p>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],w=8191&y,_=y>>>13,S=0|o[4],E=8191&S,M=S>>>13,T=0|o[5],C=8191&T,x=T>>>13,A=0|o[6],N=8191&A,O=A>>>13,R=0|o[7],L=8191&R,k=R>>>13,I=0|o[8],D=8191&I,P=I>>>13,j=0|o[9],F=8191&j,H=j>>>13,B=0|s[0],U=8191&B,V=B>>>13,Y=0|s[1],z=8191&Y,W=Y>>>13,q=0|s[2],G=8191&q,K=q>>>13,X=0|s[3],Z=8191&X,$=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,U),i=Math.imul(d,V),i=i+Math.imul(h,U)|0,a=Math.imul(h,V);var ge=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=Math.imul(f,V),i=i+Math.imul(m,U)|0,a=Math.imul(m,V),n=n+Math.imul(d,z)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,z)|0,a=a+Math.imul(h,W)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,U),i=Math.imul(v,V),i=i+Math.imul(b,U)|0,a=Math.imul(b,V),n=n+Math.imul(f,z)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0,n=n+Math.imul(d,G)|0,i=i+Math.imul(d,K)|0,i=i+Math.imul(h,G)|0,a=a+Math.imul(h,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,U),i=Math.imul(w,V),i=i+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,z)|0,i=i+Math.imul(v,W)|0,i=i+Math.imul(b,z)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(f,G)|0,i=i+Math.imul(f,K)|0,i=i+Math.imul(m,G)|0,a=a+Math.imul(m,K)|0,n=n+Math.imul(d,Z)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,Z)|0,a=a+Math.imul(h,$)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(E,U),i=Math.imul(E,V),i=i+Math.imul(M,U)|0,a=Math.imul(M,V),n=n+Math.imul(w,z)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,z)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(b,G)|0,a=a+Math.imul(b,K)|0,n=n+Math.imul(f,Z)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,ee)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,U),i=Math.imul(C,V),i=i+Math.imul(x,U)|0,a=Math.imul(x,V),n=n+Math.imul(E,z)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,z)|0,a=a+Math.imul(M,W)|0,n=n+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(v,$)|0,i=i+Math.imul(b,Z)|0,a=a+Math.imul(b,$)|0,n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ne)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(N,U),i=Math.imul(N,V),i=i+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(C,z)|0,i=i+Math.imul(C,W)|0,i=i+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(M,G)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,Z)|0,i=i+Math.imul(w,$)|0,i=i+Math.imul(_,Z)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(h,ae)|0,a=a+Math.imul(h,oe)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,U),i=Math.imul(L,V),i=i+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(N,z)|0,i=i+Math.imul(N,W)|0,i=i+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(C,G)|0,i=i+Math.imul(C,K)|0,i=i+Math.imul(x,G)|0,a=a+Math.imul(x,K)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(M,Z)|0,a=a+Math.imul(M,$)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=i+Math.imul(v,ne)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(f,ae)|0,i=i+Math.imul(f,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,n=n+Math.imul(d,le)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ue)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,U),i=Math.imul(D,V),i=i+Math.imul(P,U)|0,a=Math.imul(P,V),n=n+Math.imul(L,z)|0,i=i+Math.imul(L,W)|0,i=i+Math.imul(k,z)|0,a=a+Math.imul(k,W)|0,n=n+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(O,G)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(C,Z)|0,i=i+Math.imul(C,$)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(w,re)|0,i=i+Math.imul(w,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(v,ae)|0,i=i+Math.imul(v,oe)|0,i=i+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,a=a+Math.imul(h,he)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,U),i=Math.imul(F,V),i=i+Math.imul(H,U)|0,a=Math.imul(H,V),n=n+Math.imul(D,z)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(P,z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(L,G)|0,i=i+Math.imul(L,K)|0,i=i+Math.imul(k,G)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(N,Z)|0,i=i+Math.imul(N,$)|0,i=i+Math.imul(O,Z)|0,a=a+Math.imul(O,$)|0,n=n+Math.imul(C,Q)|0,i=i+Math.imul(C,ee)|0,i=i+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(w,ae)|0,i=i+Math.imul(w,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(v,le)|0,i=i+Math.imul(v,ue)|0,i=i+Math.imul(b,le)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0,n=n+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,a=a+Math.imul(h,me)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,z),i=Math.imul(F,W),i=i+Math.imul(H,z)|0,a=Math.imul(H,W),n=n+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(P,G)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(k,Z)|0,a=a+Math.imul(k,$)|0,n=n+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(C,re)|0,i=i+Math.imul(C,ne)|0,i=i+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(E,ae)|0,i=i+Math.imul(E,oe)|0,i=i+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(w,le)|0,i=i+Math.imul(w,ue)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(b,de)|0,a=a+Math.imul(b,he)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,a=a+Math.imul(m,me)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,G),i=Math.imul(F,K),i=i+Math.imul(H,G)|0,a=Math.imul(H,K),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,$)|0,i=i+Math.imul(P,Z)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(L,Q)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(N,re)|0,i=i+Math.imul(N,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(C,ae)|0,i=i+Math.imul(C,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(E,le)|0,i=i+Math.imul(E,ue)|0,i=i+Math.imul(M,le)|0,a=a+Math.imul(M,ue)|0,n=n+Math.imul(w,de)|0,i=i+Math.imul(w,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,he)|0,n=n+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(b,fe)|0,a=a+Math.imul(b,me)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,Z),i=Math.imul(F,$),i=i+Math.imul(H,Z)|0,a=Math.imul(H,$),n=n+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(N,ae)|0,i=i+Math.imul(N,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(C,le)|0,i=i+Math.imul(C,ue)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(M,de)|0,a=a+Math.imul(M,he)|0,n=n+Math.imul(w,fe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,Q),i=Math.imul(F,ee),i=i+Math.imul(H,Q)|0,a=Math.imul(H,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(P,re)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(N,le)|0,i=i+Math.imul(N,ue)|0,i=i+Math.imul(O,le)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(C,de)|0,i=i+Math.imul(C,he)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,he)|0,n=n+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(M,fe)|0,a=a+Math.imul(M,me)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(H,re)|0,a=Math.imul(H,ne),n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ue)|0,i=i+Math.imul(k,le)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(N,de)|0,i=i+Math.imul(N,he)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,he)|0,n=n+Math.imul(C,fe)|0,i=i+Math.imul(C,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,ae),i=Math.imul(F,oe),i=i+Math.imul(H,ae)|0,a=Math.imul(H,oe),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(P,le)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0,n=n+Math.imul(N,fe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(O,fe)|0,a=a+Math.imul(O,me)|0;var Re=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(H,le)|0,a=Math.imul(H,ue),n=n+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(k,fe)|0,a=a+Math.imul(k,me)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,de),i=Math.imul(F,he),i=i+Math.imul(H,de)|0,a=Math.imul(H,he),n=n+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(P,fe)|0,a=a+Math.imul(P,me)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,fe),i=Math.imul(F,me),i=i+Math.imul(H,fe)|0,a=Math.imul(H,me);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=Se,l[7]=Ee,l[8]=Me,l[9]=Te,l[10]=Ce,l[11]=xe,l[12]=Ae,l[13]=Ne,l[14]=Oe,l[15]=Re,l[16]=Le,l[17]=ke,l[18]=Ie,0!==u&&(l[19]=u,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=l;u++){var c=a-u,d=0|e.words[c],h=0|t.words[u],p=d*h,f=67108863&p;o=o+(p/67108864|0)|0,f=f+s|0,s=67108863&f,o=o+(f>>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function v(e,t,r){var n=new b;return n.mulp(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?m(this,e,t):n<63?f(this,e,t):n<1024?g(this,e,t):v(this,e,t),r},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},b.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,p=0;p<o;p++){var f=r[c+p],m=n[c+p],g=r[c+p+o],v=n[c+p+o],b=d*g-h*v;v=d*v+h*g,g=b,r[c+p]=f+g,n[c+p]=m+v,r[c+p+o]=f-g,n[c+p+o]=m-v,p!==s&&(b=l*d-u*h,h=l*h+u*d,d=b)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,l,n,i),this.transform(u,a,c,d,n,i);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),v(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=p(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var a=this.words[r];return!!(a&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;a-=67108863&l,s=(a>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)a=(0|this.words[i+r])+s,s=a>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)a=-(0|this.words[i])+s,s=a>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1],s=this._countBits(o);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new a(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var d=n.clone()._ishlnsubmul(i,1,u);0===d.negative&&(n=d,l&&(l.words[u]=1));for(var h=u-1;h>=0;h--){var p=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,h);while(0!==n.negative)p--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new a(1),o=new a(0),s=new a(0),l=new a(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),d=t.clone();while(!t.isZero()){for(var h=0,p=1;0===(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0){t.iushrn(h);while(h-- >0)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(d)),i.iushrn(1),o.iushrn(1)}for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0){r.iushrn(f);while(f-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(l)):(r.isub(t),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,o=new a(1),s=new a(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)o.isOdd()&&o.iadd(l),o.iushrn(1)}for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0){r.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return i=0===t.cmpn(1)?o:s,i.cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new T(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,w),i(E,w),i(M,w),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return y[e]=t,t},T.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},T.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},T.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},T.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},T.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},T.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},T.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),o=0;while(!i.isZero()&&0===i.andln(1))o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new a(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),f=o;while(0!==p.cmp(s)){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new a(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},T.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},T.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new a(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var o=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var h=c>>d&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==s?(s<<=1,s|=h,l++,(l===r||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)):l=0}u=26}return o},T.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},T.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},i(C,T),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},"491c":function(e,t,r){"use strict";r.d(t,"e",(function(){return f})),r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return h})),r.d(t,"d",(function(){return l})),r.d(t,"c",(function(){return u}));r("7a89");var n=r("1004"),i=r("9acd");const a=new WeakMap,{register:o,getItem:s,hasItem:l,getNames:u,getValues:c}=Object(i["a"])("editors");function d(e){const t={},r=e;this.getConstructor=function(){return e},this.getInstance=function(e){return e.guid in t||(t[e.guid]=new r(e)),t[e.guid]},n["a"].getSingleton().add("afterDestroy",(function(){t[this.guid]=null}))}function h(e,t){let r;if("function"===typeof e)a.get(e)||f(null,e),r=a.get(e);else{if("string"!==typeof e)throw Error('Only strings and functions can be passed as "editor" parameter');r=s(e)}if(!r)throw Error(`No editor registered under name "${e}"`);return r.getInstance(t)}function p(e){if("function"===typeof e)return e;if(!l(e))throw Error(`No registered editor found under "${e}" name`);return s(e).getConstructor()}function f(e,t){e&&"string"!==typeof e&&(t=e,e=t.EDITOR_TYPE);const r=new d(t);"string"===typeof e&&o(e,r),a.set(t,r)}},"49ab":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"49ba":function(e){e.exports=JSON.parse('{"Aacute;":"Á","Aacute":"Á","aacute;":"á","aacute":"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â","Acirc":"Â","acirc;":"â","acirc":"â","acute;":"´","acute":"´","Acy;":"А","acy;":"а","AElig;":"Æ","AElig":"Æ","aelig;":"æ","aelig":"æ","af;":"","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À","Agrave":"À","agrave;":"à","agrave":"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&","AMP":"&","amp;":"&","amp":"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"\'","ApplyFunction;":"","approx;":"≈","approxeq;":"≊","Aring;":"Å","Aring":"Å","aring;":"å","aring":"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã","Atilde":"Ã","atilde;":"ã","atilde":"ã","Auml;":"Ä","Auml":"Ä","auml;":"ä","auml":"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦","brvbar":"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç","Ccedil":"Ç","ccedil;":"ç","ccedil":"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸","cedil":"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢","cent":"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©","COPY":"©","copy;":"©","copy":"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤","curren":"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°","deg":"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷","divide":"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É","Eacute":"É","eacute;":"é","eacute":"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê","Ecirc":"Ê","ecirc;":"ê","ecirc":"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È","Egrave":"È","egrave;":"è","egrave":"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð","ETH":"Ð","eth;":"ð","eth":"ð","Euml;":"Ë","Euml":"Ë","euml;":"ë","euml":"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½","frac12":"½","frac13;":"⅓","frac14;":"¼","frac14":"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾","frac34":"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">","GT":">","Gt;":"≫","gt;":">","gt":">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í","Iacute":"Í","iacute;":"í","iacute":"í","ic;":"","Icirc;":"Î","Icirc":"Î","icirc;":"î","icirc":"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡","iexcl":"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì","Igrave":"Ì","igrave;":"ì","igrave":"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"","InvisibleTimes;":"","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿","iquest":"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï","Iuml":"Ï","iuml;":"ï","iuml":"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«","laquo":"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<","LT":"<","Lt;":"≪","lt;":"<","lt":"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯","macr":"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ","micro":"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·","middot":"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ","nbsp":" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"","NegativeThickSpace;":"","NegativeThinSpace;":"","NegativeVeryThinSpace;":"","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬","not":"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ","Ntilde":"Ñ","ntilde;":"ñ","ntilde":"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó","Oacute":"Ó","oacute;":"ó","oacute":"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô","Ocirc":"Ô","ocirc;":"ô","ocirc":"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò","Ograve":"Ò","ograve;":"ò","ograve":"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª","ordf":"ª","ordm;":"º","ordm":"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø","Oslash":"Ø","oslash;":"ø","oslash":"ø","osol;":"⊘","Otilde;":"Õ","Otilde":"Õ","otilde;":"õ","otilde":"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö","Ouml":"Ö","ouml;":"ö","ouml":"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶","para":"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±","plusmn":"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£","pound":"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":"\\"","QUOT":"\\"","quot;":"\\"","quot":"\\"","rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»","raquo":"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®","REG":"®","reg;":"®","reg":"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§","sect":"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"","shy":"","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹","sup1":"¹","sup2;":"²","sup2":"²","sup3;":"³","sup3":"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß","szlig":"ß","Tab;":"\\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":" ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ","THORN":"Þ","thorn;":"þ","thorn":"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×","times":"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú","Uacute":"Ú","uacute;":"ú","uacute":"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û","Ucirc":"Û","ucirc;":"û","ucirc":"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù","Ugrave":"Ù","ugrave;":"ù","ugrave":"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨","uml":"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü","Uuml":"Ü","uuml;":"ü","uuml":"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý","Yacute":"Ý","yacute;":"ý","yacute":"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥","yen":"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ","yuml":"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"","zwnj;":""}')},"49ce":function(e,t,r){"use strict";(function(t,n){var i=r("966d");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){P(t,e)}}e.exports=y;var o,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;y.WritableState=b;var l=Object.create(r("3a7c"));l.inherits=r("3fb5");var u={deprecate:r("b7d1")},c=r("f12a"),d=r("53b7").Buffer,h=("undefined"!==typeof n?n:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function p(e){return d.from(e)}function f(e){return d.isBuffer(e)||e instanceof h}var m,g=r("9019");function v(){}function b(e,t){o=o||r("5e7d"),e=e||{};var n=t instanceof o;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){x(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(o=o||r("5e7d"),!m.call(y,this)&&!(this instanceof o))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),c.call(this)}function w(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function _(e,t,r,n){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(n,o),a=!1),a}function S(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=d.from(t,r)),t}function E(e,t,r,n,i,a){if(!r){var o=S(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else M(e,t,!1,s,n,i,a);return l}function M(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function T(e,t,r,n,a){--t.pendingcb,r?(i.nextTick(a,n),i.nextTick(I,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(a(n),e._writableState.errorEmitted=!0,e.emit("error",n),I(e,t))}function C(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function x(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(C(r),t)T(e,r,n,t,i);else{var a=R(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||O(e,r),n?s(A,e,r,a,i):A(e,r,a,i)}}function A(e,t,r,n){r||N(e,t),t.pendingcb--,n(),I(e,t)}function N(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;var s=0,l=!0;while(r)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,M(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{while(r){var u=r.chunk,c=r.encoding,d=r.callback,h=t.objectMode?1:u.length;if(M(e,t,!1,h,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function L(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),I(e,t)}))}function k(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(L,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function I(e,t){var r=R(t);return r&&(k(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function D(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function P(e,t,r){var n=e.entry;e.entry=null;while(n){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}l.inherits(y,c),b.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===y&&(e&&e._writableState instanceof b)}})):m=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&f(e);return a&&!d.isBuffer(e)&&(e=p(e)),"function"===typeof t&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),"function"!==typeof r&&(r=v),n.ended?w(this,r):(a||_(this,n,e,r))&&(n.pendingcb++,i=E(this,n,a,e,t,r)),i},y.prototype.cork=function(){var e=this._writableState;e.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||D(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("4362"),r("c8ba"))},"4aa5":function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},"4b78":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("ff74"),i=r("42e9"),a=r("ad99"),o=r("9af8");class s extends a.BaseWriter{constructor(){super(...arguments),this._indentation={},this._lengthToLastNewline=0}serialize(e,t){return this._options=n.applyDefaults(t,{wellFormed:!1,noDoubleEncoding:!1,headless:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),this._refs={suppressPretty:!1,emptyNode:!1,markup:""},e.nodeType!==i.NodeType.Document||this._options.headless||(this._beginLine(),this._refs.markup="<?xml",this._refs.markup+=' version="'+this._builderOptions.version+'"',void 0!==this._builderOptions.encoding&&(this._refs.markup+=' encoding="'+this._builderOptions.encoding+'"'),void 0!==this._builderOptions.standalone&&(this._refs.markup+=' standalone="'+(this._builderOptions.standalone?"yes":"no")+'"'),this._refs.markup+="?>",this._endLine()),this.serializeNode(e,this._options.wellFormed,this._options.noDoubleEncoding),this._options.prettyPrint&&this._refs.markup.slice(-this._options.newline.length)===this._options.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._options.newline.length)),this._refs.markup}docType(e,t,r){this._beginLine(),this._refs.markup+=t&&r?"<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+r+'">':t?"<!DOCTYPE "+e+' PUBLIC "'+t+'">':r?"<!DOCTYPE "+e+' SYSTEM "'+r+'">':"<!DOCTYPE "+e+">",this._endLine()}openTagBegin(e){this._beginLine(),this._refs.markup+="<"+e}openTagEnd(e,t,r){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._options.prettyPrint&&!t&&!r){let e=!0,t=!0,r=this.currentNode.firstChild,n=0,i=0;while(r){if(o.Guard.isExclusiveTextNode(r))i++;else{if(!o.Guard.isCDATASectionNode(r)){e=!1,t=!1;break}n++}""!==r.data&&(t=!1),r=r.nextSibling}this._refs.suppressPretty=!this._options.indentTextOnlyNodes&&e&&(n<=1&&0===i||0===n),this._refs.emptyNode=t}(r||t||this._refs.emptyNode)&&this._options.allowEmptyTags?this._refs.markup+="></"+e+">":this._refs.markup+=r?" />":t||this._refs.emptyNode?this._options.spaceBeforeSlash?" />":"/>":">",this._endLine()}closeTag(e){this._refs.emptyNode||(this._beginLine(),this._refs.markup+="</"+e+">"),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()}attribute(e,t){const r=e+'="'+t+'"';this._options.prettyPrint&&this._options.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+r.length>this._options.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+r):this._refs.markup+=" "+r}text(e){""!==e&&(this._beginLine(),this._refs.markup+=e,this._endLine())}cdata(e){""!==e&&(this._beginLine(),this._refs.markup+="<![CDATA["+e+"]]>",this._endLine())}comment(e){this._beginLine(),this._refs.markup+="\x3c!--"+e+"--\x3e",this._endLine()}instruction(e,t){this._beginLine(),this._refs.markup+="<?"+(""===t?e:e+" "+t)+"?>",this._endLine()}_beginLine(){this._options.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._options.offset+this.level))}_endLine(){this._options.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._options.newline,this._lengthToLastNewline=this._refs.markup.length)}_indent(e){if(e<=0)return"";if(void 0!==this._indentation[e])return this._indentation[e];{const t=this._options.indent.repeat(e);return this._indentation[e]=t,t}}}t.XMLWriter=s},"4b7d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9af8"),i=r("42e9");function a(e,t,r=!1){if(r&&n.Guard.isElementNode(t)&&n.Guard.isShadowRoot(t.shadowRoot)&&t.shadowRoot._firstChild)return t.shadowRoot._firstChild;if(t._firstChild)return t._firstChild;if(t===e)return null;if(t._nextSibling)return t._nextSibling;let i=t._parent;while(i&&i!==e){if(i._nextSibling)return i._nextSibling;i=i._parent}return null}function o(){return{[Symbol.iterator]:()=>({next:()=>({done:!0,value:null})})}}function s(e,t=!1,r=!1,n){let i=t?e:a(e,e,r);while(i&&n&&!n(i))i=a(e,i,r);return i}function l(e,t,r=!1,n=!1,i){let o=a(e,t,n);while(o&&i&&!i(o))o=a(e,o,n);return o}function u(e,t=!1,r=!1,n){return t||0!==e._children.size?{[Symbol.iterator]:()=>{let i=t?e:a(e,e,r);return{next:()=>{while(i&&n&&!n(i))i=a(e,i,r);if(null===i)return{done:!0,value:null};{const t={done:!1,value:i};return i=a(e,i,r),t}}}}}:o()}function c(e,t=!1,r=!1,i){return t||0!==e._children.size?{[Symbol.iterator]:()=>{const a=u(e,t,r,e=>n.Guard.isElementNode(e))[Symbol.iterator]();let o=a.next().value;return{next(){while(o&&i&&!i(o))o=a.next().value;if(null===o)return{done:!0,value:null};{const e={done:!1,value:o};return o=a.next().value,e}}}}}:o()}function d(e,t=!1,r){return e._parent&&0!==e._parent._children.size?{[Symbol.iterator](){let n=e._parent?e._parent._firstChild:null;return{next(){while(n&&(r&&!r(n)||!t&&n===e))n=n._nextSibling;if(null===n)return{done:!0,value:null};{const e={done:!1,value:n};return n=n._nextSibling,e}}}}}:o()}function h(e,t=!1,r){let n=t?e:e._parent;while(n&&r&&!r(n))n=n._parent;return n}function p(e,t,r=!1,n){let i=t._parent;while(i&&n&&!n(i))i=i._parent;return i}function f(e,t=!1,r){return t||e._parent?{[Symbol.iterator](){let n=h(e,t,r);return{next(){if(null===n)return{done:!0,value:null};{const i={done:!1,value:n};return n=p(e,n,t,r),i}}}}}:o()}function m(e,t){if(e===t)return e._parent;const r=[],n=[];let i=h(e,!0);while(null!==i)r.push(i),i=p(e,i,!0);let a=h(t,!0);while(null!==a)n.push(a),a=p(t,a,!0);let o=r.length,s=n.length,l=null;for(let u=Math.min(o,s);u>0;u--){const e=r[--o],t=n[--s];if(e!==t)break;l=e}return l}function g(e,t){if(t._firstChild)return t._firstChild;if(t._nextSibling)return t._nextSibling;while(1){const r=t._parent;if(null===r||r===e)return null;if(r._nextSibling)return r._nextSibling;t=r}}function v(e,t){return t===e?null:t._previousSibling?(t=t._previousSibling,t._lastChild?t._lastChild:t):t._parent}function b(e){switch(e._nodeType){case i.NodeType.Document:let t=!1,r=!1;for(const n of e._children)switch(n._nodeType){case i.NodeType.ProcessingInstruction:case i.NodeType.Comment:break;case i.NodeType.DocumentType:if(t||r)return!1;t=!0;break;case i.NodeType.Element:if(r)return!1;r=!0;break;default:return!1}break;case i.NodeType.DocumentFragment:case i.NodeType.Element:for(const n of e._children)switch(n._nodeType){case i.NodeType.Element:case i.NodeType.Text:case i.NodeType.ProcessingInstruction:case i.NodeType.CData:case i.NodeType.Comment:break;default:return!1}break;case i.NodeType.DocumentType:case i.NodeType.Text:case i.NodeType.ProcessingInstruction:case i.NodeType.CData:case i.NodeType.Comment:return!e.hasChildNodes()}for(const t of e._children)if(!b(t))return!1;return!0}function y(e){return n.Guard.isDocumentTypeNode(e)?0:n.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function w(e){return 0===y(e)}function _(e,t=!1){if(t){const t=_(e,!1);return n.Guard.isShadowRoot(t)?_(t._host,!0):t}return e._parent?_(e._parent):e}function S(e,t,r=!1,n=!1){let i=s(e,r,n);while(null!==i){if(i===t)return!0;i=l(e,i,r,n)}return!1}function E(e,t,r=!1,i=!1){let a=r?e:i&&n.Guard.isShadowRoot(e)?e._host:e._parent;while(null!==a){if(a===t)return!0;a=i&&n.Guard.isShadowRoot(a)?a._host:a._parent}return!1}function M(e,t,r=!1){if(E(e,t,r))return!0;const i=_(e);return!(!n.Guard.isDocumentFragmentNode(i)||null===i._host||!M(i._host,t,r))}function T(e,t,r=!1){return e!==t?null!==e._parent&&e._parent===t._parent:!!r}function C(e,t){const r=I(e),n=I(t);return-1!==r&&-1!==n&&(_(e)===_(t)&&n<r)}function x(e,t){const r=I(e),n=I(t);return-1!==r&&-1!==n&&(_(e)===_(t)&&n>r)}function A(e,t){return e._parent===t}function N(e,t){return t._parent===e}function O(e){return e._previousSibling}function R(e){return e._nextSibling}function L(e){return e._firstChild}function k(e){return e._lastChild}function I(e){const t=_(e);let r=0,n=s(t);while(null!==n){if(r++,n===e)return r;n=l(t,n)}return-1}function D(e){let t=0;while(null!==e._previousSibling)t++,e=e._previousSibling;return t}function P(e,t){while(1){if(!e||!n.Guard.isNode(e))return e;const r=_(e);if(!n.Guard.isShadowRoot(r))return e;if(t&&n.Guard.isNode(t)&&E(r,t,!0,!0))return e;e=r.host}}t.tree_getFirstDescendantNode=s,t.tree_getNextDescendantNode=l,t.tree_getDescendantNodes=u,t.tree_getDescendantElements=c,t.tree_getSiblingNodes=d,t.tree_getFirstAncestorNode=h,t.tree_getNextAncestorNode=p,t.tree_getAncestorNodes=f,t.tree_getCommonAncestor=m,t.tree_getFollowingNode=g,t.tree_getPrecedingNode=v,t.tree_isConstrained=b,t.tree_nodeLength=y,t.tree_isEmpty=w,t.tree_rootNode=_,t.tree_isDescendantOf=S,t.tree_isAncestorOf=E,t.tree_isHostIncludingAncestorOf=M,t.tree_isSiblingOf=T,t.tree_isPreceding=C,t.tree_isFollowing=x,t.tree_isParentOf=A,t.tree_isChildOf=N,t.tree_previousSibling=O,t.tree_nextSibling=R,t.tree_firstChild=L,t.tree_lastChild=k,t.tree_treePosition=I,t.tree_index=D,t.tree_retarget=P},"4ba9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",n;case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",n;case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",n;case"dd":return n+=1===e?"dan":"dana",n;case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",n;case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",n}}var r=e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"4c4e":function(e,t,r){"use strict";function n(e){return e>=0&&e<=127}Object.defineProperty(t,"__esModule",{value:!0}),t.isASCIIByte=n},"4c54":function(e,t,r){"use strict";var n=r("0227"),i=r("73fa"),a=r("1e92"),o=r("9c76"),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,s(e))}},"4cd6":function(e,t,r){"use strict";var n=r("f41c");n("flatMap")},"4d1e":function(e,t){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},"4dc6":function(e,t,r){"use strict";e.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"}},"4dd0":function(e,t,r){"use strict";var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=r("ae84"),s=r("fda6"),l=r("8707").Buffer;e.exports=function(e,t){var r,u=e.toString(),c=u.match(n);if(c){var d="aes"+c[1],h=l.from(c[2],"hex"),p=l.from(c[3].replace(/[\r\n]/g,""),"base64"),f=o(t,h.slice(0,8),parseInt(c[1],10)).key,m=[],g=s.createDecipheriv(d,f,h);m.push(g.update(p)),m.push(g["final"]()),r=l.concat(m)}else{var v=u.match(a);r=l.from(v[2].replace(/[\r\n]/g,""),"base64")}var b=u.match(i)[1];return{tag:b,data:r}}},"4e2b":function(e,t,r){"use strict";var n=r("da3e"),i=r("3fb5"),a=r("5ee7"),o=r("0184");function s(){this.tmp=new Array(2),this.keys=null}function l(e){o.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}i(l,o),e.exports=l,l.create=function(e){return new l(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=a.readUInt32BE(t,0),i=a.readUInt32BE(t,4);a.pc1(r,i,e.tmp,0),r=e.tmp[0],i=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var s=u[o>>>1];r=a.r28shl(r,s),i=a.r28shl(i,s),a.pc2(r,i,e.keys,o)}},l.prototype._update=function(e,t,r,n){var i=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,s,i.tmp,0):this._decrypt(i,o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],a.writeUInt32BE(r,o,n),a.writeUInt32BE(r,s,n+4)},l.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},l.prototype._unpad=function(e){if(!1===this.padding)return e;for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,r,n,i){for(var o=t,s=r,l=0;l<e.keys.length;l+=2){var u=e.keys[l],c=e.keys[l+1];a.expand(s,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=a.substitute(u,c),h=a.permute(d),p=s;s=(o^h)>>>0,o=p}a.rip(s,o,n,i)},l.prototype._decrypt=function(e,t,r,n,i){for(var o=r,s=t,l=e.keys.length-2;l>=0;l-=2){var u=e.keys[l],c=e.keys[l+1];a.expand(o,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=a.substitute(u,c),h=a.permute(d),p=o;o=(s^h)>>>0,s=p}a.rip(o,s,n,i)}},"4e92":function(e,t,r){"use strict";e.exports=o;var n=r("1715"),i=Object.create(r("3a7c"));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush((function(t,r){l(e,t,r)})):l(this,null,null)}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r("3fb5"),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},"4f09":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("c027");t.FixedSizeSet=n.FixedSizeSet;var i=r("2953");t.ObjectCache=i.ObjectCache;var a=r("d7ff");t.CompareCache=a.CompareCache;var o=r("a086");function s(e,t,...r){Object.getOwnPropertyNames(t.prototype).forEach(n=>{if(r.includes(n)){const t=Object.getOwnPropertyDescriptor(e.prototype,n);t&&Object.defineProperty(e.prototype,"_"+n,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&Object.defineProperty(e.prototype,n,i)})}function l(e,t,r=!1){const n=m(e||{});return c(t,(e,t)=>{w(t)?n[e]=l(n[e],t):(r||void 0===n[e])&&(n[e]=t)}),n}function u(e,t,r){e.forEach(t,r)}function c(e,t,r){if(E(e))e.forEach((e,n)=>t.call(r,n,e));else for(const n in e)e.hasOwnProperty(n)&&t.call(r,n,e[n])}function d(e){return S(e)?e.size:e.length}function h(e){return E(e)?e.size:Object.keys(e).length}function p(e,t){return E(e)?e.get(t):e[t]}function f(e,t){E(e)?e.delete(t):delete e[t]}function m(e){if(y(e))return e;if(_(e)){const t=[];for(const r of e)t.push(m(r));return t}if(w(e)){const t={};for(const r in e)if(e.hasOwnProperty(r)){const n=e[r];t[r]=m(n)}return t}return e}function g(e){return"boolean"===typeof e}function v(e){return"number"===typeof e}function b(e){return"string"===typeof e}function y(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function w(e){const t=typeof e;return!!e&&("function"===t||"object"===t)}function _(e){return Array.isArray(e)}function S(e){return e instanceof Set}function E(e){return e instanceof Map}function M(e){if(_(e))return!e.length;if(S(e))return!e.size;if(E(e))return!e.size;if(w(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function T(e){if(w(e)){const t=Object.getPrototypeOf(e),r=t.constructor;return t&&r&&"function"===typeof r&&r instanceof r&&Function.prototype.toString.call(r)===Function.prototype.toString.call(Object)}return!1}function C(e){return e&&"function"===typeof e[Symbol.iterator]}function x(e){return y(e.valueOf)?e.valueOf():e}function A(e){const t=new Uint8Array(4*e.length);let r=0;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i<128)t[r++]=i;else{if(i<2048)t[r++]=i>>6|192;else{if(i>55295&&i<56320){if(++n>=e.length)throw new Error("Incomplete surrogate pair.");const a=e.charCodeAt(n);if(a<56320||a>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&a),t[r++]=i>>18|240,t[r++]=i>>12&63|128}else t[r++]=i>>12|224;t[r++]=i>>6&63|128}t[r++]=63&i|128}}return t.subarray(0,r)}function N(e){let t="",r=0;while(r<e.length){var n=e[r++];if(n>127)if(n>191&&n<224){if(r>=e.length)throw new Error("Incomplete 2-byte sequence.");n=(31&n)<<6|63&e[r++]}else if(n>223&&n<240){if(r+1>=e.length)throw new Error("Incomplete 3-byte sequence.");n=(15&n)<<12|(63&e[r++])<<6|63&e[r++]}else{if(!(n>239&&n<248))throw new Error("Unknown multi-byte start.");if(r+2>=e.length)throw new Error("Incomplete 4-byte sequence.");n=(7&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++]}if(n<=65535)t+=String.fromCharCode(n);else{if(!(n<=1114111))throw new Error("Code point exceeds UTF-16 limit.");n-=65536,t+=String.fromCharCode(n>>10|55296),t+=String.fromCharCode(1023&n|56320)}}return t}t.Lazy=o.Lazy,t.applyMixin=s,t.applyDefaults=l,t.forEachArray=u,t.forEachObject=c,t.arrayLength=d,t.objectLength=h,t.getObjectValue=p,t.removeObjectValue=f,t.clone=m,t.isBoolean=g,t.isNumber=v,t.isString=b,t.isFunction=y,t.isObject=w,t.isArray=_,t.isSet=S,t.isMap=E,t.isEmpty=M,t.isPlainObject=T,t.isIterable=C,t.getValue=x,t.utf8Encode=A,t.utf8Decode=N},"4f15":function(module,exports,__webpack_require__){var require,require;!function(e){module.exports=e()}((function(){var define,module,exports;return function e(t,r,n){function i(o,s){if(!r[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return require(o,!0);if(a)return a(o,!0);throw new Error("Cannot find module '"+o+"'")}var u=r[o]={exports:{}};t[o][0].call(u.exports,(function(e){var r=t[o][1][e];return i(r||e)}),u,u.exports,e,t,r,n)}return r[o].exports}for(var a="function"==typeof require&&require,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(e,t,r){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
- * @license MIT
- */
- var n=e("base64-js"),i=e("ieee754"),a=e("is-array");r.Buffer=s,r.SlowBuffer=s,r.INSPECT_MAX_BYTES=50,s.poolSize=8192;var o=1073741823;function s(e,t,r){if(!(this instanceof s))return new s(e,t,r);var n,i,l,u=typeof e;if("number"===u)n=e>0?e>>>0:0;else if("string"===u)"base64"===t&&(e=N(e)),n=s.byteLength(e,t);else{if("object"!==u||null===e)throw new TypeError("must start with number, buffer, array or string");"Buffer"===e.type&&a(e.data)&&(e=e.data),n=+e.length>0?Math.floor(+e.length):0}if(this.length>o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");if(s.TYPED_ARRAY_SUPPORT?i=s._augment(new Uint8Array(n)):(i=this,i.length=n,i._isBuffer=!0),s.TYPED_ARRAY_SUPPORT&&"number"===typeof e.byteLength)i._set(e);else if(R(e))if(s.isBuffer(e))for(l=0;l<n;l++)i[l]=e.readUInt8(l);else for(l=0;l<n;l++)i[l]=(e[l]%256+256)%256;else if("string"===u)i.write(e,0,t);else if("number"===u&&!s.TYPED_ARRAY_SUPPORT&&!r)for(l=0;l<n;l++)i[l]=0;return i}function l(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=t.length;if(a%2!==0)throw new Error("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;o++){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))throw new Error("Invalid hex string");e[r+o]=s}return o}function u(e,t,r,n){var i=j(k(t),e,r,n);return i}function c(e,t,r,n){var i=j(I(t),e,r,n);return i}function d(e,t,r,n){return c(e,t,r,n)}function h(e,t,r,n){var i=j(P(t),e,r,n);return i}function p(e,t,r,n){var i=j(D(t),e,r,n,2);return i}function f(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function m(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var a=t;a<r;a++)e[a]<=127?(n+=F(i)+String.fromCharCode(e[a]),i=""):i+="%"+e[a].toString(16);return n+F(i)}function g(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;i++)n+=String.fromCharCode(e[i]);return n}function v(e,t,r){return g(e,t,r)}function b(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;a++)i+=L(e[a]);return i}function y(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function w(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function _(e,t,r,n,i,a){if(!s.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>i||t<a)throw new TypeError("value is out of bounds");if(r+n>e.length)throw new TypeError("index out of range")}function S(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;i++)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function E(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;i++)e[r+i]=t>>>8*(n?i:3-i)&255}function M(e,t,r,n,i,a){if(t>i||t<a)throw new TypeError("value is out of bounds");if(r+n>e.length)throw new TypeError("index out of range")}function T(e,t,r,n,a){return a||M(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function C(e,t,r,n,a){return a||M(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}s.TYPED_ARRAY_SUPPORT=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"===typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(r){return!1}}(),s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a&&e[i]===t[i];i++);return i!==a&&(r=e[i],n=t[i]),r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!a(e))throw new TypeError("Usage: Buffer.concat(list[, length])");if(0===e.length)return new s(0);if(1===e.length)return e[0];var r;if(void 0===t)for(t=0,r=0;r<e.length;r++)t+=e[r].length;var n=new s(t),i=0;for(r=0;r<e.length;r++){var o=e[r];o.copy(n,i),i+=o.length}return n},s.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"ascii":case"binary":case"raw":r=e.length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;case"hex":r=e.length>>>1;break;case"utf8":case"utf-8":r=k(e).length;break;case"base64":r=P(e).length;break;default:r=e.length}return r},s.prototype.length=void 0,s.prototype.parent=void 0,s.prototype.toString=function(e,t,r){var n=!1;if(t>>>=0,r=void 0===r||r===1/0?this.length:r>>>0,e||(e="utf8"),t<0&&(t=0),r>this.length&&(r=this.length),r<=t)return"";while(1)switch(e){case"hex":return b(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return g(this,t,r);case"binary":return v(this,t,r);case"base64":return f(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return 0===s.compare(this,e)},s.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return s.compare(this,e)},s.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},s.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},s.prototype.write=function(e,t,r,n){if(isFinite(t))isFinite(r)||(n=r,r=void 0);else{var i=n;n=t,t=r,r=i}t=Number(t)||0;var a,o=this.length-t;switch(r?(r=Number(r),r>o&&(r=o)):r=o,n=String(n||"utf8").toLowerCase(),n){case"hex":a=l(this,e,t,r);break;case"utf8":case"utf-8":a=u(this,e,t,r);break;case"ascii":a=c(this,e,t,r);break;case"binary":a=d(this,e,t,r);break;case"base64":a=h(this,e,t,r);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":a=p(this,e,t,r);break;default:throw new TypeError("Unknown encoding: "+n)}return a},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var 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),s.TYPED_ARRAY_SUPPORT)return s._augment(this.subarray(e,t));for(var n=t-e,i=new s(n,void 0,!0),a=0;a<n;a++)i[a]=this[a+e];return i},s.prototype.readUInt8=function(e,t){return t||w(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readInt8=function(e,t){return t||w(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||w(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||w(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||w(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||w(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):S(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):S(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e):E(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e):E(this,e,t,!1),t+4},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):S(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):S(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):E(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e):E(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return T(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return T(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return C(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return C(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){var i=this;if(r||(r=0),n||0===n||(n=this.length),t||(t=0),n!==r&&0!==e.length&&0!==i.length){if(n<r)throw new TypeError("sourceEnd < sourceStart");if(t<0||t>=e.length)throw new TypeError("targetStart out of bounds");if(r<0||r>=i.length)throw new TypeError("sourceStart out of bounds");if(n<0||n>i.length)throw new TypeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var a=n-r;if(a<1e3||!s.TYPED_ARRAY_SUPPORT)for(var o=0;o<a;o++)e[o+t]=this[o+r];else e._set(this.subarray(r,r+a),t)}},s.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),r<t)throw new TypeError("end < start");if(r!==t&&0!==this.length){if(t<0||t>=this.length)throw new TypeError("start out of bounds");if(r<0||r>this.length)throw new TypeError("end out of bounds");var n;if("number"===typeof e)for(n=t;n<r;n++)this[n]=e;else{var i=k(e.toString()),a=i.length;for(n=t;n<r;n++)this[n]=i[n%a]}return this}},s.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(s.TYPED_ARRAY_SUPPORT)return new s(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var x=s.prototype;s._augment=function(e){return e.constructor=s,e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=x.get,e.set=x.set,e.write=x.write,e.toString=x.toString,e.toLocaleString=x.toString,e.toJSON=x.toJSON,e.equals=x.equals,e.compare=x.compare,e.copy=x.copy,e.slice=x.slice,e.readUInt8=x.readUInt8,e.readUInt16LE=x.readUInt16LE,e.readUInt16BE=x.readUInt16BE,e.readUInt32LE=x.readUInt32LE,e.readUInt32BE=x.readUInt32BE,e.readInt8=x.readInt8,e.readInt16LE=x.readInt16LE,e.readInt16BE=x.readInt16BE,e.readInt32LE=x.readInt32LE,e.readInt32BE=x.readInt32BE,e.readFloatLE=x.readFloatLE,e.readFloatBE=x.readFloatBE,e.readDoubleLE=x.readDoubleLE,e.readDoubleBE=x.readDoubleBE,e.writeUInt8=x.writeUInt8,e.writeUInt16LE=x.writeUInt16LE,e.writeUInt16BE=x.writeUInt16BE,e.writeUInt32LE=x.writeUInt32LE,e.writeUInt32BE=x.writeUInt32BE,e.writeInt8=x.writeInt8,e.writeInt16LE=x.writeInt16LE,e.writeInt16BE=x.writeInt16BE,e.writeInt32LE=x.writeInt32LE,e.writeInt32BE=x.writeInt32BE,e.writeFloatLE=x.writeFloatLE,e.writeFloatBE=x.writeFloatBE,e.writeDoubleLE=x.writeDoubleLE,e.writeDoubleBE=x.writeDoubleBE,e.fill=x.fill,e.inspect=x.inspect,e.toArrayBuffer=x.toArrayBuffer,e};var A=/[^+\/0-9A-z]/g;function N(e){e=O(e).replace(A,"");while(e.length%4!==0)e+="=";return e}function O(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function R(e){return a(e)||s.isBuffer(e)||e&&"object"===typeof e&&"number"===typeof e.length}function L(e){return e<16?"0"+e.toString(16):e.toString(16)}function k(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(n);else{var i=r;n>=55296&&n<=57343&&r++;for(var a=encodeURIComponent(e.slice(i,r+1)).substr(1).split("%"),o=0;o<a.length;o++)t.push(parseInt(a[o],16))}}return t}function I(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}function D(e){for(var t,r,n,i=[],a=0;a<e.length;a++)t=e.charCodeAt(a),r=t>>8,n=t%256,i.push(n),i.push(r);return i}function P(e){return n.toByteArray(e)}function j(e,t,r,n,i){i&&(n-=n%i);for(var a=0;a<n;a++){if(a+r>=t.length||a>=e.length)break;t[a+r]=e[a]}return a}function F(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}},{"base64-js":2,ieee754:3,"is-array":4}],2:[function(e,t,r){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(e){"use strict";var t="undefined"!==typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),i="/".charCodeAt(0),a="0".charCodeAt(0),o="a".charCodeAt(0),s="A".charCodeAt(0);function l(e){var t=e.charCodeAt(0);return t===r?62:t===i?63:t<a?-1:t<a+10?t-a+26+26:t<s+26?t-s:t<o+26?t-o+26:void 0}function u(e){var r,n,i,a,o,s;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=e.length;o="="===e.charAt(u-2)?2:"="===e.charAt(u-1)?1:0,s=new t(3*e.length/4-o),i=o>0?e.length-4:e.length;var c=0;function d(e){s[c++]=e}for(r=0,n=0;r<i;r+=4,n+=3)a=l(e.charAt(r))<<18|l(e.charAt(r+1))<<12|l(e.charAt(r+2))<<6|l(e.charAt(r+3)),d((16711680&a)>>16),d((65280&a)>>8),d(255&a);return 2===o?(a=l(e.charAt(r))<<2|l(e.charAt(r+1))>>4,d(255&a)):1===o&&(a=l(e.charAt(r))<<10|l(e.charAt(r+1))<<4|l(e.charAt(r+2))>>2,d(a>>8&255),d(255&a)),s}function c(e){var t,r,i,a=e.length%3,o="";function s(e){return n.charAt(e)}function l(e){return s(e>>18&63)+s(e>>12&63)+s(e>>6&63)+s(63&e)}for(t=0,i=e.length-a;t<i;t+=3)r=(e[t]<<16)+(e[t+1]<<8)+e[t+2],o+=l(r);switch(a){case 1:r=e[e.length-1],o+=s(r>>2),o+=s(r<<4&63),o+="==";break;case 2:r=(e[e.length-2]<<8)+e[e.length-1],o+=s(r>>10),o+=s(r>>4&63),o+=s(r<<2&63),o+="=";break}return o}e.toByteArray=u,e.fromByteArray=c})("undefined"===typeof r?this.base64js={}:r)},{}],3:[function(e,t,r){r.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,p=e[t+d];for(d+=h,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=h,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+d],d+=h,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=u}return(p?-1:1)*o*Math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),t+=o+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+p]=255&s,p+=f,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+p]=255&o,p+=f,o/=256,u-=8);e[r+p-f]|=128*m}},{}],4:[function(e,t,r){var n=Array.isArray,i=Object.prototype.toString;t.exports=n||function(e){return!!e&&"[object Array]"==i.call(e)}},{}],5:[function(e,t,r){"use strict";var n=e("./dataReader");function i(e){if(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}}i.prototype=new n,i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"./dataReader":10}],6:[function(e,t,r){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e,t){var r,i,a,o,s,l,u,c="",d=0;while(d<e.length)r=e.charCodeAt(d++),i=e.charCodeAt(d++),a=e.charCodeAt(d++),o=r>>2,s=(3&r)<<4|i>>4,l=(15&i)<<2|a>>6,u=63&a,isNaN(i)?l=u=64:isNaN(a)&&(u=64),c=c+n.charAt(o)+n.charAt(s)+n.charAt(l)+n.charAt(u);return c},r.decode=function(e,t){var r,i,a,o,s,l,u,c="",d=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(d<e.length)o=n.indexOf(e.charAt(d++)),s=n.indexOf(e.charAt(d++)),l=n.indexOf(e.charAt(d++)),u=n.indexOf(e.charAt(d++)),r=o<<2|s>>4,i=(15&s)<<4|l>>2,a=(3&l)<<6|u,c+=String.fromCharCode(r),64!=l&&(c+=String.fromCharCode(i)),64!=u&&(c+=String.fromCharCode(a));return c}},{}],7:[function(e,t,r){"use strict";function n(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=n},{}],8:[function(e,t,r){"use strict";r.STORE={magic:"\0\0",compress:function(e,t){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},r.DEFLATE=e("./flate")},{"./flate":13}],9:[function(e,t,r){"use strict";var n=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 r="string"!==n.getTypeOf(e);"undefined"==typeof t&&(t=0);var a=0,o=0,s=0;t^=-1;for(var l=0,u=e.length;l<u;l++)s=r?e[l]:e.charCodeAt(l),o=255&(t^s),a=i[o],t=t>>>8^a;return-1^t}},{"./utils":26}],10:[function(e,t,r){"use strict";var n=e("./utils");function i(e){this.data=null,this.length=0,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+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,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.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":26}],11:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!1,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],12:[function(e,t,r){"use strict";var n=e("./utils");r.string2binary=function(e){return n.string2binary(e)},r.string2Uint8Array=function(e){return n.transformTo("uint8array",e)},r.uint8Array2String=function(e){return n.transformTo("string",e)},r.string2Blob=function(e){var t=n.transformTo("arraybuffer",e);return n.arrayBuffer2Blob(t)},r.arrayBuffer2Blob=function(e){return n.arrayBuffer2Blob(e)},r.transformTo=function(e,t){return n.transformTo(e,t)},r.getTypeOf=function(e){return n.getTypeOf(e)},r.checkSupport=function(e){return n.checkSupport(e)},r.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS,r.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS,r.pretty=function(e){return n.pretty(e)},r.findCompression=function(e){return n.findCompression(e)},r.isRegExp=function(e){return n.isRegExp(e)}},{"./utils":26}],13:[function(e,t,r){"use strict";var n="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array,i=e("pako");r.uncompressInputType=n?"uint8array":"array",r.compressInputType=n?"uint8array":"array",r.magic="\b\0",r.compress=function(e,t){return i.deflateRaw(e,{level:t.level||-1})},r.uncompress=function(e){return i.inflateRaw(e)}},{pako:29}],14:[function(e,t,r){"use strict";var n=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 n.encode(e)},decode:function(e){return n.decode(e)}},i.compressions=e("./compressions"),t.exports=i},{"./base64":6,"./compressions":8,"./defaults":11,"./deprecatedPublicUtils":12,"./load":15,"./object":18,"./support":22}],15:[function(e,t,r){"use strict";var n=e("./base64"),i=e("./utf8"),a=e("./utils"),o=e("./zipEntries");t.exports=function(e,t){var r,s,l,u;for(t=a.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),t.base64&&(e=n.decode(e)),s=new o(e,t),r=s.files,l=0;l<r.length;l++)u=r[l],this.file(u.fileNameStr,u.decompressed,{binary:!0,optimizedBinaryString:!0,date:u.date,dir:u.dir,comment:u.fileCommentStr.length?u.fileCommentStr:null,unixPermissions:u.unixPermissions,dosPermissions:u.dosPermissions,createFolders:t.createFolders});return s.zipComment.length&&(this.comment=s.zipComment),this}},{"./base64":6,"./utf8":25,"./utils":26,"./zipEntries":27}],16:[function(e,t,r){(function(e){"use strict";t.exports=function(t,r){return new e(t,r)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,e("buffer").Buffer)},{buffer:1}],17:[function(e,t,r){"use strict";var n=e("./uint8ArrayReader");function i(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0}i.prototype=new n,i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"./uint8ArrayReader":23}],18:[function(e,t,r){"use strict";var n=e("./support"),i=e("./utils"),a=e("./crc32"),o=e("./signature"),s=e("./defaults"),l=e("./base64"),u=e("./compressions"),c=e("./compressedObject"),d=e("./nodeBuffer"),h=e("./utf8"),p=e("./stringWriter"),f=e("./uint8ArrayWriter"),m=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},g=function(e){var t=m(e),r=i.getTypeOf(t);return"string"===r?!e.options.binary&&n.nodebuffer?d(t,"utf-8"):e.asBinary():t},v=function(e){var t=m(this);return null===t||"undefined"===typeof t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?N.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",N.utf8encode(t))),t)},b=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this.options=r,this._initialMetadata={dir:r.dir,date:r.date}};b.prototype={asText:function(){return v.call(this,!0)},asBinary:function(){return v.call(this,!1)},asNodeBuffer:function(){var e=g(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=g(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var y=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},w=function(e){return e=e||{},!0!==e.base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),e=i.extend(e,s),e.date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e},_=function(e,t,r){var n,a=i.getTypeOf(t);if(r=w(r),"string"===typeof r.unixPermissions&&(r.unixPermissions=parseInt(r.unixPermissions,8)),r.unixPermissions&&16384&r.unixPermissions&&(r.dir=!0),r.dosPermissions&&16&r.dosPermissions&&(r.dir=!0),r.dir&&(e=E(e)),r.createFolders&&(n=S(e))&&M.call(this,n,!0),r.dir||null===t||"undefined"===typeof t)r.base64=!1,r.binary=!1,t=null,a=null;else if("string"===a)r.binary&&!r.base64&&!0!==r.optimizedBinaryString&&(t=i.string2binary(t));else{if(r.base64=!1,r.binary=!0,!a&&!(t instanceof c))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===a&&(t=i.transformTo("uint8array",t))}var o=new b(e,t,r);return this.files[e]=o,o},S=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},E=function(e){return"/"!=e.slice(-1)&&(e+="/"),e},M=function(e,t){return t="undefined"!==typeof t&&t,e=E(e),this.files[e]||_.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},T=function(e,t,r){var n,o=new c;return e._data instanceof c?(o.uncompressedSize=e._data.uncompressedSize,o.crc32=e._data.crc32,0===o.uncompressedSize||e.dir?(t=u["STORE"],o.compressedContent="",o.crc32=0):e._data.compressionMethod===t.magic?o.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),o.compressedContent=t.compress(i.transformTo(t.compressInputType,n),r))):(n=g(e),n&&0!==n.length&&!e.dir||(t=u["STORE"],n=""),o.uncompressedSize=n.length,o.crc32=a(n),o.compressedContent=t.compress(i.transformTo(t.compressInputType,n),r)),o.compressedSize=o.compressedContent.length,o.compressionMethod=t.magic,o},C=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16},x=function(e,t){return 63&(e||0)},A=function(e,t,r,n,s,l){r.compressedContent;var u,c,d,p,f=l!==h.utf8encode,m=i.transformTo("string",l(t.name)),g=i.transformTo("string",h.utf8encode(t.name)),v=t.comment||"",b=i.transformTo("string",l(v)),w=i.transformTo("string",h.utf8encode(v)),_=g.length!==t.name.length,S=w.length!==v.length,E=t.options,M="",T="",A="";d=t._initialMetadata.dir!==t.dir?t.dir:E.dir,p=t._initialMetadata.date!==t.date?t.date:E.date;var N=0,O=0;d&&(N|=16),"UNIX"===s?(O=798,N|=C(t.unixPermissions,d)):(O=20,N|=x(t.dosPermissions,d)),u=p.getHours(),u<<=6,u|=p.getMinutes(),u<<=5,u|=p.getSeconds()/2,c=p.getFullYear()-1980,c<<=4,c|=p.getMonth()+1,c<<=5,c|=p.getDate(),_&&(T=y(1,1)+y(a(m),4)+g,M+="up"+y(T.length,2)+T),S&&(A=y(1,1)+y(this.crc32(b),4)+w,M+="uc"+y(A.length,2)+A);var R="";R+="\n\0",R+=f||!_&&!S?"\0\0":"\0\b",R+=r.compressionMethod,R+=y(u,2),R+=y(c,2),R+=y(r.crc32,4),R+=y(r.compressedSize,4),R+=y(r.uncompressedSize,4),R+=y(m.length,2),R+=y(M.length,2);var L=o.LOCAL_FILE_HEADER+R+m+M,k=o.CENTRAL_FILE_HEADER+y(O,2)+R+y(b.length,2)+"\0\0\0\0"+y(N,4)+y(n,4)+m+M+b;return{fileRecord:L,dirRecord:k,compressedObject:r}},N={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,r,n,a,o=[];for(t in this.files)this.files.hasOwnProperty(t)&&(n=this.files[t],a=new b(n.name,n._data,i.extend(n.options)),r=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(r,a)&&o.push(a));return o},file:function(e,t,r){if(1===arguments.length){if(i.isRegExp(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}return this.filter((function(t,r){return!r.dir&&t===e}))[0]||null}return e=this.root+e,_.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=M.call(this,t),n=this.clone();return n.root=r.name,n},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 r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(e){e=i.extend(e||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:h.utf8encode}),i.checkSupport(e.type),"darwin"!==e.platform&&"freebsd"!==e.platform&&"linux"!==e.platform&&"sunos"!==e.platform||(e.platform="UNIX"),"win32"===e.platform&&(e.platform="DOS");var t,r,n=[],a=0,s=0,c=i.transformTo("string",e.encodeFileName(e.comment||this.comment||""));for(var d in this.files)if(this.files.hasOwnProperty(d)){var m=this.files[d],g=m.options.compression||e.compression.toUpperCase(),v=u[g];if(!v)throw new Error(g+" is not a valid compression method !");var b=m.options.compressionOptions||e.compressionOptions||{},w=T.call(this,m,v,b),_=A.call(this,d,m,w,a,e.platform,e.encodeFileName);a+=_.fileRecord.length+w.compressedSize,s+=_.dirRecord.length,n.push(_)}var S="";S=o.CENTRAL_DIRECTORY_END+"\0\0\0\0"+y(n.length,2)+y(n.length,2)+y(s,4)+y(a,4)+y(c.length,2)+c;var E=e.type.toLowerCase();for(t="uint8array"===E||"arraybuffer"===E||"blob"===E||"nodebuffer"===E?new f(a+s+S.length):new p(a+s+S.length),r=0;r<n.length;r++)t.append(n[r].fileRecord),t.append(n[r].compressedObject.compressedContent);for(r=0;r<n.length;r++)t.append(n[r].dirRecord);t.append(S);var M=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),M);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",M),e.mimeType);case"base64":return e.base64?l.encode(M):M;default:return M}},crc32:function(e,t){return a(e,t)},utf8encode:function(e){return i.transformTo("string",h.utf8encode(e))},utf8decode:function(e){return h.utf8decode(e)}};t.exports=N},{"./base64":6,"./compressedObject":7,"./compressions":8,"./crc32":9,"./defaults":11,"./nodeBuffer":16,"./signature":19,"./stringWriter":21,"./support":22,"./uint8ArrayWriter":24,"./utf8":25,"./utils":26}],19:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],20:[function(e,t,r){"use strict";var n=e("./dataReader"),i=e("./utils");function a(e,t){this.data=e,t||(this.data=i.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}a.prototype=new n,a.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},a.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"./dataReader":10,"./utils":26}],21:[function(e,t,r){"use strict";var n=e("./utils"),i=function(){this.data=[]};i.prototype={append:function(e){e=n.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=i},{"./utils":26}],22:[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(a){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(a){r.blob=!1}}}}).call(this,e("buffer").Buffer)},{buffer:1}],23:[function(e,t,r){"use strict";var n=e("./arrayReader");function i(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0)}i.prototype=new n,i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"./arrayReader":5}],24:[function(e,t,r){"use strict";var n=e("./utils"),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=n.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=i},{"./utils":26}],25:[function(e,t,r){"use strict";for(var n=e("./utils"),i=e("./support"),a=e("./nodeBuffer"),o=new Array(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;o[254]=o[254]=1;var l=function(e){var t,r,n,a,o,s=e.length,l=0;for(a=0;a<s;a++)r=e.charCodeAt(a),55296===(64512&r)&&a+1<s&&(n=e.charCodeAt(a+1),56320===(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),a++)),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),o=0,a=0;o<l;a++)r=e.charCodeAt(a),55296===(64512&r)&&a+1<s&&(n=e.charCodeAt(a+1),56320===(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),a++)),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t},u=function(e,t){var r;t=t||e.length,t>e.length&&(t=e.length),r=t-1;while(r>=0&&128===(192&e[r]))r--;return r<0||0===r?t:r+o[e[r]]>t?r:t},c=function(e){var t,r,i,a,s=e.length,l=new Array(2*s);for(r=0,t=0;t<s;)if(i=e[t++],i<128)l[r++]=i;else if(a=o[i],a>4)l[r++]=65533,t+=a-1;else{i&=2===a?31:3===a?15:7;while(a>1&&t<s)i=i<<6|63&e[t++],a--;a>1?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),n.applyFromCharCode(l)};r.utf8encode=function(e){return i.nodebuffer?a(e,"utf-8"):l(e)},r.utf8decode=function(e){if(i.nodebuffer)return n.transformTo("nodebuffer",e).toString("utf-8");e=n.transformTo(i.uint8array?"uint8array":"array",e);var t=[],r=0,a=e.length,o=65536;while(r<a){var s=u(e,Math.min(r+o,a));i.uint8array?t.push(c(e.subarray(r,s))):t.push(c(e.slice(r,s))),r=s}return t.join("")}},{"./nodeBuffer":16,"./support":22,"./utils":26}],26:[function(e,t,r){"use strict";var n=e("./support"),i=e("./compressions"),a=e("./nodeBuffer");function o(e){return e}function s(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}function l(e){var t=65536,n=[],i=e.length,o=r.getTypeOf(e),s=0,l=!0;try{switch(o){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,a(0));break}}catch(d){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"===o||"nodebuffer"===o?n.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+t,i)))):n.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+t,i)))),s+=t}catch(d){t=Math.floor(t/2)}return n.join("")}function u(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.string2binary=function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(255&e.charCodeAt(r));return t},r.arrayBuffer2Blob=function(e,t){r.checkSupport("blob"),t=t||"application/zip";try{return new Blob([e],{type:t})}catch(a){try{var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,i=new n;return i.append(e),i.getBlob(t)}catch(a){throw new Error("Bug : can't construct the Blob.")}}},r.applyFromCharCode=l;var c={};c["string"]={string:o,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,a(e.length))}},c["array"]={string:l,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a(e)}},c["arraybuffer"]={string:function(e){return l(new Uint8Array(e))},array:function(e){return u(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a(new Uint8Array(e))}},c["uint8array"]={string:l,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return a(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:o},r.transformTo=function(e,t){if(t||(t=""),!e)return t;r.checkSupport(e);var n=r.getTypeOf(t),i=c[n][e](t);return i},r.getTypeOf=function(e){return"string"===typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&a.test(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){var t=n[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this browser")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)t=e.charCodeAt(r),n+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return n},r.findCompression=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t].magic===e)return i[t];return null},r.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&"undefined"===typeof r[t]&&(r[t]=arguments[e][t]);return r}},{"./compressions":8,"./nodeBuffer":16,"./support":22}],27:[function(e,t,r){"use strict";var n=e("./stringReader"),i=e("./nodeBufferReader"),a=e("./uint8ArrayReader"),o=e("./arrayReader"),s=e("./utils"),l=e("./signature"),u=e("./zipEntry"),c=e("./support");e("./object");function d(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}d.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+s.pretty(t)+", expected "+s.pretty(e)+")")},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4),i=n===t;return this.reader.setIndex(r),i},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);var e=this.reader.readData(this.zipCommentLength),t=c.uint8array?"uint8array":"array",r=s.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},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,r,n=this.zip64EndOfCentralSize-44,i=0;while(i<n)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},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(l.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;this.reader.setIndex(this.centralDirOffset);while(this.reader.readString(4)===l.CENTRAL_FILE_HEADER)e=new u({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,l.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory")}this.reader.setIndex(e);var r=e;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,l.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var i=r-n;if(i>0)this.isSignature(r,l.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){var t=s.getTypeOf(e);if(s.checkSupport(t),"string"!==t||c.uint8array)if("nodebuffer"===t)this.reader=new i(e);else if(c.uint8array)this.reader=new a(s.transformTo("uint8array",e));else{if(!c.array)throw new Error("Unexpected error: unsupported type '"+t+"'");this.reader=new o(s.transformTo("array",e))}else this.reader=new n(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=d},{"./arrayReader":5,"./nodeBufferReader":17,"./object":18,"./signature":19,"./stringReader":20,"./support":22,"./uint8ArrayReader":23,"./utils":26,"./zipEntry":28}],28:[function(e,t,r){"use strict";var n=e("./stringReader"),i=e("./utils"),a=e("./compressedObject"),o=e("./object"),s=e("./support"),l=0,u=3;function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return 1===(1&this.bitFlag)},useUTF8:function(){return 2048===(2048&this.bitFlag)},prepareCompressedContent:function(e,t,r){return function(){var n=e.index;e.setIndex(t);var i=e.readData(r);return e.setIndex(n),i}},prepareContent:function(e,t,r,n,a){return function(){var e=i.transformTo(n.uncompressInputType,this.getCompressedContent()),t=n.uncompress(e);if(t.length!==a)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-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 : "+i.transformTo("string",this.fileName)+")");if(this.decompressed=new a,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()),o.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readInt(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.readData(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e===l&&(this.dosPermissions=63&this.externalFileAttributes),e===u&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new n(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,r,n,i=e.index;this.extraFields=this.extraFields||{};while(e.index<i+this.extraFieldsLength)t=e.readInt(2),r=e.readInt(2),n=e.readString(r),this.extraFields[t]={id:t,length:r,value:n}},handleUTF8:function(){var e=s.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new n(e.value);return 1!==t.readInt(1)||o.crc32(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new n(e.value);return 1!==t.readInt(1)||o.crc32(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readString(e.length-5))}return null}},t.exports=c},{"./compressedObject":7,"./object":18,"./stringReader":20,"./support":22,"./utils":26}],29:[function(e,t,r){"use strict";var n=e("./lib/utils/common").assign,i=e("./lib/deflate"),a=e("./lib/inflate"),o=e("./lib/zlib/constants"),s={};n(s,i,a,o),t.exports=s},{"./lib/deflate":30,"./lib/inflate":31,"./lib/utils/common":32,"./lib/zlib/constants":35}],30:[function(e,t,r){"use strict";var n=e("./zlib/deflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString,u=0,c=4,d=0,h=1,p=2,f=-1,m=0,g=8;function v(e){if(!(this instanceof v))return new v(e);this.options=i.assign({level:f,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,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 r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==d)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var u;if(u="string"===typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,r=n.deflateSetDictionary(this.strm,u),r!==d)throw new Error(o[r]);this._dict_set=!0}}function b(e,t){var r=new v(t);if(r.push(e,!0),r.err)throw r.msg;return r.result}function y(e,t){return t=t||{},t.raw=!0,b(e,t)}function w(e,t){return t=t||{},t.gzip=!0,b(e,t)}v.prototype.push=function(e,t){var r,o,s=this.strm,f=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?c:u,"string"===typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(f),s.next_out=0,s.avail_out=f),r=n.deflate(s,o),r!==h&&r!==d)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||o!==c&&o!==p)||("string"===this.options.to?this.onData(a.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)&&r!==h);return o===c?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===d):o!==p||(this.onEnd(d),s.avail_out=0,!0)},v.prototype.onData=function(e){this.chunks.push(e)},v.prototype.onEnd=function(e){e===d&&("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},r.Deflate=v,r.deflate=b,r.deflateRaw=y,r.gzip=w},{"./utils/common":32,"./utils/strings":33,"./zlib/deflate":37,"./zlib/messages":42,"./zlib/zstream":44}],31:[function(e,t,r){"use strict";var n=e("./zlib/inflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(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 r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg;return r.result}function p(e,t){return t=t||{},t.raw=!0,h(e,t)}d.prototype.push=function(e,t){var r,s,l,u,d,h,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"===typeof e?p.input=a.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new i.Buf8(f),p.next_out=0,p.avail_out=f),r=n.inflate(p,o.Z_NO_FLUSH),r===o.Z_NEED_DICT&&m&&(h="string"===typeof m?a.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,h)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),this.ended=!0,!1;p.next_out&&(0!==p.avail_out&&r!==o.Z_STREAM_END&&(0!==p.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(l=a.utf8border(p.output,p.next_out),u=p.next_out-l,d=a.buf2string(p.output,l),p.next_out=u,p.avail_out=f-u,u&&i.arraySet(p.output,p.output,l,u,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((p.avail_in>0||0===p.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),p.avail_out=0,!0)},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.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},r.Inflate=d,r.inflate=h,r.inflateRaw=p,r.ungzip=h},{"./utils/common":32,"./utils/strings":33,"./zlib/constants":35,"./zlib/gzheader":38,"./zlib/inflate":40,"./zlib/messages":42,"./zlib/zstream":44}],32:[function(e,t,r){"use strict";var n="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;r.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var r=t.shift();if(r){if("object"!==typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.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,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],33:[function(e,t,r){"use strict";var n=e("./common"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(u){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(u){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[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&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,r.string2buf=function(e){var t,r,i,a,o,s=e.length,l=0;for(a=0;a<s;a++)r=e.charCodeAt(a),55296===(64512&r)&&a+1<s&&(i=e.charCodeAt(a+1),56320===(64512&i)&&(r=65536+(r-55296<<10)+(i-56320),a++)),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(l),o=0,a=0;o<l;a++)r=e.charCodeAt(a),55296===(64512&r)&&a+1<s&&(i=e.charCodeAt(a+1),56320===(64512&i)&&(r=65536+(r-55296<<10)+(i-56320),a++)),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,a,s=t||e.length,u=new Array(2*s);for(n=0,r=0;r<s;)if(i=e[r++],i<128)u[n++]=i;else if(a=o[i],a>4)u[n++]=65533,r+=a-1;else{i&=2===a?31:3===a?15:7;while(a>1&&r<s)i=i<<6|63&e[r++],a--;a>1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return l(u,n)},r.utf8border=function(e,t){var r;t=t||e.length,t>e.length&&(t=e.length),r=t-1;while(r>=0&&128===(192&e[r]))r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},{"./common":32}],34:[function(e,t,r){"use strict";function n(e,t,r,n){var i=65535&e|0,a=e>>>16&65535|0,o=0;while(0!==r){o=r>2e3?2e3:r,r-=o;do{i=i+t[n++]|0,a=a+i|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}t.exports=n},{}],35:[function(e,t,r){"use strict";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}},{}],36:[function(e,t,r){"use strict";function n(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}var i=n();function a(e,t,r,n){var a=i,o=n+r;e^=-1;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}t.exports=a},{}],37:[function(e,t,r){"use strict";var n,i=e("../utils/common"),a=e("./trees"),o=e("./adler32"),s=e("./crc32"),l=e("./messages"),u=0,c=1,d=3,h=4,p=5,f=0,m=1,g=-2,v=-3,b=-5,y=-1,w=1,_=2,S=3,E=4,M=0,T=2,C=8,x=9,A=15,N=8,O=29,R=256,L=R+1+O,k=30,I=19,D=2*L+1,P=15,j=3,F=258,H=F+j+1,B=32,U=42,V=69,Y=73,z=91,W=103,q=113,G=666,K=1,X=2,Z=3,$=4,J=3;function Q(e,t){return e.msg=l[t],t}function ee(e){return(e<<1)-(e>4?9:0)}function te(e){var t=e.length;while(--t>=0)e[t]=0}function re(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function ne(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,re(e.strm)}function ie(e,t){e.pending_buf[e.pending++]=t}function ae(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function oe(e,t,r,n){var a=e.avail_in;return a>n&&(a=n),0===a?0:(e.avail_in-=a,i.arraySet(t,e.input,e.next_in,a,r),1===e.state.wrap?e.adler=o(e.adler,t,a,r):2===e.state.wrap&&(e.adler=s(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function se(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-H?e.strstart-(e.w_size-H):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+F,p=u[a+o-1],f=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(r=t,u[r+o]===f&&u[r+o-1]===p&&u[r]===u[a]&&u[++r]===u[a+1]){a+=2,r++;do{}while(u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&a<h);if(n=F-(h-a),a=h-F,n>o){if(e.match_start=t,o=n,n>=s)break;p=u[a+o-1],f=u[a+o]}}}while((t=d[t&c])>l&&0!==--i);return o<=e.lookahead?o:e.lookahead}function le(e){var t,r,n,a,o,s=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-H)){i.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,r=e.hash_size,t=r;do{n=e.head[--t],e.head[t]=n>=s?n-s:0}while(--r);r=s,t=r;do{n=e.prev[--t],e.prev[t]=n>=s?n-s:0}while(--r);a+=s}if(0===e.strm.avail_in)break;if(r=oe(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=r,e.lookahead+e.insert>=j){o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+j-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,e.lookahead+e.insert<j)break}}while(e.lookahead<H&&0!==e.strm.avail_in)}function ue(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(le(e),0===e.lookahead&&t===u)return K;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,ne(e,!1),0===e.strm.avail_out))return K;if(e.strstart-e.block_start>=e.w_size-H&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):(e.strstart>e.block_start&&(ne(e,!1),e.strm.avail_out),K)}function ce(e,t){for(var r,n;;){if(e.lookahead<H){if(le(e),e.lookahead<H&&t===u)return K;if(0===e.lookahead)break}if(r=0,e.lookahead>=j&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-H&&(e.match_length=se(e,r)),e.match_length>=j)if(n=a._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,r=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 n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=e.strstart<j-1?e.strstart:j-1,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function de(e,t){for(var r,n,i;;){if(e.lookahead<H){if(le(e),e.lookahead<H&&t===u)return K;if(0===e.lookahead)break}if(r=0,e.lookahead>=j&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,r=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!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-H&&(e.match_length=se(e,r),e.match_length<=5&&(e.strategy===w||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){i=e.strstart+e.lookahead-j,n=a._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<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,r=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++,n&&(ne(e,!1),0===e.strm.avail_out))return K}else if(e.match_available){if(n=a._tr_tally(e,0,e.window[e.strstart-1]),n&&ne(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return K}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<j-1?e.strstart:j-1,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function he(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=F){if(le(e),e.lookahead<=F&&t===u)return K;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=j&&e.strstart>0&&(i=e.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){o=e.strstart+F;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=F-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=j?(r=a._tr_tally(e,1,e.match_length-j),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function pe(e,t){for(var r;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===u)return K;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function fe(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function me(e){e.window_size=2*e.w_size,te(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[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 ge(){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=C,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 i.Buf16(2*D),this.dyn_dtree=new i.Buf16(2*(2*k+1)),this.bl_tree=new i.Buf16(2*(2*I+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(P+1),this.heap=new i.Buf16(2*L+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*L+1),te(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 ve(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=T,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?U:q,e.adler=2===t.wrap?0:1,t.last_flush=u,a._tr_init(t),f):Q(e,g)}function be(e){var t=ve(e);return t===f&&me(e.state),t}function ye(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,f):g}function we(e,t,r,n,a,o){if(!e)return g;var s=1;if(t===y&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>x||r!==C||n<8||n>15||t<0||t>9||o<0||o>E)return Q(e,g);8===n&&(n=9);var l=new ge;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+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 i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=r,be(e)}function _e(e,t){return we(e,t,C,A,N,M)}function Se(e,t){var r,i,o,l;if(!e||!e.state||t>p||t<0)return e?Q(e,g):g;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===G&&t!==h)return Q(e,0===e.avail_out?b:g);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===U)if(2===i.wrap)e.adler=0,ie(i,31),ie(i,139),ie(i,8),i.gzhead?(ie(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ie(i,255&i.gzhead.time),ie(i,i.gzhead.time>>8&255),ie(i,i.gzhead.time>>16&255),ie(i,i.gzhead.time>>24&255),ie(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),ie(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ie(i,255&i.gzhead.extra.length),ie(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=V):(ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),ie(i,J),i.status=q);else{var v=C+(i.w_bits-8<<4)<<8,y=-1;y=i.strategy>=_||i.level<2?0:i.level<6?1:6===i.level?2:3,v|=y<<6,0!==i.strstart&&(v|=B),v+=31-v%31,i.status=q,ae(i,v),0!==i.strstart&&(ae(i,e.adler>>>16),ae(i,65535&e.adler)),e.adler=1}if(i.status===V)if(i.gzhead.extra){o=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size))break;ie(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Y)}else i.status=Y;if(i.status===Y)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.gzindex=0,i.status=z)}else i.status=z;if(i.status===z)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.status=W)}else i.status=W;if(i.status===W&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&re(e),i.pending+2<=i.pending_buf_size&&(ie(i,255&e.adler),ie(i,e.adler>>8&255),e.adler=0,i.status=q)):i.status=q),0!==i.pending){if(re(e),0===e.avail_out)return i.last_flush=-1,f}else if(0===e.avail_in&&ee(t)<=ee(r)&&t!==h)return Q(e,b);if(i.status===G&&0!==e.avail_in)return Q(e,b);if(0!==e.avail_in||0!==i.lookahead||t!==u&&i.status!==G){var w=i.strategy===_?pe(i,t):i.strategy===S?he(i,t):n[i.level].func(i,t);if(w!==Z&&w!==$||(i.status=G),w===K||w===Z)return 0===e.avail_out&&(i.last_flush=-1),f;if(w===X&&(t===c?a._tr_align(i):t!==p&&(a._tr_stored_block(i,0,0,!1),t===d&&(te(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),re(e),0===e.avail_out))return i.last_flush=-1,f}return t!==h?f:i.wrap<=0?m:(2===i.wrap?(ie(i,255&e.adler),ie(i,e.adler>>8&255),ie(i,e.adler>>16&255),ie(i,e.adler>>24&255),ie(i,255&e.total_in),ie(i,e.total_in>>8&255),ie(i,e.total_in>>16&255),ie(i,e.total_in>>24&255)):(ae(i,e.adler>>>16),ae(i,65535&e.adler)),re(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?f:m)}function Ee(e){var t;return e&&e.state?(t=e.state.status,t!==U&&t!==V&&t!==Y&&t!==z&&t!==W&&t!==q&&t!==G?Q(e,g):(e.state=null,t===q?Q(e,v):f)):g}function Me(e,t){var r,n,a,s,l,u,c,d,h=t.length;if(!e||!e.state)return g;if(r=e.state,s=r.wrap,2===s||1===s&&r.status!==U||r.lookahead)return g;1===s&&(e.adler=o(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===s&&(te(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new i.Buf8(r.w_size),i.arraySet(d,t,h-r.w_size,r.w_size,0),t=d,h=r.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,le(r);while(r.lookahead>=j){n=r.strstart,a=r.lookahead-(j-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+j-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--a);r.strstart=n,r.lookahead=j-1,le(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=j-1,r.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,r.wrap=s,f}n=[new fe(0,0,0,0,ue),new fe(4,4,8,4,ce),new fe(4,5,16,8,ce),new fe(4,6,32,32,ce),new fe(4,4,16,16,de),new fe(8,16,32,32,de),new fe(8,16,128,128,de),new fe(8,32,128,256,de),new fe(32,128,258,1024,de),new fe(32,258,258,4096,de)],r.deflateInit=_e,r.deflateInit2=we,r.deflateReset=be,r.deflateResetKeep=ve,r.deflateSetHeader=ye,r.deflate=Se,r.deflateEnd=Ee,r.deflateSetDictionary=Me,r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./messages":42,"./trees":43}],38:[function(e,t,r){"use strict";function n(){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=n},{}],39:[function(e,t,r){"use strict";var n=30,i=12;t.exports=function(e,t){var r,a,o,s,l,u,c,d,h,p,f,m,g,v,b,y,w,_,S,E,M,T,C,x,A;r=e.state,a=e.next_in,x=e.input,o=a+(e.avail_in-5),s=e.next_out,A=e.output,l=s-(t-e.avail_out),u=s+(e.avail_out-257),c=r.dmax,d=r.wsize,h=r.whave,p=r.wnext,f=r.window,m=r.hold,g=r.bits,v=r.lencode,b=r.distcode,y=(1<<r.lenbits)-1,w=(1<<r.distbits)-1;e:do{g<15&&(m+=x[a++]<<g,g+=8,m+=x[a++]<<g,g+=8),_=v[m&y];t:for(;;){if(S=_>>>24,m>>>=S,g-=S,S=_>>>16&255,0===S)A[s++]=65535&_;else{if(!(16&S)){if(0===(64&S)){_=v[(65535&_)+(m&(1<<S)-1)];continue t}if(32&S){r.mode=i;break e}e.msg="invalid literal/length code",r.mode=n;break e}E=65535&_,S&=15,S&&(g<S&&(m+=x[a++]<<g,g+=8),E+=m&(1<<S)-1,m>>>=S,g-=S),g<15&&(m+=x[a++]<<g,g+=8,m+=x[a++]<<g,g+=8),_=b[m&w];r:for(;;){if(S=_>>>24,m>>>=S,g-=S,S=_>>>16&255,!(16&S)){if(0===(64&S)){_=b[(65535&_)+(m&(1<<S)-1)];continue r}e.msg="invalid distance code",r.mode=n;break e}if(M=65535&_,S&=15,g<S&&(m+=x[a++]<<g,g+=8,g<S&&(m+=x[a++]<<g,g+=8)),M+=m&(1<<S)-1,M>c){e.msg="invalid distance too far back",r.mode=n;break e}if(m>>>=S,g-=S,S=s-l,M>S){if(S=M-S,S>h&&r.sane){e.msg="invalid distance too far back",r.mode=n;break e}if(T=0,C=f,0===p){if(T+=d-S,S<E){E-=S;do{A[s++]=f[T++]}while(--S);T=s-M,C=A}}else if(p<S){if(T+=d+p-S,S-=p,S<E){E-=S;do{A[s++]=f[T++]}while(--S);if(T=0,p<E){S=p,E-=S;do{A[s++]=f[T++]}while(--S);T=s-M,C=A}}}else if(T+=p-S,S<E){E-=S;do{A[s++]=f[T++]}while(--S);T=s-M,C=A}while(E>2)A[s++]=C[T++],A[s++]=C[T++],A[s++]=C[T++],E-=3;E&&(A[s++]=C[T++],E>1&&(A[s++]=C[T++]))}else{T=s-M;do{A[s++]=A[T++],A[s++]=A[T++],A[s++]=A[T++],E-=3}while(E>2);E&&(A[s++]=A[T++],E>1&&(A[s++]=A[T++]))}break}}break}}while(a<o&&s<u);E=g>>3,a-=E,g-=E<<3,m&=(1<<g)-1,e.next_in=a,e.next_out=s,e.avail_in=a<o?o-a+5:5-(a-o),e.avail_out=s<u?u-s+257:257-(s-u),r.hold=m,r.bits=g}},{}],40:[function(e,t,r){"use strict";var n=e("../utils/common"),i=e("./adler32"),a=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),l=0,u=1,c=2,d=4,h=5,p=6,f=0,m=1,g=2,v=-2,b=-3,y=-4,w=-5,_=8,S=1,E=2,M=3,T=4,C=5,x=6,A=7,N=8,O=9,R=10,L=11,k=12,I=13,D=14,P=15,j=16,F=17,H=18,B=19,U=20,V=21,Y=22,z=23,W=24,q=25,G=26,K=27,X=28,Z=29,$=30,J=31,Q=32,ee=852,te=592,re=15,ne=re;function ie(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ae(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function oe(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=S,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(ee),t.distcode=t.distdyn=new n.Buf32(te),t.sane=1,t.back=-1,f):v}function se(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,oe(e)):v}function le(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?v:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,se(e))):v}function ue(e,t){var r,n;return e?(n=new ae,e.state=n,n.window=null,r=le(e,t),r!==f&&(e.state=null),r):v}function ce(e){return ue(e,ne)}var de,he,pe=!0;function fe(e){if(pe){var t;de=new n.Buf32(512),he=new n.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,de,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}),pe=!1}e.lencode=de,e.lenbits=9,e.distcode=he,e.distbits=5}function me(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),i-=a,i?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}function ge(e,t){var r,ee,te,re,ne,ae,oe,se,le,ue,ce,de,he,pe,ge,ve,be,ye,we,_e,Se,Ee,Me,Te,Ce=0,xe=new n.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 v;r=e.state,r.mode===k&&(r.mode=I),ne=e.next_out,te=e.output,oe=e.avail_out,re=e.next_in,ee=e.input,ae=e.avail_in,se=r.hold,le=r.bits,ue=ae,ce=oe,Ee=f;e:for(;;)switch(r.mode){case S:if(0===r.wrap){r.mode=I;break}while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(2&r.wrap&&35615===se){r.check=0,xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0),se=0,le=0,r.mode=E;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",r.mode=$;break}if((15&se)!==_){e.msg="unknown compression method",r.mode=$;break}if(se>>>=4,le-=4,Se=8+(15&se),0===r.wbits)r.wbits=Se;else if(Se>r.wbits){e.msg="invalid window size",r.mode=$;break}r.dmax=1<<Se,e.adler=r.check=1,r.mode=512&se?R:k,se=0,le=0;break;case E:while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(r.flags=se,(255&r.flags)!==_){e.msg="unknown compression method",r.mode=$;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=$;break}r.head&&(r.head.text=se>>8&1),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0)),se=0,le=0,r.mode=M;case M:while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.head&&(r.head.time=se),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,xe[2]=se>>>16&255,xe[3]=se>>>24&255,r.check=a(r.check,xe,4,0)),se=0,le=0,r.mode=T;case T:while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.head&&(r.head.xflags=255&se,r.head.os=se>>8),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0)),se=0,le=0,r.mode=C;case C:if(1024&r.flags){while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.length=se,r.head&&(r.head.extra_len=se),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0)),se=0,le=0}else r.head&&(r.head.extra=null);r.mode=x;case x:if(1024&r.flags&&(de=r.length,de>ae&&(de=ae),de&&(r.head&&(Se=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,ee,re,de,Se)),512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,r.length-=de),r.length))break e;r.length=0,r.mode=A;case A:if(2048&r.flags){if(0===ae)break e;de=0;do{Se=ee[re+de++],r.head&&Se&&r.length<65536&&(r.head.name+=String.fromCharCode(Se))}while(Se&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,Se)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=N;case N:if(4096&r.flags){if(0===ae)break e;de=0;do{Se=ee[re+de++],r.head&&Se&&r.length<65536&&(r.head.comment+=String.fromCharCode(Se))}while(Se&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,Se)break e}else r.head&&(r.head.comment=null);r.mode=O;case O:if(512&r.flags){while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se!==(65535&r.check)){e.msg="header crc mismatch",r.mode=$;break}se=0,le=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=k;break;case R:while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}e.adler=r.check=ie(se),se=0,le=0,r.mode=L;case L:if(0===r.havedict)return e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,g;e.adler=r.check=1,r.mode=k;case k:if(t===h||t===p)break e;case I:if(r.last){se>>>=7&le,le-=7&le,r.mode=K;break}while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}switch(r.last=1&se,se>>>=1,le-=1,3&se){case 0:r.mode=D;break;case 1:if(fe(r),r.mode=U,t===p){se>>>=2,le-=2;break e}break;case 2:r.mode=F;break;case 3:e.msg="invalid block type",r.mode=$}se>>>=2,le-=2;break;case D:se>>>=7&le,le-=7≤while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if((65535&se)!==(se>>>16^65535)){e.msg="invalid stored block lengths",r.mode=$;break}if(r.length=65535&se,se=0,le=0,r.mode=P,t===p)break e;case P:r.mode=j;case j:if(de=r.length,de){if(de>ae&&(de=ae),de>oe&&(de=oe),0===de)break e;n.arraySet(te,ee,re,de,ne),ae-=de,re+=de,oe-=de,ne+=de,r.length-=de;break}r.mode=k;break;case F:while(le<14){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(r.nlen=257+(31&se),se>>>=5,le-=5,r.ndist=1+(31&se),se>>>=5,le-=5,r.ncode=4+(15&se),se>>>=4,le-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=$;break}r.have=0,r.mode=H;case H:while(r.have<r.ncode){while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.lens[Ae[r.have++]]=7&se,se>>>=3,le-=3}while(r.have<19)r.lens[Ae[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,Me={bits:r.lenbits},Ee=s(l,r.lens,0,19,r.lencode,0,r.work,Me),r.lenbits=Me.bits,Ee){e.msg="invalid code lengths set",r.mode=$;break}r.have=0,r.mode=B;case B:while(r.have<r.nlen+r.ndist){for(;;){if(Ce=r.lencode[se&(1<<r.lenbits)-1],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(be<16)se>>>=ge,le-=ge,r.lens[r.have++]=be;else{if(16===be){Te=ge+2;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se>>>=ge,le-=ge,0===r.have){e.msg="invalid bit length repeat",r.mode=$;break}Se=r.lens[r.have-1],de=3+(3&se),se>>>=2,le-=2}else if(17===be){Te=ge+3;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ge,le-=ge,Se=0,de=3+(7&se),se>>>=3,le-=3}else{Te=ge+7;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ge,le-=ge,Se=0,de=11+(127&se),se>>>=7,le-=7}if(r.have+de>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=$;break}while(de--)r.lens[r.have++]=Se}}if(r.mode===$)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=$;break}if(r.lenbits=9,Me={bits:r.lenbits},Ee=s(u,r.lens,0,r.nlen,r.lencode,0,r.work,Me),r.lenbits=Me.bits,Ee){e.msg="invalid literal/lengths set",r.mode=$;break}if(r.distbits=6,r.distcode=r.distdyn,Me={bits:r.distbits},Ee=s(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,Me),r.distbits=Me.bits,Ee){e.msg="invalid distances set",r.mode=$;break}if(r.mode=U,t===p)break e;case U:r.mode=V;case V:if(ae>=6&&oe>=258){e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,o(e,ce),ne=e.next_out,te=e.output,oe=e.avail_out,re=e.next_in,ee=e.input,ae=e.avail_in,se=r.hold,le=r.bits,r.mode===k&&(r.back=-1);break}for(r.back=0;;){if(Ce=r.lencode[se&(1<<r.lenbits)-1],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(ve&&0===(240&ve)){for(ye=ge,we=ve,_e=be;;){if(Ce=r.lencode[_e+((se&(1<<ye+we)-1)>>ye)],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ye+ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ye,le-=ye,r.back+=ye}if(se>>>=ge,le-=ge,r.back+=ge,r.length=be,0===ve){r.mode=G;break}if(32&ve){r.back=-1,r.mode=k;break}if(64&ve){e.msg="invalid literal/length code",r.mode=$;break}r.extra=15&ve,r.mode=Y;case Y:if(r.extra){Te=r.extra;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.length+=se&(1<<r.extra)-1,se>>>=r.extra,le-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=z;case z:for(;;){if(Ce=r.distcode[se&(1<<r.distbits)-1],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(0===(240&ve)){for(ye=ge,we=ve,_e=be;;){if(Ce=r.distcode[_e+((se&(1<<ye+we)-1)>>ye)],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ye+ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ye,le-=ye,r.back+=ye}if(se>>>=ge,le-=ge,r.back+=ge,64&ve){e.msg="invalid distance code",r.mode=$;break}r.offset=be,r.extra=15&ve,r.mode=W;case W:if(r.extra){Te=r.extra;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.offset+=se&(1<<r.extra)-1,se>>>=r.extra,le-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=$;break}r.mode=q;case q:if(0===oe)break e;if(de=ce-oe,r.offset>de){if(de=r.offset-de,de>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=$;break}de>r.wnext?(de-=r.wnext,he=r.wsize-de):he=r.wnext-de,de>r.length&&(de=r.length),pe=r.window}else pe=te,he=ne-r.offset,de=r.length;de>oe&&(de=oe),oe-=de,r.length-=de;do{te[ne++]=pe[he++]}while(--de);0===r.length&&(r.mode=V);break;case G:if(0===oe)break e;te[ne++]=r.length,oe--,r.mode=V;break;case K:if(r.wrap){while(le<32){if(0===ae)break e;ae--,se|=ee[re++]<<le,le+=8}if(ce-=oe,e.total_out+=ce,r.total+=ce,ce&&(e.adler=r.check=r.flags?a(r.check,te,ce,ne-ce):i(r.check,te,ce,ne-ce)),ce=oe,(r.flags?se:ie(se))!==r.check){e.msg="incorrect data check",r.mode=$;break}se=0,le=0}r.mode=X;case X:if(r.wrap&&r.flags){while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=$;break}se=0,le=0}r.mode=Z;case Z:Ee=m;break e;case $:Ee=b;break e;case J:return y;case Q:default:return v}return e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,(r.wsize||ce!==e.avail_out&&r.mode<$&&(r.mode<K||t!==d))&&me(e,e.output,e.next_out,ce-e.avail_out)?(r.mode=J,y):(ue-=e.avail_in,ce-=e.avail_out,e.total_in+=ue,e.total_out+=ce,r.total+=ce,r.wrap&&ce&&(e.adler=r.check=r.flags?a(r.check,te,ce,e.next_out-ce):i(r.check,te,ce,e.next_out-ce)),e.data_type=r.bits+(r.last?64:0)+(r.mode===k?128:0)+(r.mode===U||r.mode===P?256:0),(0===ue&&0===ce||t===d)&&Ee===f&&(Ee=w),Ee)}function ve(e){if(!e||!e.state)return v;var t=e.state;return t.window&&(t.window=null),e.state=null,f}function be(e,t){var r;return e&&e.state?(r=e.state,0===(2&r.wrap)?v:(r.head=t,t.done=!1,f)):v}function ye(e,t){var r,n,a,o=t.length;return e&&e.state?(r=e.state,0!==r.wrap&&r.mode!==L?v:r.mode===L&&(n=1,n=i(n,t,o,0),n!==r.check)?b:(a=me(e,t,o,o),a?(r.mode=J,y):(r.havedict=1,f))):v}r.inflateReset=se,r.inflateReset2=le,r.inflateResetKeep=oe,r.inflateInit=ce,r.inflateInit2=ue,r.inflate=ge,r.inflateEnd=ve,r.inflateGetHeader=be,r.inflateSetDictionary=ye,r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./inffast":39,"./inftrees":41}],41:[function(e,t,r){"use strict";var n=e("../utils/common"),i=15,a=852,o=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],d=[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],p=[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,r,f,m,g,v,b){var y,w,_,S,E,M,T,C,x,A=b.bits,N=0,O=0,R=0,L=0,k=0,I=0,D=0,P=0,j=0,F=0,H=null,B=0,U=new n.Buf16(i+1),V=new n.Buf16(i+1),Y=null,z=0;for(N=0;N<=i;N++)U[N]=0;for(O=0;O<f;O++)U[t[r+O]]++;for(k=A,L=i;L>=1;L--)if(0!==U[L])break;if(k>L&&(k=L),0===L)return m[g++]=20971520,m[g++]=20971520,b.bits=1,0;for(R=1;R<L;R++)if(0!==U[R])break;for(k<R&&(k=R),P=1,N=1;N<=i;N++)if(P<<=1,P-=U[N],P<0)return-1;if(P>0&&(e===s||1!==L))return-1;for(V[1]=0,N=1;N<i;N++)V[N+1]=V[N]+U[N];for(O=0;O<f;O++)0!==t[r+O]&&(v[V[t[r+O]]++]=O);if(e===s?(H=Y=v,M=19):e===l?(H=c,B-=257,Y=d,z-=257,M=256):(H=h,Y=p,M=-1),F=0,O=0,N=R,E=g,I=k,D=0,_=-1,j=1<<k,S=j-1,e===l&&j>a||e===u&&j>o)return 1;for(;;){T=N-D,v[O]<M?(C=0,x=v[O]):v[O]>M?(C=Y[z+v[O]],x=H[B+v[O]]):(C=96,x=0),y=1<<N-D,w=1<<I,R=w;do{w-=y,m[E+(F>>D)+w]=T<<24|C<<16|x|0}while(0!==w);y=1<<N-1;while(F&y)y>>=1;if(0!==y?(F&=y-1,F+=y):F=0,O++,0===--U[N]){if(N===L)break;N=t[r+v[O]]}if(N>k&&(F&S)!==_){0===D&&(D=k),E+=R,I=N-D,P=1<<I;while(I+D<L){if(P-=U[I+D],P<=0)break;I++,P<<=1}if(j+=1<<I,e===l&&j>a||e===u&&j>o)return 1;_=F&S,m[_]=k<<24|I<<16|E-g|0}}return 0!==F&&(m[E+F]=N-D<<24|64<<16|0),b.bits=k,0}},{"../utils/common":32}],42:[function(e,t,r){"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"}},{}],43:[function(e,t,r){"use strict";var n=e("../utils/common"),i=4,a=0,o=1,s=2;function l(e){var t=e.length;while(--t>=0)e[t]=0}var u=0,c=1,d=2,h=3,p=258,f=29,m=256,g=m+1+f,v=30,b=19,y=2*g+1,w=15,_=16,S=7,E=256,M=16,T=17,C=18,x=[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],N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=512,L=new Array(2*(g+2));l(L);var k=new Array(2*v);l(k);var I=new Array(R);l(I);var D=new Array(p-h+1);l(D);var P=new Array(f);l(P);var j,F,H,B=new Array(v);function U(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function V(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Y(e){return e<256?I[e]:I[256+(e>>>7)]}function z(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function W(e,t,r){e.bi_valid>_-r?(e.bi_buf|=t<<e.bi_valid&65535,z(e,e.bi_buf),e.bi_buf=t>>_-e.bi_valid,e.bi_valid+=r-_):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function q(e,t,r){W(e,r[2*t],r[2*t+1])}function G(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function K(e){16===e.bi_valid?(z(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 X(e,t){var r,n,i,a,o,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(a=0;a<=w;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<y;r++)n=e.heap[r],a=l[2*l[2*n+1]+1]+1,a>f&&(a=f,m++),l[2*n+1]=a,n>u||(e.bl_count[a]++,o=0,n>=p&&(o=h[n-p]),s=l[2*n],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(c[2*n+1]+o)));if(0!==m){do{a=f-1;while(0===e.bl_count[a])a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(a=f;0!==a;a--){n=e.bl_count[a];while(0!==n)i=e.heap[--r],i>u||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),n--)}}}function Z(e,t,r){var n,i,a=new Array(w+1),o=0;for(n=1;n<=w;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=G(a[s]++,s))}}function $(){var e,t,r,n,i,a=new Array(w+1);for(r=0,n=0;n<f-1;n++)for(P[n]=r,e=0;e<1<<x[n];e++)D[r++]=n;for(D[r-1]=n,i=0,n=0;n<16;n++)for(B[n]=i,e=0;e<1<<A[n];e++)I[i++]=n;for(i>>=7;n<v;n++)for(B[n]=i<<7,e=0;e<1<<A[n]-7;e++)I[256+i++]=n;for(t=0;t<=w;t++)a[t]=0;e=0;while(e<=143)L[2*e+1]=8,e++,a[8]++;while(e<=255)L[2*e+1]=9,e++,a[9]++;while(e<=279)L[2*e+1]=7,e++,a[7]++;while(e<=287)L[2*e+1]=8,e++,a[8]++;for(Z(L,g+1,a),e=0;e<v;e++)k[2*e+1]=5,k[2*e]=G(e,5);j=new U(L,x,m+1,g,w),F=new U(k,A,0,v,w),H=new U(new Array(0),N,0,b,S)}function J(e){var t;for(t=0;t<g;t++)e.dyn_ltree[2*t]=0;for(t=0;t<v;t++)e.dyn_dtree[2*t]=0;for(t=0;t<b;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*E]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Q(e){e.bi_valid>8?z(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,r,i){Q(e),i&&(z(e,r),z(e,~r)),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function te(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function re(e,t,r){var n=e.heap[r],i=r<<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,n,e.heap[i],e.depth))break;e.heap[r]=e.heap[i],r=i,i<<=1}e.heap[r]=n}function ne(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do{n=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===n?q(e,i,t):(a=D[i],q(e,a+m+1,t),o=x[a],0!==o&&(i-=P[a],W(e,i,o)),n--,a=Y(n),q(e,a,r),o=A[a],0!==o&&(n-=B[a],W(e,n,o)))}while(s<e.last_lit);q(e,E,t)}function ie(e,t){var r,n,i,a=t.dyn_tree,o=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=y,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):a[2*r+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=u<2?++u:0,a[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;r>=1;r--)re(e,a,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],re(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,re(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],X(e,t),Z(a,u,e.bl_count)}function ae(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*M]++):s<=10?e.bl_tree[2*T]++:e.bl_tree[2*C]++,s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4))}function oe(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<u)do{q(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(q(e,i,e.bl_tree),s--),q(e,M,e.bl_tree),W(e,s-3,2)):s<=10?(q(e,T,e.bl_tree),W(e,s-3,3)):(q(e,C,e.bl_tree),W(e,s-11,7));s=0,a=i,0===o?(l=138,u=3):i===o?(l=6,u=3):(l=7,u=4)}}function se(e){var t;for(ae(e,e.dyn_ltree,e.l_desc.max_code),ae(e,e.dyn_dtree,e.d_desc.max_code),ie(e,e.bl_desc),t=b-1;t>=3;t--)if(0!==e.bl_tree[2*O[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,r,n){var i;for(W(e,t-257,5),W(e,r-1,5),W(e,n-4,4),i=0;i<n;i++)W(e,e.bl_tree[2*O[i]+1],3);oe(e,e.dyn_ltree,t-1),oe(e,e.dyn_dtree,r-1)}function ue(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return a;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<m;t++)if(0!==e.dyn_ltree[2*t])return o;return a}l(B);var ce=!1;function de(e){ce||($(),ce=!0),e.l_desc=new V(e.dyn_ltree,j),e.d_desc=new V(e.dyn_dtree,F),e.bl_desc=new V(e.bl_tree,H),e.bi_buf=0,e.bi_valid=0,J(e)}function he(e,t,r,n){W(e,(u<<1)+(n?1:0),3),ee(e,t,r,!0)}function pe(e){W(e,c<<1,3),q(e,E,L),K(e)}function fe(e,t,r,n){var a,o,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),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==t?he(e,t,r,n):e.strategy===i||o===a?(W(e,(c<<1)+(n?1:0),3),ne(e,L,k)):(W(e,(d<<1)+(n?1:0),3),le(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),ne(e,e.dyn_ltree,e.dyn_dtree)),J(e),n&&Q(e)}function me(e,t,r){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&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(D[r]+m+1)]++,e.dyn_dtree[2*Y(t)]++),e.last_lit===e.lit_bufsize-1}r._tr_init=de,r._tr_stored_block=he,r._tr_flush_block=fe,r._tr_tally=me,r._tr_align=pe},{"../utils/common":32}],44:[function(e,t,r){"use strict";function n(){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=n},{}],45:[function(e,t,r){var n=e("lodash._root"),i=1/0,a="[object Symbol]",o=/[&<>"'`]/g,s=RegExp(o.source),l={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function u(e){return l[e]}var c=Object.prototype,d=c.toString,h=n.Symbol,p=h?h.prototype:void 0,f=h?p.toString:void 0;function m(e){return!!e&&"object"==typeof e}function g(e){return"symbol"==typeof e||m(e)&&d.call(e)==a}function v(e){if("string"==typeof e)return e;if(null==e)return"";if(g(e))return h?f.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}function b(e){return e=v(e),e&&s.test(e)?e.replace(o,u):e}t.exports=b},{"lodash._root":46}],46:[function(e,t,r){(function(e){var n={function:!0,object:!0},i=n[typeof r]&&r&&!r.nodeType?r:void 0,a=n[typeof t]&&t&&!t.nodeType?t:void 0,o=d(i&&a&&"object"==typeof e&&e),s=d(n[typeof self]&&self),l=d(n[typeof window]&&window),u=d(n[typeof this]&&this),c=o||l!==(u&&u.window)&&l||s||u||Function("return this")();function d(e){return e&&e.Object===Object?e:null}t.exports=c}).call(this,"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],47:[function(e,t,r){var n=e("lodash._arraycopy"),i=e("lodash._arrayeach"),a=e("lodash._createassigner"),o=e("lodash.isarguments"),s=e("lodash.isarray"),l=e("lodash.isplainobject"),u=e("lodash.istypedarray"),c=e("lodash.keys"),d=e("lodash.toplainobject");function h(e){return!!e&&"object"==typeof e}var p=9007199254740991;function f(e,t,r,n,a){if(!w(e))return e;var o=b(t)&&(s(t)||u(t)),l=o?void 0:c(t);return i(l||t,(function(i,s){if(l&&(s=i,i=t[s]),h(i))n||(n=[]),a||(a=[]),m(e,t,s,f,r,n,a);else{var u=e[s],c=r?r(u,i,s,e,t):void 0,d=void 0===c;d&&(c=i),void 0===c&&(!o||s in e)||!d&&(c===c?c===u:u!==u)||(e[s]=c)}})),e}function m(e,t,r,i,a,c,h){var p=c.length,f=t[r];while(p--)if(c[p]==f)return void(e[r]=h[p]);var m=e[r],g=a?a(m,f,r,e,t):void 0,v=void 0===g;v&&(g=f,b(f)&&(s(f)||u(f))?g=s(m)?m:b(m)?n(m):[]:l(f)||o(f)?g=o(m)?d(m):l(m)?m:{}:v=!1),c.push(f),h.push(g),v?e[r]=i(g,f,a,c,h):(g===g?g!==m:m===m)&&(e[r]=g)}function g(e){return function(t){return null==t?void 0:t[e]}}var v=g("length");function b(e){return null!=e&&y(v(e))}function y(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var _=a(f);t.exports=_},{"lodash._arraycopy":48,"lodash._arrayeach":49,"lodash._createassigner":50,"lodash.isarguments":55,"lodash.isarray":56,"lodash.isplainobject":57,"lodash.istypedarray":59,"lodash.keys":60,"lodash.toplainobject":62}],48:[function(e,t,r){function n(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}t.exports=n},{}],49:[function(e,t,r){function n(e,t){var r=-1,n=e.length;while(++r<n)if(!1===t(e[r],r,e))break;return e}t.exports=n},{}],50:[function(e,t,r){var n=e("lodash._bindcallback"),i=e("lodash._isiterateecall"),a=e("lodash.restparam");function o(e){return a((function(t,r){var a=-1,o=null==t?0:r.length,s=o>2?r[o-2]:void 0,l=o>2?r[2]:void 0,u=o>1?r[o-1]:void 0;"function"==typeof s?(s=n(s,u,5),o-=2):(s="function"==typeof u?u:void 0,o-=s?1:0),l&&i(r[0],r[1],l)&&(s=o<3?void 0:s,o=1);while(++a<o){var c=r[a];c&&e(t,c,s)}return t}))}t.exports=o},{"lodash._bindcallback":51,"lodash._isiterateecall":52,"lodash.restparam":53}],51:[function(e,t,r){function n(e,t,r){if("function"!=typeof e)return i;if(void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,n,i){return e.call(t,r,n,i)};case 4:return function(r,n,i,a){return e.call(t,r,n,i,a)};case 5:return function(r,n,i,a,o){return e.call(t,r,n,i,a,o)}}return function(){return e.apply(t,arguments)}}function i(e){return e}t.exports=n},{}],52:[function(e,t,r){var n=/^\d+$/,i=9007199254740991;function a(e){return function(t){return null==t?void 0:t[e]}}var o=a("length");function s(e){return null!=e&&c(o(e))}function l(e,t){return e="number"==typeof e||n.test(e)?+e:-1,t=null==t?i:t,e>-1&&e%1==0&&e<t}function u(e,t,r){if(!d(r))return!1;var n=typeof t;if("number"==n?s(r)&&l(t,r.length):"string"==n&&t in r){var i=r[t];return e===e?e===i:i!==i}return!1}function c(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}t.exports=u},{}],53:[function(e,t,r){var n="Expected a function",i=Math.max;function a(e,t){if("function"!=typeof e)throw new TypeError(n);return t=i(void 0===t?e.length-1:+t||0,0),function(){var r=arguments,n=-1,a=i(r.length-t,0),o=Array(a);while(++n<a)o[n]=r[t+n];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,r[0],o);case 2:return e.call(this,r[0],r[1],o)}var s=Array(t+1);n=-1;while(++n<t)s[n]=r[n];return s[t]=o,e.apply(this,s)}}t.exports=a},{}],54:[function(e,t,r){var n="[object Function]",i=/^\[object .+?Constructor\]$/;function a(e){return!!e&&"object"==typeof e}var o=Object.prototype,s=Function.prototype.toString,l=o.hasOwnProperty,u=o.toString,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(e,t){var r=null==e?void 0:e[t];return f(r)?r:void 0}function h(e){return p(e)&&u.call(e)==n}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f(e){return null!=e&&(h(e)?c.test(s.call(e)):a(e)&&i.test(e))}t.exports=d},{}],55:[function(e,t,r){var n=9007199254740991,i="[object Arguments]",a="[object Function]",o="[object GeneratorFunction]",s=Object.prototype,l=s.hasOwnProperty,u=s.toString,c=s.propertyIsEnumerable;function d(e){return function(t){return null==t?void 0:t[e]}}var h=d("length");function p(e){return m(e)&&l.call(e,"callee")&&(!c.call(e,"callee")||u.call(e)==i)}function f(e){return null!=e&&v(h(e))&&!g(e)}function m(e){return y(e)&&f(e)}function g(e){var t=b(e)?u.call(e):"";return t==a||t==o}function v(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){return!!e&&"object"==typeof e}t.exports=p},{}],56:[function(e,t,r){var n="[object Array]",i="[object Function]",a=/^\[object .+?Constructor\]$/;function o(e){return!!e&&"object"==typeof e}var s=Object.prototype,l=Function.prototype.toString,u=s.hasOwnProperty,c=s.toString,d=RegExp("^"+l.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=f(Array,"isArray"),p=9007199254740991;function f(e,t){var r=null==e?void 0:e[t];return y(r)?r:void 0}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}var g=h||function(e){return o(e)&&m(e.length)&&c.call(e)==n};function v(e){return b(e)&&c.call(e)==i}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){return null!=e&&(v(e)?d.test(l.call(e)):o(e)&&a.test(e))}t.exports=g},{}],57:[function(e,t,r){var n=e("lodash._basefor"),i=e("lodash.isarguments"),a=e("lodash.keysin"),o="[object Object]";function s(e){return!!e&&"object"==typeof e}var l=Object.prototype,u=l.hasOwnProperty,c=l.toString;function d(e,t){return n(e,t,a)}function h(e){var t,r;return!(!s(e)||c.call(e)!=o||i(e)||!(u.call(e,"constructor")||(t=e.constructor,"function"!=typeof t||t instanceof t)))&&(d(e,(function(e,t){r=t})),void 0===r||u.call(e,r))}t.exports=h},{"lodash._basefor":58,"lodash.isarguments":55,"lodash.keysin":61}],58:[function(e,t,r){var n=i();function i(e){return function(t,r,n){var i=-1,a=Object(t),o=n(t),s=o.length;while(s--){var l=o[e?s:++i];if(!1===r(a[l],l,a))break}return t}}t.exports=n},{}],59:[function(e,t,r){var n=9007199254740991,i="[object Arguments]",a="[object Array]",o="[object Boolean]",s="[object Date]",l="[object Error]",u="[object Function]",c="[object Map]",d="[object Number]",h="[object Object]",p="[object RegExp]",f="[object Set]",m="[object String]",g="[object WeakMap]",v="[object ArrayBuffer]",b="[object DataView]",y="[object Float32Array]",w="[object Float64Array]",_="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",M="[object Uint8Array]",T="[object Uint8ClampedArray]",C="[object Uint16Array]",x="[object Uint32Array]",A={};A[y]=A[w]=A[_]=A[S]=A[E]=A[M]=A[T]=A[C]=A[x]=!0,A[i]=A[a]=A[v]=A[o]=A[b]=A[s]=A[l]=A[u]=A[c]=A[d]=A[h]=A[p]=A[f]=A[m]=A[g]=!1;var N=Object.prototype,O=N.toString;function R(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function L(e){return!!e&&"object"==typeof e}function k(e){return L(e)&&R(e.length)&&!!A[O.call(e)]}t.exports=k},{}],60:[function(e,t,r){var n=e("lodash._getnative"),i=e("lodash.isarguments"),a=e("lodash.isarray"),o=/^\d+$/,s=Object.prototype,l=s.hasOwnProperty,u=n(Object,"keys"),c=9007199254740991;function d(e){return function(t){return null==t?void 0:t[e]}}var h=d("length");function p(e){return null!=e&&m(h(e))}function f(e,t){return e="number"==typeof e||o.test(e)?+e:-1,t=null==t?c:t,e>-1&&e%1==0&&e<t}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function g(e){var t=y(e),r=t.length,n=r&&e.length,o=!!n&&m(n)&&(a(e)||i(e)),s=-1,u=[];while(++s<r){var c=t[s];(o&&f(c,n)||l.call(e,c))&&u.push(c)}return u}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var b=u?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&p(e)?g(e):v(e)?u(e):[]}:g;function y(e){if(null==e)return[];v(e)||(e=Object(e));var t=e.length;t=t&&m(t)&&(a(e)||i(e))&&t||0;var r=e.constructor,n=-1,o="function"==typeof r&&r.prototype===e,s=Array(t),u=t>0;while(++n<t)s[n]=n+"";for(var c in e)u&&f(c,t)||"constructor"==c&&(o||!l.call(e,c))||s.push(c);return s}t.exports=b},{"lodash._getnative":54,"lodash.isarguments":55,"lodash.isarray":56}],61:[function(e,t,r){var n=e("lodash.isarguments"),i=e("lodash.isarray"),a=/^\d+$/,o=Object.prototype,s=o.hasOwnProperty,l=9007199254740991;function u(e,t){return e="number"==typeof e||a.test(e)?+e:-1,t=null==t?l:t,e>-1&&e%1==0&&e<t}function c(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){if(null==e)return[];d(e)||(e=Object(e));var t=e.length;t=t&&c(t)&&(i(e)||n(e))&&t||0;var r=e.constructor,a=-1,o="function"==typeof r&&r.prototype===e,l=Array(t),h=t>0;while(++a<t)l[a]=a+"";for(var p in e)h&&u(p,t)||"constructor"==p&&(o||!s.call(e,p))||l.push(p);return l}t.exports=h},{"lodash.isarguments":55,"lodash.isarray":56}],62:[function(e,t,r){var n=e("lodash._basecopy"),i=e("lodash.keysin");function a(e){return n(e,i(e))}t.exports=a},{"lodash._basecopy":63,"lodash.keysin":61}],63:[function(e,t,r){function n(e,t,r){r||(r={});var n=-1,i=t.length;while(++n<i){var a=t[n];r[a]=e[a]}return r}t.exports=n},{}],64:[function(e,t,r){var n,i;n=e("jszip"),i=e("./internal"),t.exports={asBlob:function(e,t){var r;return r=new n,i.addFiles(r,e,t),i.generateDocument(r)}}},{"./internal":65,jszip:14}],65:[function(e,t,r){(function(r,n){var i,a,o;i=e("./templates/document"),a=e("./utils"),o={merge:e("lodash.merge")},t.exports={generateDocument:function(e){var t;if(t=e.generate({type:"arraybuffer"}),r.Blob)return new Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});if(r.Buffer)return new n(new Uint8Array(t));throw new Error("Neither Blob nor Buffer are accessible in this environment. Consider adding Blob.js shim")},renderDocumentFile:function(e){var t;return null==e&&(e={}),t=o.merge({margins:{top:1440,right:1440,bottom:1440,left:1440,header:720,footer:720,gutter:0}},function(){switch(e.orientation){case"landscape":return{height:12240,width:15840,orient:"landscape"};default:return{width:12240,height:15840,orient:"portrait"}}}(),{margins:e.margins}),i(t)},addFiles:function(e,t,r){return e.file("[Content_Types].xml",n("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8VHlwZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvY29udGVudC10eXBlcyI+CiAgPERlZmF1bHQgRXh0ZW5zaW9uPSJyZWxzIiBDb250ZW50VHlwZT0KICAgICJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtcGFja2FnZS5yZWxhdGlvbnNoaXBzK3htbCIgLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2RvY3VtZW50LnhtbCIgQ29udGVudFR5cGU9CiAgICAiYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9jdW1lbnQubWFpbit4bWwiLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2FmY2h1bmsubWh0IiBDb250ZW50VHlwZT0ibWVzc2FnZS9yZmM4MjIiLz4KPC9UeXBlcz4K","base64")),e.folder("_rels").file(".rels",n("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwCiAgICAgIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvb2ZmaWNlRG9jdW1lbnQiCiAgICAgIFRhcmdldD0iL3dvcmQvZG9jdW1lbnQueG1sIiBJZD0iUjA5YzgzZmFmYzA2NzQ4OGUiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64")),e.folder("word").file("document.xml",this.renderDocumentFile(r)).file("afchunk.mht",a.getMHTdocument(t)).folder("_rels").file("document.xml.rels",n("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvYUZDaHVuayIKICAgIFRhcmdldD0iL3dvcmQvYWZjaHVuay5taHQiIElkPSJodG1sQ2h1bmsiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64"))}}}).call(this,"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},e("buffer").Buffer)},{"./templates/document":66,"./utils":69,buffer:1,"lodash.merge":47}],66:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<w:document\n xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"\n xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"\n xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"\n xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"\n xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"\n xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"\n xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"\n xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"\n xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"\n xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"\n xmlns:ns13="urn:schemas-microsoft-com:office:excel"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:v="urn:schemas-microsoft-com:vml"\n xmlns:w10="urn:schemas-microsoft-com:office:word"\n xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"\n xmlns:odx="http://opendope.org/xpaths"\n xmlns:odc="http://opendope.org/conditions"\n xmlns:odq="http://opendope.org/questions"\n xmlns:odi="http://opendope.org/components"\n xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"\n xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"\n xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"\n xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">\n <w:body>\n <w:altChunk r:id="htmlChunk" />\n <w:sectPr>\n <w:pgSz w:w="'+(null==(__t=width)?"":__t)+'" w:h="'+(null==(__t=height)?"":__t)+'" w:orient="'+(null==(__t=orient)?"":__t)+'" />\n <w:pgMar w:top="'+(null==(__t=margins.top)?"":__t)+'"\n w:right="'+(null==(__t=margins.right)?"":__t)+'"\n w:bottom="'+(null==(__t=margins.bottom)?"":__t)+'"\n w:left="'+(null==(__t=margins.left)?"":__t)+'"\n w:header="'+(null==(__t=margins.header)?"":__t)+'"\n w:footer="'+(null==(__t=margins.footer)?"":__t)+'"\n w:gutter="'+(null==(__t=margins.gutter)?"":__t)+'"/>\n </w:sectPr>\n </w:body>\n</w:document>\n';return __p}},{"lodash.escape":45}],67:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='MIME-Version: 1.0\nContent-Type: multipart/related;\n type="text/html";\n boundary="----=mhtDocumentPart"\n\n\n------=mhtDocumentPart\nContent-Type: text/html;\n charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nContent-Location: file:///C:/fake/document.html\n\n'+(null==(__t=htmlSource)?"":__t)+"\n\n"+(null==(__t=contentParts)?"":__t)+"\n\n------=mhtDocumentPart--\n";return __p}},{"lodash.escape":45}],68:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="------=mhtDocumentPart\nContent-Type: "+(null==(__t=contentType)?"":__t)+"\nContent-Transfer-Encoding: "+(null==(__t=contentEncoding)?"":__t)+"\nContent-Location: "+(null==(__t=contentLocation)?"":__t)+"\n\n"+(null==(__t=encodedContent)?"":__t)+"\n";return __p}},{"lodash.escape":45}],69:[function(e,t,r){var n,i;n=e("./templates/mht_document"),i=e("./templates/mht_part"),t.exports={getMHTdocument:function(e){var t,r;return r=this._prepareImageParts(e),e=r.htmlSource,t=r.imageContentParts,e=e.replace(/\=/g,"=3D"),n({htmlSource:e,contentParts:t.join("\n")})},_prepareImageParts:function(e){var t,r,n;if(t=[],n=/"data:(\w+\/\w+);(\w+),(\S+)"/g,r=function(e,r,n,a){var o,s,l;return l=t.length,s=r.split("/")[1],o="file:///C:/fake/image"+l+"."+s,t.push(i({contentType:r,contentEncoding:n,contentLocation:o,encodedContent:a})),'"'+o+'"'},"string"===typeof e)return/<img/g.test(e)?(e=e.replace(n,r),{htmlSource:e,imageContentParts:t}):{htmlSource:e,imageContentParts:t};throw new Error("Not a valid source provided!")}}},{"./templates/mht_document":67,"./templates/mht_part":68}]},{},[64])(64)}))},"4fd1":function(e,t,r){var n=r("3fb5"),i=r("b672"),a=r("8707").Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}n(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,a=0|this._dh,s=0|this._eh,l=0|this._fh,b=0|this._gh,y=0|this._hh,w=0|this._al,_=0|this._bl,S=0|this._cl,E=0|this._dl,M=0|this._el,T=0|this._fl,C=0|this._gl,x=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var N=t[A-30],O=t[A-30+1],R=p(N,O),L=f(O,N);N=t[A-4],O=t[A-4+1];var k=m(N,O),I=g(O,N),D=t[A-14],P=t[A-14+1],j=t[A-32],F=t[A-32+1],H=L+P|0,B=R+D+v(H,L)|0;H=H+I|0,B=B+k+v(H,I)|0,H=H+F|0,B=B+j+v(H,F)|0,t[A]=B,t[A+1]=H}for(var U=0;U<160;U+=2){B=t[U],H=t[U+1];var V=c(r,n,i),Y=c(w,_,S),z=d(r,w),W=d(w,r),q=h(s,M),G=h(M,s),K=o[U],X=o[U+1],Z=u(s,l,b),$=u(M,T,C),J=x+G|0,Q=y+q+v(J,x)|0;J=J+$|0,Q=Q+Z+v(J,$)|0,J=J+X|0,Q=Q+K+v(J,X)|0,J=J+H|0,Q=Q+B+v(J,H)|0;var ee=W+Y|0,te=z+V+v(ee,W)|0;y=b,x=C,b=l,C=T,l=s,T=M,M=E+J|0,s=a+Q+v(M,E)|0,a=i,E=S,i=n,S=_,n=r,_=w,w=J+ee|0,r=Q+te+v(w,J)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+S|0,this._dl=this._dl+E|0,this._el=this._el+M|0,this._fl=this._fl+T|0,this._gl=this._gl+C|0,this._hl=this._hl+x|0,this._ah=this._ah+r+v(this._al,w)|0,this._bh=this._bh+n+v(this._bl,_)|0,this._ch=this._ch+i+v(this._cl,S)|0,this._dh=this._dh+a+v(this._dl,E)|0,this._eh=this._eh+s+v(this._el,M)|0,this._fh=this._fh+l+v(this._fl,T)|0,this._gh=this._gh+b+v(this._gl,C)|0,this._hh=this._hh+y+v(this._hl,x)|0},l.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},5038:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return t}))},"507d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("58c0"),i=r("69a8"),a=r("9688");class o extends n.EventTargetImpl{constructor(){super(),this._signalSlots=new Set,this._mutationObserverMicrotaskQueued=!1,this._mutationObservers=new Set,this._iteratorList=new i.FixedSizeSet,this._associatedDocument=a.create_document()}get document(){return this._associatedDocument}get event(){return this._currentEvent}static _create(){return new o}}t.WindowImpl=o},5120:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],r=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],n=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],a=["Do","Lu","Má","Cé","Dé","A","Sa"],o=e.defineLocale("ga",{months:t,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return o}))},5156:function(e,t,r){"use strict";var n="undefined"!==typeof Symbol&&Symbol,i=r("1696");e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},5165:function(e,t,r){(function(e){var n=r("8c8a");function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,r){while(t._cache.length<r.length)t._cache=e.concat([t._cache,i(t)]);var a=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,a)}}).call(this,r("b639").Buffer)},"51a2":function(e,t,r){e.exports=r("0ac3").PassThrough},"51f1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("9af8"),a=r("a45a"),o=r("9389"),s=r("79b1"),l=r("dc6b"),u=r("ba82"),c=r("321f");function d(e,t){let r=null;""!==e&&(r=o.create_text(t._nodeDocument,e)),u.mutation_replaceAll(r,t)}function h(e,t=null,r=!1){let a;if(null===t&&(t=e._nodeDocument),i.Guard.isElementNode(e)){a=c.element_createAnElement(t,e._localName,e._namespace,e._namespacePrefix,e._is,!1);for(const r of e._attributeList){const e=h(r,t);c.element_append(e,a)}}else if(i.Guard.isDocumentNode(e)){const t=o.create_document();t._encoding=e._encoding,t._contentType=e._contentType,t._URL=e._URL,t._origin=e._origin,t._type=e._type,t._mode=e._mode,a=t}else if(i.Guard.isDocumentTypeNode(e)){const r=o.create_documentType(t,e._name,e._publicId,e._systemId);a=r}else if(i.Guard.isAttrNode(e)){const r=o.create_attr(t,e.localName);r._namespace=e._namespace,r._namespacePrefix=e._namespacePrefix,r._value=e._value,a=r}else a=i.Guard.isExclusiveTextNode(e)?o.create_text(t,e._data):i.Guard.isCDATASectionNode(e)?o.create_cdataSection(t,e._data):i.Guard.isCommentNode(e)?o.create_comment(t,e._data):i.Guard.isProcessingInstructionNode(e)?o.create_processingInstruction(t,e._target,e._data):i.Guard.isDocumentFragmentNode(e)?o.create_documentFragment(t):Object.create(e);if(i.Guard.isDocumentNode(a)?(a._nodeDocument=a,t=a):a._nodeDocument=t,n.dom.features.steps&&l.dom_runCloningSteps(a,e,t,r),r)for(const n of e._children){const e=h(n,t,!0);u.mutation_append(e,a)}return a}function p(e,t){if(e._nodeType!==t._nodeType)return!1;if(i.Guard.isDocumentTypeNode(e)&&i.Guard.isDocumentTypeNode(t)){if(e._name!==t._name||e._publicId!==t._publicId||e._systemId!==t._systemId)return!1}else if(i.Guard.isElementNode(e)&&i.Guard.isElementNode(t)){if(e._namespace!==t._namespace||e._namespacePrefix!==t._namespacePrefix||e._localName!==t._localName||e._attributeList.length!==t._attributeList.length)return!1}else if(i.Guard.isAttrNode(e)&&i.Guard.isAttrNode(t)){if(e._namespace!==t._namespace||e._localName!==t._localName||e._value!==t._value)return!1}else if(i.Guard.isProcessingInstructionNode(e)&&i.Guard.isProcessingInstructionNode(t)){if(e._target!==t._target||e._data!==t._data)return!1}else if(i.Guard.isCharacterDataNode(e)&&i.Guard.isCharacterDataNode(t)&&e._data!==t._data)return!1;if(i.Guard.isElementNode(e)&&i.Guard.isElementNode(t)){const r={};for(const t of e._attributeList)r[t._localName]=t;for(const e of t._attributeList){const t=r[e._localName];if(!t)return!1;if(!p(t,e))return!1}}if(e._children.size!==t._children.size)return!1;const r=e._children[Symbol.iterator](),n=t._children[Symbol.iterator]();let a=r.next(),o=n.next();while(!a.done&&!o.done){const e=a.value,t=o.value;if(!p(e,t))return!1;a=r.next(),o=n.next()}return!0}function f(e,t){return"*"===e?o.create_htmlCollection(t):"html"===t._nodeDocument._type?o.create_htmlCollection(t,(function(t){return t._namespace===a.namespace.HTML&&t._qualifiedName===e.toLowerCase()||t._namespace!==a.namespace.HTML&&t._qualifiedName===e})):o.create_htmlCollection(t,(function(t){return t._qualifiedName===e}))}function m(e,t,r){return""===e&&(e=null),"*"===e&&"*"===t?o.create_htmlCollection(r):"*"===e?o.create_htmlCollection(r,(function(e){return e._localName===t})):"*"===t?o.create_htmlCollection(r,(function(t){return t._namespace===e})):o.create_htmlCollection(r,(function(r){return r._localName===t&&r._namespace===e}))}function g(e,t){const r=s.orderedSet_parse(e);if(0===r.size)return o.create_htmlCollection(t,()=>!1);const n="quirks"!==t._nodeDocument._mode;return o.create_htmlCollection(t,(function(e){const t=e.classList;return s.orderedSet_contains(t._tokenSet,r,n)}))}function v(e,t){if(e._namespace===t&&null!==e._namespacePrefix)return e._namespacePrefix;for(let r=0;r<e._attributeList.length;r++){const n=e._attributeList[r];if("xmlns"===n._namespacePrefix&&n._value===t)return n._localName}return e._parent&&i.Guard.isElementNode(e._parent)?v(e._parent,t):null}function b(e,t){if(i.Guard.isElementNode(e)){if(null!==e._namespace&&e._namespacePrefix===t)return e._namespace;for(let r=0;r<e._attributeList.length;r++){const n=e._attributeList[r];if(n._namespace===a.namespace.XMLNS&&"xmlns"===n._namespacePrefix&&n._localName===t)return n._value||null;if(null===t&&n._namespace===a.namespace.XMLNS&&null===n._namespacePrefix&&"xmlns"===n._localName)return n._value||null}return null===e.parentElement?null:b(e.parentElement,t)}return i.Guard.isDocumentNode(e)?null===e.documentElement?null:b(e.documentElement,t):i.Guard.isDocumentTypeNode(e)||i.Guard.isDocumentFragmentNode(e)?null:i.Guard.isAttrNode(e)?null===e._element?null:b(e._element,t):e._parent&&i.Guard.isElementNode(e._parent)?b(e._parent,t):null}t.node_stringReplaceAll=d,t.node_clone=h,t.node_equals=p,t.node_listOfElementsWithQualifiedName=f,t.node_listOfElementsWithNamespace=m,t.node_listOfElementsWithClassNames=g,t.node_locateANamespacePrefix=v,t.node_locateANamespace=b},5230:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultBuilderOptions={version:"1.0",encoding:void 0,standalone:void 0,keepNullNodes:!1,keepNullAttributes:!1,ignoreConverters:!1,convert:{att:"@",ins:"?",text:"#",cdata:"$",comment:"!"},defaultNamespace:{ele:void 0,att:void 0},namespaceAlias:{html:"http://www.w3.org/1999/xhtml",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},invalidCharReplacement:void 0},t.XMLBuilderOptionKeys=new Set(Object.keys(t.DefaultBuilderOptions)),t.DefaultXMLBuilderCBOptions={format:"xml",wellFormed:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,width:0,allowEmptyTags:!1,spaceBeforeSlash:!1,keepNullNodes:!1,keepNullAttributes:!1,ignoreConverters:!1,convert:{att:"@",ins:"?",text:"#",cdata:"$",comment:"!"},defaultNamespace:{ele:void 0,att:void 0},namespaceAlias:{html:"http://www.w3.org/1999/xhtml",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"}}},5239:function(e,t,r){var n=r("8707").Buffer;function i(e,t,r){var n,i,o,s=-1,l=8,u=0;while(++s<l)n=e._cipher.encryptBlock(e._prev),i=t&1<<7-s?128:0,o=n[0]^i,u+=(128&o)>>s%8,e._prev=a(e._prev,r?i:o);return u}function a(e,t){var r=e.length,i=-1,a=n.allocUnsafe(e.length);e=n.concat([e,n.from([t])]);while(++i<r)a[i]=e[i]<<1|e[i+1]>>7;return a}t.encrypt=function(e,t,r){var a=t.length,o=n.allocUnsafe(a),s=-1;while(++s<a)o[s]=i(e,t[s],r);return o}},5291:function(e,t,r){var n=r("0106"),i=r("8707").Buffer;function a(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}e.exports=a},5294:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],r=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],n=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,r){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return n}))},5295:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("a32f"),a=r("fea4"),o=r("0fc1"),s=r("a45a"),l=r("9688");class u{serializeToString(e){return this._xmlSerialization(e,!1)}_xmlSerialization(e,t){if(void 0===e._nodeDocument||e._nodeDocument._hasNamespaces){const n=null,i=new a.NamespacePrefixMap;i.set("xml",s.namespace.XML);const l={value:1};try{return this._serializeNodeNS(e,n,i,l,t)}catch(r){throw new o.InvalidStateError}}else try{return this._serializeNode(e,t)}catch(n){throw new o.InvalidStateError}}_serializeNodeNS(e,t,r,i,a){switch(e.nodeType){case n.NodeType.Element:return this._serializeElementNS(e,t,r,i,a);case n.NodeType.Document:return this._serializeDocumentNS(e,t,r,i,a);case n.NodeType.Comment:return this._serializeComment(e,a);case n.NodeType.Text:return this._serializeText(e,a);case n.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(e,t,r,i,a);case n.NodeType.DocumentType:return this._serializeDocumentType(e,a);case n.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,a);case n.NodeType.CData:return this._serializeCData(e,a);default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeNode(e,t){switch(e.nodeType){case n.NodeType.Element:return this._serializeElement(e,t);case n.NodeType.Document:return this._serializeDocument(e,t);case n.NodeType.Comment:return this._serializeComment(e,t);case n.NodeType.Text:return this._serializeText(e,t);case n.NodeType.DocumentFragment:return this._serializeDocumentFragment(e,t);case n.NodeType.DocumentType:return this._serializeDocumentType(e,t);case n.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,t);case n.NodeType.CData:return this._serializeCData(e,t);default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeElementNS(e,t,r,n,i){if(i&&(-1!==e.localName.indexOf(":")||!l.xml_isName(e.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");let a="<",o="",c=!1,d=!1,h=r.copy(),p={},f=this._recordNamespaceInformation(e,h,p),m=t,g=e.namespaceURI;if(m===g)null!==f&&(d=!0),o=g===s.namespace.XML?"xml:"+e.localName:e.localName,a+=o;else{let t=e.prefix,r=null;if(null===t&&g===f||(r=h.get(t,g)),"xmlns"===t){if(i)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");r=t}null!==r?(o=r+":"+e.localName,null!==f&&f!==s.namespace.XML&&(m=f||null),a+=o):null!==t?(t in p&&(t=this._generatePrefix(g,h,n)),h.set(t,g),o+=t+":"+e.localName,a+=o,a+=" xmlns:"+t+'="'+this._serializeAttributeValue(g,i)+'"',null!==f&&(m=f||null)):null===f||null!==f&&f!==g?(d=!0,o+=e.localName,m=g,a+=o,a+=' xmlns="'+this._serializeAttributeValue(g,i)+'"'):(o+=e.localName,m=g,a+=o)}a+=this._serializeAttributesNS(e,h,n,p,d,i);const v=g===s.namespace.HTML;if(v&&0===e.childNodes.length&&u._VoidElementNames.has(e.localName)?(a+=" /",c=!0):v||0!==e.childNodes.length||(a+="/",c=!0),a+=">",c)return a;if(v&&"template"===e.localName);else for(const s of e._children||e.childNodes)a+=this._serializeNodeNS(s,m,h,n,i);return a+="</"+o+">",a}_serializeDocumentNS(e,t,r,n,i){if(i&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");let a="";for(const o of e._children||e.childNodes)a+=this._serializeNodeNS(o,t,r,n,i);return a}_serializeComment(e,t){if(t&&(!l.xml_isLegalChar(e.data)||-1!==e.data.indexOf("--")||e.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return"\x3c!--"+e.data+"--\x3e"}_serializeText(e,t){if(t&&!l.xml_isLegalChar(e.data))throw new Error("Text data contains invalid characters (well-formed required).");let r="";for(let n=0;n<e.data.length;n++){const t=e.data[n];r+="&"===t?"&":"<"===t?"<":">"===t?">":t}return r}_serializeDocumentFragmentNS(e,t,r,n,i){let a="";for(const o of e._children||e.childNodes)a+=this._serializeNodeNS(o,t,r,n,i);return a}_serializeDocumentType(e,t){if(t&&!l.xml_isPubidChar(e.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(t&&(!l.xml_isLegalChar(e.systemId)||-1!==e.systemId.indexOf('"')&&-1!==e.systemId.indexOf("'")))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return e.publicId&&e.systemId?"<!DOCTYPE "+e.name+' PUBLIC "'+e.publicId+'" "'+e.systemId+'">':e.publicId?"<!DOCTYPE "+e.name+' PUBLIC "'+e.publicId+'">':e.systemId?"<!DOCTYPE "+e.name+' SYSTEM "'+e.systemId+'">':"<!DOCTYPE "+e.name+">"}_serializeProcessingInstruction(e,t){if(t&&(-1!==e.target.indexOf(":")||/^xml$/i.test(e.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(t&&(!l.xml_isLegalChar(e.data)||-1!==e.data.indexOf("?>")))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return"<?"+(""===e.data?e.target:e.target+" "+e.data)+"?>"}_serializeCData(e,t){if(t&&-1!==e.data.indexOf("]]>"))throw new Error("CDATA contains invalid characters (well-formed required).");return"<![CDATA["+e.data+"]]>"}_serializeAttributesNS(e,t,r,n,a,o){let u="";const c=o?new i.LocalNameSet:void 0;for(const i of e.attributes){if(!a&&!o&&null===i.namespaceURI){u+=" "+i.localName+'="'+this._serializeAttributeValue(i.value,o)+'"';continue}if(o&&c&&c.has(i.namespaceURI,i.localName))throw new Error("Element contains duplicate attributes (well-formed required).");o&&c&&c.set(i.namespaceURI,i.localName);let e=i.namespaceURI,d=null;if(null!==e)if(d=t.get(i.prefix,e),e===s.namespace.XMLNS){if(i.value===s.namespace.XML||null===i.prefix&&a||null!==i.prefix&&(!(i.localName in n)||n[i.localName]!==i.value)&&t.has(i.localName,i.value))continue;if(o&&i.value===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(o&&""===i.value)throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");"xmlns"===i.prefix&&(d="xmlns")}else null===d&&(d=null===i.prefix||t.hasPrefix(i.prefix)&&!t.has(i.prefix,e)?this._generatePrefix(e,t,r):i.prefix,u+=" xmlns:"+d+'="'+this._serializeAttributeValue(e,o)+'"');if(u+=" ",null!==d&&(u+=d+":"),o&&(-1!==i.localName.indexOf(":")||!l.xml_isName(i.localName)||"xmlns"===i.localName&&null===e))throw new Error("Attribute local name contains invalid characters (well-formed required).");u+=i.localName+'="'+this._serializeAttributeValue(i.value,o)+'"'}return u}_recordNamespaceInformation(e,t,r){let n=null;for(const i of e.attributes){let e=i.namespaceURI,a=i.prefix;if(e===s.namespace.XMLNS){if(null===a){n=i.value;continue}{let e=i.localName,n=i.value;if(n===s.namespace.XML)continue;if(""===n&&(n=null),t.has(e,n))continue;t.set(e,n),r[e]=n||""}}}return n}_generatePrefix(e,t,r){let n="ns"+r.value;return r.value++,t.set(n,e),n}_serializeAttributeValue(e,t){if(t&&null!==e&&!l.xml_isLegalChar(e))throw new Error("Invalid characters in attribute value.");if(null===e)return"";let r="";for(let n=0;n<e.length;n++){const t=e[n];r+='"'===t?""":"&"===t?"&":"<"===t?"<":">"===t?">":t}return r}_serializeElement(e,t){if(t&&(-1!==e.localName.indexOf(":")||!l.xml_isName(e.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");let r=!1;const n=e.localName;let i="<"+n;if(i+=this._serializeAttributes(e,t),0===e._children.size&&(i+="/",r=!0),i+=">",r)return i;for(const a of e._children)i+=this._serializeNode(a,t);return i+="</"+n+">",i}_serializeDocument(e,t){if(t&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");let r="";for(const n of e._children)r+=this._serializeNode(n,t);return r}_serializeDocumentFragment(e,t){let r="";for(const n of e._children)r+=this._serializeNode(n,t);return r}_serializeAttributes(e,t){let r="";const n=t?{}:void 0;for(const i of e.attributes){if(t&&n&&i.localName in n)throw new Error("Element contains duplicate attributes (well-formed required).");if(t&&n&&(n[i.localName]=!0),t&&(-1!==i.localName.indexOf(":")||!l.xml_isName(i.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");r+=" "+i.localName+'="'+this._serializeAttributeValue(i.value,t)+'"'}return r}}t.XMLSerializerImpl=u,u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"])},"52bd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,r){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},5307:function(e,t,r){var n=r("36cc"),i=r("0f94");function a(e,t){this.init(e,t)}function o(e,t){return i.getElementsByTagName(e,t,!0)}function s(e,t){return i.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return i.getText(i.getElementsByTagName(e,t,r,1)).trim()}function u(e,t,r,n,i){var a=l(r,n,i);a&&(e[t]=a)}r("3fb5")(a,n),a.prototype.init=n;var c=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,r={},i=s(c,this.dom);i&&("feed"===i.name?(t=i.children,r.type="atom",u(r,"id","id",t),u(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),u(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),u(r,"author","email",t,!0),r.items=o("entry",t).map((function(e){var t,r={};return e=e.children,u(r,"id","id",e),u(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=s("channel",i.children).children,r.type=i.name.substr(0,3),r.id="",u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),u(r,"author","managingEditor",t,!0),r.items=o("item",i.children).map((function(e){var t,r={};return e=e.children,u(r,"id","guid",e),u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,n.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},e.exports=a},5318:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("8d23"),i=r("ff74"),a=r("ad99");class o extends a.BaseWriter{serialize(e,t){const r=i.applyDefaults(t,{wellFormed:!1,noDoubleEncoding:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,group:!1}),a=i.applyDefaults(r,{format:"object",wellFormed:!1,noDoubleEncoding:!1}),o=new n.ObjectWriter(this._builderOptions),s=o.serialize(e,a);return this._beginLine(r,0)+this._convertObject(s,r)}_convertObject(e,t,r=0){let n="";const a=this._isLeafNode(e);if(i.isArray(e)){n+="[";const i=e.length;let a=0;for(const o of e)n+=this._endLine(t,r+1)+this._beginLine(t,r+1)+this._convertObject(o,t,r+1),a<i-1&&(n+=","),a++;n+=this._endLine(t,r)+this._beginLine(t,r),n+="]"}else if(i.isObject(e)){n+="{";const o=i.objectLength(e);let s=0;i.forEachObject(e,(e,i)=>{a&&t.prettyPrint?n+=" ":n+=this._endLine(t,r+1)+this._beginLine(t,r+1),n+='"'+e+'":',t.prettyPrint&&(n+=" "),n+=this._convertObject(i,t,r+1),s<o-1&&(n+=","),s++},this),a&&t.prettyPrint?n+=" ":n+=this._endLine(t,r)+this._beginLine(t,r),n+="}"}else n+='"'+e+'"';return n}_beginLine(e,t){if(!e.prettyPrint)return"";{const r=e.offset+t+1;if(r>0)return new Array(r).join(e.indent)}return""}_endLine(e,t){return e.prettyPrint?e.newline:""}_isLeafNode(e){return this._descendantCount(e)<=1}_descendantCount(e,t=0){return i.isArray(e)?i.forEachArray(e,e=>t+=this._descendantCount(e,t),this):i.isObject(e)?i.forEachObject(e,(e,r)=>t+=this._descendantCount(r,t),this):t++,t}}t.JSONWriter=o},"53a8":function(e,t){e.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var i in n)r.call(n,i)&&(e[i]=n[i])}return e}},"53b7":function(e,t,r){var n=r("b639"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},"53c6":function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},5402:function(e,t,r){"use strict";var n=r("00ce"),i=r("545e"),a=r("2714"),o=r("0d25"),s=n("%WeakMap%",!0),l=n("%Map%",!0),u=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},g=function(e,t){var r=m(e,t);return r&&r.value},v=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},b=function(e,t){return!!m(e,t)};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new o("Side channel does not contain "+a(e))},get:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return u(e,n)}else if(l){if(t)return h(t,n)}else if(r)return g(r,n)},has:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return d(e,n)}else if(l){if(t)return f(t,n)}else if(r)return b(r,n);return!1},set:function(n,i){s&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new s),c(e,n,i)):l?(t||(t=new l),p(t,n,i)):(r||(r={key:{},next:null}),v(r,n,i))}};return n}},"545e":function(e,t,r){"use strict";var n=r("00ce"),i=r("3eb1"),a=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"===typeof r&&a(e,".prototype.")>-1?i(r):r}},"54d7":function(e,t,r){"use strict";var n=r("d62b"),i=r("f2e8"),a=r("3df8"),o="__core-js_shared__",s=e.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"55c9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return a}))},"561d":function(e,t,r){(function(t){var n=r("48e6"),i=r("7a10"),a=new i,o=new n(24),s=new n(11),l=new n(10),u=new n(3),c=new n(7),d=r("58a2"),h=r("11dc");function p(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function f(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=v;var m={};function g(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in m)return m[n];var i,h=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!a.test(e))return h+=1,h+="02"===r||"05"===r?8:4,m[n]=h,h;switch(a.test(e.shrn(1))||(h+=2),r){case"02":e.mod(o).cmp(s)&&(h+=8);break;case"05":i=e.mod(l),i.cmp(u)&&i.cmp(c)&&(h+=8);break;default:h+=4}return m[n]=h,h}function v(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=p,this.setPrivateKey=f):this._primeCode=8}function b(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(v.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=g(this.__prime,this.__gen)),this._primeCode}}),v.prototype.generateKeys=function(){return this._priv||(this._priv=new n(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},v.prototype.computeSecret=function(e){e=new n(e),e=e.toRed(this._prime);var r=e.redPow(this._priv).fromRed(),i=new t(r.toArray()),a=this.getPrime();if(i.length<a.length){var o=new t(a.length-i.length);o.fill(0),i=t.concat([o,i])}return i},v.prototype.getPublicKey=function(e){return b(this._pub,e)},v.prototype.getPrivateKey=function(e){return b(this._priv,e)},v.prototype.getPrime=function(e){return b(this.__prime,e)},v.prototype.getGenerator=function(e){return b(this._gen,e)},v.prototype.setGenerator=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.__gen=e,this._gen=new n(e),this}}).call(this,r("b639").Buffer)},"56b5":function(e,t,r){"use strict";var n=r("7f7a"),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),a=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),o=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())})),l=n.define("RelativeDistinguishedName",(function(){this.setof(a)})),u=n.define("RDNSequence",(function(){this.seqof(l)})),c=n.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),d=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),p=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0)["int"]().optional(),this.key("serialNumber")["int"](),this.key("signature").use(o),this.key("issuer").use(c),this.key("validity").use(d),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),f=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())}));e.exports=f},"576c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},"579c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9688"),i=r("6cb8");class a{parseFromString(e,t){if("text/html"===t)throw new Error("HTML parser not implemented.");try{const r=new i.XMLParserImpl,n=r.parse(e);return n._contentType=t,n}catch(r){const e="http://www.mozilla.org/newlayout/xml/parsererror.xml",t=n.create_xmlDocument(),i=t.createElementNS(e,"parsererror"),a=t.createElementNS(e,"error");return a.setAttribute("message",r.message),i.appendChild(a),t.appendChild(i),t}}}t.DOMParserImpl=a},"579f":function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},"57b8":function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},5804:function(e,t,r){var n=r("6fbd"),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},a={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function c(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r("3fb5")(c,r("faa1").EventEmitter),c.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in a)for(var t;(t=this._stack[this._stack.length-1])in a[e];this.onclosetag(t));!this._options.xmlMode&&e in o||(this._stack.push(e),e in s?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},c.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in o&&this._cbs.onclosetag(this._tagname),this._tagname=""},c.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in s||e in l)&&this._foreignContext.pop(),!this._stack.length||e in o&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag){t=this._stack.length-t;while(t--)this._cbs.onclosetag(this._stack.pop())}else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},c.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},c.prototype._getInstructionName=function(e){var t=e.search(u),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},c.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},"58a2":function(e,t,r){var n=r("11dc");e.exports=y,y.simpleSieve=v,y.fermatTest=b;var i=r("48e6"),a=new i(24),o=r("7a10"),s=new o,l=new i(1),u=new i(2),c=new i(5),d=(new i(16),new i(8),new i(10)),h=new i(3),p=(new i(7),new i(11)),f=new i(4),m=(new i(12),null);function g(){if(null!==m)return m;var e=1048576,t=[];t[0]=2;for(var r=1,n=3;n<e;n+=2){for(var i=Math.ceil(Math.sqrt(n)),a=0;a<r&&t[a]<=i;a++)if(n%t[a]===0)break;r!==a&&t[a]<=i||(t[r++]=n)}return m=t,t}function v(e){for(var t=g(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function b(e){var t=i.mont(e);return 0===u.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var r,o;t=new i(t);while(1){r=new i(n(Math.ceil(e/8)));while(r.bitLength()>e)r.ishrn(1);if(r.isEven()&&r.iadd(l),r.testn(1)||r.iadd(u),t.cmp(u)){if(!t.cmp(c))while(r.mod(d).cmp(h))r.iadd(f)}else while(r.mod(a).cmp(p))r.iadd(f);if(o=r.shrn(1),v(o)&&v(r)&&b(o)&&b(r)&&s.test(o)&&s.test(r))return r}}},"58c0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("0fc1"),i=r("9af8"),a=r("9688");class o{constructor(){}get _eventListenerList(){return this.__eventListenerList||(this.__eventListenerList=[])}get _eventHandlerMap(){return this.__eventHandlerMap||(this.__eventHandlerMap={})}addEventListener(e,t,r={passive:!1,once:!1,capture:!1}){const[n,o,s]=a.eventTarget_flattenMore(r);let l;t&&(l=i.Guard.isEventListener(t)?t:{handleEvent:t},a.eventTarget_addEventListener(this,{type:e,callback:l,capture:n,passive:o,once:s,removed:!1}))}removeEventListener(e,t,r={capture:!1}){const n=a.eventTarget_flatten(r);if(t)for(let o=0;o<this._eventListenerList.length;o++){const r=this._eventListenerList[o];if(r.type===e&&r.capture===n){if(i.Guard.isEventListener(t)&&r.callback===t){a.eventTarget_removeEventListener(this,r,o);break}if(t&&r.callback.handleEvent===t){a.eventTarget_removeEventListener(this,r,o);break}}}}dispatchEvent(e){if(e._dispatchFlag||!e._initializedFlag)throw new n.InvalidStateError;return e._isTrusted=!1,a.event_dispatch(e,this)}_getTheParent(e){return null}}t.EventTargetImpl=o},5919:function(e,t,r){"use strict";t.sha1=r("13e2"),t.sha224=r("07f2"),t.sha256=r("6eed"),t.sha384=r("8b95"),t.sha512=r("b525")},"591a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("0a9e");t.ObjectCache=n.ObjectCache;var i=r("c733");t.CompareCache=i.CompareCache;var a=r("7d2b");function o(e,t,...r){Object.getOwnPropertyNames(t.prototype).forEach(n=>{if(r.includes(n)){const t=Object.getOwnPropertyDescriptor(e.prototype,n);t&&Object.defineProperty(e.prototype,"_"+n,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&Object.defineProperty(e.prototype,n,i)})}function s(e,t,r=!1){const n=p(e||{});for(const[i,a]of u(t))b(a)?n[i]=s(n[i],a):(r||void 0===n[i])&&(n[i]=a);return n}function*l(e){yield*e}function*u(e){if(w(e))yield*e;else for(const t in e)e.hasOwnProperty(t)&&(yield[t,e[t]])}function c(e){return w(e)?e.size:Object.keys(e).length}function d(e,t){return w(e)?e.get(t):e[t]}function h(e,t){w(e)?e.delete(t):delete e[t]}function p(e){if(v(e))return e;if(y(e)){const t=[];for(const r of e)t.push(p(r));return t}if(b(e)){const t={};for(const r in e)if(e.hasOwnProperty(r)){const n=e[r];t[r]=p(n)}return t}return e}function f(e){return"boolean"===typeof e}function m(e){return"number"===typeof e}function g(e){return"string"===typeof e}function v(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function b(e){const t=typeof e;return!!e&&("function"===t||"object"===t)}function y(e){return Array.isArray(e)}function w(e){return e instanceof Map}function _(e){if(y(e))return!e.length;if(b(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function S(e){if(b(e)){const t=Object.getPrototypeOf(e),r=t.constructor;return t&&r&&"function"===typeof r&&r instanceof r&&Function.prototype.toString.call(r)===Function.prototype.toString.call(Object)}return!1}function E(e){return e&&"function"===typeof e[Symbol.iterator]}function M(e){return v(e.valueOf)?e.valueOf():e}function T(e){const t=new Uint8Array(4*e.length);let r=0;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i<128)t[r++]=i;else{if(i<2048)t[r++]=i>>6|192;else{if(i>55295&&i<56320){if(++n>=e.length)throw new Error("Incomplete surrogate pair.");const a=e.charCodeAt(n);if(a<56320||a>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&a),t[r++]=i>>18|240,t[r++]=i>>12&63|128}else t[r++]=i>>12|224;t[r++]=i>>6&63|128}t[r++]=63&i|128}}return t.subarray(0,r)}function C(e){let t="",r=0;while(r<e.length){var n=e[r++];if(n>127)if(n>191&&n<224){if(r>=e.length)throw new Error("Incomplete 2-byte sequence.");n=(31&n)<<6|63&e[r++]}else if(n>223&&n<240){if(r+1>=e.length)throw new Error("Incomplete 3-byte sequence.");n=(15&n)<<12|(63&e[r++])<<6|63&e[r++]}else{if(!(n>239&&n<248))throw new Error("Unknown multi-byte start.");if(r+2>=e.length)throw new Error("Incomplete 4-byte sequence.");n=(7&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++]}if(n<=65535)t+=String.fromCharCode(n);else{if(!(n<=1114111))throw new Error("Code point exceeds UTF-16 limit.");n-=65536,t+=String.fromCharCode(n>>10|55296),t+=String.fromCharCode(1023&n|56320)}}return t}t.StringWalker=a.StringWalker,t.applyMixin=o,t.applyDefaults=s,t.forEachArray=l,t.forEachObject=u,t.objectLength=c,t.getObjectValue=d,t.removeObjectValue=h,t.clone=p,t.isBoolean=f,t.isNumber=m,t.isString=g,t.isFunction=v,t.isObject=b,t.isArray=y,t.isMap=w,t.isEmpty=_,t.isPlainObject=S,t.isIterable=E,t.getValue=M,t.utf8Encode=T,t.utf8Decode=C},"592a":function(e,t,r){"use strict";var n=r("fd18"),i=0,a=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},"598a":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],r=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],n=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,r){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return n}))},"59a2":function(e,t,r){"use strict";var n=r("ac4f"),i=r("f2e8"),a=r("d2e4").set,o=r("f6cb"),s=i.setImmediate?o(a,!1):a;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==s},{setImmediate:s})},"5a76":function(e,t,r){var n=r("f576");e.exports=function(e){return(new n).update(e).digest()}},"5aff":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},r=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10,i=e%100-n,a=e>=100?100:null;return e+(t[n]||t[i]||t[a])}},week:{dow:1,doy:7}});return r}))},"5b14":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function r(e,t,r,n){var i=e;switch(r){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return i+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return i+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return i+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return i+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return i+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var i=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,r){return e<12?!0===r?"de":"DE":!0===r?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},"5b82":function(e,t,r){"use strict";var n=r("ac4f"),i=r("0227"),a=r("0204"),o=r("7b69"),s=r("fd18"),l=r("b343"),u=r("73fa"),c=r("4c54"),d=r("9674"),h=r("3037"),p=r("7b7f"),f=String,m=i("JSON","stringify"),g=s(/./.exec),v=s("".charAt),b=s("".charCodeAt),y=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,M=!p||l((function(){var e=i("Symbol")("stringify detection");return"[null]"!==m([e])||"{}"!==m({a:e})||"{}"!==m(Object(e))})),T=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),C=function(e,t){var r=d(arguments),n=h(t);if(u(n)||void 0!==e&&!c(e))return r[1]=function(e,t){if(u(n)&&(t=o(n,this,f(e),t)),!c(t))return t},a(m,null,r)},x=function(e,t,r){var n=v(r,t-1),i=v(r,t+1);return g(S,e)&&!g(E,i)||g(E,e)&&!g(S,n)?"\\u"+w(b(e,0),16):e};m&&n({target:"JSON",stat:!0,arity:3,forced:M||T},{stringify:function(e,t,r){var n=d(arguments),i=a(M?C:m,null,n);return T&&"string"==typeof i?y(i,_,x):i}})},"5bc2":function(e,t,r){"use strict";(function(t,n){var i=r("966d");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){P(t,e)}}e.exports=y;var o,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;y.WritableState=b;var l=Object.create(r("3a7c"));l.inherits=r("3fb5");var u={deprecate:r("b7d1")},c=r("1ad6"),d=r("9905").Buffer,h=("undefined"!==typeof n?n:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function p(e){return d.from(e)}function f(e){return d.isBuffer(e)||e instanceof h}var m,g=r("c69f");function v(){}function b(e,t){o=o||r("1715"),e=e||{};var n=t instanceof o;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){x(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(o=o||r("1715"),!m.call(y,this)&&!(this instanceof o))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),c.call(this)}function w(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function _(e,t,r,n){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(n,o),a=!1),a}function S(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=d.from(t,r)),t}function E(e,t,r,n,i,a){if(!r){var o=S(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else M(e,t,!1,s,n,i,a);return l}function M(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function T(e,t,r,n,a){--t.pendingcb,r?(i.nextTick(a,n),i.nextTick(I,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(a(n),e._writableState.errorEmitted=!0,e.emit("error",n),I(e,t))}function C(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function x(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(C(r),t)T(e,r,n,t,i);else{var a=R(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||O(e,r),n?s(A,e,r,a,i):A(e,r,a,i)}}function A(e,t,r,n){r||N(e,t),t.pendingcb--,n(),I(e,t)}function N(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;var s=0,l=!0;while(r)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,M(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{while(r){var u=r.chunk,c=r.encoding,d=r.callback,h=t.objectMode?1:u.length;if(M(e,t,!1,h,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function L(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),I(e,t)}))}function k(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(L,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function I(e,t){var r=R(t);return r&&(k(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function D(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function P(e,t,r){var n=e.entry;e.entry=null;while(n){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}l.inherits(y,c),b.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===y&&(e&&e._writableState instanceof b)}})):m=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&f(e);return a&&!d.isBuffer(e)&&(e=p(e)),"function"===typeof t&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),"function"!==typeof r&&(r=v),n.ended?w(this,r):(a||_(this,n,e,r))&&(n.pendingcb++,i=E(this,n,a,e,t,r)),i},y.prototype.cork=function(){var e=this._writableState;e.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||D(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("4362"),r("c8ba"))},"5bc5":function(e,t,r){"use strict";var n=r("f2e8"),i=r("939b");e.exports="process"===i(n.process)},"5c3a":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t}))},"5cbb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},"5d7f":function(e,t,r){"use strict";r.r(t),r.d(t,"getParent",(function(){return a})),r.d(t,"isThisHotChild",(function(){return o})),r.d(t,"getFrameElement",(function(){return s})),r.d(t,"getParentWindow",(function(){return l})),r.d(t,"hasAccessToParentWindow",(function(){return u})),r.d(t,"closest",(function(){return c})),r.d(t,"closestDown",(function(){return d})),r.d(t,"isChildOf",(function(){return h})),r.d(t,"index",(function(){return p})),r.d(t,"overlayContainsElement",(function(){return f})),r.d(t,"hasClass",(function(){return v})),r.d(t,"addClass",(function(){return b})),r.d(t,"removeClass",(function(){return y})),r.d(t,"setAttribute",(function(){return w})),r.d(t,"removeAttribute",(function(){return _})),r.d(t,"removeTextNodes",(function(){return S})),r.d(t,"empty",(function(){return E})),r.d(t,"HTML_CHARACTERS",(function(){return M})),r.d(t,"fastInnerHTML",(function(){return T})),r.d(t,"fastInnerText",(function(){return C})),r.d(t,"isVisible",(function(){return x})),r.d(t,"offset",(function(){return A})),r.d(t,"getWindowScrollTop",(function(){return N})),r.d(t,"getWindowScrollLeft",(function(){return O})),r.d(t,"getScrollTop",(function(){return R})),r.d(t,"getScrollLeft",(function(){return L})),r.d(t,"getScrollableElement",(function(){return k})),r.d(t,"getMaximumScrollTop",(function(){return I})),r.d(t,"getMaximumScrollLeft",(function(){return D})),r.d(t,"getTrimmingContainer",(function(){return P})),r.d(t,"getStyle",(function(){return j})),r.d(t,"matchesCSSRules",(function(){return F})),r.d(t,"getComputedStyle",(function(){return H})),r.d(t,"outerWidth",(function(){return B})),r.d(t,"outerHeight",(function(){return U})),r.d(t,"innerHeight",(function(){return V})),r.d(t,"innerWidth",(function(){return Y})),r.d(t,"addEvent",(function(){return z})),r.d(t,"removeEvent",(function(){return W})),r.d(t,"getCaretPosition",(function(){return q})),r.d(t,"getSelectionEndPosition",(function(){return G})),r.d(t,"getSelectionText",(function(){return K})),r.d(t,"clearTextSelection",(function(){return X})),r.d(t,"setCaretPosition",(function(){return Z})),r.d(t,"getScrollbarWidth",(function(){return Q})),r.d(t,"hasVerticalScrollbar",(function(){return ee})),r.d(t,"hasHorizontalScrollbar",(function(){return te})),r.d(t,"setOverlayPosition",(function(){return re})),r.d(t,"getCssTransform",(function(){return ne})),r.d(t,"resetCssTransform",(function(){return ie})),r.d(t,"isInput",(function(){return ae})),r.d(t,"isOutsideInput",(function(){return oe})),r.d(t,"selectElementIfAllowed",(function(){return se})),r.d(t,"isDetached",(function(){return le})),r.d(t,"observeVisibilityChangeOnce",(function(){return ue})),r.d(t,"makeElementContentEditableAndSelectItsContent",(function(){return ce})),r.d(t,"removeContentEditableFromElementAndDeselect",(function(){return de})),r.d(t,"runWithSelectedContendEditableElement",(function(){return he}));r("7a89"),r("d06e");var n=r("29b0"),i=r("8828");function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1,n=null,i=e;while(null!==i){if(r===t){n=i;break}i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i=i.host:(r+=1,i=i.parentNode)}return n}function o(e,t){const r=e.closest(".handsontable");return!!r&&(r.parentNode===t||r===t)}function s(e){return Object.getPrototypeOf(e.parent)&&e.frameElement}function l(e){return s(e)&&e.parent}function u(e){return!!Object.getPrototypeOf(e.parent)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;const{ELEMENT_NODE:n,DOCUMENT_FRAGMENT_NODE:i}=Node;let a=e;while(null!==a&&void 0!==a&&a!==r){const{nodeType:e,nodeName:r}=a;if(e===n&&(t.includes(r)||t.includes(a)))return a;const{host:o}=a;a=o&&e===i?o:a.parentNode}return null}function d(e,t,r){const n=[];let i=e;while(i){if(i=c(i,t,r),!i||r&&!r.contains(i))break;n.push(i),i=i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i.host:i.parentNode}const a=n.length;return a?n[a-1]:null}function h(e,t){let r=e.parentNode,n=[];"string"===typeof t?n=e.defaultView?Array.prototype.slice.call(e.querySelectorAll(t),0):Array.prototype.slice.call(e.ownerDocument.querySelectorAll(t),0):n.push(t);while(null!==r){if(n.indexOf(r)>-1)return!0;r=r.parentNode}return!1}function p(e){let t=0,r=e;if(r.previousSibling)while(r=r.previousSibling)t+=1;return t}function f(e,t,r){const n=r.parentElement.querySelector(".ht_clone_"+e);return n?n.contains(t):null}function m(e){return e&&e.length?e.filter(e=>!!e):[]}function g(e,t){if(!e||!e.length)return t?{regexFree:[],regexes:[]}:[];const r=[],n=[];return n.push(...e.filter(e=>{const n=e instanceof RegExp;return n&&t&&r.push(e),!n})),t?{regexFree:n,regexes:r}:n}function v(e,t){return void 0!==e.classList&&"string"===typeof t&&""!==t&&e.classList.contains(t)}function b(e,t){"string"===typeof t&&(t=t.split(" ")),t=m(t),t.length>0&&e.classList.add(...t)}function y(e,t){"string"===typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);let{regexFree:r,regexes:n}=g(t,!0);r=m(r),r.length>0&&e.classList.remove(...r),n.forEach(t=>{e.classList.forEach(r=>{t.test(r)&&e.classList.remove(r)})})}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;Array.isArray(t)||(t=[[t,r]]),t.forEach(t=>{Array.isArray(t)&&""!==t[0]&&e.setAttribute(...t)})}function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"string"===typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);const{regexFree:r,regexes:n}=g(t,!0);r.forEach(t=>{""!==t&&e.removeAttribute(t)}),n.forEach(t=>{e.getAttributeNames().forEach(r=>{t.test(r)&&e.removeAttribute(r)})})}function S(e){if(3===e.nodeType)e.parentNode.removeChild(e);else if(["TABLE","THEAD","TBODY","TFOOT","TR"].indexOf(e.nodeName)>-1){const t=e.childNodes;for(let e=t.length-1;e>=0;e--)S(t[e])}}function E(e){let t;while(t=e.lastChild)e.removeChild(t)}const M=/(<(.*)>|&(.*);)/;function T(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];M.test(t)?e.innerHTML=r?Object(n["sanitize"])(t):t:C(e,t)}function C(e,t){const r=e.firstChild;r&&3===r.nodeType&&null===r.nextSibling?r.textContent=t:(E(e),e.appendChild(e.ownerDocument.createTextNode(t)))}function x(e){const t=e.ownerDocument.documentElement;let r=e;while(r!==t){if(null===r)return!1;if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(r.host){if(r.host.impl)return x(r.host.impl);if(r.host)return x(r.host);throw new Error("Lost in Web Components world")}return!1}if("none"===H(r).display)return!1;r=r.parentNode}return!0}function A(e){const t=e.ownerDocument,r=t.defaultView,n=t.documentElement;let i,a,o,s=e;i=s.offsetLeft,a=s.offsetTop,o=s;while(s=s.offsetParent){if(s===t.body)break;if(!("offsetLeft"in s))break;i+=s.offsetLeft,a+=s.offsetTop,o=s}return o&&"fixed"===o.style.position&&(i+=r.pageXOffset||n.scrollLeft,a+=r.pageYOffset||n.scrollTop),{left:i,top:a}}function N(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return e.scrollY}function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return e.scrollX}function R(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e===t?N(t):e.scrollTop}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e===t?O(t):e.scrollLeft}function k(e){let t=e.ownerDocument,r=t?t.defaultView:void 0;t||(t=e.document?e.document:e,r=t.defaultView);const n=["auto","scroll"];let i=e.parentNode;while(i&&i.style&&t.body!==i){let{overflow:e,overflowX:t,overflowY:a}=i.style;if([e,t,a].includes("scroll"))return i;if(({overflow:e,overflowX:t,overflowY:a}=r.getComputedStyle(i)),n.includes(e)||n.includes(t)||n.includes(a))return i;if(i.clientHeight<=i.scrollHeight+1&&(n.includes(a)||n.includes(e)))return i;if(i.clientWidth<=i.scrollWidth+1&&(n.includes(t)||n.includes(e)))return i;i=i.parentNode}return r}function I(e){return e.scrollHeight-e.clientHeight}function D(e){return e.scrollWidth-e.clientWidth}function P(e){const t=e.ownerDocument,r=t.defaultView;let n=e.parentNode;while(n&&n.style&&t.body!==n){if("visible"!==n.style.overflow&&""!==n.style.overflow)return n;const e=H(n,r),t=["scroll","hidden","auto"],i=e.getPropertyValue("overflow"),a=e.getPropertyValue("overflow-y"),o=e.getPropertyValue("overflow-x");if(t.includes(i)||t.includes(a)||t.includes(o))return n;n=n.parentNode}return r}function j(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(!e)return;if(e===r)return"width"===t?r.innerWidth+"px":"height"===t?r.innerHeight+"px":void 0;const n=e.style[t];if(""!==n&&void 0!==n)return n;const i=H(e,r);return""!==i[t]&&void 0!==i[t]?i[t]:void 0}function F(e,t){const{selectorText:r}=t;let n=!1;return t.type===CSSRule.STYLE_RULE&&r&&(e.msMatchesSelector?n=e.msMatchesSelector(r):e.matches&&(n=e.matches(r))),n}function H(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e.currentStyle||t.getComputedStyle(e)}function B(e){return e.offsetWidth}function U(e){return e.offsetHeight}function V(e){return e.clientHeight||e.innerHeight}function Y(e){return e.clientWidth||e.innerWidth}function z(e,t,r){e.addEventListener(t,r,!1)}function W(e,t,r){e.removeEventListener(t,r,!1)}function q(e){return e.selectionStart?e.selectionStart:0}function G(e){return e.selectionEnd?e.selectionEnd:0}function K(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const t=e.document;let r="";return e.getSelection?r=e.getSelection().toString():t.selection&&"Control"!==t.selection.type&&(r=t.selection.createRange().text),r}function X(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;e.getSelection&&(e.getSelection().empty?e.getSelection().empty():e.getSelection().removeAllRanges&&e.getSelection().removeAllRanges())}function Z(e,t,r){if(void 0===r&&(r=t),e.setSelectionRange){e.focus();try{e.setSelectionRange(t,r)}catch(n){const i=e.parentNode,a=i.style.display;i.style.display="block",e.setSelectionRange(t,r),i.style.display=a}}}let $;function J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=e.createElement("div");t.style.height="200px",t.style.width="100%";const r=e.createElement("div");r.style.boxSizing="content-box",r.style.height="150px",r.style.left="0px",r.style.overflow="hidden",r.style.position="absolute",r.style.top="0px",r.style.width="200px",r.style.visibility="hidden",r.appendChild(t),(e.body||e.documentElement).appendChild(r);const n=t.offsetWidth;r.style.overflow="scroll";let i=t.offsetWidth;return n===i&&(i=r.clientWidth),(e.body||e.documentElement).removeChild(r),n-i}function Q(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return void 0===$&&($=J(e)),$}function ee(e){return e.offsetWidth!==e.clientWidth}function te(e){return e.offsetHeight!==e.clientHeight}function re(e,t,r){e.style.transform=`translate3d(${t},${r},0)`}function ne(e){let t;return e.style.transform&&""!==(t=e.style.transform)?["transform",t]:-1}function ie(e){e.style.transform&&""!==e.style.transform&&(e.style.transform="")}function ae(e){const t=["INPUT","SELECT","TEXTAREA"];return e&&(t.indexOf(e.nodeName)>-1||"true"===e.contentEditable)}function oe(e){return ae(e)&&!1===e.hasAttribute("data-hot-input")}function se(e){const t=e.ownerDocument.activeElement;oe(t)||e.select()}function le(e){return!e.parentNode}function ue(e,t){const r=new IntersectionObserver((r,n)=>{r.forEach(r=>{r.isIntersecting&&null!==e.offsetParent&&(t(),n.unobserve(e))})},{root:e.ownerDocument.body});r.observe(e)}function ce(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=e.ownerDocument,a=n.createRange(),o=n.defaultView.getSelection();w(e,"contenteditable",!0),r&&w(e,...Object(i["n"])()),t&&b(e,"invisibleSelection"),a.selectNodeContents(e),o.removeAllRanges(),o.addRange(a)}function de(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=e.ownerDocument.defaultView.getSelection();e.hasAttribute("aria-hidden")&&e.removeAttribute("aria-hidden"),r.removeAllRanges(),t&&y(e,"invisibleSelection"),e.removeAttribute("contenteditable")}function he(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ce(e,r),t(),de(e,r)}},"5e7d":function(e,t,r){"use strict";var n=r("966d"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r("3a7c"));a.inherits=r("3fb5");var o=r("cf35"),s=r("49ce");a.inherits(d,o);for(var l=i(s.prototype),u=0;u<l.length;u++){var c=l[u];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},"5eac":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r("0b68"),i=r("799c");function a(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)}function o(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)}function s(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)}t.decode=a,t.decodeStrict=o,t.encode=s;var l=r("799c");Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return l.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return l.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return l.encodeHTML}});var u=r("0b68");Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})},"5ee7":function(e,t,r){"use strict";t.readUInt32BE=function(e,t){var r=e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t];return r>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var i=0,a=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+o&1}for(o=6;o>=0;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}r[n+0]=i>>>0,r[n+1]=a>>>0},t.rip=function(e,t,r,n){for(var i=0,a=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+o&1,i<<=1,i|=e>>>s+o&1;for(o=4;o<8;o++)for(s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},t.pc1=function(e,t,r,n){for(var i=0,a=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+o&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var a=0,o=0,s=n.length>>>1,l=0;l<s;l++)a<<=1,a|=e>>>n[l]&1;for(l=s;l<n.length;l++)o<<=1,o|=t>>>n[l]&1;r[i+0]=a>>>0,r[i+1]=o>>>0},t.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)n<<=6,n|=e>>>a&63;for(a=11;a>=3;a-=4)i|=e>>>a&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){var a=e>>>18-6*n&63,o=i[64*n+a];r<<=4,r|=o}for(n=0;n<4;n++){a=t>>>18-6*n&63,o=i[256+64*n+a];r<<=4,r|=o}return r>>>0};var a=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r<a.length;r++)t<<=1,t|=e>>>a[r]&1;return t>>>0},t.padSplit=function(e,t,r){var n=e.toString(2);while(n.length<t)n="0"+n;for(var i=[],a=0;a<t;a+=r)i.push(n.slice(a,a+r));return i.join(" ")}},"5f05":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9af8"),i=r("9688");class a{get children(){return i.create_htmlCollection(n.Cast.asNode(this))}get firstElementChild(){let e=n.Cast.asNode(this)._firstChild;while(e){if(n.Guard.isElementNode(e))return e;e=e._nextSibling}return null}get lastElementChild(){let e=n.Cast.asNode(this)._lastChild;while(e){if(n.Guard.isElementNode(e))return e;e=e._previousSibling}return null}get childElementCount(){let e=0;for(const t of n.Cast.asNode(this)._children)n.Guard.isElementNode(t)&&e++;return e}prepend(...e){const t=n.Cast.asNode(this),r=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);i.mutation_preInsert(r,t,t._firstChild)}append(...e){const t=n.Cast.asNode(this),r=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);i.mutation_append(r,t)}querySelector(e){const t=n.Cast.asNode(this),r=i.selectors_scopeMatchASelectorsString(e,t);return 0===r.length?null:r[0]}querySelectorAll(e){const t=n.Cast.asNode(this),r=i.selectors_scopeMatchASelectorsString(e,t);return i.create_nodeListStatic(t,r)}}t.ParentNodeImpl=a},"5fb5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("0fc1");function a(e,t){if(e._activeFlag)throw new i.InvalidStateError;const r=t._nodeType-1,a=1<<r;if(0===(e.whatToShow&a))return n.FilterResult.Skip;if(!e.filter)return n.FilterResult.Accept;e._activeFlag=!0;let o=n.FilterResult.Reject;try{o=e.filter.acceptNode(t)}catch(s){throw e._activeFlag=!1,s}return e._activeFlag=!1,o}t.traversal_filter=a},"5fbc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("a45a"),i=r("9688"),a=r("9af8"),o=r("69a8");class s{constructor(e,t){return this._live=!0,this._root=e,this._filter=t,new Proxy(this,this)}get length(){let e=0,t=i.tree_getFirstDescendantNode(this._root,!1,!1,e=>a.Guard.isElementNode(e)&&this._filter(e));while(null!==t)e++,t=i.tree_getNextDescendantNode(this._root,t,!1,!1,e=>a.Guard.isElementNode(e)&&this._filter(e));return e}item(e){let t=0,r=i.tree_getFirstDescendantNode(this._root,!1,!1,e=>a.Guard.isElementNode(e)&&this._filter(e));while(null!==r){if(t===e)return r;t++,r=i.tree_getNextDescendantNode(this._root,r,!1,!1,e=>a.Guard.isElementNode(e)&&this._filter(e))}return null}namedItem(e){if(""===e)return null;let t=i.tree_getFirstDescendantNode(this._root,!1,!1,e=>a.Guard.isElementNode(e)&&this._filter(e));while(null!=t){if(t._uniqueIdentifier===e)return t;if(t._namespace===n.namespace.HTML)for(let r=0;r<t._attributeList.length;r++){const n=t._attributeList[r];if("name"===n._localName&&null===n._namespace&&null===n._namespacePrefix&&n._value===e)return t}t=i.tree_getNextDescendantNode(this._root,t,!1,!1,e=>a.Guard.isElementNode(e)&&this._filter(e))}return null}[Symbol.iterator](){const e=this._root,t=this._filter;let r=i.tree_getFirstDescendantNode(e,!1,!1,e=>a.Guard.isElementNode(e)&&t(e));return{next(){if(null===r)return{done:!0,value:null};{const n={done:!1,value:r};return r=i.tree_getNextDescendantNode(e,r,!1,!1,e=>a.Guard.isElementNode(e)&&t(e)),n}}}}get(e,t,r){if(!o.isString(t)||-1!==s.reservedNames.indexOf(t))return Reflect.get(e,t,r);const n=Number(t);return isNaN(n)?e.namedItem(t)||void 0:e.item(n)||void 0}set(e,t,r,n){if(!o.isString(t)||-1!==s.reservedNames.indexOf(t))return Reflect.set(e,t,r,n);const a=Number(t),l=isNaN(a)?e.namedItem(t)||void 0:e.item(a)||void 0;return!(!l||!l._parent)&&(i.mutation_replace(l,r,l._parent),!0)}static _create(e,t=(()=>!0)){return new s(e,t)}}t.HTMLCollectionImpl=s,s.reservedNames=["_root","_live","_filter","length","item","namedItem","get","set"]},"5fbd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+r},week:{dow:1,doy:4}});return t}))},6038:function(e,t,r){"use strict";var n=TypeError;e.exports=function(e,t){if(e<t)throw new n("Not enough arguments");return e}},"605c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e){this.level=0,this._builderOptions=e,this._writerOptions=e}}t.BaseCBWriter=n},"60b4":function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},6117:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},6141:function(e,t,r){"use strict";function n(e,t){e.push(t)}function i(e){return e.shift()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.enqueue=n,t.dequeue=i},6189:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e){this._initialized=!1,this._value=void 0,this._initFunc=e}get value(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value}}t.Lazy=n},"624b":function(e,t,r){"use strict";var n=r("fd18"),i=r("2aac");e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(a){}}},6283:function(e,t,r){var n=r("3fb5"),i=r("41df").Reporter,a=r("b639").Buffer;function o(e,t){i.call(this,t),a.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"===typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"===typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(o,i),t.DecoderBuffer=o,o.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},o.prototype.restore=function(e){var t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new o(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(e,t),t+=r.length})):("number"===typeof this.value?e[t]=this.value:"string"===typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},"62c9":function(e,t,r){var n=r("8707").Buffer;function i(e,t,r){var i=e._cipher.encryptBlock(e._prev),a=i[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:a])]),a}t.encrypt=function(e,t,r){var a=t.length,o=n.allocUnsafe(a),s=-1;while(++s<a)o[s]=i(e,t[s],r);return o}},6394:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("0fc1"),a=r("a45a"),o=r("9688");class s{constructor(e,t){this._element=e,this._attribute=t,this._tokenSet=new Set;const r=t._localName,i=o.element_getAnAttributeValue(e,r),a=this;function s(e,t,r,n,i){t===a._attribute._localName&&null===i&&(n?a._tokenSet=o.orderedSet_parse(n):a._tokenSet.clear())}this._element._attributeChangeSteps.push(s),n.dom.features.steps&&o.dom_runAttributeChangeSteps(e,r,i,i,null)}get length(){return this._tokenSet.size}item(e){let t=0;for(const r of this._tokenSet){if(t===e)return r;t++}return null}contains(e){return this._tokenSet.has(e)}add(...e){for(const t of e){if(""===t)throw new i.SyntaxError("Cannot add an empty token.");if(a.codePoint.ASCIIWhiteSpace.test(t))throw new i.InvalidCharacterError("Token cannot contain whitespace.");this._tokenSet.add(t)}o.tokenList_updateSteps(this)}remove(...e){for(const t of e){if(""===t)throw new i.SyntaxError("Cannot remove an empty token.");if(a.codePoint.ASCIIWhiteSpace.test(t))throw new i.InvalidCharacterError("Token cannot contain whitespace.");this._tokenSet.delete(t)}o.tokenList_updateSteps(this)}toggle(e,t){if(""===e)throw new i.SyntaxError("Cannot toggle an empty token.");if(a.codePoint.ASCIIWhiteSpace.test(e))throw new i.InvalidCharacterError("Token cannot contain whitespace.");return this._tokenSet.has(e)?void 0!==t&&!1!==t||(this._tokenSet.delete(e),o.tokenList_updateSteps(this),!1):(void 0===t||!0===t)&&(this._tokenSet.add(e),o.tokenList_updateSteps(this),!0)}replace(e,t){if(""===e||""===t)throw new i.SyntaxError("Cannot replace an empty token.");if(a.codePoint.ASCIIWhiteSpace.test(e)||a.codePoint.ASCIIWhiteSpace.test(t))throw new i.InvalidCharacterError("Token cannot contain whitespace.");return!!this._tokenSet.has(e)&&(a.set.replace(this._tokenSet,e,t),o.tokenList_updateSteps(this),!0)}supports(e){return o.tokenList_validationSteps(this,e)}get value(){return o.tokenList_serializeSteps(this)}set value(e){o.element_setAnAttributeValue(this._element,this._attribute._localName,e)}[Symbol.iterator](){const e=this._tokenSet[Symbol.iterator]();return{next(){return e.next()}}}static _create(e,t){return new s(e,t)}}t.DOMTokenListImpl=s},"63d8":function(e,t,r){"use strict";r.r(t),r.d(t,"setBrowserMeta",(function(){return l})),r.d(t,"setPlatformMeta",(function(){return u})),r.d(t,"isChrome",(function(){return c})),r.d(t,"isChromeWebKit",(function(){return d})),r.d(t,"isFirefox",(function(){return h})),r.d(t,"isFirefoxWebKit",(function(){return p})),r.d(t,"isSafari",(function(){return f})),r.d(t,"isEdge",(function(){return m})),r.d(t,"isEdgeWebKit",(function(){return g})),r.d(t,"isMobileBrowser",(function(){return v})),r.d(t,"isIOS",(function(){return b})),r.d(t,"isIpadOS",(function(){return y})),r.d(t,"isWindowsOS",(function(){return w})),r.d(t,"isMacOS",(function(){return _})),r.d(t,"isLinuxOS",(function(){return S}));var n=r("351d"),i=r("7dd09");const a=e=>{const t={value:!1,test:(r,n)=>{t.value=e(r,n)}};return t},o={chrome:a((e,t)=>/Chrome/.test(e)&&/Google/.test(t)),chromeWebKit:a(e=>/CriOS/.test(e)),edge:a(e=>/Edge/.test(e)),edgeWebKit:a(e=>/EdgiOS/.test(e)),firefox:a(e=>/Firefox/.test(e)),firefoxWebKit:a(e=>/FxiOS/.test(e)),mobile:a(e=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)),safari:a((e,t)=>/Safari/.test(e)&&/Apple Computer/.test(t))},s={mac:a(e=>/^Mac/.test(e)),win:a(e=>/^Win/.test(e)),linux:a(e=>/^Linux/.test(e)),ios:a(e=>/iPhone|iPad|iPod/i.test(e))};function l(){let{userAgent:e=navigator.userAgent,vendor:t=navigator.vendor}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(n["objectEach"])(o,r=>{let{test:n}=r;n(e,t)})}function u(){let{platform:e=navigator.platform}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(n["objectEach"])(s,t=>{let{test:r}=t;r(e)})}function c(){return o.chrome.value}function d(){return o.chromeWebKit.value}function h(){return o.firefox.value}function p(){return o.firefoxWebKit.value}function f(){return o.safari.value}function m(){return o.edge.value}function g(){return o.edgeWebKit.value}function v(){return o.mobile.value}function b(){return s.ios.value}function y(){let{maxTouchPoints:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator;return e>2&&s.mac.value}function w(){return s.win.value}function _(){return s.mac.value}function S(){return s.linux.value}Object(i["isCSR"])()&&(l(),u())},6403:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},6430:function(e,t,r){var n=r("8707").Buffer,i=r("d485").Transform,a=r("aa22").StringDecoder,o=r("3fb5");function s(e){i.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}o(s,i),s.prototype.update=function(e,t,r){"string"===typeof e&&(e=n.from(e,t));var i=this._update(e);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){n=i}finally{r(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=s},6442:function(e,t,r){t.publicEncrypt=r("ad25"),t.privateDecrypt=r("0f2c"),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},"64b0":function(e,t,r){"use strict";var n=r("71c9"),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},"652d":function(e,t,r){"use strict";var n=r("fd18"),i=r("69ba"),a=r("9394"),o=r("27dc").indexOf,s=r("861e"),l=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&l(c,r);while(t.length>u)i(n,r=t[u++])&&(~o(c,r)||l(c,r));return c}},"65c4":function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},"65c6":function(e,t,r){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"65db":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,r){return e>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},"66ec":function(e,t,r){var n=r("01d0"),i=e.exports=Object.create(n),a={tagName:"name"};Object.keys(a).forEach((function(e){var t=a[e];Object.defineProperty(i,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},"676f":function(e,t,r){"use strict";var n=r("80af"),i=r("3fb5"),a=r("ea53"),o=r("f3a3");function s(e){a.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){a.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,a),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t),i=n.redSqrt();return 0===i.redSqr().cmp(n)},i(l,a.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},s.prototype.point=function(e,t){return new l(this,e,t)},s.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z),t=e.redSqr(),r=this.x.redSub(this.z),n=r.redSqr(),i=t.redSub(n),a=t.redMul(n),o=i.redMul(n.redAdd(this.curve.a24.redMul(i)));return this.curve.point(a,o)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),a=e.x.redSub(e.z),o=a.redMul(r),s=i.redMul(n),l=t.z.redMul(o.redAdd(s).redSqr()),u=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(l,u)},l.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=this,a=[];0!==t.cmpn(0);t.iushrn(1))a.push(t.andln(1));for(var o=a.length-1;o>=0;o--)0===a[o]?(r=r.diffAdd(n,i),n=n.dbl()):(n=r.diffAdd(n,i),r=r.dbl());return n},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},6784:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],r=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],n=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,r){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return n}))},"67a87":function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("81ea");function i(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];const a=Object(n["arrayReduce"])(e,(e,t,n)=>{const i=t.replace(/\r?\n\s*/g,""),a=r[n]?r[n]:"";return e+i+a},"");return a.trim()}},"67d9":function(e,t,r){"use strict";e.exports=URIError},"67ee":function(e,t,r){"use strict";e.exports=SyntaxError},6853:function(e,t,r){"use strict";var n=r("be7f"),i=15,a=852,o=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],d=[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],p=[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];e.exports=function(e,t,r,f,m,g,v,b){var y,w,_,S,E,M,T,C,x,A=b.bits,N=0,O=0,R=0,L=0,k=0,I=0,D=0,P=0,j=0,F=0,H=null,B=0,U=new n.Buf16(i+1),V=new n.Buf16(i+1),Y=null,z=0;for(N=0;N<=i;N++)U[N]=0;for(O=0;O<f;O++)U[t[r+O]]++;for(k=A,L=i;L>=1;L--)if(0!==U[L])break;if(k>L&&(k=L),0===L)return m[g++]=20971520,m[g++]=20971520,b.bits=1,0;for(R=1;R<L;R++)if(0!==U[R])break;for(k<R&&(k=R),P=1,N=1;N<=i;N++)if(P<<=1,P-=U[N],P<0)return-1;if(P>0&&(e===s||1!==L))return-1;for(V[1]=0,N=1;N<i;N++)V[N+1]=V[N]+U[N];for(O=0;O<f;O++)0!==t[r+O]&&(v[V[t[r+O]]++]=O);if(e===s?(H=Y=v,M=19):e===l?(H=c,B-=257,Y=d,z-=257,M=256):(H=h,Y=p,M=-1),F=0,O=0,N=R,E=g,I=k,D=0,_=-1,j=1<<k,S=j-1,e===l&&j>a||e===u&&j>o)return 1;for(;;){T=N-D,v[O]<M?(C=0,x=v[O]):v[O]>M?(C=Y[z+v[O]],x=H[B+v[O]]):(C=96,x=0),y=1<<N-D,w=1<<I,R=w;do{w-=y,m[E+(F>>D)+w]=T<<24|C<<16|x|0}while(0!==w);y=1<<N-1;while(F&y)y>>=1;if(0!==y?(F&=y-1,F+=y):F=0,O++,0===--U[N]){if(N===L)break;N=t[r+v[O]]}if(N>k&&(F&S)!==_){0===D&&(D=k),E+=R,I=N-D,P=1<<I;while(I+D<L){if(P-=U[I+D],P<=0)break;I++,P<<=1}if(j+=1<<I,e===l&&j>a||e===u&&j>o)return 1;_=F&S,m[_]=k<<24|I<<16|E-g|0}}return 0!==F&&(m[E+F]=N-D<<24|64<<16|0),b.bits=k,0}},6887:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r){var n={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(n[r],e)}function r(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function n(e){return e>9?n(e%10):e}function i(e,t){return 2===t?a(e):e}function a(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,u=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],p=e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:c,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:u,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:r},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,r){return e<12?"a.m.":"g.m."}});return p}))},"688b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"688e":function(e,t,r){"use strict";var n="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,a=Math.max,o="[object Function]",s=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},l=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},u=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var t=this;if("function"!==typeof t||i.apply(t)!==o)throw new TypeError(n+t);for(var r,c=l(arguments,1),d=function(){if(this instanceof r){var n=t.apply(this,s(c,arguments));return Object(n)===n?n:this}return t.apply(e,s(c,arguments))},h=a(0,t.length-c.length),p=[],f=0;f<h;f++)p[f]="$"+f;if(r=Function("binder","return function ("+u(p,",")+"){ return binder.apply(this,arguments); }")(d),t.prototype){var m=function(){};m.prototype=t.prototype,r.prototype=new m,m.prototype=null}return r}},"68b1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("5230"),i=r("ff74"),a=r("f05c"),o=r("42e9"),s=r("9af8"),l=r("9688"),u=r("a023"),c=r("a45a");class d{constructor(e){this._domNode=e}get node(){return this._domNode}set(e){return this._options=i.applyDefaults(i.applyDefaults(this._options,e,!0),n.DefaultBuilderOptions),this}ele(e,t,r){let n,a,o,s=null;if(i.isString(e)&&/^\s*</.test(e)){const t="<TEMP_ROOT>"+e+"</TEMP_ROOT>",r=u.createParser(),n=r.parseFromString(u.sanitizeInput(t,this._options.invalidCharReplacement),"text/xml");if(null===n.documentElement)throw new Error("Document element is null.");u.throwIfParserError(n);for(const e of n.documentElement.childNodes){const t=n.importNode(e,!0);s=new d(t),this._domNode.appendChild(t)}if(null===s)throw new Error("Could not create any elements with: "+e.toString()+". "+this._debugInfo());return s}if(i.isString(e)&&/^\s*[\{\[]/.test(e)){const t=JSON.parse(e);return this.ele(t)}if(i.isObject(e))[n,a,o]=[void 0,e,void 0];else if((null===e||i.isString(e))&&i.isString(t))[n,a,o]=[e,t,r];else{if(null===e)throw new Error("Element name cannot be null. "+this._debugInfo());[n,a,o]=[void 0,e,i.isObject(t)?t:void 0]}if(o&&(o=i.getValue(o)),i.isFunction(a))s=this.ele(a.apply(this));else if(i.isArray(a)||i.isSet(a))i.forEachArray(a,e=>s=this.ele(e),this);else if(i.isMap(a)||i.isObject(a))i.forEachObject(a,(e,t)=>{if(i.isFunction(t)&&(t=t.apply(this)),this._options.ignoreConverters||0!==e.indexOf(this._options.convert.att))if(this._options.ignoreConverters||0!==e.indexOf(this._options.convert.text))if(this._options.ignoreConverters||0!==e.indexOf(this._options.convert.cdata))if(this._options.ignoreConverters||0!==e.indexOf(this._options.convert.comment))if(this._options.ignoreConverters||0!==e.indexOf(this._options.convert.ins))(i.isArray(t)||i.isSet(t))&&i.isEmpty(t)?s=this._dummy():(i.isMap(t)||i.isObject(t))&&i.isEmpty(t)?s=this.ele(e):this._options.keepNullNodes||null!=t?i.isArray(t)||i.isSet(t)?i.forEachArray(t,t=>{const r={};r[e]=t,s=this.ele(r)},this):i.isMap(t)||i.isObject(t)?(s=this.ele(e),s.ele(t)):t?(s=this.ele(e),s.txt(t)):s=this.ele(e):s=this._dummy();else if(i.isString(t)){const e=t.indexOf(" "),r=-1===e?t:t.substr(0,e),n=-1===e?"":t.substr(e+1);s=this.ins(r,n)}else s=this.ins(t);else i.isArray(t)||i.isSet(t)?i.forEachArray(t,e=>s=this.com(e),this):s=this.com(t);else i.isArray(t)||i.isSet(t)?i.forEachArray(t,e=>s=this.dat(e),this):s=this.dat(t);else s=i.isMap(t)||i.isObject(t)?this.ele(t):this.txt(t);else s=e===this._options.convert.att?this.att(t):this.att(e.substr(this._options.convert.att.length),t)},this);else{if([n,a]=this._extractNamespace(u.sanitizeInput(n,this._options.invalidCharReplacement),u.sanitizeInput(a,this._options.invalidCharReplacement),!0),void 0===n){const[e]=l.namespace_extractQName(a);n=this.node.lookupNamespaceURI(e)}const e=void 0!==n&&null!==n?this._doc.createElementNS(n,a):this._doc.createElement(a);this.node.appendChild(e),s=new d(e);const t=this._doc.doctype;if(e===this._doc.documentElement&&null!==t){const e=this._doc.implementation.createDocumentType(this._doc.documentElement.tagName,t.publicId,t.systemId);this._doc.replaceChild(e,t)}o&&!i.isEmpty(o)&&s.att(o)}if(null===s)throw new Error("Could not create any elements with: "+a.toString()+". "+this._debugInfo());return s}remove(){const e=this.up();return e.node.removeChild(this.node),e}att(e,t,r){if(i.isMap(e)||i.isObject(e))return i.forEachObject(e,(e,t)=>this.att(e,t),this),this;let n,a,o;if(void 0!==e&&null!==e&&(e=i.getValue(e+"")),void 0!==t&&null!==t&&(t=i.getValue(t+"")),void 0!==r&&null!==r&&(r=i.getValue(r+"")),null!==e&&!i.isString(e)||!i.isString(t)||null!==r&&!i.isString(r)){if(!i.isString(e)||null!=t&&!i.isString(t))throw new Error("Attribute name and value not specified. "+this._debugInfo());[n,a,o]=[void 0,e,t]}else[n,a,o]=[e,t,r];if(this._options.keepNullAttributes&&null==o)o="";else if(null==o)return this;if(!s.Guard.isElementNode(this.node))throw new Error("An attribute can only be assigned to an element node.");let d=this.node;[n,a]=this._extractNamespace(n,a,!1),a=u.sanitizeInput(a,this._options.invalidCharReplacement),n=u.sanitizeInput(n,this._options.invalidCharReplacement),o=u.sanitizeInput(o,this._options.invalidCharReplacement);const[h,p]=l.namespace_extractQName(a),[f,m]=l.namespace_extractQName(d.prefix?d.prefix+":"+d.localName:d.localName);let g=null;if("xmlns"===h?(n=c.namespace.XMLNS,null===d.namespaceURI&&f===p&&(g=o)):null===h&&"xmlns"===p&&null===f&&(n=c.namespace.XMLNS,g=o),null!==g){const e=l.create_element(this._doc,m,g,f);for(const r of d.attributes)e.setAttributeNodeNS(r.cloneNode());for(const r of d.childNodes)e.appendChild(r.cloneNode());const t=d.parentNode;if(null===t)throw new Error("Parent node is null."+this._debugInfo());t.replaceChild(e,d),this._domNode=e,d=e}return void 0!==n?d.setAttributeNS(n,a,o):d.setAttribute(a,o),this}removeAtt(e,t){if(!s.Guard.isElementNode(this.node))throw new Error("An attribute can only be removed from an element node.");let r,n;if(e=i.getValue(e),void 0!==t&&(t=i.getValue(t)),null!==e&&void 0===t)n=e;else{if(null!==e&&!i.isString(e)||void 0===t)throw new Error("Attribute namespace must be a string. "+this._debugInfo());r=e,n=t}return i.isArray(n)||i.isSet(n)?i.forEachArray(n,e=>void 0===r?this.removeAtt(e):this.removeAtt(r,e),this):void 0!==r?(n=u.sanitizeInput(n,this._options.invalidCharReplacement),r=u.sanitizeInput(r,this._options.invalidCharReplacement),this.node.removeAttributeNS(r,n)):(n=u.sanitizeInput(n,this._options.invalidCharReplacement),this.node.removeAttribute(n)),this}txt(e){const t=this._doc.createTextNode(u.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this}com(e){const t=this._doc.createComment(u.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this}dat(e){const t=this._doc.createCDATASection(u.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this}ins(e,t=""){if(i.isArray(e)||i.isSet(e))i.forEachArray(e,e=>{e+="";const t=e.indexOf(" "),r=-1===t?e:e.substr(0,t),n=-1===t?"":e.substr(t+1);this.ins(r,n)},this);else if(i.isMap(e)||i.isObject(e))i.forEachObject(e,(e,t)=>this.ins(e,t),this);else{const r=this._doc.createProcessingInstruction(u.sanitizeInput(e,this._options.invalidCharReplacement),u.sanitizeInput(t,this._options.invalidCharReplacement));this.node.appendChild(r)}return this}dec(e){return this._options.version=e.version||"1.0",this._options.encoding=e.encoding,this._options.standalone=e.standalone,this}dtd(e){const t=u.sanitizeInput(e&&e.name||(this._doc.documentElement?this._doc.documentElement.tagName:"ROOT"),this._options.invalidCharReplacement),r=u.sanitizeInput(e&&e.pubID||"",this._options.invalidCharReplacement),n=u.sanitizeInput(e&&e.sysID||"",this._options.invalidCharReplacement);if(null!==this._doc.documentElement&&t!==this._doc.documentElement.tagName)throw new Error("DocType name does not match document element name.");const i=this._doc.implementation.createDocumentType(t,r,n);return null!==this._doc.doctype?this._doc.replaceChild(i,this._doc.doctype):this._doc.insertBefore(i,this._doc.documentElement),this}import(e){const t=this._domNode,r=this._doc,n=e.node;if(s.Guard.isDocumentNode(n)){const e=n.documentElement;if(null===e)throw new Error("Imported document has no document element node. "+this._debugInfo());const i=r.importNode(e,!0);t.appendChild(i)}else if(s.Guard.isDocumentFragmentNode(n))for(const i of n.childNodes){const e=r.importNode(i,!0);t.appendChild(e)}else{const e=r.importNode(n,!0);t.appendChild(e)}return this}doc(){if(this._doc._isFragment){let e=this.node;while(e&&e.nodeType!==o.NodeType.DocumentFragment)e=e.parentNode;if(null===e)throw new Error("Node has no parent node while searching for document fragment ancestor.");return new d(e)}return new d(this._doc)}root(){const e=this._doc.documentElement;if(!e)throw new Error("Document root element is null. "+this._debugInfo());return new d(e)}up(){const e=this._domNode.parentNode;if(!e)throw new Error("Parent node is null. "+this._debugInfo());return new d(e)}prev(){const e=this._domNode.previousSibling;if(!e)throw new Error("Previous sibling node is null. "+this._debugInfo());return new d(e)}next(){const e=this._domNode.nextSibling;if(!e)throw new Error("Next sibling node is null. "+this._debugInfo());return new d(e)}first(){const e=this._domNode.firstChild;if(!e)throw new Error("First child node is null. "+this._debugInfo());return new d(e)}last(){const e=this._domNode.lastChild;if(!e)throw new Error("Last child node is null. "+this._debugInfo());return new d(e)}each(e,t=!1,r=!1,n){let i=this._getFirstDescendantNode(this._domNode,t,r);while(i[0])e.call(n,new d(i[0]),i[1],i[2]),i=this._getNextDescendantNode(this._domNode,i[0],r,i[1],i[2]);return this}map(e,t=!1,r=!1,n){let i=[];return this.each((t,r,a)=>i.push(e.call(n,t,r,a)),t,r),i}reduce(e,t,r=!1,n=!1,i){let a=t;return this.each((t,r,n)=>a=e.call(i,a,t,r,n),r,n),a}find(e,t=!1,r=!1,n){let i=this._getFirstDescendantNode(this._domNode,t,r);while(i[0]){const t=new d(i[0]);if(e.call(n,t,i[1],i[2]))return t;i=this._getNextDescendantNode(this._domNode,i[0],r,i[1],i[2])}}filter(e,t=!1,r=!1,n){let i=[];return this.each((t,r,a)=>{e.call(n,t,r,a)&&i.push(t)},t,r),i}every(e,t=!1,r=!1,n){let i=this._getFirstDescendantNode(this._domNode,t,r);while(i[0]){const t=new d(i[0]);if(!e.call(n,t,i[1],i[2]))return!1;i=this._getNextDescendantNode(this._domNode,i[0],r,i[1],i[2])}return!0}some(e,t=!1,r=!1,n){let i=this._getFirstDescendantNode(this._domNode,t,r);while(i[0]){const t=new d(i[0]);if(e.call(n,t,i[1],i[2]))return!0;i=this._getNextDescendantNode(this._domNode,i[0],r,i[1],i[2])}return!1}toArray(e=!1,t=!1){let r=[];return this.each(e=>r.push(e),e,t),r}toString(e){return e=e||{},void 0===e.format&&(e.format="xml"),this._serialize(e)}toObject(e){return e=e||{},void 0===e.format&&(e.format="object"),this._serialize(e)}end(e){return e=e||{},void 0===e.format&&(e.format="xml"),this.doc()._serialize(e)}_getFirstDescendantNode(e,t,r){return t?[this._domNode,0,0]:r?this._getNextDescendantNode(e,e,r,0,0):[this._domNode.firstChild,0,1]}_getNextDescendantNode(e,t,r,n,i){if(!r)return e===t?[t.firstChild,0,i+1]:[t.nextSibling,n+1,i];{if(t.firstChild)return[t.firstChild,0,i+1];if(t===e)return[null,-1,-1];if(t.nextSibling)return[t.nextSibling,n+1,i];let r=t.parentNode;while(r&&r!==e){if(r.nextSibling)return[r.nextSibling,l.tree_index(r.nextSibling),i-1];r=r.parentNode,i--}}return[null,-1,-1]}_serialize(e){if("xml"===e.format){const t=new a.XMLWriter(this._options);return t.serialize(this.node,e)}if("map"===e.format){const t=new a.MapWriter(this._options);return t.serialize(this.node,e)}if("object"===e.format){const t=new a.ObjectWriter(this._options);return t.serialize(this.node,e)}if("json"===e.format){const t=new a.JSONWriter(this._options);return t.serialize(this.node,e)}throw new Error("Invalid writer format: "+e.format+". "+this._debugInfo())}_dummy(){return new d(this._doc.createElement("dummy_node"))}_extractNamespace(e,t,r){const n=t.indexOf("@");if(n>0&&(void 0===e&&(e=t.slice(n+1)),t=t.slice(0,n)),void 0===e)e=r?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(null!==e&&"@"===e[0]){const t=e.slice(1);if(e=this._options.namespaceAlias[t],void 0===e)throw new Error("Namespace alias `"+t+"` is not defined. "+this._debugInfo())}return[e,t]}get _doc(){const e=this.node;if(s.Guard.isDocumentNode(e))return e;{const t=e.ownerDocument;if(!t)throw new Error("Owner document is null. "+this._debugInfo());return t}}_debugInfo(e){const t=this.node,r=t.parentNode;e=e||t.nodeName;const n=r?r.nodeName:"";return n?"node: <"+e+">, parent: <"+n+">":"node: <"+e+">"}get _options(){const e=this._doc;if(void 0===e._xmlBuilderOptions)throw new Error("Builder options is not set.");return e._xmlBuilderOptions}set _options(e){const t=this._doc;t._xmlBuilderOptions=e}}t.XMLBuilderImpl=d},"68b4":function(e,t,r){var n=r("4d1e"),i=r("1880"),a=n.isTag;function o(e,t){return e.children?e.children.map((function(e){return i(e,t)})).join(""):""}function s(e){return Array.isArray(e)?e.map(s).join(""):a(e)?"br"===e.name?"\n":s(e.children):e.type===n.CDATA?s(e.children):e.type===n.Text?e.data:""}e.exports={getInnerHTML:o,getOuterHTML:i,getText:s}},"68d5":function(e,t,r){"use strict";function n(e,t,r){Object.defineProperty(e,t,{writable:!1,enumerable:!0,configurable:!1,value:r})}Object.defineProperty(t,"__esModule",{value:!0}),t.idl_defineConst=n},6906:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("7a89");var n=r("97b9");const i=e=>`The id '${e}' is already declared in a map.`;function a(){let{errorIdExists:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Map;function r(r,n){if(c(r))throw new Error(e(r));t.set(r,n)}function a(e){return t.delete(e)}function o(){t.clear()}function s(e){const[t]=u().find(t=>{let[r,n]=t;return e===n&&r})||[null];return t}function l(e){return t.get(e)}function u(){return[...t]}function c(e){return t.has(e)}return e=Object(n["isFunction"])(e)?e:i,{addItem:r,clear:o,getId:s,getItem:l,getItems:u,hasItem:c,removeItem:a}}},6909:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"69a8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("c091");t.FixedSizeSet=n.FixedSizeSet;var i=r("fa31");t.ObjectCache=i.ObjectCache;var a=r("9a32");t.CompareCache=a.CompareCache;var o=r("e718");function s(e,t,...r){Object.getOwnPropertyNames(t.prototype).forEach(n=>{if(r.includes(n)){const t=Object.getOwnPropertyDescriptor(e.prototype,n);t&&Object.defineProperty(e.prototype,"_"+n,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&Object.defineProperty(e.prototype,n,i)})}function l(e,t,r=!1){const n=m(e||{});return c(t,(e,t)=>{w(t)?n[e]=l(n[e],t):(r||void 0===n[e])&&(n[e]=t)}),n}function u(e,t,r){e.forEach(t,r)}function c(e,t,r){if(E(e))e.forEach((e,n)=>t.call(r,n,e));else for(const n in e)e.hasOwnProperty(n)&&t.call(r,n,e[n])}function d(e){return S(e)?e.size:e.length}function h(e){return E(e)?e.size:Object.keys(e).length}function p(e,t){return E(e)?e.get(t):e[t]}function f(e,t){E(e)?e.delete(t):delete e[t]}function m(e){if(y(e))return e;if(_(e)){const t=[];for(const r of e)t.push(m(r));return t}if(w(e)){const t={};for(const r in e)if(e.hasOwnProperty(r)){const n=e[r];t[r]=m(n)}return t}return e}function g(e){return"boolean"===typeof e}function v(e){return"number"===typeof e}function b(e){return"string"===typeof e}function y(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function w(e){const t=typeof e;return!!e&&("function"===t||"object"===t)}function _(e){return Array.isArray(e)}function S(e){return e instanceof Set}function E(e){return e instanceof Map}function M(e){if(_(e))return!e.length;if(S(e))return!e.size;if(E(e))return!e.size;if(w(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function T(e){if(w(e)){const t=Object.getPrototypeOf(e),r=t.constructor;return t&&r&&"function"===typeof r&&r instanceof r&&Function.prototype.toString.call(r)===Function.prototype.toString.call(Object)}return!1}function C(e){return e&&"function"===typeof e[Symbol.iterator]}function x(e){return y(e.valueOf)?e.valueOf():e}function A(e){const t=new Uint8Array(4*e.length);let r=0;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i<128)t[r++]=i;else{if(i<2048)t[r++]=i>>6|192;else{if(i>55295&&i<56320){if(++n>=e.length)throw new Error("Incomplete surrogate pair.");const a=e.charCodeAt(n);if(a<56320||a>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&a),t[r++]=i>>18|240,t[r++]=i>>12&63|128}else t[r++]=i>>12|224;t[r++]=i>>6&63|128}t[r++]=63&i|128}}return t.subarray(0,r)}function N(e){let t="",r=0;while(r<e.length){var n=e[r++];if(n>127)if(n>191&&n<224){if(r>=e.length)throw new Error("Incomplete 2-byte sequence.");n=(31&n)<<6|63&e[r++]}else if(n>223&&n<240){if(r+1>=e.length)throw new Error("Incomplete 3-byte sequence.");n=(15&n)<<12|(63&e[r++])<<6|63&e[r++]}else{if(!(n>239&&n<248))throw new Error("Unknown multi-byte start.");if(r+2>=e.length)throw new Error("Incomplete 4-byte sequence.");n=(7&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++]}if(n<=65535)t+=String.fromCharCode(n);else{if(!(n<=1114111))throw new Error("Code point exceeds UTF-16 limit.");n-=65536,t+=String.fromCharCode(n>>10|55296),t+=String.fromCharCode(1023&n|56320)}}return t}t.Lazy=o.Lazy,t.applyMixin=s,t.applyDefaults=l,t.forEachArray=u,t.forEachObject=c,t.arrayLength=d,t.objectLength=h,t.getObjectValue=p,t.removeObjectValue=f,t.clone=m,t.isBoolean=g,t.isNumber=v,t.isString=b,t.isFunction=y,t.isObject=w,t.isArray=_,t.isSet=S,t.isMap=E,t.isEmpty=M,t.isPlainObject=T,t.isIterable=C,t.getValue=x,t.utf8Encode=A,t.utf8Decode=N},"69ba":function(e,t,r){"use strict";var n=r("fd18"),i=r("fc2d"),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},"69f2":function(e,t,r){t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r};t.sha=r("087f"),t.sha1=r("7e78"),t.sha224=r("72aa"),t.sha256=r("a255"),t.sha384=r("b837"),t.sha512=r("4fd1")},"6aa2":function(e,t,r){"use strict";var n=r("7d92"),i=r("7658"),a=r("da3e");function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=o,o.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,r,n){"string"!==typeof t&&(n=r,r=t,t=null),e=i.toArray(e,t),r=i.toArray(r,n),a(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},o.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));var a=[];while(a.length<e)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var o=a.slice(0,e);return this._update(r),this._reseed++,i.encode(o,t)}},"6ade":function(e,t,r){var n=r("8c8a"),i=r("8707").Buffer,a=r("bd9d");function o(e){var t=e._cipher.encryptBlockRaw(e._prev);return a(e._prev),t}var s=16;t.encrypt=function(e,t){var r=Math.ceil(t.length/s),a=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(r*s)]);for(var l=0;l<r;l++){var u=o(e),c=a+l*s;e._cache.writeUInt32BE(u[0],c+0),e._cache.writeUInt32BE(u[1],c+4),e._cache.writeUInt32BE(u[2],c+8),e._cache.writeUInt32BE(u[3],c+12)}var d=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,d)}},"6b27":function(e,t,r){"use strict";var n=r("9e75"),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},"6b4c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}check(e,t){if(this._items.get(e)===t)return!0;if(this._items.get(t)===e)return!1;const r=Math.random()<.5;if(r?this._items.set(e,t):this._items.set(t,e),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}return r}}t.CompareCache=n},"6b75e":function(e,t,r){"use strict";(function(e,n){var i=r("f654"),a=r("8936"),o=r("a177"),s=r("9e6e"),l=r("2ceb");for(var u in l)t[u]=l[u];t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7;var c=31,d=139;function h(e){if("number"!==typeof e||e<t.DEFLATE||e>t.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}h.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,i(this.init_done,"close before init"),i(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?o.deflateEnd(this.strm):this.mode!==t.INFLATE&&this.mode!==t.GUNZIP&&this.mode!==t.INFLATERAW&&this.mode!==t.UNZIP||s.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null)},h.prototype.write=function(e,t,r,n,i,a,o){return this._write(!0,e,t,r,n,i,a,o)},h.prototype.writeSync=function(e,t,r,n,i,a,o){return this._write(!1,e,t,r,n,i,a,o)},h.prototype._write=function(r,a,o,s,l,u,c,d){if(i.equal(arguments.length,8),i(this.init_done,"write before init"),i(this.mode!==t.NONE,"already finalized"),i.equal(!1,this.write_in_progress,"write already in progress"),i.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,i.equal(!1,void 0===a,"must provide flush value"),this.write_in_progress=!0,a!==t.Z_NO_FLUSH&&a!==t.Z_PARTIAL_FLUSH&&a!==t.Z_SYNC_FLUSH&&a!==t.Z_FULL_FLUSH&&a!==t.Z_FINISH&&a!==t.Z_BLOCK)throw new Error("Invalid flush value");if(null==o&&(o=e.alloc(0),l=0,s=0),this.strm.avail_in=l,this.strm.input=o,this.strm.next_in=s,this.strm.avail_out=d,this.strm.output=u,this.strm.next_out=c,this.flush=a,!r)return this._process(),this._checkError()?this._afterSync():void 0;var h=this;return n.nextTick((function(){h._process(),h._after()})),this},h.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},h.prototype._process=function(){var e=null;switch(this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflate(this.strm,this.flush);break;case t.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===e)break;if(this.strm.input[e]!==c){this.mode=t.INFLATE;break}if(this.gzip_id_bytes_read=1,e++,1===this.strm.avail_in)break;case 1:if(null===e)break;this.strm.input[e]===d?(this.gzip_id_bytes_read=2,this.mode=t.GUNZIP):this.mode=t.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:this.err=s.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=s.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=s.inflate(this.strm,this.flush):this.err===t.Z_DATA_ERROR&&(this.err=t.Z_NEED_DICT));while(this.strm.avail_in>0&&this.mode===t.GUNZIP&&this.err===t.Z_STREAM_END&&0!==this.strm.next_in[0])this.reset(),this.err=s.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},h.prototype._checkError=function(){switch(this.err){case t.Z_OK:case t.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===t.Z_FINISH)return this._error("unexpected end of file"),!1;break;case t.Z_STREAM_END:break;case t.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},h.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},h.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},h.prototype.init=function(e,r,n,a,o){i(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),i(e>=8&&e<=15,"invalid windowBits"),i(r>=-1&&r<=9,"invalid compression level"),i(n>=1&&n<=9,"invalid memlevel"),i(a===t.Z_FILTERED||a===t.Z_HUFFMAN_ONLY||a===t.Z_RLE||a===t.Z_FIXED||a===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,e,n,a,o),this._setDictionary()},h.prototype.params=function(){throw new Error("deflateParams Not supported")},h.prototype.reset=function(){this._reset(),this._setDictionary()},h.prototype._init=function(e,r,n,i,l){switch(this.level=e,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=t.Z_NO_FLUSH,this.err=t.Z_OK,this.mode!==t.GZIP&&this.mode!==t.GUNZIP||(this.windowBits+=16),this.mode===t.UNZIP&&(this.windowBits+=32),this.mode!==t.DEFLATERAW&&this.mode!==t.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=o.deflateInit2(this.strm,this.level,t.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case t.INFLATE:case t.GUNZIP:case t.INFLATERAW:case t.UNZIP:this.err=s.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==t.Z_OK&&this._error("Init error"),this.dictionary=l,this.write_in_progress=!1,this.init_done=!0},h.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:this.err=o.deflateSetDictionary(this.strm,this.dictionary);break;default:break}this.err!==t.Z_OK&&this._error("Failed to set dictionary")}},h.prototype._reset=function(){switch(this.err=t.Z_OK,this.mode){case t.DEFLATE:case t.DEFLATERAW:case t.GZIP:this.err=o.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=s.inflateReset(this.strm);break;default:break}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=h}).call(this,r("b639").Buffer,r("4362"))},"6cb8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("86da"),i=r("88a4"),a=r("a45a"),o=r("9688"),s=r("a32f");class l{parse(e){const t=new n.XMLStringLexer(e,{skipWhitespaceOnlyText:!0}),r=o.create_document();let l=r,u=t.nextToken();while(u.type!==i.TokenType.EOF){switch(u.type){case i.TokenType.Declaration:const e=u;if("1.0"!==e.version)throw new Error("Invalid xml version: "+e.version);break;case i.TokenType.DocType:const t=u;if(!o.xml_isPubidChar(t.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!o.xml_isLegalChar(t.sysId)||-1!==t.sysId.indexOf('"')&&-1!==t.sysId.indexOf("'"))throw new Error("DocType system identifier contains invalid characters.");l.appendChild(r.implementation.createDocumentType(t.name,t.pubId,t.sysId));break;case i.TokenType.CDATA:const n=u;if(!o.xml_isLegalChar(n.data)||-1!==n.data.indexOf("]]>"))throw new Error("CDATA contains invalid characters.");l.appendChild(r.createCDATASection(n.data));break;case i.TokenType.Comment:const c=u;if(!o.xml_isLegalChar(c.data)||-1!==c.data.indexOf("--")||c.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");l.appendChild(r.createComment(c.data));break;case i.TokenType.PI:const d=u;if(-1!==d.target.indexOf(":")||/^xml$/i.test(d.target))throw new Error("Processing instruction target contains invalid characters.");if(!o.xml_isLegalChar(d.data)||-1!==d.data.indexOf("?>"))throw new Error("Processing instruction data contains invalid characters.");l.appendChild(r.createProcessingInstruction(d.target,d.data));break;case i.TokenType.Text:const h=u;if(!o.xml_isLegalChar(h.data))throw new Error("Text data contains invalid characters.");l.appendChild(r.createTextNode(h.data));break;case i.TokenType.Element:const p=u,[f,m]=o.namespace_extractQName(p.name);if(-1!==m.indexOf(":")||!o.xml_isName(m))throw new Error("Node local name contains invalid characters.");if("xmlns"===f)throw new Error("An element cannot have the 'xmlns' prefix.");let g=l.lookupNamespaceURI(f);const v={};for(const[r,i]of p.attributes)if("xmlns"===r)g=i;else{const[e,t]=o.namespace_extractQName(r);"xmlns"===e&&(t===f&&(g=i),v[t]=i)}const b=null!==g?r.createElementNS(g,p.name):r.createElement(p.name);l.appendChild(b);const y=new s.LocalNameSet;for(const[r,i]of p.attributes){const[e,t]=o.namespace_extractQName(r);let n=null;if("xmlns"===e||null===e&&"xmlns"===t?n=a.namespace.XMLNS:(n=b.lookupNamespaceURI(e),null!==n&&b.isDefaultNamespace(n)?n=null:null===n&&null!==e&&(n=v[e]||null)),y.has(n,t))throw new Error("Element contains duplicate attributes.");if(y.set(n,t),n===a.namespace.XMLNS&&i===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(-1!==t.indexOf(":")||!o.xml_isName(t))throw new Error("Attribute local name contains invalid characters.");if("xmlns"===e&&""===i)throw new Error("Empty XML namespace is not allowed.");null!==n?b.setAttributeNS(n,r,i):b.setAttribute(r,i)}p.selfClosing||(l=b);break;case i.TokenType.ClosingTag:const w=u;if(w.name!==l.nodeName)throw new Error("Closing tag name does not match opening tag name.");l._parent&&(l=l._parent);break}u=t.nextToken()}return r}}t.XMLParserImpl=l},"6ce3":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"6d79":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},r=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}});return r}))},"6d83":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"6e98":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6ea8":function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},"6eed":function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),a=r("aa56"),o=r("da3e"),s=n.sum32,l=n.sum32_4,u=n.sum32_5,c=a.ch32,d=a.maj32,h=a.s0_256,p=a.s1_256,f=a.g0_256,m=a.g1_256,g=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}n.inherits(b,g),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=l(m(r[n-2]),r[n-7],f(r[n-15]),r[n-16]);var i=this.h[0],a=this.h[1],g=this.h[2],v=this.h[3],b=this.h[4],y=this.h[5],w=this.h[6],_=this.h[7];for(o(this.k.length===r.length),n=0;n<r.length;n++){var S=u(_,p(b),c(b,y,w),this.k[n],r[n]),E=s(h(i),d(i,a,g));_=w,w=y,y=b,b=s(v,S),v=g,g=a,a=i,i=s(S,E)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],b),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],_)},b.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},"6f12":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6f2e":function(e,t,r){"use strict";(function(t,n){var i=r("966d");e.exports=S;var a,o=r("9bc8");S.ReadableState=_;r("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=r("2aaa"),u=r("f60b").Buffer,c=("undefined"!==typeof t?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function d(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof c}var p=Object.create(r("3a7c"));p.inherits=r("3fb5");var f=r(3),m=void 0;m=f&&f.debuglog?f.debuglog("stream"):function(){};var g,v=r("9b54"),b=r("c4c0");p.inherits(S,l);var y=["error","close","destroy","pause","resume"];function w(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function _(e,t){a=a||r("d6dd"),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=r("aa22").StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function S(e){if(a=a||r("d6dd"),!(this instanceof S))return new S(e);this._readableState=new _(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function E(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,O(e,o)):(i||(a=T(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"===typeof t||o.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=d(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):M(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?M(e,o,t,!1):k(e,o)):M(e,o,t,!1))):n||(o.reading=!1));return C(o)}function M(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&R(e)),k(e,t)}function T(e,t){var r;return h(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function C(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(S.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=b.destroy,S.prototype._undestroy=b.undestroy,S.prototype._destroy=function(e,t){this.push(null),t(e)},S.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=u.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},S.prototype.unshift=function(e){return E(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){return g||(g=r("aa22").StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var x=8388608;function A(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function N(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=A(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,R(e)}}function R(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(L,e):L(e))}function L(e){m("emit readable"),e.emit("readable"),H(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(I,e,t))}function I(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(m("maybeReadMore read 0"),e.read(0),r===t.length)break;r=t.length}t.readingMore=!1}function D(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,H(e))}}function P(e){m("readable nexttick read 0"),e.read(0)}function j(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(F,e,t))}function F(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),H(e),t.flowing&&!t.reading&&e.read(0)}function H(e){var t=e._readableState;m("flow",t.flowing);while(t.flowing&&null!==e.read());}function B(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=U(e,t.buffer,t.decoder),r);var r}function U(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?V(e,t):Y(e,t),n}function V(e,t){var r=t.head,n=1,i=r.data;e-=i.length;while(r=r.next){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,0===e){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}function Y(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;while(n=n.next){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),e-=o,0===e){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}function z(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(W,t,e))}function W(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function q(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}S.prototype.read=function(e){m("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?z(this):R(this),null;if(e=N(e,t),0===e&&t.ended)return 0===t.length&&z(this),null;var n,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,m("length less than watermark",i)),t.ended||t.reading?(i=!1,m("reading or ended",i)):i&&(m("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=N(r,t))),n=e>0?B(e,t):null,null===n?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&z(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},S.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e);break}a.pipesCount+=1,m("pipe count=%d opts=%j",a.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,l=o?c:_;function u(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function c(){m("onend"),e.end()}a.endEmitted?i.nextTick(l):r.once("end",l),e.on("unpipe",u);var d=D(r);e.on("drain",d);var h=!1;function p(){m("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",u),r.removeListener("end",c),r.removeListener("end",_),r.removeListener("data",g),h=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}var f=!1;function g(t){m("ondata"),f=!1;var n=e.write(t);!1!==n||f||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==q(a.pipes,e))&&!h&&(m("false write response, pause",a.awaitDrain),a.awaitDrain++,f=!0),r.pause())}function v(t){m("onerror",t),_(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",y),_()}function y(){m("onfinish"),e.removeListener("close",b),_()}function _(){m("unpipe"),r.unpipe(e)}return r.on("data",g),w(e,"error",v),e.once("close",b),e.once("finish",y),e.emit("pipe",r),a.flowing||(m("pipe resume"),r.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=q(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&R(this):i.nextTick(P,this))}return r},S.prototype.addListener=S.prototype.on,S.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,j(this,e)),this},S.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(m("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(m("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)){var a=t.push(i);a||(n=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<y.length;a++)e.on(y[a],this.emit.bind(this,y[a]));return this._read=function(t){m("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),S._fromList=B}).call(this,r("c8ba"),r("4362"))},"6f50":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},"6faa":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("5295");t.XMLSerializer=n.XMLSerializerImpl},"6fbd":function(e,t,r){e.exports=ge;var n=r("9fab"),i=r("57b8"),a=r("6ea8"),o=r("579f"),s=0,l=s++,u=s++,c=s++,d=s++,h=s++,p=s++,f=s++,m=s++,g=s++,v=s++,b=s++,y=s++,w=s++,_=s++,S=s++,E=s++,M=s++,T=s++,C=s++,x=s++,A=s++,N=s++,O=s++,R=s++,L=s++,k=s++,I=s++,D=s++,P=s++,j=s++,F=s++,H=s++,B=s++,U=s++,V=s++,Y=s++,z=s++,W=s++,q=s++,G=s++,K=s++,X=s++,Z=s++,$=s++,J=s++,Q=s++,ee=s++,te=s++,re=s++,ne=s++,ie=s++,ae=s++,oe=s++,se=s++,le=s++,ue=0,ce=ue++,de=ue++,he=ue++;function pe(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function fe(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(i){i===n||i===e?this._state=t:(this._state=r,this._index--)}}function me(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=c,this._index--)}}function ge(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ce,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ge.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===ce&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ce||pe(e)?this._state=l:"!"===e?(this._state=S,this._sectionStart=this._index+1):"?"===e?(this._state=M,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?c:F,this._sectionStart=this._index)},ge.prototype._stateInTagName=function(e){("/"===e||">"===e||pe(e))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},ge.prototype._stateBeforeCloseingTagName=function(e){pe(e)||(">"===e?this._state=l:this._special!==ce?"s"===e||"S"===e?this._state=H:(this._state=l,this._index--):(this._state=p,this._sectionStart=this._index))},ge.prototype._stateInCloseingTagName=function(e){(">"===e||pe(e))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},ge.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=d:pe(e)||(this._state=g,this._sectionStart=this._index)},ge.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):pe(e)||(this._state=m,this._index--)},ge.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||pe(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=v,this._index--)},ge.prototype._stateAfterAttributeName=function(e){"="===e?this._state=b:"/"===e||">"===e?(this._cbs.onattribend(),this._state=m,this._index--):pe(e)||(this._cbs.onattribend(),this._state=g,this._sectionStart=this._index)},ge.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=y,this._sectionStart=this._index+1):"'"===e?(this._state=w,this._sectionStart=this._index+1):pe(e)||(this._state=_,this._sectionStart=this._index,this._index--)},ge.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueNoQuotes=function(e){pe(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateBeforeDeclaration=function(e){this._state="["===e?N:"-"===e?T:E},ge.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ge.prototype._stateBeforeComment=function(e){"-"===e?(this._state=C,this._sectionStart=this._index+1):this._state=E},ge.prototype._stateInComment=function(e){"-"===e&&(this._state=x)},ge.prototype._stateAfterComment1=function(e){this._state="-"===e?A:C},ge.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=C)},ge.prototype._stateBeforeCdata1=fe("C",O,E),ge.prototype._stateBeforeCdata2=fe("D",R,E),ge.prototype._stateBeforeCdata3=fe("A",L,E),ge.prototype._stateBeforeCdata4=fe("T",k,E),ge.prototype._stateBeforeCdata5=fe("A",I,E),ge.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=D,this._sectionStart=this._index+1):(this._state=E,this._index--)},ge.prototype._stateInCdata=function(e){"]"===e&&(this._state=P)},ge.prototype._stateAfterCdata1=function(e){this._state="]"===e?j:D},ge.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=D)},ge.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=B:"t"===e||"T"===e?this._state=Z:(this._state=c,this._index--)},ge.prototype._stateBeforeSpecialEnd=function(e){this._special!==de||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=W},ge.prototype._stateBeforeScript1=me("R",U),ge.prototype._stateBeforeScript2=me("I",V),ge.prototype._stateBeforeScript3=me("P",Y),ge.prototype._stateBeforeScript4=me("T",z),ge.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||pe(e))&&(this._special=de),this._state=c,this._index--},ge.prototype._stateAfterScript1=fe("R",q,l),ge.prototype._stateAfterScript2=fe("I",G,l),ge.prototype._stateAfterScript3=fe("P",K,l),ge.prototype._stateAfterScript4=fe("T",X,l),ge.prototype._stateAfterScript5=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=l},ge.prototype._stateBeforeStyle1=me("Y",$),ge.prototype._stateBeforeStyle2=me("L",J),ge.prototype._stateBeforeStyle3=me("E",Q),ge.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||pe(e))&&(this._special=he),this._state=c,this._index--},ge.prototype._stateAfterStyle1=fe("Y",te,l),ge.prototype._stateAfterStyle2=fe("L",re,l),ge.prototype._stateAfterStyle3=fe("E",ne,l),ge.prototype._stateAfterStyle4=function(e){">"===e||pe(e)?(this._special=ce,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=l},ge.prototype._stateBeforeEntity=fe("#",ae,oe),ge.prototype._stateBeforeNumericEntity=fe("X",le,se),ge.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?o:i;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ge.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;t>6&&(t=6);while(t>=2){var r=this._buffer.substr(e,t);if(a.hasOwnProperty(r))return this._emitPartial(a[r]),void(this._sectionStart+=t+1);t--}},ge.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ge.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var i=this._buffer.substring(r,this._index),a=parseInt(i,t);this._emitPartial(n(a)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ge.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ge.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ge.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},ge.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ge.prototype._parse=function(){while(this._index<this._buffer.length&&this._running){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===u?this._stateBeforeTagName(e):this._state===c?this._stateInTagName(e):this._state===h?this._stateBeforeCloseingTagName(e):this._state===p?this._stateInCloseingTagName(e):this._state===f?this._stateAfterCloseingTagName(e):this._state===d?this._stateInSelfClosingTag(e):this._state===m?this._stateBeforeAttributeName(e):this._state===g?this._stateInAttributeName(e):this._state===v?this._stateAfterAttributeName(e):this._state===b?this._stateBeforeAttributeValue(e):this._state===y?this._stateInAttributeValueDoubleQuotes(e):this._state===w?this._stateInAttributeValueSingleQuotes(e):this._state===_?this._stateInAttributeValueNoQuotes(e):this._state===S?this._stateBeforeDeclaration(e):this._state===E?this._stateInDeclaration(e):this._state===M?this._stateInProcessingInstruction(e):this._state===T?this._stateBeforeComment(e):this._state===C?this._stateInComment(e):this._state===x?this._stateAfterComment1(e):this._state===A?this._stateAfterComment2(e):this._state===N?this._stateBeforeCdata1(e):this._state===O?this._stateBeforeCdata2(e):this._state===R?this._stateBeforeCdata3(e):this._state===L?this._stateBeforeCdata4(e):this._state===k?this._stateBeforeCdata5(e):this._state===I?this._stateBeforeCdata6(e):this._state===D?this._stateInCdata(e):this._state===P?this._stateAfterCdata1(e):this._state===j?this._stateAfterCdata2(e):this._state===F?this._stateBeforeSpecial(e):this._state===H?this._stateBeforeSpecialEnd(e):this._state===B?this._stateBeforeScript1(e):this._state===U?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===Y?this._stateBeforeScript4(e):this._state===z?this._stateBeforeScript5(e):this._state===W?this._stateAfterScript1(e):this._state===q?this._stateAfterScript2(e):this._state===G?this._stateAfterScript3(e):this._state===K?this._stateAfterScript4(e):this._state===X?this._stateAfterScript5(e):this._state===Z?this._stateBeforeStyle1(e):this._state===$?this._stateBeforeStyle2(e):this._state===J?this._stateBeforeStyle3(e):this._state===Q?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===re?this._stateAfterStyle3(e):this._state===ne?this._stateAfterStyle4(e):this._state===ie?this._stateBeforeEntity(e):this._state===ae?this._stateBeforeNumericEntity(e):this._state===oe?this._stateInNamedEntity(e):this._state===se?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ge.prototype.pause=function(){this._running=!1},ge.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ge.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ge.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ge.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===D||this._state===P||this._state===j?this._cbs.oncdata(e):this._state===C||this._state===x||this._state===A?this._cbs.oncomment(e):this._state!==oe||this._xmlMode?this._state!==se||this._xmlMode?this._state!==le||this._xmlMode?this._state!==c&&this._state!==m&&this._state!==b&&this._state!==v&&this._state!==g&&this._state!==w&&this._state!==y&&this._state!==_&&this._state!==p&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ge.prototype.reset=function(){ge.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ge.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ge.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ge.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ge.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},"6fe7":function(e,t,r){"use strict";var n=r("8707").Buffer,i=r("1a2a"),a=r("a958"),o=r("3337").ec,s=r("399f"),l=r("2aee"),u=r("cd91"),c=1;function d(e,t,r,i,o){var s=l(t);if(s.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return h(e,s)}if("dsa"===s.type){if("dsa"!==i)throw new Error("wrong private key type");return p(e,s,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");if(void 0!==t.padding&&t.padding!==c)throw new Error("illegal or unsupported padding mode");e=n.concat([o,e]);var u=s.modulus.byteLength(),d=[0,1];while(e.length+d.length+1<u)d.push(255);d.push(0);var f=-1;while(++f<e.length)d.push(e[f]);var m=a(d,s);return m}function h(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var i=new o(r),a=i.keyFromPrivate(t.privateKey),s=a.sign(e);return n.from(s.toDER())}function p(e,t,r){var n,i=t.params.priv_key,a=t.params.p,o=t.params.q,l=t.params.g,u=new s(0),c=g(e,o).mod(o),d=!1,h=m(i,o,e,r);while(!1===d)n=b(o,h,r),u=y(l,n,a,o),d=n.invm(o).imul(c.add(i.mul(u))).mod(o),0===d.cmpn(0)&&(d=!1,u=new s(0));return f(u,d)}function f(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=e.length+t.length+4,i=[48,r,2,e.length];return i=i.concat(e,[2,t.length],t),n.from(i)}function m(e,t,r,a){if(e=n.from(e.toArray()),e.length<t.byteLength()){var o=n.alloc(t.byteLength()-e.length);e=n.concat([o,e])}var s=r.length,l=v(r,t),u=n.alloc(s);u.fill(1);var c=n.alloc(s);return c=i(a,c).update(u).update(n.from([0])).update(e).update(l).digest(),u=i(a,c).update(u).digest(),c=i(a,c).update(u).update(n.from([1])).update(e).update(l).digest(),u=i(a,c).update(u).digest(),{k:c,v:u}}function g(e,t){var r=new s(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function v(e,t){e=g(e,t),e=e.mod(t);var r=n.from(e.toArray());if(r.length<t.byteLength()){var i=n.alloc(t.byteLength()-r.length);r=n.concat([i,r])}return r}function b(e,t,r){var a,o;do{a=n.alloc(0);while(8*a.length<e.bitLength())t.v=i(r,t.k).update(t.v).digest(),a=n.concat([a,t.v]);o=g(a,e),t.k=i(r,t.k).update(t.v).update(n.from([0])).digest(),t.v=i(r,t.k).update(t.v).digest()}while(-1!==o.cmp(e));return o}function y(e,t,r,n){return e.toRed(s.mont(r)).redPow(t).fromRed().mod(n)}e.exports=d,e.exports.getKey=m,e.exports.makeKey=b},"6ffa":function(e,t,r){"use strict";(function(t,n){var i=r("966d");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){P(t,e)}}e.exports=y;var o,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;y.WritableState=b;var l=Object.create(r("3a7c"));l.inherits=r("3fb5");var u={deprecate:r("b7d1")},c=r("2aaa"),d=r("f60b").Buffer,h=("undefined"!==typeof n?n:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function p(e){return d.from(e)}function f(e){return d.isBuffer(e)||e instanceof h}var m,g=r("c4c0");function v(){}function b(e,t){o=o||r("d6dd"),e=e||{};var n=t instanceof o;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===e.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){x(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(o=o||r("d6dd"),!m.call(y,this)&&!(this instanceof o))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),c.call(this)}function w(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function _(e,t,r,n){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(n,o),a=!1),a}function S(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=d.from(t,r)),t}function E(e,t,r,n,i,a){if(!r){var o=S(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else M(e,t,!1,s,n,i,a);return l}function M(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function T(e,t,r,n,a){--t.pendingcb,r?(i.nextTick(a,n),i.nextTick(I,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(a(n),e._writableState.errorEmitted=!0,e.emit("error",n),I(e,t))}function C(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function x(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(C(r),t)T(e,r,n,t,i);else{var a=R(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||O(e,r),n?s(A,e,r,a,i):A(e,r,a,i)}}function A(e,t,r,n){r||N(e,t),t.pendingcb--,n(),I(e,t)}function N(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function O(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;var s=0,l=!0;while(r)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,M(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{while(r){var u=r.chunk,c=r.encoding,d=r.callback,h=t.objectMode?1:u.length;if(M(e,t,!1,h,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function R(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function L(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),I(e,t)}))}function k(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(L,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function I(e,t){var r=R(t);return r&&(k(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function D(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function P(e,t,r){var n=e.entry;e.entry=null;while(n){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}l.inherits(y,c),b.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===y&&(e&&e._writableState instanceof b)}})):m=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&f(e);return a&&!d.isBuffer(e)&&(e=p(e)),"function"===typeof t&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),"function"!==typeof r&&(r=v),n.ended?w(this,r):(a||_(this,n,e,r))&&(n.pendingcb++,i=E(this,n,a,e,t,r)),i},y.prototype.cork=function(){var e=this._writableState;e.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||O(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||D(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("4362"),r("c8ba"))},7037:function(e,t,r){function n(t){return e.exports=n="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.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}r("a4d3"),r("e01a"),r("d28b"),r("d3b7"),r("3ca3"),r("ddb0"),e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"70f9":function(e,t,r){"use strict";var n=r("ac4f"),i=r("7b69"),a=r("fd18"),o=r("bf78"),s=r("73fa"),l=r("022b"),u=r("11b3"),c=r("2408"),d=r("2471"),h=r("2cb8"),p=r("aa44"),f=r("80dd"),m=r("d62b"),g=f("replace"),v=TypeError,b=a("".indexOf),y=a("".replace),w=a("".slice),_=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,a,f,S,E,M,T,C,x=o(this),A=0,N=0,O="";if(!l(e)){if(r=u(e),r&&(n=c(o(h(e))),!~b(n,"g")))throw new v("`.replaceAll` does not allow non-global regexes");if(a=d(e,g),a)return i(a,e,x,t);if(m&&r)return y(c(x),e,t)}f=c(x),S=c(e),E=s(t),E||(t=c(t)),M=S.length,T=_(1,M),A=b(f,S);while(-1!==A)C=E?c(t(S,A,f)):p(S,f,A,[],void 0,t),O+=w(f,N,A)+C,N=A+M,A=A+T>f.length?-1:b(f,S,A+T);return N<f.length&&(O+=w(f,N)),O}})},7118:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),n=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return n}))},"71c9":function(e,t,r){"use strict";var n=r("00ce"),i=n("%Object.defineProperty%",!0)||!1;if(i)try{i({},"a",{value:1})}catch(a){i=!1}e.exports=i},"71ca":function(e,t,r){"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"72aa":function(e,t,r){var n=r("3fb5"),i=r("a255"),a=r("b672"),o=r("8707").Buffer,s=new Array(64);function l(){this.init(),this._w=s,a.call(this,64,56)}n(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},"72ba":function(e,t,r){"use strict";r.d(t,"b",(function(){return K})),r.d(t,"a",(function(){return X}));var n=Uint8Array,i=Uint16Array,a=Uint32Array,o=new n([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,0,0,0]),s=new n([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,0,0]),l=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=function(e,t){for(var r=new i(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var o=new a(r[30]);for(n=1;n<30;++n)for(var s=r[n];s<r[n+1];++s)o[s]=s-r[n]<<5|n;return[r,o]},c=u(o,2),d=c[0],h=c[1];d[28]=258,h[258]=28;for(var p=u(s,0),f=p[0],m=p[1],g=new i(32768),v=0;v<32768;++v){var b=(43690&v)>>>1|(21845&v)<<1;b=(52428&b)>>>2|(13107&b)<<2,b=(61680&b)>>>4|(3855&b)<<4,g[v]=((65280&b)>>>8|(255&b)<<8)>>>1}var y=function(e,t,r){for(var n=e.length,a=0,o=new i(t);a<n;++a)++o[e[a]-1];var s,l=new i(t);for(a=0;a<t;++a)l[a]=l[a-1]+o[a-1]<<1;if(r){s=new i(1<<t);var u=15-t;for(a=0;a<n;++a)if(e[a])for(var c=a<<4|e[a],d=t-e[a],h=l[e[a]-1]++<<d,p=h|(1<<d)-1;h<=p;++h)s[g[h]>>>u]=c}else for(s=new i(n),a=0;a<n;++a)s[a]=g[l[e[a]-1]++]>>>15-e[a];return s},w=new n(288);for(v=0;v<144;++v)w[v]=8;for(v=144;v<256;++v)w[v]=9;for(v=256;v<280;++v)w[v]=7;for(v=280;v<288;++v)w[v]=8;var _=new n(32);for(v=0;v<32;++v)_[v]=5;var S=y(w,9,0),E=y(w,9,1),M=y(_,5,0),T=y(_,5,1),C=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},x=function(e,t,r){var n=t/8>>0;return(e[n]|e[n+1]<<8)>>>(7&t)&r},A=function(e,t){var r=t/8>>0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>>(7&t)},N=function(e){return(e/8>>0)+(7&e&&1)},O=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var o=new(e instanceof i?i:e instanceof a?a:n)(r-t);return o.set(e.subarray(t,r)),o},R=function(e,t,r){var i=e.length,a=!t||r,u=!r||r.i;r||(r={}),t||(t=new n(3*i));var c=function(e){var r=t.length;if(e>r){var i=new n(Math.max(2*r,e));i.set(t),t=i}},h=r.f||0,p=r.p||0,m=r.b||0,g=r.l,v=r.d,b=r.m,w=r.n,_=8*i;do{if(!g){r.f=h=x(e,p,1);var S=x(e,p+1,3);if(p+=3,!S){var M=N(p)+4,R=e[M-4]|e[M-3]<<8,L=M+R;if(L>i){if(u)throw"unexpected EOF";break}a&&c(m+R),t.set(e.subarray(M,L),m),r.b=m+=R,r.p=p=8*L;continue}if(1==S)g=E,v=T,b=9,w=5;else{if(2!=S)throw"invalid block type";var k=x(e,p,31)+257,I=x(e,p+10,15)+4,D=k+x(e,p+5,31)+1;p+=14;for(var P=new n(D),j=new n(19),F=0;F<I;++F)j[l[F]]=x(e,p+3*F,7);p+=3*I;var H=C(j),B=(1<<H)-1;if(!u&&p+D*(H+7)>_)break;var U=y(j,H,1);for(F=0;F<D;){var V=U[x(e,p,B)];p+=15&V;M=V>>>4;if(M<16)P[F++]=M;else{var Y=0,z=0;16==M?(z=3+x(e,p,3),p+=2,Y=P[F-1]):17==M?(z=3+x(e,p,7),p+=3):18==M&&(z=11+x(e,p,127),p+=7);while(z--)P[F++]=Y}}var W=P.subarray(0,k),q=P.subarray(k);b=C(W),w=C(q),g=y(W,b,1),v=y(q,w,1)}if(p>_)throw"unexpected EOF"}a&&c(m+131072);var G=(1<<b)-1,K=(1<<w)-1,X=b+w+18;while(u||p+X<_){Y=g[A(e,p)&G];var Z=Y>>>4;if(p+=15&Y,p>_)throw"unexpected EOF";if(!Y)throw"invalid length/literal";if(Z<256)t[m++]=Z;else{if(256==Z){g=null;break}var $=Z-254;if(Z>264){F=Z-257;var J=o[F];$=x(e,p,(1<<J)-1)+d[F],p+=J}var Q=v[A(e,p)&K],ee=Q>>>4;if(!Q)throw"invalid distance";p+=15&Q;q=f[ee];if(ee>3){J=s[ee];q+=A(e,p)&(1<<J)-1,p+=J}if(p>_)throw"unexpected EOF";a&&c(m+131072);for(var te=m+$;m<te;m+=4)t[m]=t[m-q],t[m+1]=t[m+1-q],t[m+2]=t[m+2-q],t[m+3]=t[m+3-q];m=te}}r.l=g,r.p=p,r.b=m,g&&(h=1,r.m=b,r.d=v,r.n=w)}while(!h);return m==t.length?t:O(t,0,m)},L=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},k=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},I=function(e,t){for(var r=[],a=0;a<e.length;++a)e[a]&&r.push({s:a,f:e[a]});var o=r.length,s=r.slice();if(!o)return[new n(0),0];if(1==o){var l=new n(r[0].s+1);return l[r[0].s]=1,[l,1]}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var u=r[0],c=r[1],d=0,h=1,p=2;r[0]={s:-1,f:u.f+c.f,l:u,r:c};while(h!=o-1)u=r[r[d].f<r[p].f?d++:p++],c=r[d!=h&&r[d].f<r[p].f?d++:p++],r[h++]={s:-1,f:u.f+c.f,l:u,r:c};var f=s[0].s;for(a=1;a<o;++a)s[a].s>f&&(f=s[a].s);var m=new i(f+1),g=D(r[h-1],m,0);if(g>t){a=0;var v=0,b=g-t,y=1<<b;for(s.sort((function(e,t){return m[t.s]-m[e.s]||e.f-t.f}));a<o;++a){var w=s[a].s;if(!(m[w]>t))break;v+=y-(1<<g-m[w]),m[w]=t}v>>>=b;while(v>0){var _=s[a].s;m[_]<t?v-=1<<t-m[_]++-1:++a}for(;a>=0&&v;--a){var S=s[a].s;m[S]==t&&(--m[S],++v)}g=t}return[new n(m),g]},D=function(e,t,r){return-1==e.s?Math.max(D(e.l,t,r+1),D(e.r,t,r+1)):t[e.s]=r},P=function(e){var t=e.length;while(t&&!e[--t]);for(var r=new i(++t),n=0,a=e[0],o=1,s=function(e){r[n++]=e},l=1;l<=t;++l)if(e[l]==a&&l!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(a),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}while(o--)s(a);o=1,a=e[l]}return[r.subarray(0,n),t]},j=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},F=function(e,t,r){var n=r.length,i=N(t+2);e[i]=255&n,e[i+1]=n>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<n;++a)e[i+a+4]=r[a];return 8*(i+4+n)},H=function(e,t,r,n,a,u,c,d,h,p,f){L(t,f++,r),++a[256];for(var m=I(a,15),g=m[0],v=m[1],b=I(u,15),E=b[0],T=b[1],C=P(g),x=C[0],A=C[1],N=P(E),O=N[0],R=N[1],D=new i(19),H=0;H<x.length;++H)D[31&x[H]]++;for(H=0;H<O.length;++H)D[31&O[H]]++;for(var B=I(D,7),U=B[0],V=B[1],Y=19;Y>4&&!U[l[Y-1]];--Y);var z,W,q,G,K=p+5<<3,X=j(a,w)+j(u,_)+c,Z=j(a,g)+j(u,E)+c+14+3*Y+j(D,U)+(2*D[16]+3*D[17]+7*D[18]);if(K<=X&&K<=Z)return F(t,f,e.subarray(h,h+p));if(L(t,f,1+(Z<X)),f+=2,Z<X){z=y(g,v,0),W=g,q=y(E,T,0),G=E;var $=y(U,V,0);L(t,f,A-257),L(t,f+5,R-1),L(t,f+10,Y-4),f+=14;for(H=0;H<Y;++H)L(t,f+3*H,U[l[H]]);f+=3*Y;for(var J=[x,O],Q=0;Q<2;++Q){var ee=J[Q];for(H=0;H<ee.length;++H){var te=31&ee[H];L(t,f,$[te]),f+=U[te],te>15&&(L(t,f,ee[H]>>>5&127),f+=ee[H]>>>12)}}}else z=S,W=w,q=M,G=_;for(H=0;H<d;++H)if(n[H]>255){te=n[H]>>>18&31;k(t,f,z[te+257]),f+=W[te+257],te>7&&(L(t,f,n[H]>>>23&31),f+=o[te]);var re=31&n[H];k(t,f,q[re]),f+=G[re],re>3&&(k(t,f,n[H]>>>5&8191),f+=s[re])}else k(t,f,z[n[H]]),f+=W[n[H]];return k(t,f,z[256]),f+W[256]},B=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U=new n(0),V=function(e,t,r,l,u,c){var d=e.length,p=new n(l+d+5*(1+Math.floor(d/7e3))+u),f=p.subarray(l,p.length-u),g=0;if(!t||d<8)for(var v=0;v<=d;v+=65535){var b=v+65535;b<d?g=F(f,g,e.subarray(v,b)):(f[v]=c,g=F(f,g,e.subarray(v,d)))}else{for(var y=B[t-1],w=y>>>13,_=8191&y,S=(1<<r)-1,E=new i(32768),M=new i(S+1),T=Math.ceil(r/3),C=2*T,x=function(t){return(e[t]^e[t+1]<<T^e[t+2]<<C)&S},A=new a(25e3),R=new i(288),L=new i(32),k=0,I=0,D=(v=0,0),P=0,j=0;v<d;++v){var V=x(v),Y=32767&v,z=M[V];if(E[Y]=z,M[V]=Y,P<=v){var W=d-v;if((k>7e3||D>24576)&&W>423){g=H(e,f,0,A,R,L,I,D,j,v-j,g),D=k=I=0,j=v;for(var q=0;q<286;++q)R[q]=0;for(q=0;q<30;++q)L[q]=0}var G=2,K=0,X=_,Z=Y-z&32767;if(W>2&&V==x(v-Z)){var $=Math.min(w,W)-1,J=Math.min(32767,v),Q=Math.min(258,W);while(Z<=J&&--X&&Y!=z){if(e[v+G]==e[v+G-Z]){for(var ee=0;ee<Q&&e[v+ee]==e[v+ee-Z];++ee);if(ee>G){if(G=ee,K=Z,ee>$)break;var te=Math.min(Z,ee-2),re=0;for(q=0;q<te;++q){var ne=v-Z+q+32768&32767,ie=E[ne],ae=ne-ie+32768&32767;ae>re&&(re=ae,z=ne)}}}Y=z,z=E[Y],Z+=Y-z+32768&32767}}if(K){A[D++]=268435456|h[G]<<18|m[K];var oe=31&h[G],se=31&m[K];I+=o[oe]+s[se],++R[257+oe],++L[se],P=v+G,++k}else A[D++]=e[v],++R[e[v]]}}g=H(e,f,c,A,R,L,I,D,j,v-j,g),c||(g=F(f,g,U))}return O(p,0,l+N(g)+u)},Y=function(){var e=1,t=0;return{p:function(r){for(var n=e,i=t,a=r.length,o=0;o!=a;){for(var s=Math.min(o+5552,a);o<s;++o)n+=r[o],i+=n;n%=65521,i%=65521}e=n,t=i},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}},z=function(e,t,r,n,i){return V(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!i)},W=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},q=function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)},G=function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function K(e,t){void 0===t&&(t={});var r=Y();r.p(e);var n=z(e,t,2,4);return q(n,t),W(n,n.length-4,r.d()),n}function X(e,t){return R((G(e),e.subarray(2,-4)),t)}},7316:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9");class i{static isNode(e){return!!e&&void 0!==e._nodeType}static isDocumentNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.Document}static isDocumentTypeNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.DocumentType}static isDocumentFragmentNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.DocumentFragment}static isAttrNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.Attribute}static isCharacterDataNode(e){if(!i.isNode(e))return!1;const t=e._nodeType;return t===n.NodeType.Text||t===n.NodeType.ProcessingInstruction||t===n.NodeType.Comment||t===n.NodeType.CData}static isTextNode(e){return i.isNode(e)&&(e._nodeType===n.NodeType.Text||e._nodeType===n.NodeType.CData)}static isExclusiveTextNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.Text}static isCDATASectionNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.CData}static isCommentNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.Comment}static isProcessingInstructionNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.ProcessingInstruction}static isElementNode(e){return i.isNode(e)&&e._nodeType===n.NodeType.Element}static isCustomElementNode(e){return i.isElementNode(e)&&"custom"===e._customElementState}static isShadowRoot(e){return!!e&&void 0!==e.host}static isMouseEvent(e){return!!e&&void 0!==e.screenX&&void 0!=e.screenY}static isSlotable(e){return!!e&&void 0!==e._name&&void 0!==e._assignedSlot&&(i.isTextNode(e)||i.isElementNode(e))}static isSlot(e){return!!e&&void 0!==e._name&&void 0!==e._assignedNodes&&i.isElementNode(e)}static isWindow(e){return!!e&&void 0!==e.navigator}static isEventListener(e){return!!e&&void 0!==e.handleEvent}static isRegisteredObserver(e){return!!e&&void 0!==e.observer&&void 0!==e.options}static isTransientRegisteredObserver(e){return!!e&&void 0!==e.source&&i.isRegisteredObserver(e)}}t.Guard=i},7333:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}});return t}))},"733c":function(e,t,r){var n=r("4d1e").isTag;function i(e,t,r,n){return Array.isArray(t)||(t=[t]),"number"===typeof n&&isFinite(n)||(n=1/0),a(e,t,!1!==r,n)}function a(e,t,r,n){for(var i,o=[],s=0,l=t.length;s<l;s++){if(e(t[s])&&(o.push(t[s]),--n<=0))break;if(i=t[s].children,r&&i&&i.length>0&&(i=a(e,i,r,n),o=o.concat(i),n-=i.length,n<=0))break}return o}function o(e,t){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return t[r];return null}function s(e,t){for(var r=null,i=0,a=t.length;i<a&&!r;i++)n(t[i])&&(e(t[i])?r=t[i]:t[i].children.length>0&&(r=s(e,t[i].children)));return r}function l(e,t){for(var r=0,i=t.length;r<i;r++)if(n(t[r])&&(e(t[r])||t[r].children.length>0&&l(e,t[r].children)))return!0;return!1}function u(e,t){var r=[],i=t.slice();while(i.length){var a=i.shift();n(a)&&(a.children&&a.children.length>0&&i.unshift.apply(i,a.children),e(a)&&r.push(a))}return r}e.exports={filter:i,find:a,findOneChild:o,findOne:s,existsOne:l,findAll:u}},"73d6":function(e,t,r){"use strict";function n(e,t){e.push(t)}function i(e){return e.pop()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.push=n,t.pop=i},"73d9":function(e,t,r){"use strict";var n=r("b2c9"),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}},"73fa":function(e,t,r){"use strict";var n="object"==typeof document&&document.all;e.exports="undefined"==typeof n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},"74a2":function(e,t,r){"use strict";function n(e,t){e.push(t)}function i(e){return e.shift()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.enqueue=n,t.dequeue=i},"74dc":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t}))},"750a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("42e9"),a=r("5fb5"),o=r("4b7d");function s(e,t){let r=e._reference,n=e._pointerBeforeReference;while(1){if(t)if(n)n=!1;else{const t=o.tree_getFollowingNode(e._root,r);if(!t)return null;r=t}else if(n){const t=o.tree_getPrecedingNode(e.root,r);if(!t)return null;r=t}else n=!0;const s=a.traversal_filter(e,r);if(s===i.FilterResult.Accept)break}return e._reference=r,e._pointerBeforeReference=n,r}function l(){return n.dom.window._iteratorList}t.nodeIterator_traverse=s,t.nodeIterator_iteratorList=l},"75cc":function(e,t,r){"use strict";(function(e,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=r("8707"),o=r("11dc"),s=a.Buffer,l=a.kMaxLength,u=e.crypto||e.msCrypto,c=Math.pow(2,32)-1;function d(e,t){if("number"!==typeof e||e!==e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!==typeof e||e!==e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>l)throw new RangeError("buffer too small")}function p(t,r,n,i){if(!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof r)i=r,r=0,n=t.length;else if("function"===typeof n)i=n,n=t.length-r;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return d(r,t.length),h(n,r,t.length),f(t,r,n,i)}function f(e,t,r,i){if(n.browser){var a=e.buffer,s=new Uint8Array(a,t,r);return u.getRandomValues(s),i?void n.nextTick((function(){i(null,e)})):e}if(!i){var l=o(r);return l.copy(e,t),e}o(r,(function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)}))}function m(t,r,n){if("undefined"===typeof r&&(r=0),!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return d(r,t.length),void 0===n&&(n=t.length-r),h(n,r,t.length),f(t,r,n)}u&&u.getRandomValues||!n.browser?(t.randomFill=p,t.randomFillSync=m):(t.randomFill=i,t.randomFillSync=i)}).call(this,r("c8ba"),r("4362"))},7658:function(e,t,r){"use strict";var n=t;function i(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!==typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t){e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e);for(n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),a=i>>8,o=255&i;a?r.push(a,o):r.push(o)}return r}function a(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",r=0;r<e.length;r++)t+=a(e[r].toString(16));return t}n.toArray=i,n.zero2=a,n.toHex=o,n.encode=function(e,t){return"hex"===t?o(e):e}},"76ab":function(e,t,r){"use strict";r.d(t,"d",(function(){return p})),r.d(t,"a",(function(){return h})),r.d(t,"c",(function(){return u})),r.d(t,"b",(function(){return c}));r("7a89");var n=r("9acd"),i=r("491c"),a=r("3d76"),o=r("169f");const{register:s,getItem:l,hasItem:u,getNames:c,getValues:d}=Object(n["a"])("cellTypes");function h(e){if(!u(e))throw Error(`You declared cell type "${e}" as a string that is not mapped to a known object.\n Cell type must be an object or a string mapped to an object registered by\n "Handsontable.cellTypes.registerCellType" method`);return l(e)}function p(e,t){"string"!==typeof e&&(t=e,e=t.CELL_TYPE);const{editor:r,renderer:n,validator:l}=t;r&&Object(i["e"])(e,r),n&&Object(a["d"])(e,n),l&&Object(o["d"])(e,l),s(e,t)}},7723:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("d287"),a=r("68d5");class o extends i.CharacterDataImpl{constructor(e,t){super(t),this._target=e}get target(){return this._target}static _create(e,t,r){const n=new o(t,r);return n._nodeDocument=e,n}}t.ProcessingInstructionImpl=o,a.idl_defineConst(o.prototype,"_nodeType",n.NodeType.ProcessingInstruction)},7797:function(e,t,r){t.encode=r("3de9"),t.decode=r("333d1")},"77aa":function(e,t,r){"use strict";function n(e){return e&&0===e.length}function i(e){return void 0===e||null===e?[]:Object.keys(e)}function a(e){for(var t=[],r=Object.keys(e),n=0;n<r.length;n++)t.push(e[r[n]]);return t}function o(e,t){for(var r=[],n=i(e),a=0;a<n.length;a++){var o=n[a];r.push(t.call(null,e[o],o))}return r}function s(e,t){for(var r=[],n=0;n<e.length;n++)r.push(t.call(null,e[n],n));return r}function l(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];Array.isArray(n)?t=t.concat(l(n)):t.push(n)}return t}function u(e){return n(e)?void 0:e[0]}function c(e){var t=e&&e.length;return t?e[t-1]:void 0}function d(e,t){if(Array.isArray(e))for(var r=0;r<e.length;r++)t.call(null,e[r],r);else{if(!L(e))throw Error("non exhaustive match");var n=i(e);for(r=0;r<n.length;r++){var a=n[r],o=e[a];t.call(null,o,a)}}}function h(e){return"string"===typeof e}function p(e){return void 0===e}function f(e){return e instanceof Function}function m(e,t){return void 0===t&&(t=1),e.slice(t,e.length)}function g(e,t){return void 0===t&&(t=1),e.slice(0,e.length-t)}function v(e,t){var r=[];if(Array.isArray(e))for(var n=0;n<e.length;n++){var i=e[n];t.call(null,i)&&r.push(i)}return r}function b(e,t){return v(e,(function(e){return!t(e)}))}function y(e,t){for(var r=Object.keys(e),n={},i=0;i<r.length;i++){var a=r[i],o=e[a];t(o)&&(n[a]=o)}return n}function w(e,t){return!!L(e)&&e.hasOwnProperty(t)}function _(e,t){return void 0!==M(e,(function(e){return e===t}))}function S(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r]);return t}function E(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function M(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t.call(null,n))return n}}function T(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];t.call(null,i)&&r.push(i)}return r}function C(e,t,r){for(var n=Array.isArray(e),o=n?e:a(e),s=n?[]:i(e),l=r,u=0;u<o.length;u++)l=t.call(null,l,o[u],n?u:s[u]);return l}function x(e){return b(e,(function(e){return null===e||void 0===e}))}function A(e,t){void 0===t&&(t=function(e){return e});var r=[];return C(e,(function(e,n){var i=t(n);return _(r,i)?e:(r.push(i),e.concat(n))}),[])}function N(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=[null],i=n.concat(t);return Function.bind.apply(e,i)}function O(e){return Array.isArray(e)}function R(e){return e instanceof RegExp}function L(e){return e instanceof Object}function k(e,t){for(var r=0;r<e.length;r++)if(!t(e[r],r))return!1;return!0}function I(e,t){return b(e,(function(e){return _(t,e)}))}function D(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return!0;return!1}function P(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1}function j(e,t){var r=S(e);return r.sort((function(e,r){return t(e)-t(r)})),r}function F(e,t){if(e.length!==t.length)throw Error("can't zipObject with different number of keys and values!");for(var r={},n=0;n<e.length;n++)r[e[n]]=t[n];return r}function H(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0;n<t.length;n++)for(var a=t[n],o=i(a),s=0;s<o.length;s++){var l=o[s];e[l]=a[l]}return e}function B(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0;n<t.length;n++){var a=t[n];if(!p(a))for(var o=i(a),s=0;s<o.length;s++){var l=o[s];w(e,l)||(e[l]=a[l])}}return e}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return B.apply(null,[{}].concat(e))}function V(e,t){var r={};return d(e,(function(e){var n=t(e),i=r[n];i?i.push(e):r[n]=[e]})),r}function Y(e,t){for(var r=E(e),n=i(t),a=0;a<n.length;a++){var o=n[a],s=t[o];r[o]=s}return r}function z(){}function W(e){return e}function q(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(void 0!==n?n:void 0)}return t}function G(e){console&&console.error&&console.error("Error: "+e)}function K(e){console&&console.warn&&console.warn("Warning: "+e)}function X(){return"function"===typeof Map}function Z(e,t){t.forEach((function(t){var r=t.prototype;Object.getOwnPropertyNames(r).forEach((function(n){if("constructor"!==n){var i=Object.getOwnPropertyDescriptor(r,n);i&&(i.get||i.set)?Object.defineProperty(e.prototype,n,i):e.prototype[n]=t.prototype[n]}}))}))}function $(e){function t(){}t.prototype=e;var r=new t;function n(){return typeof r.bar}return n(),n(),e}function J(e){return e[e.length-1]}function Q(e){var t=(new Date).getTime(),r=e(),n=(new Date).getTime(),i=n-t;return{time:i,value:r}}r.d(t,"A",(function(){return n})),r.d(t,"G",(function(){return i})),r.d(t,"U",(function(){return a})),r.d(t,"J",(function(){return o})),r.d(t,"I",(function(){return s})),r.d(t,"t",(function(){return l})),r.d(t,"s",(function(){return u})),r.d(t,"H",(function(){return c})),r.d(t,"u",(function(){return d})),r.d(t,"E",(function(){return h})),r.d(t,"F",(function(){return p})),r.d(t,"B",(function(){return f})),r.d(t,"m",(function(){return m})),r.d(t,"n",(function(){return g})),r.d(t,"p",(function(){return v})),r.d(t,"P",(function(){return b})),r.d(t,"N",(function(){return y})),r.d(t,"w",(function(){return w})),r.d(t,"j",(function(){return _})),r.d(t,"g",(function(){return S})),r.d(t,"h",(function(){return E})),r.d(t,"q",(function(){return M})),r.d(t,"r",(function(){return T})),r.d(t,"O",(function(){return C})),r.d(t,"i",(function(){return x})),r.d(t,"T",(function(){return A})),r.d(t,"y",(function(){return O})),r.d(t,"D",(function(){return R})),r.d(t,"C",(function(){return L})),r.d(t,"o",(function(){return k})),r.d(t,"l",(function(){return I})),r.d(t,"Q",(function(){return D})),r.d(t,"x",(function(){return P})),r.d(t,"f",(function(){return H})),r.d(t,"k",(function(){return U})),r.d(t,"v",(function(){return V})),r.d(t,"K",(function(){return Y})),r.d(t,"b",(function(){return z})),r.d(t,"a",(function(){return W})),r.d(t,"L",(function(){return q})),r.d(t,"c",(function(){return G})),r.d(t,"d",(function(){return K})),r.d(t,"z",(function(){return X})),r.d(t,"e",(function(){return Z})),r.d(t,"S",(function(){return $})),r.d(t,"M",(function(){return J})),r.d(t,"R",(function(){return Q}))},"77f3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("32d8"),a=r("68d5");class o extends i.NodeImpl{constructor(e=null){super(),this._children=new Set,this._host=e}getElementById(e){throw new Error("Mixin: NonElementParentNode not implemented.")}get children(){throw new Error("Mixin: ParentNode not implemented.")}get firstElementChild(){throw new Error("Mixin: ParentNode not implemented.")}get lastElementChild(){throw new Error("Mixin: ParentNode not implemented.")}get childElementCount(){throw new Error("Mixin: ParentNode not implemented.")}prepend(...e){throw new Error("Mixin: ParentNode not implemented.")}append(...e){throw new Error("Mixin: ParentNode not implemented.")}querySelector(e){throw new Error("Mixin: ParentNode not implemented.")}querySelectorAll(e){throw new Error("Mixin: ParentNode not implemented.")}static _create(e,t=null){const r=new o(t);return r._nodeDocument=e,r}}t.DocumentFragmentImpl=o,a.idl_defineConst(o.prototype,"_nodeType",n.NodeType.DocumentFragment)},"78e0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTML="http://www.w3.org/1999/xhtml",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/",t.MathML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLink="http://www.w3.org/1999/xlink"},"78e9":function(e,t,r){"use strict";var n=r("fd18"),i=Error,a=n("".replace),o=function(e){return String(new i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=a(e,s,"");return e}},7992:function(e,t,r){"use strict";var n=r("71c9"),i=r("67ee"),a=r("0d25"),o=r("2aa9");e.exports=function(e,t,r){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new a("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!o&&o(e,t);if(n)n(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===s&&d?d.enumerable:!s,value:r,writable:null===l&&d?d.writable:!l});else{if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},"799c":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=n(r("a697")),a=c(i.default),o=d(a);t.encodeXML=y(a);var s=n(r("4195")),l=c(s.default),u=d(l);function c(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function d(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];1===a.length?t.push("\\"+a):r.push(a)}t.sort();for(var o=0;o<t.length-1;o++){var s=o;while(s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1))s+=1;var l=1+s-o;l<3||t.splice(o,l,t[o]+"-"+t[s])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=m(l,u),t.encodeNonAsciiHTML=y(l);var h=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function f(e){return"&#x"+(e.length>1?p(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(e,t){return function(r){return r.replace(t,(function(t){return e[t]})).replace(h,f)}}var g=new RegExp(o.source+"|"+h.source,"g");function v(e){return e.replace(g,f)}function b(e){return e.replace(o,f)}function y(e){return function(t){return t.replace(g,(function(t){return e[t]||f(t)}))}}t.escape=v,t.escapeUTF8=b},"79b1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("a45a");function i(e){const t=n.string.splitAStringOnASCIIWhitespace(e);return new Set(t)}function a(e){return[...e].join(" ")}function o(e){return a(i(e))}function s(e,t,r){for(const n of t){let t=!1;for(const i of e)if(r){if(i===n){t=!0;break}}else if(i.toUpperCase()===n.toUpperCase()){t=!0;break}if(!t)return!1}return!0}t.orderedSet_parse=i,t.orderedSet_serialize=a,t.orderedSet_sanitize=o,t.orderedSet_contains=s},"7a10":function(e,t,r){var n=r("d0eb"),i=r("fdac");function a(e){this.rand=e||new i.Rand}e.exports=a,a.create=function(e){return new a(e)},a.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i},a.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},a.prototype.test=function(e,t,r){var i=e.bitLength(),a=n.mont(e),o=new n(1).toRed(a);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var u=e.shrn(l),c=s.toRed(a),d=!0;t>0;t--){var h=this._randrange(new n(2),s);r&&r(h);var p=h.toRed(a).redPow(u);if(0!==p.cmp(o)&&0!==p.cmp(c)){for(var f=1;f<l;f++){if(p=p.redSqr(),0===p.cmp(o))return!1;if(0===p.cmp(c))break}if(f===l)return!1}}return d},a.prototype.getDivisor=function(e,t){var r=e.bitLength(),i=n.mont(e),a=new n(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),s=0;!o.testn(s);s++);for(var l=e.shrn(s),u=o.toRed(i);t>0;t--){var c=this._randrange(new n(2),o),d=e.gcd(c);if(0!==d.cmpn(1))return d;var h=c.toRed(i).redPow(l);if(0!==h.cmp(a)&&0!==h.cmp(u)){for(var p=1;p<s;p++){if(h=h.redSqr(),0===h.cmp(a))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(u))break}if(p===s)return h=h.redSqr(),h.fromRed().subn(1).gcd(e)}}return!1}},"7a39":function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},"7a70":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("69a8"),i=r("9688");class a{constructor(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new n.CompareCache,this._rangeList=new n.FixedSizeSet}setFeatures(e){if(void 0===e&&(e=!0),n.isObject(e))for(const t in e)this._features[t]=e[t]||!1;else for(const t in this._features)this._features[t]=e}get features(){return this._features}get window(){return null===this._window&&(this._window=i.create_window()),this._window}get compareCache(){return this._compareCache}get rangeList(){return this._rangeList}static get instance(){return a._instance||(a._instance=new a),a._instance}}t.dom=a.instance},"7a89":function(e,t,r){"use strict";var n=r("ac4f"),i=r("f2e8"),a=r("0204"),o=r("170e"),s="WebAssembly",l=i[s],u=7!==new Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},d=function(e,t){if(l&&l[e]){var r={};r[e]=o(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};c("Error",(function(e){return function(t){return a(e,this,arguments)}})),c("EvalError",(function(e){return function(t){return a(e,this,arguments)}})),c("RangeError",(function(e){return function(t){return a(e,this,arguments)}})),c("ReferenceError",(function(e){return function(t){return a(e,this,arguments)}})),c("SyntaxError",(function(e){return function(t){return a(e,this,arguments)}})),c("TypeError",(function(e){return function(t){return a(e,this,arguments)}})),c("URIError",(function(e){return function(t){return a(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return a(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return a(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return a(e,this,arguments)}}))},"7ae0":function(e,t,r){"use strict";r("d06e");var n=r("351d"),i=r("97b9");const a="localHooks",o={_localHooks:Object.create(null),addLocalHook(e,t){return this._localHooks[e]||(this._localHooks[e]=[]),this._localHooks[e].push(t),this},runLocalHooks(e,t,r,n,a,o,s){if(this._localHooks[e]){const l=this._localHooks[e].length;for(let u=0;u<l;u++)Object(i["fastCall"])(this._localHooks[e][u],this,t,r,n,a,o,s)}},clearLocalHooks(){return this._localHooks={},this}};Object(n["defineGetter"])(o,"MIXIN_NAME",a,{writable:!1,enumerable:!1}),t["a"]=o},"7b69":function(e,t,r){"use strict";var n=r("48ab"),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},"7b71":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{get _startNode(){return this._start[0]}get _startOffset(){return this._start[1]}get _endNode(){return this._end[0]}get _endOffset(){return this._end[1]}get _collapsed(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]}get startContainer(){return this._startNode}get startOffset(){return this._startOffset}get endContainer(){return this._endNode}get endOffset(){return this._endOffset}get collapsed(){return this._collapsed}}t.AbstractRangeImpl=n},"7b7f":function(e,t,r){"use strict";var n=r("44d0"),i=r("b343"),a=r("f2e8"),o=a.String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"7b9c":function(e,t,r){"use strict";r.r(t),r.d(t,"stringify",(function(){return a})),r.d(t,"isDefined",(function(){return o})),r.d(t,"isUndefined",(function(){return s})),r.d(t,"isEmpty",(function(){return l})),r.d(t,"isRegExp",(function(){return u})),r.d(t,"_injectProductInfo",(function(){return _}));var n=r("c1df"),i=r("67a87");function a(e){let t;switch(typeof e){case"string":case"number":t=""+e;break;case"object":t=null===e?"":e.toString();break;case"undefined":t="";break;default:t=e.toString();break}return t}function o(e){return"undefined"!==typeof e}function s(e){return"undefined"===typeof e}function l(e){return null===e||""===e||s(e)}function u(e){return"[object RegExp]"===Object.prototype.toString.call(e)}const c="length",d=e=>parseInt(e,16),h=e=>parseInt(e,10),p=(e,t,r)=>e["substr"](t,r),f=e=>e["codePointAt"](0)-65,m=e=>(""+e).replace(/\-/g,""),g=e=>d(p(m(e),d("12"),f("F")))/(d(p(m(e),f("B"),~~![][c]))||9),v=()=>"undefined"!==typeof location&&/^([a-z0-9\-]+\.)?\x68\x61\x6E\x64\x73\x6F\x6E\x74\x61\x62\x6C\x65\x2E\x63\x6F\x6D$/i.test(location.host);let b=!1;const y={invalid:()=>i["a"]`
- The license key for Handsontable is invalid.\x20
- If you need any help, contact us at support@handsontable.com.`,expired:e=>{let{keyValidityDate:t,hotVersion:r}=e;return i["a"]`
- The license key for Handsontable expired on ${t}, and is not valid for the installed\x20
- version ${r}. Renew your license key at handsontable.com or downgrade to a version released prior\x20
- to ${t}. If you need any help, contact us at sales@handsontable.com.`},missing:()=>i["a"]`
- The license key for Handsontable is missing. Use your purchased key to activate the product.\x20
- Alternatively, you can activate Handsontable to use for non-commercial purposes by\x20
- passing the key: 'non-commercial-and-evaluation'. If you need any help, contact\x20
- us at support@handsontable.com.`,non_commercial:()=>""},w={invalid:()=>i["a"]`
- The license key for Handsontable is invalid.\x20
- <a href="https://handsontable.com/docs/tutorial-license-key.html" target="_blank">Read more</a> on how to\x20
- install it properly or contact us at <a href="mailto:support@handsontable.com">support@handsontable.com</a>.`,expired:e=>{let{keyValidityDate:t,hotVersion:r}=e;return i["a"]`
- The license key for Handsontable expired on ${t}, and is not valid for the installed\x20
- version ${r}. <a href="https://handsontable.com/pricing" target="_blank">Renew</a> your\x20
- license key or downgrade to a version released prior to ${t}. If you need any\x20
- help, contact us at <a href="mailto:sales@handsontable.com">sales@handsontable.com</a>.`},missing:()=>i["a"]`
- The license key for Handsontable is missing. Use your purchased key to activate the product.\x20
- Alternatively, you can activate Handsontable to use for non-commercial purposes by\x20
- passing the key: 'non-commercial-and-evaluation'.\x20
- <a href="https://handsontable.com/docs/tutorial-license-key.html" target="_blank">Read more</a> about it in\x20
- the documentation or contact us at <a href="mailto:support@handsontable.com">support@handsontable.com</a>.`,non_commercial:()=>""};function _(e,t){const r=!l(e),i="string"===typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),a="14.3.0";let o,s="invalid",u="invalid";e=m(e||"");const c=S(e);if(r||i||c)if(c){const t=n("16/04/2024","DD/MM/YYYY"),r=Math.floor(t.toDate().getTime()/864e5),i=g(e);o=n(864e5*(i+1),"x").format("MMMM DD, YYYY"),r>i?(s="expired",u="expired"):(s="valid",u="valid")}else i?(s="non_commercial",u="valid"):(s="invalid",u="invalid");else s="missing",u="missing";if(v()&&(s="valid",u="valid"),!b&&"valid"!==s){const e=y[s]({keyValidityDate:o,hotVersion:a});e&&console["non_commercial"===s?"info":"warn"](y[s]({keyValidityDate:o,hotVersion:a})),b=!0}if("valid"!==u&&t.parentNode){const e=w[u]({keyValidityDate:o,hotVersion:a});if(e){const e=document.createElement("div");e.className="hot-display-license-info",e.innerHTML=w[u]({keyValidityDate:o,hotVersion:a}),t.parentNode.insertBefore(e,t.nextSibling)}}}function S(e){let t=[][c],r=t;if(e[c]!==f("Z"))return!1;for(let n="",i="B<H4P+".split(""),a=f(i.shift());a;a=f(i.shift()||"A"))--a<""[c]?r|=(h(""+h(d(n)+(d(p(e,Math.abs(a),2))+[]).padStart(2,"0")))%97||2)>>1:n=p(e,a,a?1===i[c]?9:8:6);return r===t}},"7be6":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function i(e,t,r,i){var a=e+" ";switch(r){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?a+(n(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?a+(n(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(n(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?a+(n(e)?"dni":"dní"):a+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?a+(n(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?a+(n(e)?"roky":"rokov"):a+"rokmi"}}var a=e.defineLocale("sk",{months:t,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"7c16":function(e,t,r){e.exports=r("d6dd")},"7c2b":function(e,t,r){"use strict";var n=r("624b"),i=r("8793"),a=r("bf78"),o=r("73d9");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{e=n(Object.prototype,"__proto__","set"),e(r,[]),t=r instanceof Array}catch(s){}return function(r,n){return a(r),o(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},"7c81":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("9af8"),a=r("a45a"),o=r("9389"),s=r("4b7d"),l=r("3bc6");function u(){const e=n.dom.window;e._mutationObserverMicrotaskQueued||(e._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(()=>{c()}))}function c(){const e=n.dom.window;e._mutationObserverMicrotaskQueued=!1;const t=a.set.clone(e._mutationObservers),r=a.set.clone(e._signalSlots);a.set.empty(e._signalSlots);for(const n of t){const e=a.list.clone(n._recordQueue);a.list.empty(n._recordQueue);for(let t=0;t<n._nodeList.length;t++){const e=n._nodeList[t];a.list.remove(e._registeredObserverList,e=>i.Guard.isTransientRegisteredObserver(e)&&e.observer===n)}if(!a.list.isEmpty(e))try{n._callback.call(n,e,n)}catch(o){}}if(n.dom.features.slots)for(const n of r)l.event_fireAnEvent("slotchange",n,void 0,{bubbles:!0})}function d(e,t,r,n,i,a,l,c,d){const h=new Map;let p=s.tree_getFirstAncestorNode(t,!0);while(null!==p){for(let a=0;a<p._registeredObserverList.length;a++){const o=p._registeredObserverList[a],s=o.options;if(p!==t&&!s.subtree)continue;if("attributes"===e&&!s.attributes)continue;if("attributes"===e&&s.attributeFilter&&(!s.attributeFilter.includes(r||"")||null!==n))continue;if("characterData"===e&&!s.characterData)continue;if("childList"===e&&!s.childList)continue;const l=o.observer;h.has(l)||h.set(l,null),("attributes"===e&&s.attributeOldValue||"characterData"===e&&s.characterDataOldValue)&&h.set(l,i)}p=s.tree_getNextAncestorNode(t,p,!0)}for(const[s,u]of h){const i=o.create_mutationRecord(e,t,o.create_nodeListStatic(t,a),o.create_nodeListStatic(t,l),c,d,r,n,u),h=s._recordQueue;h.push(i)}u()}function h(e,t,r,n,i){d("childList",e,null,null,null,t,r,n,i)}function p(e,t,r,n){d("attributes",e,t,r,n,[],[],null,null)}t.observer_queueAMutationObserverMicrotask=u,t.observer_notifyMutationObservers=c,t.observer_queueMutationRecord=d,t.observer_queueTreeMutationRecord=h,t.observer_queueAttributeMutationRecord=p},"7d2a":function(e,t){var r=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!==typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!==typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!==t)throw new TypeError("Bad key length")}},"7d2b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e){this._pointer=0,this._chars=Array.from(e),this._length=this._chars.length}get eof(){return this._pointer>=this._length}get length(){return this._length}codePoint(){if(void 0===this._codePoint)if(this.eof)this._codePoint=-1;else{const e=this._chars[this._pointer].codePointAt(0);this._codePoint=void 0!==e?e:-1}return this._codePoint}c(){return void 0===this._c&&(this._c=this.eof?"":this._chars[this._pointer]),this._c}remaining(){return void 0===this._remaining&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining}substring(){return void 0===this._substring&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring}get pointer(){return this._pointer}set pointer(e){e!==this._pointer&&(this._pointer=e,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)}}t.StringWalker=n},"7d2e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("aa6e");t.ObjectCache=n.ObjectCache;var i=r("6b4c");function a(e,t,...r){Object.getOwnPropertyNames(t.prototype).forEach(n=>{if(r.includes(n)){const t=Object.getOwnPropertyDescriptor(e.prototype,n);t&&Object.defineProperty(e.prototype,"_"+n,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&Object.defineProperty(e.prototype,n,i)})}function o(e,t,r=!1){const n=h(e||{});for(const[i,a]of l(t))v(a)?n[i]=o(n[i],a):(r||void 0===n[i])&&(n[i]=a);return n}function*s(e){yield*e}function*l(e){if(y(e))yield*e;else for(const t in e)e.hasOwnProperty(t)&&(yield[t,e[t]])}function u(e){return y(e)?e.size:Object.keys(e).length}function c(e,t){return y(e)?e.get(t):e[t]}function d(e,t){y(e)?e.delete(t):delete e[t]}function h(e){if(g(e))return e;if(b(e)){const t=[];for(const r of e)t.push(h(r));return t}if(v(e)){const t={};for(const r in e)if(e.hasOwnProperty(r)){const n=e[r];t[r]=h(n)}return t}return e}function p(e){return"boolean"===typeof e}function f(e){return"number"===typeof e}function m(e){return"string"===typeof e}function g(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function v(e){const t=typeof e;return!!e&&("function"===t||"object"===t)}function b(e){return Array.isArray(e)}function y(e){return e instanceof Map}function w(e){if(b(e))return!e.length;if(v(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function _(e){if(v(e)){const t=Object.getPrototypeOf(e),r=t.constructor;return t&&r&&"function"===typeof r&&r instanceof r&&Function.prototype.toString.call(r)===Function.prototype.toString.call(Object)}return!1}function S(e){return e&&"function"===typeof e[Symbol.iterator]}function E(e){return g(e.valueOf)?e.valueOf():e}t.CompareCache=i.CompareCache,t.applyMixin=a,t.applyDefaults=o,t.forEachArray=s,t.forEachObject=l,t.objectLength=u,t.getObjectValue=c,t.removeObjectValue=d,t.clone=h,t.isBoolean=p,t.isNumber=f,t.isString=m,t.isFunction=g,t.isObject=v,t.isArray=b,t.isMap=y,t.isEmpty=w,t.isPlainObject=_,t.isIterable=S,t.getValue=E},"7d61":function(e,t,r){"use strict";var n=r("9046"),i=r("2aac"),a=r("48ab"),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},"7d92":function(e,t,r){var n=t;n.utils=r("c3c0"),n.common=r("edc9"),n.sha=r("5919"),n.ripemd=r("bb44"),n.hmac=r("2137"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},"7dcf4":function(e,t,r){"use strict";var n=r("c5ae");e.exports=function(e){return n(e.length)}},"7dd09":function(e,t,r){"use strict";function n(e){return window.requestAnimationFrame(e)}function i(e){window.cancelAnimationFrame(e)}function a(){return"ontouchstart"in window}function o(){return"undefined"!==typeof window}let s;function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s||(s="object"===typeof Intl?new Intl.Collator(e,t).compare:"function"===typeof String.prototype.localeCompare?(e,t)=>(""+e).localeCompare(t):(e,t)=>e===t?0:e>t?-1:1,s)}r.r(t),r.d(t,"requestAnimationFrame",(function(){return n})),r.d(t,"cancelAnimationFrame",(function(){return i})),r.d(t,"isTouchSupported",(function(){return a})),r.d(t,"isCSR",(function(){return o})),r.d(t,"getComparisonFunction",(function(){return l}))},"7e78":function(e,t,r){var n=r("3fb5"),i=r("b672"),a=r("8707").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<1|e>>>31}function c(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function h(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=u(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var p=0;p<80;++p){var f=~~(p/20),m=c(r)+h(f,n,i,a)+s+t[p]+o[f]|0;s=a,a=i,i=d(n),n=r,r=m}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},"7eb1":function(e,t,r){"use strict";var n=30,i=12;e.exports=function(e,t){var r,a,o,s,l,u,c,d,h,p,f,m,g,v,b,y,w,_,S,E,M,T,C,x,A;r=e.state,a=e.next_in,x=e.input,o=a+(e.avail_in-5),s=e.next_out,A=e.output,l=s-(t-e.avail_out),u=s+(e.avail_out-257),c=r.dmax,d=r.wsize,h=r.whave,p=r.wnext,f=r.window,m=r.hold,g=r.bits,v=r.lencode,b=r.distcode,y=(1<<r.lenbits)-1,w=(1<<r.distbits)-1;e:do{g<15&&(m+=x[a++]<<g,g+=8,m+=x[a++]<<g,g+=8),_=v[m&y];t:for(;;){if(S=_>>>24,m>>>=S,g-=S,S=_>>>16&255,0===S)A[s++]=65535&_;else{if(!(16&S)){if(0===(64&S)){_=v[(65535&_)+(m&(1<<S)-1)];continue t}if(32&S){r.mode=i;break e}e.msg="invalid literal/length code",r.mode=n;break e}E=65535&_,S&=15,S&&(g<S&&(m+=x[a++]<<g,g+=8),E+=m&(1<<S)-1,m>>>=S,g-=S),g<15&&(m+=x[a++]<<g,g+=8,m+=x[a++]<<g,g+=8),_=b[m&w];r:for(;;){if(S=_>>>24,m>>>=S,g-=S,S=_>>>16&255,!(16&S)){if(0===(64&S)){_=b[(65535&_)+(m&(1<<S)-1)];continue r}e.msg="invalid distance code",r.mode=n;break e}if(M=65535&_,S&=15,g<S&&(m+=x[a++]<<g,g+=8,g<S&&(m+=x[a++]<<g,g+=8)),M+=m&(1<<S)-1,M>c){e.msg="invalid distance too far back",r.mode=n;break e}if(m>>>=S,g-=S,S=s-l,M>S){if(S=M-S,S>h&&r.sane){e.msg="invalid distance too far back",r.mode=n;break e}if(T=0,C=f,0===p){if(T+=d-S,S<E){E-=S;do{A[s++]=f[T++]}while(--S);T=s-M,C=A}}else if(p<S){if(T+=d+p-S,S-=p,S<E){E-=S;do{A[s++]=f[T++]}while(--S);if(T=0,p<E){S=p,E-=S;do{A[s++]=f[T++]}while(--S);T=s-M,C=A}}}else if(T+=p-S,S<E){E-=S;do{A[s++]=f[T++]}while(--S);T=s-M,C=A}while(E>2)A[s++]=C[T++],A[s++]=C[T++],A[s++]=C[T++],E-=3;E&&(A[s++]=C[T++],E>1&&(A[s++]=C[T++]))}else{T=s-M;do{A[s++]=A[T++],A[s++]=A[T++],A[s++]=A[T++],E-=3}while(E>2);E&&(A[s++]=A[T++],E>1&&(A[s++]=A[T++]))}break}}break}}while(a<o&&s<u);E=g>>3,a-=E,g-=E<<3,m&=(1<<g)-1,e.next_in=a,e.next_out=s,e.avail_in=a<o?o-a+5:5-(a-o),e.avail_out=s<u?u-s+257:257-(s-u),r.hold=m,r.bits=g}},"7ef7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("9af8"),a=r("69a8"),o=r("4b7d"),s=r("7c81");function l(e){const t=n.dom.window;t._signalSlots.add(e),s.observer_queueAMutationObserverMicrotask()}function u(e){return i.Guard.isDocumentNode(o.tree_rootNode(e,!0))}function c(e){return null!==e._assignedSlot}function d(e,t=!1){const r=i.Cast.asNode(e),n=r._parent;if(null===n)return null;const a=n._shadowRoot||null;if(null===a)return null;if(t&&"open"!==a._mode)return null;let s=o.tree_getFirstDescendantNode(a,!1,!0,e=>i.Guard.isSlot(e));while(null!==s){if(s._name===e._name)return s;s=o.tree_getNextDescendantNode(a,s,!1,!0,e=>i.Guard.isSlot(e))}return null}function h(e){const t=[],r=o.tree_rootNode(e);if(!i.Guard.isShadowRoot(r))return t;const n=r._host;for(const a of n._children)if(i.Guard.isSlotable(a)){const r=d(a);r===e&&t.push(a)}return t}function p(e){const t=[],r=o.tree_rootNode(e);if(!i.Guard.isShadowRoot(r))return t;const n=h(e);if(a.isEmpty(n))for(const a of e._children)i.Guard.isSlotable(a)&&n.push(a);for(const a of n)if(i.Guard.isSlot(a)&&i.Guard.isShadowRoot(o.tree_rootNode(a))){const e=p(a);t.push(...e)}else t.push(a);return t}function f(e){const t=h(e);if(t.length===e._assignedNodes.length){let r=!0;for(let n=0;n<t.length;n++)if(t[n]!==e._assignedNodes[n]){r=!1;break}r||l(e)}e._assignedNodes=t;for(const r of t)r._assignedSlot=e}function m(e){let t=o.tree_getFirstDescendantNode(e,!0,!1,e=>i.Guard.isSlot(e));while(null!==t)f(t),t=o.tree_getNextDescendantNode(e,t,!0,!1,e=>i.Guard.isSlot(e))}function g(e){const t=d(e);null!==t&&f(t)}t.shadowTree_signalASlotChange=l,t.shadowTree_isConnected=u,t.shadowTree_isAssigned=c,t.shadowTree_findASlot=d,t.shadowTree_findSlotables=h,t.shadowTree_findFlattenedSlotables=p,t.shadowTree_assignSlotables=f,t.shadowTree_assignSlotablesForATree=m,t.shadowTree_assignASlot=g},"7f33":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t}))},"7f4b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("5230"),i=r("ff74"),a=r("4850"),o=r("9688"),s=r("a45a"),l=r("fea4"),u=r("a32f"),c=r("9af8"),d=r("0213"),h=r("83e1"),p=r("faa1");class f extends p.EventEmitter{constructor(e,t=!1){super(),this._hasDeclaration=!1,this._docTypeName="",this._hasDocumentElement=!1,this._currentElementSerialized=!1,this._openTags=[],this._ended=!1,this._fragment=t,this._options=i.applyDefaults(e||{},n.DefaultXMLBuilderCBOptions),this._builderOptions={defaultNamespace:this._options.defaultNamespace,namespaceAlias:this._options.namespaceAlias},this._writer="xml"===this._options.format?new d.XMLCBWriter(this._options):new h.JSONCBWriter(this._options),void 0!==this._options.data&&this.on("data",this._options.data),void 0!==this._options.end&&this.on("end",this._options.end),void 0!==this._options.error&&this.on("error",this._options.error),this._prefixMap=new l.NamespacePrefixMap,this._prefixMap.set("xml",s.namespace.XML),this._prefixIndex={value:1}}ele(e,t,r){if(i.isObject(e)||i.isString(e)&&(/^\s*</.test(e)||/^\s*[\{\[]/.test(e))){const t=a.fragment().set(this._options);try{t.ele(e)}catch(n){return this.emit("error",n),this}for(const e of t.node.childNodes)this._fromNode(e);return this}if(this._serializeOpenTag(!0),!this._fragment&&this._hasDocumentElement&&0===this._writer.level)return this.emit("error",new Error("Document cannot have multiple document element nodes.")),this;try{this._currentElement=a.fragment(this._builderOptions).ele(e,t,r)}catch(n){return this.emit("error",n),this}return this._fragment||this._hasDocumentElement||""===this._docTypeName||this._currentElement.node._qualifiedName===this._docTypeName?(this._currentElementSerialized=!1,this._fragment||(this._hasDocumentElement=!0),this):(this.emit("error",new Error("Document element name does not match DocType declaration name.")),this)}att(e,t,r){if(void 0===this._currentElement)return this.emit("error",new Error("Cannot insert an attribute node as child of a document node.")),this;try{this._currentElement.att(e,t,r)}catch(n){return this.emit("error",n),this}return this}com(e){let t;this._serializeOpenTag(!0);try{t=a.fragment(this._builderOptions).com(e).first().node}catch(r){return this.emit("error",r),this}return!this._options.wellFormed||o.xml_isLegalChar(t.data)&&-1===t.data.indexOf("--")&&!t.data.endsWith("-")?(this._push(this._writer.comment(t.data)),this):(this.emit("error",new Error("Comment data contains invalid characters (well-formed required).")),this)}txt(e){if(!this._fragment&&void 0===this._currentElement)return this.emit("error",new Error("Cannot insert a text node as child of a document node.")),this;let t;this._serializeOpenTag(!0);try{t=a.fragment(this._builderOptions).txt(e).first().node}catch(n){return this.emit("error",n),this}if(this._options.wellFormed&&!o.xml_isLegalChar(t.data))return this.emit("error",new Error("Text data contains invalid characters (well-formed required).")),this;let r="";if(this._options.noDoubleEncoding)r=t.data.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
");else for(let i=0;i<t.data.length;i++){const e=t.data[i];r+="&"===e?"&":"<"===e?"<":">"===e?">":e}return this._push(this._writer.text(r)),this}ins(e,t=""){let r;this._serializeOpenTag(!0);try{r=a.fragment(this._builderOptions).ins(e,t).first().node}catch(n){return this.emit("error",n),this}return this._options.wellFormed&&(-1!==r.target.indexOf(":")||/^xml$/i.test(r.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(r.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(r.target,r.data)),this)}dat(e){let t;this._serializeOpenTag(!0);try{t=a.fragment(this._builderOptions).dat(e).first().node}catch(r){return this.emit("error",r),this}return this._push(this._writer.cdata(t.data)),this}dec(e={version:"1.0"}){return this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(e.version||"1.0",e.encoding,e.standalone)),this._hasDeclaration=!0,this)}dtd(e){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(""!==this._docTypeName)return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;let t;try{t=a.create().dtd(e).first().node}catch(r){return this.emit("error",r),this}return this._options.wellFormed&&!o.xml_isPubidChar(t.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(t.systemId)||-1!==t.systemId.indexOf('"')&&-1!==t.systemId.indexOf("'"))?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=e.name,this._push(this._writer.docType(e.name,t.publicId,t.systemId)),this)}up(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this}end(){this._serializeOpenTag(!1);while(this._openTags.length>0)this._serializeCloseTag();return this._push(null),this}_serializeOpenTag(e){if(this._currentElementSerialized)return;if(void 0===this._currentElement)return;const t=this._currentElement.node;if(this._options.wellFormed&&(-1!==t.localName.indexOf(":")||!o.xml_isName(t.localName)))return void this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."));let r="",n=!1,i=this._prefixMap.copy(),a={},l=this._recordNamespaceInformation(t,i,a),u=0===this._openTags.length?null:this._openTags[this._openTags.length-1][1],c=t.namespaceURI;if(null===c&&(c=u),u===c)null!==l&&(n=!0),r=c===s.namespace.XML?"xml:"+t.localName:t.localName,this._writer.beginElement(r),this._push(this._writer.openTagBegin(r));else{let e=t.prefix,o=null;if(null===e&&c===l||(o=i.get(e,c)),"xmlns"===e){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));o=e}null!==o?(r=o+":"+t.localName,null!==l&&l!==s.namespace.XML&&(u=l||null),this._writer.beginElement(r),this._push(this._writer.openTagBegin(r))):null!==e?(e in a&&(e=this._generatePrefix(c,i,this._prefixIndex)),i.set(e,c),r+=e+":"+t.localName,this._writer.beginElement(r),this._push(this._writer.openTagBegin(r)),this._push(this._writer.attribute("xmlns:"+e,this._serializeAttributeValue(c,this._options.wellFormed))),null!==l&&(u=l||null)):null===l||null!==l&&l!==c?(n=!0,r+=t.localName,u=c,this._writer.beginElement(r),this._push(this._writer.openTagBegin(r)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(c,this._options.wellFormed)))):(r+=t.localName,u=c,this._writer.beginElement(r),this._push(this._writer.openTagBegin(r)))}this._serializeAttributes(t,i,this._prefixIndex,a,n,this._options.wellFormed);const d=c===s.namespace.HTML;d&&!e&&f._VoidElementNames.has(t.localName)?(this._push(this._writer.openTagEnd(r,!0,!0)),this._writer.endElement(r)):d||e?this._push(this._writer.openTagEnd(r,!1,!1)):(this._push(this._writer.openTagEnd(r,!0,!1)),this._writer.endElement(r)),this._currentElementSerialized=!0,this._openTags.push([r,u,this._prefixMap,e]),this._isPrefixMapModified(this._prefixMap,i)&&(this._prefixMap=i),this._writer.level++}_serializeCloseTag(){this._writer.level--;const e=this._openTags.pop();if(void 0===e)return void this.emit("error",new Error("Last element is undefined."));const[t,r,n,i]=e;this._prefixMap=n,i&&(this._push(this._writer.closeTag(t)),this._writer.endElement(t))}_push(e){null===e?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):0!==e.length&&(this._writer.hasData=!0,this.emit("data",e,this._writer.level))}_fromNode(e){if(c.Guard.isElementNode(e)){const t=e.prefix?e.prefix+":"+e.localName:e.localName;null!==e.namespaceURI?this.ele(e.namespaceURI,t):this.ele(t);for(const r of e.attributes){const e=r.prefix?r.prefix+":"+r.localName:r.localName;null!==r.namespaceURI?this.att(r.namespaceURI,e,r.value):this.att(e,r.value)}for(const r of e.childNodes)this._fromNode(r);this.up()}else c.Guard.isExclusiveTextNode(e)&&e.data?this.txt(e.data):c.Guard.isCommentNode(e)?this.com(e.data):c.Guard.isCDATASectionNode(e)?this.dat(e.data):c.Guard.isProcessingInstructionNode(e)&&this.ins(e.target,e.data)}_serializeAttributes(e,t,r,n,i,a){const l=a?new u.LocalNameSet:void 0;for(const u of e.attributes){if(!a&&!i&&null===u.namespaceURI){this._push(this._writer.attribute(u.localName,this._serializeAttributeValue(u.value,this._options.wellFormed)));continue}if(a&&l&&l.has(u.namespaceURI,u.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));a&&l&&l.set(u.namespaceURI,u.localName);let e=u.namespaceURI,c=null;if(null!==e)if(c=t.get(u.prefix,e),e===s.namespace.XMLNS){if(u.value===s.namespace.XML||null===u.prefix&&i||null!==u.prefix&&(!(u.localName in n)||n[u.localName]!==u.value)&&t.has(u.localName,u.value))continue;if(a&&u.value===s.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(a&&""===u.value)return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));"xmlns"===u.prefix&&(c="xmlns")}else null===c&&(c=null===u.prefix||t.hasPrefix(u.prefix)&&!t.has(u.prefix,e)?this._generatePrefix(e,t,r):u.prefix,this._push(this._writer.attribute("xmlns:"+c,this._serializeAttributeValue(e,this._options.wellFormed))));if(a&&(-1!==u.localName.indexOf(":")||!o.xml_isName(u.localName)||"xmlns"===u.localName&&null===e))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((null!==c?c+":":"")+u.localName,this._serializeAttributeValue(u.value,this._options.wellFormed)))}}_serializeAttributeValue(e,t){if(t&&null!==e&&!o.xml_isLegalChar(e))return this.emit("error",new Error("Invalid characters in attribute value.")),"";if(null===e)return"";if(this._options.noDoubleEncoding)return e.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
");{let t="";for(let r=0;r<e.length;r++){const n=e[r];t+='"'===n?""":"&"===n?"&":"<"===n?"<":">"===n?">":n}return t}}_recordNamespaceInformation(e,t,r){let n=null;for(const i of e.attributes){let e=i.namespaceURI,a=i.prefix;if(e===s.namespace.XMLNS){if(null===a){n=i.value;continue}{let e=i.localName,n=i.value;if(n===s.namespace.XML)continue;if(""===n&&(n=null),t.has(e,n))continue;t.set(e,n),r[e]=n||""}}}return n}_generatePrefix(e,t,r){let n="ns"+r.value;return r.value++,t.set(n,e),n}_isPrefixMapModified(e,t){const r=e._items,n=t._items,i=e._nullItems,a=t._nullItems;for(const o in n){const e=r[o];if(void 0===e)return!0;const t=n[o];if(e.length!==t.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!0}if(i.length!==a.length)return!0;for(let o=0;o<i.length;o++)if(i[o]!==a[o])return!0;return!1}}t.XMLBuilderCBImpl=f,f._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"])},"7f7a":function(e,t,r){var n=t;n.bignum=r("bc12"),n.define=r("ef3a").define,n.base=r("41df"),n.constants=r("0211"),n.decoders=r("20f6"),n.encoders=r("343e")},"7fbc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("f17c"),i=r("42e9"),a=r("68d5");class o extends n.TextImpl{constructor(e){super(e)}static _create(e,t=""){const r=new o(t);return r._nodeDocument=e,r}}t.CDATASectionImpl=o,a.idl_defineConst(o.prototype,"_nodeType",i.NodeType.CData)},8029:function(e){e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},"802d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("9688"),a=r("68d5");class o{constructor(e,t){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=n.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=e,t&&(this._bubbles=t.bubbles||!1,this._cancelable=t.cancelable||!1,this._composedFlag=t.composed||!1),this._initializedFlag=!0,this._timeStamp=(new Date).getTime()}get type(){return this._type}get target(){return this._target}get srcElement(){return this._target}get currentTarget(){return this._currentTarget}composedPath(){const e=[],t=this._path;if(0===t.length)return e;const r=this._currentTarget;if(null===r)throw new Error("Event currentTarget is null.");e.push(r);let n=0,i=0,a=t.length-1;while(a>=0){if(t[a].rootOfClosedTree&&i++,t[a].invocationTarget===r){n=a;break}t[a].slotInClosedTree&&i--,a--}let o=i,s=i;a=n-1;while(a>=0)t[a].rootOfClosedTree&&o++,o<=s&&e.unshift(t[a].invocationTarget),t[a].slotInClosedTree&&(o--,o<s&&(s=o)),a--;o=i,s=i,a=n+1;while(a<t.length)t[a].slotInClosedTree&&o++,o<=s&&e.push(t[a].invocationTarget),t[a].rootOfClosedTree&&(o--,o<s&&(s=o)),a++;return e}get eventPhase(){return this._eventPhase}stopPropagation(){this._stopPropagationFlag=!0}get cancelBubble(){return this._stopPropagationFlag}set cancelBubble(e){e&&this.stopPropagation()}stopImmediatePropagation(){this._stopPropagationFlag=!0,this._stopImmediatePropagationFlag=!0}get bubbles(){return this._bubbles}get cancelable(){return this._cancelable}get returnValue(){return!this._canceledFlag}set returnValue(e){e||i.event_setTheCanceledFlag(this)}preventDefault(){i.event_setTheCanceledFlag(this)}get defaultPrevented(){return this._canceledFlag}get composed(){return this._composedFlag}get isTrusted(){return this._isTrusted}get timeStamp(){return this._timeStamp}initEvent(e,t=!1,r=!1){this._dispatchFlag||i.event_initialize(this,e,t,r)}}t.EventImpl=o,o.NONE=0,o.CAPTURING_PHASE=1,o.AT_TARGET=2,o.BUBBLING_PHASE=3,a.idl_defineConst(o.prototype,"NONE",0),a.idl_defineConst(o.prototype,"CAPTURING_PHASE",1),a.idl_defineConst(o.prototype,"AT_TARGET",2),a.idl_defineConst(o.prototype,"BUBBLING_PHASE",3)},8033:function(e,t,r){},8098:function(e,t,r){var n=r("7797").decode,i=r("ade0");e.exports=function(e,t){var r={convert:function(e,i){return"tag"===e.type||"script"===e.type||"style"===e.type?r.convertTag(e,i):"text"===e.type?new t(n(e.data)):new t("")},convertTag:function(t,n){var a,o=i(t);n&&(a=n(o));var s=Array.prototype.map.call(t.children||[],(function(e){return r.convert(e,n)}));return new e(t.name,o,s,a)}};return r}},"80af":function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(11).Buffer}catch(x){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else{var s=e.length-t;for(n=s%2===0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8}this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var d=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},a.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=h;p++){var f=u-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,c+=o/67108864|0,d=67108863&o}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}a.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,r=0!==a||o!==this.length-1?c[6-l.length]+l+r:l+r,i+=2,i>=26&&(i-=26,o--)}0!==a&&(r=a.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],p=h[e];r="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),r=f.isZero()?m+r:c[u-m.length]+m+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n("undefined"!==typeof o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,l="le"===t,u=new e(a),c=this.clone();if(l){for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)t=(0|r.words[o])-(0|n.words[o])+a,a=t>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)t=(0|r.words[o])+a,a=t>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,u=0,c=0|o[0],d=8191&c,h=c>>>13,p=0|o[1],f=8191&p,m=p>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],w=8191&y,_=y>>>13,S=0|o[4],E=8191&S,M=S>>>13,T=0|o[5],C=8191&T,x=T>>>13,A=0|o[6],N=8191&A,O=A>>>13,R=0|o[7],L=8191&R,k=R>>>13,I=0|o[8],D=8191&I,P=I>>>13,j=0|o[9],F=8191&j,H=j>>>13,B=0|s[0],U=8191&B,V=B>>>13,Y=0|s[1],z=8191&Y,W=Y>>>13,q=0|s[2],G=8191&q,K=q>>>13,X=0|s[3],Z=8191&X,$=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,U),i=Math.imul(d,V),i=i+Math.imul(h,U)|0,a=Math.imul(h,V);var ge=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=Math.imul(f,V),i=i+Math.imul(m,U)|0,a=Math.imul(m,V),n=n+Math.imul(d,z)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,z)|0,a=a+Math.imul(h,W)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,U),i=Math.imul(v,V),i=i+Math.imul(b,U)|0,a=Math.imul(b,V),n=n+Math.imul(f,z)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0,n=n+Math.imul(d,G)|0,i=i+Math.imul(d,K)|0,i=i+Math.imul(h,G)|0,a=a+Math.imul(h,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,U),i=Math.imul(w,V),i=i+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,z)|0,i=i+Math.imul(v,W)|0,i=i+Math.imul(b,z)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(f,G)|0,i=i+Math.imul(f,K)|0,i=i+Math.imul(m,G)|0,a=a+Math.imul(m,K)|0,n=n+Math.imul(d,Z)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,Z)|0,a=a+Math.imul(h,$)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(E,U),i=Math.imul(E,V),i=i+Math.imul(M,U)|0,a=Math.imul(M,V),n=n+Math.imul(w,z)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,z)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(b,G)|0,a=a+Math.imul(b,K)|0,n=n+Math.imul(f,Z)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,ee)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,U),i=Math.imul(C,V),i=i+Math.imul(x,U)|0,a=Math.imul(x,V),n=n+Math.imul(E,z)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,z)|0,a=a+Math.imul(M,W)|0,n=n+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(v,$)|0,i=i+Math.imul(b,Z)|0,a=a+Math.imul(b,$)|0,n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ne)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(N,U),i=Math.imul(N,V),i=i+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(C,z)|0,i=i+Math.imul(C,W)|0,i=i+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(M,G)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,Z)|0,i=i+Math.imul(w,$)|0,i=i+Math.imul(_,Z)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(h,ae)|0,a=a+Math.imul(h,oe)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,U),i=Math.imul(L,V),i=i+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(N,z)|0,i=i+Math.imul(N,W)|0,i=i+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(C,G)|0,i=i+Math.imul(C,K)|0,i=i+Math.imul(x,G)|0,a=a+Math.imul(x,K)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(M,Z)|0,a=a+Math.imul(M,$)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=i+Math.imul(v,ne)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(f,ae)|0,i=i+Math.imul(f,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,n=n+Math.imul(d,le)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ue)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,U),i=Math.imul(D,V),i=i+Math.imul(P,U)|0,a=Math.imul(P,V),n=n+Math.imul(L,z)|0,i=i+Math.imul(L,W)|0,i=i+Math.imul(k,z)|0,a=a+Math.imul(k,W)|0,n=n+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(O,G)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(C,Z)|0,i=i+Math.imul(C,$)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(w,re)|0,i=i+Math.imul(w,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(v,ae)|0,i=i+Math.imul(v,oe)|0,i=i+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,a=a+Math.imul(h,he)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,U),i=Math.imul(F,V),i=i+Math.imul(H,U)|0,a=Math.imul(H,V),n=n+Math.imul(D,z)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(P,z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(L,G)|0,i=i+Math.imul(L,K)|0,i=i+Math.imul(k,G)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(N,Z)|0,i=i+Math.imul(N,$)|0,i=i+Math.imul(O,Z)|0,a=a+Math.imul(O,$)|0,n=n+Math.imul(C,Q)|0,i=i+Math.imul(C,ee)|0,i=i+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(w,ae)|0,i=i+Math.imul(w,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(v,le)|0,i=i+Math.imul(v,ue)|0,i=i+Math.imul(b,le)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0,n=n+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,a=a+Math.imul(h,me)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,z),i=Math.imul(F,W),i=i+Math.imul(H,z)|0,a=Math.imul(H,W),n=n+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(P,G)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(k,Z)|0,a=a+Math.imul(k,$)|0,n=n+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(C,re)|0,i=i+Math.imul(C,ne)|0,i=i+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(E,ae)|0,i=i+Math.imul(E,oe)|0,i=i+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(w,le)|0,i=i+Math.imul(w,ue)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(b,de)|0,a=a+Math.imul(b,he)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,a=a+Math.imul(m,me)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,G),i=Math.imul(F,K),i=i+Math.imul(H,G)|0,a=Math.imul(H,K),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,$)|0,i=i+Math.imul(P,Z)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(L,Q)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(N,re)|0,i=i+Math.imul(N,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(C,ae)|0,i=i+Math.imul(C,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(E,le)|0,i=i+Math.imul(E,ue)|0,i=i+Math.imul(M,le)|0,a=a+Math.imul(M,ue)|0,n=n+Math.imul(w,de)|0,i=i+Math.imul(w,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,he)|0,n=n+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(b,fe)|0,a=a+Math.imul(b,me)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,Z),i=Math.imul(F,$),i=i+Math.imul(H,Z)|0,a=Math.imul(H,$),n=n+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(N,ae)|0,i=i+Math.imul(N,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(C,le)|0,i=i+Math.imul(C,ue)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(M,de)|0,a=a+Math.imul(M,he)|0,n=n+Math.imul(w,fe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,Q),i=Math.imul(F,ee),i=i+Math.imul(H,Q)|0,a=Math.imul(H,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(P,re)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(N,le)|0,i=i+Math.imul(N,ue)|0,i=i+Math.imul(O,le)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(C,de)|0,i=i+Math.imul(C,he)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,he)|0,n=n+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(M,fe)|0,a=a+Math.imul(M,me)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(H,re)|0,a=Math.imul(H,ne),n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ue)|0,i=i+Math.imul(k,le)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(N,de)|0,i=i+Math.imul(N,he)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,he)|0,n=n+Math.imul(C,fe)|0,i=i+Math.imul(C,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,ae),i=Math.imul(F,oe),i=i+Math.imul(H,ae)|0,a=Math.imul(H,oe),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(P,le)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0,n=n+Math.imul(N,fe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(O,fe)|0,a=a+Math.imul(O,me)|0;var Re=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(H,le)|0,a=Math.imul(H,ue),n=n+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(k,fe)|0,a=a+Math.imul(k,me)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,de),i=Math.imul(F,he),i=i+Math.imul(H,de)|0,a=Math.imul(H,he),n=n+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(P,fe)|0,a=a+Math.imul(P,me)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,fe),i=Math.imul(F,me),i=i+Math.imul(H,fe)|0,a=Math.imul(H,me);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=Se,l[7]=Ee,l[8]=Me,l[9]=Te,l[10]=Ce,l[11]=xe,l[12]=Ae,l[13]=Ne,l[14]=Oe,l[15]=Re,l[16]=Le,l[17]=ke,l[18]=Ie,0!==u&&(l[19]=u,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=l;u++){var c=a-u,d=0|e.words[c],h=0|t.words[u],p=d*h,f=67108863&p;o=o+(p/67108864|0)|0,f=f+s|0,s=67108863&f,o=o+(f>>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function v(e,t,r){var n=new b;return n.mulp(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?m(this,e,t):n<63?f(this,e,t):n<1024?g(this,e,t):v(this,e,t),r},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},b.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,p=0;p<o;p++){var f=r[c+p],m=n[c+p],g=r[c+p+o],v=n[c+p+o],b=d*g-h*v;v=d*v+h*g,g=b,r[c+p]=f+g,n[c+p]=m+v,r[c+p+o]=f-g,n[c+p+o]=m-v,p!==s&&(b=l*d-u*h,h=l*h+u*d,d=b)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,l,n,i),this.transform(u,a,c,d,n,i);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),v(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=p(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var a=this.words[r];return!!(a&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;a-=67108863&l,s=(a>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)a=(0|this.words[i+r])+s,s=a>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)a=-(0|this.words[i])+s,s=a>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1],s=this._countBits(o);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new a(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var d=n.clone()._ishlnsubmul(i,1,u);0===d.negative&&(n=d,l&&(l.words[u]=1));for(var h=u-1;h>=0;h--){var p=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,h);while(0!==n.negative)p--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new a(1),o=new a(0),s=new a(0),l=new a(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),d=t.clone();while(!t.isZero()){for(var h=0,p=1;0===(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0){t.iushrn(h);while(h-- >0)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(d)),i.iushrn(1),o.iushrn(1)}for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0){r.iushrn(f);while(f-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(l)):(r.isub(t),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,o=new a(1),s=new a(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)o.isOdd()&&o.iadd(l),o.iushrn(1)}for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0){r.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return i=0===t.cmpn(1)?o:s,i.cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new T(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,w),i(E,w),i(M,w),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return y[e]=t,t},T.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},T.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},T.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},T.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},T.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},T.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},T.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),o=0;while(!i.isZero()&&0===i.andln(1))o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new a(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),f=o;while(0!==p.cmp(s)){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new a(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},T.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},T.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new a(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var o=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var h=c>>d&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==s?(s<<=1,s|=h,l++,(l===r||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)):l=0}u=26}return o},T.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},T.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},i(C,T),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},"80dd":function(e,t,r){"use strict";var n=r("f2e8"),i=r("de26"),a=r("69ba"),o=r("592a"),s=r("7b7f"),l=r("9c76"),u=n.Symbol,c=i("wks"),d=l?u["for"]||u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)||(c[e]=s&&a(u,e)?u[e]:d("Symbol."+e)),c[e]}},8155:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund",i;case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami",i;case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami",i;case"d":return t||n?"en dan":"enim dnem";case"dd":return i+=1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi",i;case"M":return t||n?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci",i;case"y":return t||n?"eno leto":"enim letom";case"yy":return i+=1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti",i}}var r=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"815f":function(e,t,r){var n=r("852e"),i=function(e){var t=new n.DomHandler,r=new n.Parser(t,{lowerCaseAttributeNames:!1});return r.parseComplete(e),t.dom};e.exports=i},"81b7":function(e,t,r){"use strict";var n=r("fd18"),i=r("b343"),a=r("939b"),o=Object,s=n("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?s(e,""):o(e)}:o},"81e9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,t,r,n){var a="";switch(r){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":a=n?"sekunnin":"sekuntia";break;case"m":return n?"minuutin":"minuutti";case"mm":a=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":a=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":a=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":a=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":a=n?"vuoden":"vuotta";break}return a=i(e,n)+" "+a,a}function i(e,n){return e<10?n?r[e]:t[e]:e}var a=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"81ea":function(e,t,r){"use strict";r.r(t),r.d(t,"to2dArray",(function(){return n})),r.d(t,"extendArray",(function(){return i})),r.d(t,"pivot",(function(){return a})),r.d(t,"arrayReduce",(function(){return o})),r.d(t,"arrayFilter",(function(){return s})),r.d(t,"arrayMap",(function(){return l})),r.d(t,"arrayEach",(function(){return u})),r.d(t,"arraySum",(function(){return c})),r.d(t,"arrayMax",(function(){return d})),r.d(t,"arrayMin",(function(){return h})),r.d(t,"arrayAvg",(function(){return p})),r.d(t,"arrayFlatten",(function(){return f})),r.d(t,"arrayUnique",(function(){return m})),r.d(t,"getDifferenceOfArrays",(function(){return g})),r.d(t,"getIntersectionOfArrays",(function(){return v})),r.d(t,"getUnionOfArrays",(function(){return b})),r.d(t,"stringToArray",(function(){return y}));r("d06e");function n(e){const t=e.length;let r=0;while(r<t)e[r]=[e[r]],r+=1}function i(e,t){const r=t.length;let n=0;while(n<r)e.push(t[n]),n+=1}function a(e){const t=[];if(!e||0===e.length||!e[0]||0===e[0].length)return t;const r=e.length,n=e[0].length;for(let i=0;i<r;i++)for(let r=0;r<n;r++)t[r]||(t[r]=[]),t[r][i]=e[i][r];return t}function o(e,t,r,n){let i=-1,a=e,o=r;Array.isArray(e)||(a=Array.from(e));const s=a.length;n&&s&&(i+=1,o=a[i]),i+=1;while(i<s)o=t(o,a[i],i,a),i+=1;return o}function s(e,t){let r=0,n=e;Array.isArray(e)||(n=Array.from(e));const i=n.length,a=[];let o=-1;while(r<i){const e=n[r];t(e,r,n)&&(o+=1,a[o]=e),r+=1}return a}function l(e,t){let r=0,n=e;Array.isArray(e)||(n=Array.from(e));const i=n.length,a=[];let o=-1;while(r<i){const e=n[r];o+=1,a[o]=t(e,r,n),r+=1}return a}function u(e,t){let r=0,n=e;Array.isArray(e)||(n=Array.from(e));const i=n.length;while(r<i){if(!1===t(n[r],r,n))break;r+=1}return e}function c(e){return o(e,(e,t)=>e+t,0)}function d(e){return o(e,(e,t)=>e>t?e:t,Array.isArray(e)?e[0]:void 0)}function h(e){return o(e,(e,t)=>e<t?e:t,Array.isArray(e)?e[0]:void 0)}function p(e){return e.length?c(e)/e.length:0}function f(e){return o(e,(e,t)=>e.concat(Array.isArray(t)?f(t):t),[])}function m(e){const t=[];return u(e,e=>{-1===t.indexOf(e)&&t.push(e)}),t}function g(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const[n,...i]=[...t];let a=n;return u(i,e=>{a=a.filter(t=>!e.includes(t))}),a}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const[n,...i]=[...t];let a=n;return u(i,e=>{a=a.filter(t=>e.includes(t))}),a}function b(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const[n,...i]=[...t],a=new Set(n);return u(i,e=>{u(e,e=>{a.has(e)||a.add(e)})}),Array.from(a)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return e.split(t)}},8230:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return n}))},8250:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},"82f0":function(e,t,r){var n=r("39f5"),i=r("8707").Buffer,a=r("6430"),o=r("3fb5"),s=r("3f62"),l=r("8c8a"),u=r("bd9d");function c(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}function d(e,t,r){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var n=new s(r),a=t.length,o=a%16;n.update(t),o&&(o=16-o,n.update(i.alloc(o,0))),n.update(i.alloc(8,0));var l=8*a,c=i.alloc(8);c.writeUIntBE(l,0,8),n.update(c),e._finID=n.state;var d=i.from(e._finID);return u(d),d}function h(e,t,r,o){a.call(this);var l=i.alloc(4,0);this._cipher=new n.AES(t);var u=this._cipher.encryptBlock(l);this._ghash=new s(u),r=d(this,r,u),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(h,a),h.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&c(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},h.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=h},8360:function(e,t,r){var n=r("41df").Reporter,i=r("41df").EncoderBuffer,a=r("41df").DecoderBuffer,o=r("da3e"),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s),u=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function c(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r["default"]=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=c;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var e=this._baseState,t={};d.forEach((function(r){t[r]=e[r]}));var r=new this.constructor(t.parent);return r._baseState=t,r},c.prototype._wrap=function(){var e=this._baseState;l.forEach((function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},c.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),o.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){var t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(o(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!==typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r})),t})))},u.forEach((function(e){c.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){c.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(r),this}})),c.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},c.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this},c.prototype.def=function(e){var t=this._baseState;return o(null===t["default"]),t["default"]=e,t.optional=!0,this},c.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},c.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},c.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},c.prototype.any=function(){var e=this._baseState;return e.any=!0,this},c.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},c.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,i=r["default"],o=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){var l=null;if(null!==r.explicit?l=r.explicit:null!==r.implicit?l=r.implicit:null!==r.tag&&(l=r.tag),null!==l||r.any){if(o=this._peekTag(e,l,r.any),e.isError(o))return o}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),o=!0}catch(f){o=!1}e.restore(u)}}if(r.obj&&o&&(n=e.enterObject()),o){if(null!==r.explicit){var c=this._decodeTag(e,r.explicit);if(e.isError(c))return c;e=c}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)u=e.save();var h=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(h))return h;r.any?i=e.raw(u):e=h}if(t&&t.track&&null!==r.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),i=r.any?i:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new a(i);i=this._getUse(r.contains,e._reporterState.obj)._decode(p,t)}}return r.obj&&o&&(i=e.leaveObject(n)),null===r.key||null===i&&!0!==o?null!==s&&e.exitKey(s):e.leaveKey(s,r.key,i),i},c.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),o(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},c.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(a){var o=e.save(),s=r.choice[a];try{var l=s._decode(e,t);if(e.isError(l))return!1;n={type:a,value:l},i=!0}catch(u){return e.restore(o),!1}return!0}),this),i?n:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},c.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n["default"]||n["default"]!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},c.prototype._encodeValue=function(e,t,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new n);var a=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i["default"])return;e=i["default"]}var o=null,s=!1;if(i.any)a=this._createEncoderBuffer(e);else if(i.choice)a=this._encodeChoice(e,t);else if(i.contains)o=this._getUse(i.contains,r)._encode(e,t),s=!0;else if(i.children)o=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!==typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i}),this).filter((function(e){return e})),o=this._createEncoderBuffer(o);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,o=this._createEncoderBuffer(e.map((function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),l))}else null!==i.use?a=this._getUse(i.use,r)._encode(e,t):(o=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,c=null===i.implicit?"universal":"context";null===u?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(a=this._encodeComposite(u,s,c,o))}return null!==i.explicit&&(a=this._encodeComposite(i.explicit,!1,"context",a)),a},c.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},c.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},c.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},"83d2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("32d8"),a=r("9688"),o=r("68d5");class s extends i.NodeImpl{constructor(e){super(),this._namespace=null,this._namespacePrefix=null,this._element=null,this._value="",this._localName=e}get ownerElement(){return this._element}get namespaceURI(){return this._namespace}get prefix(){return this._namespacePrefix}get localName(){return this._localName}get name(){return this._qualifiedName}get value(){return this._value}set value(e){a.attr_setAnExistingAttributeValue(this,e)}get _qualifiedName(){return null!==this._namespacePrefix?this._namespacePrefix+":"+this._localName:this._localName}static _create(e,t){const r=new s(t);return r._nodeDocument=e,r}}t.AttrImpl=s,o.idl_defineConst(s.prototype,"_nodeType",n.NodeType.Attribute),o.idl_defineConst(s.prototype,"specified",!0)},"83d5":function(e,t){e.exports=function(e,t){var r=e.length,n=-1;while(++n<r)e[n]^=t[n];return e}},"83e1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("605c");class i extends n.BaseCBWriter{constructor(e){super(e),this._hasChildren=[],this._additionalLevel=0}declaration(e,t,r){return""}docType(e,t,r){return""}comment(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(e)+this._sep()+"}"}text(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(e)+this._sep()+"}"}instruction(e,t){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(t?e+" "+t:e)+this._sep()+"}"}cdata(e){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(e)+this._sep()+"}"}attribute(e,t){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+e)+this._sep()+this._val(t)+this._sep()+"}"}openTagBegin(e){let t=this._comma()+this._beginLine()+"{"+this._sep()+this._key(e)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,t+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),t}openTagEnd(e,t,r){if(t){let e=this._sep()+"]";return this._additionalLevel--,e+=this._beginLine()+"}"+this._sep()+"}",e}return""}closeTag(e){let t=this._beginLine()+"]";return this._additionalLevel--,t+=this._beginLine()+"}"+this._sep()+"}",t}beginElement(e){}endElement(e){this._hasChildren.pop()}_beginLine(e=0){return this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+e):""}_indent(e){return e+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(e+this._additionalLevel)}_comma(){const e=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),e}_sep(){return this._writerOptions.prettyPrint?" ":""}_key(e){return'"'+e+'":'}_val(e){return'"'+e+'"'}}t.JSONCBWriter=i},"84aa":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"84d8":function(e,t,r){"use strict";var n=r("7b69"),i=r("8793"),a=r("4c54"),o=r("2471"),s=r("86d6"),l=r("80dd"),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,l=o(e,c);if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!i(r)||a(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},"852e":function(e,t,r){var n=r("5804"),i=r("36cc");function a(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r("6fbd"),ElementType:r("4d1e"),DomHandler:i,get FeedHandler(){return a("FeedHandler",r("5307"))},get Stream(){return a("Stream",r("d1e8"))},get WritableStream(){return a("WritableStream",r("8769"))},get ProxyHandler(){return a("ProxyHandler",r("bd7d"))},get DomUtils(){return a("DomUtils",r("0f94"))},get CollectingHandler(){return a("CollectingHandler",r("d1f1"))},DefaultHandler:i,get RssHandler(){return a("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new i(t);return new n(r,t).end(e),r.dom},parseFeed:function(t,r){var i=new e.exports.FeedHandler(r);return new n(i,r).end(t),i.dom},createDomStream:function(e,t,r){var a=new i(e,t,r);return new n(a,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},"85b3":function(e,t,r){var n=r("3fb5"),i=r("3768");function a(e){i.call(this,e),this.enc="pem"}n(a,i),e.exports=a,a.prototype.encode=function(e,t){for(var r=i.prototype.encode.call(this,e),n=r.toString("base64"),a=["-----BEGIN "+t.label+"-----"],o=0;o<n.length;o+=64)a.push(n.slice(o,o+64));return a.push("-----END "+t.label+"-----"),a.join("\n")}},"861dd":function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));r("7a89"),r("b879"),r("d06e");var n=r("a6de");function i(e,t,r){a(e,t),t.set(e,r)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o(e,t,r){return t=s(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=l(e,"string");return"symbol"==typeof t?t:t+""}function l(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function u(e,t){return e.get(d(e,t))}function c(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var h=new WeakMap;class p{static get DEFAULT_WIDTH(){return 50}constructor(e){o(this,"count",0),o(this,"startColumn",null),o(this,"endColumn",null),o(this,"startPosition",null),o(this,"isVisibleInTrimmingContainer",!1),i(this,h,void 0),c(h,this,e),this.calculate()}calculate(){const{calculationType:e,overrideFn:t,scrollOffset:r,totalColumns:i,viewportWidth:a}=u(h,this),o=Math.max(u(h,this).scrollOffset,0),s=o>0?a+1:a;let l=0,c=!0;const d=[];let p,f=0,m=0;for(let u=0;u<i;u++)if(p=this._getColumnWidth(u),l<=o&&e!==n["a"]&&(this.startColumn=u,f=p),l>=o&&l+(e===n["a"]?p:0)<=o+s&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=u,f=p),this.endColumn=u),d.push(l),l+=p,m=p,e!==n["a"]&&(this.endColumn=u),l>=o+a){c=!1;break}const g=r+a-s,v=e===n["a"]?0:m,b=e===n["a"]?f:0;if(g<-1*u(h,this).inlineStartOffset||r>d.at(-1)+v||-1*u(h,this).scrollOffset-u(h,this).viewportWidth>-1*b?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,this.endColumn===i-1&&c){this.startColumn=this.endColumn;while(this.startColumn>0){const t=d[this.endColumn]+p-d[this.startColumn-1];if((t<=a||e!==n["a"])&&(this.startColumn-=1),t>a)break}}e===n["c"]&&null!==this.startColumn&&t&&t(this),this.startPosition=d[this.startColumn],void 0===this.startPosition&&(this.startPosition=null),i<this.endColumn&&(this.endColumn=i-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}_getColumnWidth(e){let t=u(h,this).columnWidthFn(e);return isNaN(t)&&(t=p.DEFAULT_WIDTH),t}}},"861e":function(e,t,r){"use strict";e.exports={}},8689:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},r={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},n=e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return n}))},"86d6":function(e,t,r){"use strict";var n=r("7b69"),i=r("73fa"),a=r("8793"),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!a(s=n(r,e)))return s;if(i(r=e.valueOf)&&!a(s=n(r,e)))return s;if("string"!==t&&i(r=e.toString)&&!a(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},"86da":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("88a4");class i{constructor(e,t){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=e,this._index=0,this._length=e.length,t&&(this._options.skipWhitespaceOnlyText=t.skipWhitespaceOnlyText||!1)}nextToken(){if(this.eof())return{type:n.TokenType.EOF};let e=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&e.type===n.TokenType.Text&&i.isWhiteSpaceToken(e)&&(e=this.nextToken()),e}openBracket(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?i.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()}declaration(){let e="",t="",r="";while(!this.eof()){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:n.TokenType.Declaration,version:e,encoding:t,standalone:r};{const[n,i]=this.attribute();"version"===n?e=i:"encoding"===n?t=i:"standalone"===n?r=i:this.throwError("Invalid attribute name: "+n)}}this.throwError("Missing declaration end symbol `?>`")}doctype(){let e="",t="";this.skipSpace();const r=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(e=this.quotedString(),t=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(t=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:n.TokenType.DocType,name:r,pubId:e,sysId:t}}pi(){const e=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:n.TokenType.PI,target:e,data:""};const t=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:n.TokenType.PI,target:e,data:t}}text(){const e=this.takeUntil("<");return{type:n.TokenType.Text,data:e}}comment(){const e=this.takeUntilStartsWith("--\x3e");return this.eof()&&this.throwError("Missing comment end symbol `--\x3e`"),this.seek(3),{type:n.TokenType.Comment,data:e}}cdata(){const e=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:n.TokenType.CDATA,data:e}}openTag(){this.skipSpace();const e=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:n.TokenType.Element,name:e,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:n.TokenType.Element,name:e,attributes:[],selfClosing:!0};const t=[];while(!this.eof()){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:n.TokenType.Element,name:e,attributes:t,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:n.TokenType.Element,name:e,attributes:t,selfClosing:!0};const r=this.attribute();t.push(r)}this.throwError("Missing opening element tag end symbol `>`")}closeTag(){this.skipSpace();const e=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:n.TokenType.ClosingTag,name:e}}attribute(){this.skipSpace();const e=this.takeUntil("=",!0);this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value");const t=this.quotedString();return[e,t]}quotedString(){this.skipSpace();const e=this.take(1);i.isQuote(e)||this.throwError("Missing start quote character before quoted value");const t=this.takeUntil(e);return this.skipIfStartsWith(e)||this.throwError("Missing end quote character after quoted value"),t}eof(){return this._index>=this._length}skipIfStartsWith(e){const t=e.length;if(1===t)return this._str[this._index]===e&&(this._index++,!0);for(let r=0;r<t;r++)if(this._str[this._index+r]!==e[r])return!1;return this._index+=t,!0}seek(e){this._index+=e,this._index<0&&(this._index=0),this._index>this._length&&(this._index=this._length)}skipSpace(){while(!this.eof()&&i.isSpace(this._str[this._index]))this._index++}take(e){if(1===e)return this._str[this._index++];const t=this._index;return this.seek(e),this._str.slice(t,this._index)}takeUntil(e,t=!1){const r=this._index;while(this._index<this._length){const r=this._str[this._index];if(r===e||t&&i.isSpace(r))break;this._index++}return this._str.slice(r,this._index)}takeUntil2(e,t,r=!1){const n=this._index;while(this._index<this._length){const n=this._str[this._index];if(n===e||n===t||r&&i.isSpace(n))break;this._index++}return this._str.slice(n,this._index)}takeUntilStartsWith(e,t=!1){const r=this._index,n=e.length;while(this._index<this._length){let a=!0;for(let o=0;o<n;o++){const n=this._str[this._index+o],s=e[o];if(t&&i.isSpace(n))return this._str.slice(r,this._index);if(n!==s){this._index++,a=!1;break}}if(a)return this._str.slice(r,this._index)}return this._index=this._length,this._str.slice(r)}skipUntil(e){while(this._index<this._length){const t=this._str[this._index];if(t===e)break;this._index++}}static isWhiteSpaceToken(e){const t=e.data;for(let r=0;r<t.length;r++){const e=t[r];if(" "!==e&&"\n"!==e&&"\r"!==e&&"\t"!==e&&"\f"!==e)return!1}return!0}static isSpace(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}static isQuote(e){return'"'===e||"'"===e}throwError(e){const t=/\r\n|\r|\n/g;let r=null,n=0,i=0,a=this._str.length;while(null!==(r=t.exec(this._str))){if(null===r)break;if(n++,r.index<this._index&&(i=t.lastIndex),r.index>this._index){a=r.index;break}}throw this.err={line:n,col:this._index-i,index:this._index,str:this._str.substring(i,a)},new Error(e+"\nIndex: "+this.err.index+"\nLn: "+this.err.line+", Col: "+this.err.col+"\nInput: "+this.err.str)}[Symbol.iterator](){return this._index=0,{next:function(){const e=this.nextToken();return e.type===n.TokenType.EOF?{done:!0,value:null}:{done:!1,value:e}}.bind(this)}}}t.XMLStringLexer=i},8707:function(e,t,r){
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
- var n=r("b639"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},"8722d":function(e,t,r){var n;!function(t){e.exports=t()}((function(){return function e(t,r,i){function a(s,l){if(!r[s]){if(!t[s]){var u="function"==typeof n&&n;if(!l&&u)return n(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=r[s]={exports:{}};t[s][0].call(d.exports,(function(e){return a(t[s][1][e]||e)}),d,d.exports,e,t,r,i)}return r[s].exports}for(var o="function"==typeof n&&n,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(e,t,r){!function(e){"use strict";var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,a=Math.floor,o="[BigNumber Error] ",s=o+"Number primitive has more than 15 significant digits: ",l=1e14,u=14,c=9007199254740991,d=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],h=1e7,p=1e9;function f(e){var t=0|e;return 0<e||e===t?t:t-1}function m(e){for(var t,r,n=1,i=e.length,a=e[0]+"";n<i;){for(t=e[n++]+"",r=u-t.length;r--;t="0"+t);a+=t}for(i=a.length;48===a.charCodeAt(--i););return a.slice(0,i+1||1)}function g(e,t){var r,n,i=e.c,a=t.c,o=e.s,s=t.s,l=e.e,u=t.e;if(!o||!s)return null;if(r=i&&!i[0],n=a&&!a[0],r||n)return r?n?0:-s:o;if(o!=s)return o;if(r=o<0,n=l==u,!i||!a)return n?0:!i^r?1:-1;if(!n)return u<l^r?1:-1;for(s=(l=i.length)<(u=a.length)?l:u,o=0;o<s;o++)if(i[o]!=a[o])return i[o]>a[o]^r?1:-1;return l==u?0:u<l^r?1:-1}function v(e,t,r,n){if(e<t||r<e||e!==(e<0?i(e):a(e)))throw Error(o+(n||"Argument")+("number"==typeof e?e<t||r<e?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function b(e){var t=e.c.length-1;return f(e.e/u)==t&&e.c[t]%2!=0}function y(e,t){return(1<e.length?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function w(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(++t>(n=e.length)){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}(r=function e(t){var r,_,S,E,M,T,C,x,A,N,O=Y.prototype={constructor:Y,toString:null,valueOf:null},R=new Y(1),L=20,k=4,I=-7,D=21,P=-1e7,j=1e7,F=!1,H=1,B=0,U={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},V="0123456789abcdefghijklmnopqrstuvwxyz";function Y(e,t){var r,i,o,l,d,h,p,f,m=this;if(!(m instanceof Y))return new Y(e,t);if(null==t){if(e instanceof Y)return m.s=e.s,m.e=e.e,void(m.c=(e=e.c)?e.slice():e);if((h="number"==typeof e)&&0*e==0){if(m.s=1/e<0?(e=-e,-1):1,e===~~e){for(l=0,d=e;10<=d;d/=10,l++);return m.e=l,void(m.c=[e])}f=String(e)}else{if(f=String(e),!n.test(f))return S(m,f,h);m.s=45==f.charCodeAt(0)?(f=f.slice(1),-1):1}-1<(l=f.indexOf("."))&&(f=f.replace(".","")),0<(d=f.search(/e/i))?(l<0&&(l=d),l+=+f.slice(d+1),f=f.substring(0,d)):l<0&&(l=f.length)}else{if(v(t,2,V.length,"Base"),f=String(e),10==t)return G(m=new Y(e instanceof Y?e:f),L+m.e+1,k);if(h="number"==typeof e){if(0*e!=0)return S(m,f,h,t);if(m.s=1/e<0?(f=f.slice(1),-1):1,Y.DEBUG&&15<f.replace(/^0\.0*|\./,"").length)throw Error(s+e);h=!1}else m.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1;for(r=V.slice(0,t),l=d=0,p=f.length;d<p;d++)if(r.indexOf(i=f.charAt(d))<0){if("."==i){if(l<d){l=p;continue}}else if(!o&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){o=!0,d=-1,l=0;continue}return S(m,String(e),h,t)}-1<(l=(f=_(f,t,10,m.s)).indexOf("."))?f=f.replace(".",""):l=f.length}for(d=0;48===f.charCodeAt(d);d++);for(p=f.length;48===f.charCodeAt(--p););if(f=f.slice(d,++p)){if(p-=d,h&&Y.DEBUG&&15<p&&(c<e||e!==a(e)))throw Error(s+m.s*e);if(j<(l=l-d-1))m.c=m.e=null;else if(l<P)m.c=[m.e=0];else{if(m.e=l,m.c=[],d=(l+1)%u,l<0&&(d+=u),d<p){for(d&&m.c.push(+f.slice(0,d)),p-=u;d<p;)m.c.push(+f.slice(d,d+=u));f=f.slice(d),d=u-f.length}else d-=p;for(;d--;f+="0");m.c.push(+f)}}else m.c=[m.e=0]}function z(e,t,r,n){var i,a,o,s,l;if(null==r?r=k:v(r,0,8),!e.c)return e.toString();if(i=e.c[0],o=e.e,null==t)l=m(e.c),l=1==n||2==n&&(o<=I||D<=o)?y(l,o):w(l,o,"0");else if(a=(e=G(new Y(e),t,r)).e,s=(l=m(e.c)).length,1==n||2==n&&(t<=a||a<=I)){for(;s<t;l+="0",s++);l=y(l,a)}else if(t-=o,l=w(l,a,"0"),s<a+1){if(0<--t)for(l+=".";t--;l+="0");}else if(0<(t+=a-s))for(a+1==s&&(l+=".");t--;l+="0");return e.s<0&&i?"-"+l:l}function W(e,t){for(var r,n=1,i=new Y(e[0]);n<e.length;n++){if(!(r=new Y(e[n])).s){i=r;break}t.call(i,r)&&(i=r)}return i}function q(e,t,r){for(var n=1,i=t.length;!t[--i];t.pop());for(i=t[0];10<=i;i/=10,n++);return(r=n+r*u-1)>j?e.c=e.e=null:e.c=r<P?[e.e=0]:(e.e=r,t),e}function G(e,t,r,n){var o,s,c,h,p,f,m,g=e.c,v=d;if(g){e:{for(o=1,h=g[0];10<=h;h/=10,o++);if((s=t-o)<0)s+=u,c=t,m=(p=g[f=0])/v[o-c-1]%10|0;else if((f=i((s+1)/u))>=g.length){if(!n)break e;for(;g.length<=f;g.push(0));p=m=0,c=(s%=u)-u+(o=1)}else{for(p=h=g[f],o=1;10<=h;h/=10,o++);m=(c=(s%=u)-u+o)<0?0:p/v[o-c-1]%10|0}if(n=n||t<0||null!=g[f+1]||(c<0?p:p%v[o-c-1]),n=r<4?(m||n)&&(0==r||r==(e.s<0?3:2)):5<m||5==m&&(4==r||n||6==r&&(0<s?0<c?p/v[o-c]:0:g[f-1])%10&1||r==(e.s<0?8:7)),t<1||!g[0])return g.length=0,n?(t-=e.e+1,g[0]=v[(u-t%u)%u],e.e=-t||0):g[0]=e.e=0,e;if(0==s?(g.length=f,h=1,f--):(g.length=f+1,h=v[u-s],g[f]=0<c?a(p/v[o-c]%v[c])*h:0),n)for(;;){if(0==f){for(s=1,c=g[0];10<=c;c/=10,s++);for(c=g[0]+=h,h=1;10<=c;c/=10,h++);s!=h&&(e.e++,g[0]==l&&(g[0]=1));break}if(g[f]+=h,g[f]!=l)break;g[f--]=0,h=1}for(s=g.length;0===g[--s];g.pop());}e.e>j?e.c=e.e=null:e.e<P&&(e.c=[e.e=0])}return e}function K(e){var t,r=e.e;return null===r?e.toString():(t=m(e.c),t=r<=I||D<=r?y(t,r):w(t,r,"0"),e.s<0?"-"+t:t)}return Y.clone=e,Y.ROUND_UP=0,Y.ROUND_DOWN=1,Y.ROUND_CEIL=2,Y.ROUND_FLOOR=3,Y.ROUND_HALF_UP=4,Y.ROUND_HALF_DOWN=5,Y.ROUND_HALF_EVEN=6,Y.ROUND_HALF_CEIL=7,Y.ROUND_HALF_FLOOR=8,Y.EUCLID=9,Y.config=Y.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(o+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(v(r=e[t],0,p,t),L=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(v(r=e[t],0,8,t),k=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(v(r[0],-p,0,t),v(r[1],0,p,t),I=r[0],D=r[1]):(v(r,-p,p,t),I=-(D=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)v(r[0],-p,-1,t),v(r[1],1,p,t),P=r[0],j=r[1];else{if(v(r,-p,p,t),!r)throw Error(o+t+" cannot be zero: "+r);P=-(j=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if((r=e[t])!==!!r)throw Error(o+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw F=!r,Error(o+"crypto unavailable");F=r}else F=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(v(r=e[t],0,9,t),H=r),e.hasOwnProperty(t="POW_PRECISION")&&(v(r=e[t],0,p,t),B=r),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(r=e[t]))throw Error(o+t+" not an object: "+r);U=r}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.$|[+-.\s]|(.).*\1/.test(r))throw Error(o+t+" invalid: "+r);V=r}}return{DECIMAL_PLACES:L,ROUNDING_MODE:k,EXPONENTIAL_AT:[I,D],RANGE:[P,j],CRYPTO:F,MODULO_MODE:H,POW_PRECISION:B,FORMAT:U,ALPHABET:V}},Y.isBigNumber=function(e){return e instanceof Y||e&&!0===e._isBigNumber||!1},Y.maximum=Y.max=function(){return W(arguments,O.lt)},Y.minimum=Y.min=function(){return W(arguments,O.gt)},Y.random=(E=9007199254740992,M=Math.random()*E&2097151?function(){return a(Math.random()*E)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,n,s,l,c=0,h=[],f=new Y(R);if(null==e?e=L:v(e,0,p),s=i(e/u),F)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(s*=2));c<s;)9e15<=(l=131072*t[c]+(t[c+1]>>>11))?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(h.push(l%1e14),c+=2);c=s/2}else{if(!crypto.randomBytes)throw F=!1,Error(o+"crypto unavailable");for(t=crypto.randomBytes(s*=7);c<s;)9e15<=(l=281474976710656*(31&t[c])+1099511627776*t[c+1]+4294967296*t[c+2]+16777216*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])?crypto.randomBytes(7).copy(t,c):(h.push(l%1e14),c+=7);c=s/7}if(!F)for(;c<s;)(l=M())<9e15&&(h[c++]=l%1e14);for(s=h[--c],e%=u,s&&e&&(l=d[u-e],h[c]=a(s/l)*l);0===h[c];h.pop(),c--);if(c<0)h=[n=0];else{for(n=-1;0===h[0];h.splice(0,1),n-=u);for(c=1,l=h[0];10<=l;l/=10,c++);c<u&&(n-=u-c)}return f.e=n,f.c=h,f}),Y.sum=function(){for(var e=1,t=arguments,r=new Y(t[0]);e<t.length;)r=r.plus(t[e++]);return r},_=function(){var e="0123456789";function t(e,t,r,n){for(var i,a,o=[0],s=0,l=e.length;s<l;){for(a=o.length;a--;o[a]*=t);for(o[0]+=n.indexOf(e.charAt(s++)),i=0;i<o.length;i++)o[i]>r-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/r|0,o[i]%=r)}return o.reverse()}return function(n,i,a,o,s){var l,u,c,d,h,p,f,g,v=n.indexOf("."),b=L,y=k;for(0<=v&&(d=B,B=0,n=n.replace(".",""),p=(g=new Y(i)).pow(n.length-v),B=d,g.c=t(w(m(p.c),p.e,"0"),10,a,e),g.e=g.c.length),c=d=(f=t(n,i,a,s?(l=V,e):(l=e,V))).length;0==f[--d];f.pop());if(!f[0])return l.charAt(0);if(v<0?--c:(p.c=f,p.e=c,p.s=o,f=(p=r(p,g,b,y,a)).c,h=p.r,c=p.e),v=f[u=c+b+1],d=a/2,h=h||u<0||null!=f[u+1],h=y<4?(null!=v||h)&&(0==y||y==(p.s<0?3:2)):d<v||v==d&&(4==y||h||6==y&&1&f[u-1]||y==(p.s<0?8:7)),u<1||!f[0])n=h?w(l.charAt(1),-b,l.charAt(0)):l.charAt(0);else{if(f.length=u,h)for(--a;++f[--u]>a;)f[u]=0,u||(++c,f=[1].concat(f));for(d=f.length;!f[--d];);for(v=0,n="";v<=d;n+=l.charAt(f[v++]));n=w(n,c,l.charAt(0))}return n}}(),r=function(){function e(e,t,r){var n,i,a,o,s=0,l=e.length,u=t%h,c=t/h|0;for(e=e.slice();l--;)s=((i=u*(a=e[l]%h)+(n=c*a+(o=e[l]/h|0)*u)%h*h+s)/r|0)+(n/h|0)+c*o,e[l]=i%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var i,a;if(r!=n)a=n<r?1:-1;else for(i=a=0;i<r;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=e[r]<t[r]?1:0,e[r]=i*n+e[r]-t[r];for(;!e[0]&&1<e.length;e.splice(0,1));}return function(n,i,o,s,c){var d,h,p,m,g,v,b,y,w,_,S,E,M,T,C,x,A,N=n.s==i.s?1:-1,O=n.c,R=i.c;if(!(O&&O[0]&&R&&R[0]))return new Y(n.s&&i.s&&(O?!R||O[0]!=R[0]:R)?O&&0==O[0]||!R?0*N:N/0:NaN);for(w=(y=new Y(N)).c=[],N=o+(h=n.e-i.e)+1,c||(c=l,h=f(n.e/u)-f(i.e/u),N=N/u|0),p=0;R[p]==(O[p]||0);p++);if(R[p]>(O[p]||0)&&h--,N<0)w.push(1),m=!0;else{for(T=O.length,x=R.length,N+=2,1<(g=a(c/(R[p=0]+1)))&&(R=e(R,g,c),O=e(O,g,c),x=R.length,T=O.length),M=x,S=(_=O.slice(0,x)).length;S<x;_[S++]=0);A=R.slice(),A=[0].concat(A),C=R[0],R[1]>=c/2&&C++;do{if(g=0,(d=t(R,_,x,S))<0){if(E=_[0],x!=S&&(E=E*c+(_[1]||0)),1<(g=a(E/C)))for(c<=g&&(g=c-1),b=(v=e(R,g,c)).length,S=_.length;1==t(v,_,b,S);)g--,r(v,x<b?A:R,b,c),b=v.length,d=1;else 0==g&&(d=g=1),b=(v=R.slice()).length;if(b<S&&(v=[0].concat(v)),r(_,v,S,c),S=_.length,-1==d)for(;t(R,_,x,S)<1;)g++,r(_,x<S?A:R,S,c),S=_.length}else 0===d&&(g++,_=[0]);w[p++]=g,_[0]?_[S++]=O[M]||0:(_=[O[M]],S=1)}while((M++<T||null!=_[0])&&N--);m=null!=_[0],w[0]||w.splice(0,1)}if(c==l){for(p=1,N=w[0];10<=N;N/=10,p++);G(y,o+(y.e=p+h*u-1)+1,s,m)}else y.e=h,y.r=+m;return y}}(),T=/^(-?)0([xbo])(?=\w[\w.]*$)/i,C=/^([^.]+)\.$/,x=/^\.([^.]+)$/,A=/^-?(Infinity|NaN)$/,N=/^\s*\+(?=[\w.])|^\s+|\s+$/g,S=function(e,t,r,n){var i,a=r?t:t.replace(N,"");if(A.test(a))e.s=isNaN(a)?null:a<0?-1:1,e.c=e.e=null;else{if(!r&&(a=a.replace(T,(function(e,t,r){return i="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=i?e:t})),n&&(i=n,a=a.replace(C,"$1").replace(x,"0.$1")),t!=a))return new Y(a,i);if(Y.DEBUG)throw Error(o+"Not a"+(n?" base "+n:"")+" number: "+t);e.c=e.e=e.s=null}},O.absoluteValue=O.abs=function(){var e=new Y(this);return e.s<0&&(e.s=1),e},O.comparedTo=function(e,t){return g(this,new Y(e,t))},O.decimalPlaces=O.dp=function(e,t){var r,n,i;if(null!=e)return v(e,0,p),null==t?t=k:v(t,0,8),G(new Y(this),e+this.e+1,t);if(!(r=this.c))return null;if(n=((i=r.length-1)-f(this.e/u))*u,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},O.dividedBy=O.div=function(e,t){return r(this,new Y(e,t),L,k)},O.dividedToIntegerBy=O.idiv=function(e,t){return r(this,new Y(e,t),0,1)},O.exponentiatedBy=O.pow=function(e,t){var r,n,s,l,c,d,h,p,f=this;if((e=new Y(e)).c&&!e.isInteger())throw Error(o+"Exponent not an integer: "+K(e));if(null!=t&&(t=new Y(t)),c=14<e.e,!f.c||!f.c[0]||1==f.c[0]&&!f.e&&1==f.c.length||!e.c||!e.c[0])return p=new Y(Math.pow(+K(f),c?2-b(e):+K(e))),t?p.mod(t):p;if(d=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new Y(NaN);(n=!d&&f.isInteger()&&t.isInteger())&&(f=f.mod(t))}else{if(9<e.e&&(0<f.e||f.e<-1||(0==f.e?1<f.c[0]||c&&24e7<=f.c[1]:f.c[0]<8e13||c&&f.c[0]<=9999975e7)))return l=f.s<0&&b(e)?-0:0,-1<f.e&&(l=1/l),new Y(d?1/l:l);B&&(l=i(B/u+2))}for(h=c?(r=new Y(.5),d&&(e.s=1),b(e)):(s=Math.abs(+K(e)))%2,p=new Y(R);;){if(h){if(!(p=p.times(f)).c)break;l?p.c.length>l&&(p.c.length=l):n&&(p=p.mod(t))}if(s){if(0===(s=a(s/2)))break;h=s%2}else if(G(e=e.times(r),e.e+1,1),14<e.e)h=b(e);else{if(0==(s=+K(e)))break;h=s%2}f=f.times(f),l?f.c&&f.c.length>l&&(f.c.length=l):n&&(f=f.mod(t))}return n?p:(d&&(p=R.div(p)),t?p.mod(t):l?G(p,B,k,void 0):p)},O.integerValue=function(e){var t=new Y(this);return null==e?e=k:v(e,0,8),G(t,t.e+1,e)},O.isEqualTo=O.eq=function(e,t){return 0===g(this,new Y(e,t))},O.isFinite=function(){return!!this.c},O.isGreaterThan=O.gt=function(e,t){return 0<g(this,new Y(e,t))},O.isGreaterThanOrEqualTo=O.gte=function(e,t){return 1===(t=g(this,new Y(e,t)))||0===t},O.isInteger=function(){return!!this.c&&f(this.e/u)>this.c.length-2},O.isLessThan=O.lt=function(e,t){return g(this,new Y(e,t))<0},O.isLessThanOrEqualTo=O.lte=function(e,t){return-1===(t=g(this,new Y(e,t)))||0===t},O.isNaN=function(){return!this.s},O.isNegative=function(){return this.s<0},O.isPositive=function(){return 0<this.s},O.isZero=function(){return!!this.c&&0==this.c[0]},O.minus=function(e,t){var r,n,i,a,o=this,s=o.s;if(t=(e=new Y(e,t)).s,!s||!t)return new Y(NaN);if(s!=t)return e.s=-t,o.plus(e);var c=o.e/u,d=e.e/u,h=o.c,p=e.c;if(!c||!d){if(!h||!p)return h?(e.s=-t,e):new Y(p?o:NaN);if(!h[0]||!p[0])return p[0]?(e.s=-t,e):new Y(h[0]?o:3==k?-0:0)}if(c=f(c),d=f(d),h=h.slice(),s=c-d){for((i=(a=s<0)?(s=-s,h):(d=c,p)).reverse(),t=s;t--;i.push(0));i.reverse()}else for(n=(a=(s=h.length)<(t=p.length))?s:t,s=t=0;t<n;t++)if(h[t]!=p[t]){a=h[t]<p[t];break}if(a&&(i=h,h=p,p=i,e.s=-e.s),0<(t=(n=p.length)-(r=h.length)))for(;t--;h[r++]=0);for(t=l-1;s<n;){if(h[--n]<p[n]){for(r=n;r&&!h[--r];h[r]=t);--h[r],h[n]+=l}h[n]-=p[n]}for(;0==h[0];h.splice(0,1),--d);return h[0]?q(e,h,d):(e.s=3==k?-1:1,e.c=[e.e=0],e)},O.modulo=O.mod=function(e,t){var n,i,a=this;return e=new Y(e,t),!a.c||!e.s||e.c&&!e.c[0]?new Y(NaN):!e.c||a.c&&!a.c[0]?new Y(a):(9==H?(i=e.s,e.s=1,n=r(a,e,0,3),e.s=i,n.s*=i):n=r(a,e,0,H),(e=a.minus(n.times(e))).c[0]||1!=H||(e.s=a.s),e)},O.multipliedBy=O.times=function(e,t){var r,n,i,a,o,s,c,d,p,m,g,v,b,y,w,_=this,S=_.c,E=(e=new Y(e,t)).c;if(!(S&&E&&S[0]&&E[0]))return!_.s||!e.s||S&&!S[0]&&!E||E&&!E[0]&&!S?e.c=e.e=e.s=null:(e.s*=_.s,S&&E?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=f(_.e/u)+f(e.e/u),e.s*=_.s,(c=S.length)<(m=E.length)&&(b=S,S=E,E=b,i=c,c=m,m=i),i=c+m,b=[];i--;b.push(0));for(y=l,w=h,i=m;0<=--i;){for(r=0,g=E[i]%w,v=E[i]/w|0,a=i+(o=c);i<a;)r=((d=g*(d=S[--o]%w)+(s=v*d+(p=S[o]/w|0)*g)%w*w+b[a]+r)/y|0)+(s/w|0)+v*p,b[a--]=d%y;b[a]=r}return r?++n:b.splice(0,1),q(e,b,n)},O.negated=function(){var e=new Y(this);return e.s=-e.s||null,e},O.plus=function(e,t){var r,n=this,i=n.s;if(t=(e=new Y(e,t)).s,!i||!t)return new Y(NaN);if(i!=t)return e.s=-t,n.minus(e);var a=n.e/u,o=e.e/u,s=n.c,c=e.c;if(!a||!o){if(!s||!c)return new Y(i/0);if(!s[0]||!c[0])return c[0]?e:new Y(s[0]?n:0*i)}if(a=f(a),o=f(o),s=s.slice(),i=a-o){for((r=0<i?(o=a,c):(i=-i,s)).reverse();i--;r.push(0));r.reverse()}for((i=s.length)-(t=c.length)<0&&(r=c,c=s,s=r,t=i),i=0;t;)i=(s[--t]=s[t]+c[t]+i)/l|0,s[t]=l===s[t]?0:s[t]%l;return i&&(s=[i].concat(s),++o),q(e,s,o)},O.precision=O.sd=function(e,t){var r,n,i;if(null!=e&&e!==!!e)return v(e,1,p),null==t?t=k:v(t,0,8),G(new Y(this),e,t);if(!(r=this.c))return null;if(n=(i=r.length-1)*u+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];10<=i;i/=10,n++);}return e&&this.e+1>n&&(n=this.e+1),n},O.shiftedBy=function(e){return v(e,-c,c),this.times("1e"+e)},O.squareRoot=O.sqrt=function(){var e,t,n,i,a,o=this,s=o.c,l=o.s,u=o.e,c=L+4,d=new Y("0.5");if(1!==l||!s||!s[0])return new Y(!l||l<0&&(!s||s[0])?NaN:s?o:1/0);if((n=0==(l=Math.sqrt(+K(o)))||l==1/0?(((t=m(s)).length+u)%2==0&&(t+="0"),l=Math.sqrt(+t),u=f((u+1)/2)-(u<0||u%2),new Y(t=l==1/0?"1e"+u:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+u)):new Y(l+"")).c[0])for((l=(u=n.e)+c)<3&&(l=0);;)if(a=n,n=d.times(a.plus(r(o,a,c,1))),m(a.c).slice(0,l)===(t=m(n.c)).slice(0,l)){if(n.e<u&&--l,"9999"!=(t=t.slice(l-3,l+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(G(n,n.e+L+2,1),e=!n.times(n).eq(o));break}if(!i&&(G(a,a.e+L+2,0),a.times(a).eq(o))){n=a;break}c+=4,l+=4,i=1}return G(n,n.e+L+1,k,e)},O.toExponential=function(e,t){return null!=e&&(v(e,0,p),e++),z(this,e,t,1)},O.toFixed=function(e,t){return null!=e&&(v(e,0,p),e=e+this.e+1),z(this,e,t)},O.toFormat=function(e,t,r){var n;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=U;else if("object"!=typeof r)throw Error(o+"Argument not an object: "+r);if(n=this.toFixed(e,t),this.c){var i,a=n.split("."),s=+r.groupSize,l=+r.secondaryGroupSize,u=r.groupSeparator||"",c=a[0],d=a[1],h=this.s<0,p=h?c.slice(1):c,f=p.length;if(l&&(i=s,s=l,f-=l=i),0<s&&0<f){for(i=f%s||s,c=p.substr(0,i);i<f;i+=s)c+=u+p.substr(i,s);0<l&&(c+=u+p.slice(i)),h&&(c="-"+c)}n=d?c+(r.decimalSeparator||"")+((l=+r.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):c}return(r.prefix||"")+n+(r.suffix||"")},O.toFraction=function(e){var t,n,i,a,s,l,c,h,p,f,g,v,b=this,y=b.c;if(null!=e&&(!(c=new Y(e)).isInteger()&&(c.c||1!==c.s)||c.lt(R)))throw Error(o+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+K(c));if(!y)return new Y(b);for(t=new Y(R),p=n=new Y(R),i=h=new Y(R),v=m(y),s=t.e=v.length-b.e-1,t.c[0]=d[(l=s%u)<0?u+l:l],e=!e||0<c.comparedTo(t)?0<s?t:p:c,l=j,j=1/0,c=new Y(v),h.c[0]=0;f=r(c,t,0,1),1!=(a=n.plus(f.times(i))).comparedTo(e);)n=i,i=a,p=h.plus(f.times(a=p)),h=a,t=c.minus(f.times(a=t)),c=a;return a=r(e.minus(n),i,0,1),h=h.plus(a.times(p)),n=n.plus(a.times(i)),h.s=p.s=b.s,g=r(p,i,s*=2,k).minus(b).abs().comparedTo(r(h,n,s,k).minus(b).abs())<1?[p,i]:[h,n],j=l,g},O.toNumber=function(){return+K(this)},O.toPrecision=function(e,t){return null!=e&&v(e,1,p),z(this,e,t,2)},O.toString=function(e){var t,r=this,n=r.s,i=r.e;return null===i?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(t=null==e?i<=I||D<=i?y(m(r.c),i):w(m(r.c),i,"0"):10===e?w(m((r=G(new Y(r),L+i+1,k)).c),r.e,"0"):(v(e,2,V.length,"Base"),_(w(m(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},O.valueOf=O.toJSON=function(){return K(this)},O._isBigNumber=!0,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator&&(O[Symbol.toStringTag]="BigNumber",O[Symbol.for("nodejs.util.inspect.custom")]=O.valueOf),null!=t&&Y.set(t),Y}()).default=r.BigNumber=r,void 0!==t&&t.exports?t.exports=r:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=r)}(this)},{}],2:[function(e,t,r){"use strict";t.exports={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}},{}],3:[function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=e("./globalState"),a=e("./validating"),o=e("./parsing"),s=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],l={general:{scale:1024,suffixes:s,marker:"bd"},binary:{scale:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],marker:"b"},decimal:{scale:1e3,suffixes:s,marker:"d"}},u={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1};function c(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length?arguments[2]:void 0;if("string"==typeof t&&(t=o.parseFormat(t)),!a.validateFormat(t))return"ERROR: invalid format";var n=t.prefix||"",s=t.postfix||"",c=function(e,t,r){switch(t.output){case"currency":return t=m(t,i.currentCurrencyDefaultFormat()),function(e,t,r){var n=r.currentCurrency(),i=Object.assign({},u,t),a=void 0,o="",s=!!i.totalLength||!!i.forceAverage||i.average,l=t.currencyPosition||n.position,c=t.currencySymbol||n.symbol;i.spaceSeparated&&(o=" "),"infix"===l&&(a=o+c+o);var d=f({instance:e,providedFormat:t,state:r,decimalSeparator:a});return"prefix"===l&&(d=e._value<0&&"sign"===i.negative?"-".concat(o).concat(c).concat(d.slice(1)):c+o+d),l&&"postfix"!==l||(d=d+(o=s?"":o)+c),d}(e,t,i);case"percent":return t=m(t,i.currentPercentageDefaultFormat()),function(e,t,r,n){var i=t.prefixSymbol,a=f({instance:n(100*e._value),providedFormat:t,state:r}),o=Object.assign({},u,t);return i?"%".concat(o.spaceSeparated?" ":"").concat(a):"".concat(a).concat(o.spaceSeparated?" ":"","%")}(e,t,i,r);case"byte":return t=m(t,i.currentByteDefaultFormat()),w=e,S=i,E=r,M=(_=t).base||"binary",T=l[M],C=d(w._value,T.suffixes,T.scale),x=C.value,A=C.suffix,N=f({instance:E(x),providedFormat:_,state:S,defaults:S.currentByteDefaultFormat()}),O=S.currentAbbreviations(),"".concat(N).concat(O.spaced?" ":"").concat(A);case"time":return t=m(t,i.currentTimeDefaultFormat()),g=e,v=Math.floor(g._value/60/60),b=Math.floor((g._value-60*v*60)/60),y=Math.round(g._value-60*v*60-60*b),"".concat(v,":").concat(b<10?"0":"").concat(b,":").concat(y<10?"0":"").concat(y);case"ordinal":return t=m(t,i.currentOrdinalDefaultFormat()),n=e,a=t,s=(o=i).currentOrdinal(),c=Object.assign({},u,a),h=f({instance:n,providedFormat:a,state:o}),p=s(n._value),"".concat(h).concat(c.spaceSeparated?" ":"").concat(p);case"number":default:return f({instance:e,providedFormat:t,numbro:r})}var n,a,o,s,c,h,p,g,v,b,y,w,_,S,E,M,T,C,x,A,N,O}(e,t,r);return(c=n+c)+s}function d(e,t,r){var n=t[0],i=Math.abs(e);if(r<=i){for(var a=1;a<t.length;++a){var o=Math.pow(r,a),s=Math.pow(r,a+1);if(o<=i&&i<s){n=t[a],e/=o;break}}n===t[0]&&(e/=Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function h(e){for(var t="",r=0;r<e;r++)t+="0";return t}function p(e,t){return-1!==e.toString().indexOf("e")?function(e,t){var r=e.toString(),i=n(r.split("e"),2),a=i[0],o=i[1],s=n(a.split("."),2),l=s[0],u=s[1],c=void 0===u?"":u;if(0<+o)r=l+c+h(o-c.length);else{var d=".";d=+l<0?"-0".concat(d):"0".concat(d);var p=(h(-o-1)+Math.abs(l)+c).substr(0,t);p.length<t&&(p+=h(t-p.length)),r=d+p}return 0<+o&&0<t&&(r+=".".concat(h(t))),r}(e,t):(Math.round(+"".concat(e,"e+").concat(t))/Math.pow(10,t)).toFixed(t)}function f(e){var t=e.instance,r=e.providedFormat,a=e.state,o=void 0===a?i:a,s=e.decimalSeparator,l=e.defaults,c=void 0===l?o.currentDefaults():l,d=t._value;if(0===d&&o.hasZeroFormat())return o.getZeroFormat();if(!isFinite(d))return d.toString();var h,f,m,g,v,b,y,w,_=Object.assign({},u,c,r),S=_.totalLength,E=S?0:_.characteristic,M=_.optionalCharacteristic,T=_.forceAverage,C=!!S||!!T||_.average,x=S?-1:C&&void 0===r.mantissa?0:_.mantissa,A=!S&&(void 0===r.optionalMantissa?-1===x:_.optionalMantissa),N=_.trimMantissa,O=_.thousandSeparated,R=_.spaceSeparated,L=_.negative,k=_.forceSign,I=_.exponential,D="";if(C){var P=function(e){var t=e.value,r=e.forceAverage,n=e.abbreviations,i=e.spaceSeparated,a=void 0!==i&&i,o=e.totalLength,s=void 0===o?0:o,l="",u=Math.abs(t),c=-1;if(u>=Math.pow(10,12)&&!r||"trillion"===r?(l=n.trillion,t/=Math.pow(10,12)):u<Math.pow(10,12)&&u>=Math.pow(10,9)&&!r||"billion"===r?(l=n.billion,t/=Math.pow(10,9)):u<Math.pow(10,9)&&u>=Math.pow(10,6)&&!r||"million"===r?(l=n.million,t/=Math.pow(10,6)):(u<Math.pow(10,6)&&u>=Math.pow(10,3)&&!r||"thousand"===r)&&(l=n.thousand,t/=Math.pow(10,3)),l&&(l=(a?" ":"")+l),s){var d=t.toString().split(".")[0];c=Math.max(s-d.length,0)}return{value:t,abbreviation:l,mantissaPrecision:c}}({value:d,forceAverage:T,abbreviations:o.currentAbbreviations(),spaceSeparated:R,totalLength:S});d=P.value,D+=P.abbreviation,S&&(x=P.mantissaPrecision)}if(I){var j=(f=(h={value:d,characteristicPrecision:E}).value,m=h.characteristicPrecision,g=void 0===m?0:m,v=n(f.toExponential().split("e"),2),b=v[0],y=v[1],w=+b,g&&1<g&&(w*=Math.pow(10,g-1),y=0<=(y=+y-(g-1))?"+".concat(y):y),{value:w,abbreviation:"e".concat(y)});d=j.value,D=j.abbreviation+D}var F,H,B,U=function(e,t,r,i,a){if(-1===i)return e;var o=p(t,i),s=n(o.toString().split("."),2),l=s[0],u=s[1],c=void 0===u?"":u;if(c.match(/^0+$/)&&(r||a))return l;var d=c.match(/0+$/);return a&&d?"".concat(l,".").concat(c.toString().slice(0,d.index)):o.toString()}(d.toString(),d,A,x,N);return U=function(e,t,r,n,i){var a=n.currentDelimiters(),o=a.thousands;i=i||a.decimal;var s=a.thousandsSize||3,l=e.toString(),u=l.split(".")[0],c=l.split(".")[1];return r&&(t<0&&(u=u.slice(1)),function(e,t){for(var r=[],n=0,i=e;0<i;i--)n===t&&(r.unshift(i),n=0),n++;return r}(u.length,s).forEach((function(e,t){u=u.slice(0,e+t)+o+u.slice(e+t)})),t<0&&(u="-".concat(u))),c?u+i+c:u}(U=function(e,t,r,i){var a=e,o=n(a.toString().split("."),2),s=o[0],l=o[1];if(s.match(/^-?0$/)&&r)return l?"".concat(s.replace("0",""),".").concat(l):s.replace("0","");if(s.length<i)for(var u=i-s.length,c=0;c<u;c++)a="0".concat(a);return a.toString()}(U,0,M,E),d,O,o,s),(C||I)&&(U+=D),(k||d<0)&&(F=U,B=L,U=0===(H=d)?F:0==+F?F.replace("-",""):0<H?"+".concat(F):"sign"===B?F:"(".concat(F.replace("-",""),")")),U}function m(e,t){if(!e)return t;var r=Object.keys(e);return 1===r.length&&"output"===r[0]?t:e}t.exports=function(e){return{format:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return c.apply(void 0,r.concat([e]))},getByteUnit:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(e){var t=l.general;return d(e._value,t.suffixes,t.scale).suffix}.apply(void 0,r.concat([e]))},getBinaryByteUnit:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(e){var t=l.binary;return d(e._value,t.suffixes,t.scale).suffix}.apply(void 0,r.concat([e]))},getDecimalByteUnit:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(e){var t=l.decimal;return d(e._value,t.suffixes,t.scale).suffix}.apply(void 0,r.concat([e]))},formatOrDefault:m}}},{"./globalState":4,"./parsing":8,"./validating":10}],4:[function(e,t,r){"use strict";var n=e("./en-US"),i=e("./validating"),a=e("./parsing"),o={},s=void 0,l={},u=null,c={};function d(e){s=e}function h(){return l[s]}o.languages=function(){return Object.assign({},l)},o.currentLanguage=function(){return s},o.currentCurrency=function(){return h().currency},o.currentAbbreviations=function(){return h().abbreviations},o.currentDelimiters=function(){return h().delimiters},o.currentOrdinal=function(){return h().ordinal},o.currentDefaults=function(){return Object.assign({},h().defaults,c)},o.currentOrdinalDefaultFormat=function(){return Object.assign({},o.currentDefaults(),h().ordinalFormat)},o.currentByteDefaultFormat=function(){return Object.assign({},o.currentDefaults(),h().byteFormat)},o.currentPercentageDefaultFormat=function(){return Object.assign({},o.currentDefaults(),h().percentageFormat)},o.currentCurrencyDefaultFormat=function(){return Object.assign({},o.currentDefaults(),h().currencyFormat)},o.currentTimeDefaultFormat=function(){return Object.assign({},o.currentDefaults(),h().timeFormat)},o.setDefaults=function(e){e=a.parseFormat(e),i.validateFormat(e)&&(c=e)},o.getZeroFormat=function(){return u},o.setZeroFormat=function(e){return u="string"==typeof e?e:null},o.hasZeroFormat=function(){return null!==u},o.languageData=function(e){if(e){if(l[e])return l[e];throw new Error('Unknown tag "'.concat(e,'"'))}return h()},o.registerLanguage=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!i.validateLanguage(e))throw new Error("Invalid language data");l[e.languageTag]=e,t&&d(e.languageTag)},o.setLanguage=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:n.languageTag;if(!l[e]){var r=e.split("-")[0],i=Object.keys(l).find((function(e){return e.split("-")[0]===r}));return l[i]?void d(i):void d(t)}d(e)},o.registerLanguage(n),s=n.languageTag,t.exports=o},{"./en-US":2,"./parsing":8,"./validating":10}],5:[function(e,t,r){"use strict";t.exports=function(t){return{loadLanguagesInNode:function(r){return n=t,void r.forEach((function(t){var r=void 0;try{r=e("../languages/".concat(t))}catch(r){console.error('Unable to load "'.concat(t,'". No matching language file found.'))}r&&n.registerLanguage(r)}));var n}}}},{}],6:[function(e,t,r){"use strict";var n=e("bignumber.js");function i(e,t,r){var i=new n(e._value),a=t;return r.isNumbro(t)&&(a=t._value),a=new n(a),e._value=i.minus(a).toNumber(),e}t.exports=function(e){return{add:function(t,r){return a=r,o=e,s=new n((i=t)._value),l=a,o.isNumbro(a)&&(l=a._value),l=new n(l),i._value=s.plus(l).toNumber(),i;var i,a,o,s,l},subtract:function(t,r){return i(t,r,e)},multiply:function(t,r){return a=r,o=e,s=new n((i=t)._value),l=a,o.isNumbro(a)&&(l=a._value),l=new n(l),i._value=s.times(l).toNumber(),i;var i,a,o,s,l},divide:function(t,r){return a=r,o=e,s=new n((i=t)._value),l=a,o.isNumbro(a)&&(l=a._value),l=new n(l),i._value=s.dividedBy(l).toNumber(),i;var i,a,o,s,l},set:function(t,r){return n=t,a=i=r,e.isNumbro(i)&&(a=i._value),n._value=a,n;var n,i,a},difference:function(t,r){return n=r,i(o=(a=e)(t._value),n,a),Math.abs(o._value);var n,a,o}}}},{"bignumber.js":1}],7:[function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=e("./globalState"),a=e("./validating"),o=e("./loading")(p),s=e("./unformatting"),l=e("./formatting")(p),u=e("./manipulating")(p),c=e("./parsing"),d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._value=t}var t,r,a;return t=e,(r=[{key:"clone",value:function(){return p(this._value)}},{key:"format",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return l.format(this,e)}},{key:"formatCurrency",value:function(e){return"string"==typeof e&&(e=c.parseFormat(e)),(e=l.formatOrDefault(e,i.currentCurrencyDefaultFormat())).output="currency",l.format(this,e)}},{key:"formatTime",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return e.output="time",l.format(this,e)}},{key:"binaryByteUnits",value:function(){return l.getBinaryByteUnit(this)}},{key:"decimalByteUnits",value:function(){return l.getDecimalByteUnit(this)}},{key:"byteUnits",value:function(){return l.getByteUnit(this)}},{key:"difference",value:function(e){return u.difference(this,e)}},{key:"add",value:function(e){return u.add(this,e)}},{key:"subtract",value:function(e){return u.subtract(this,e)}},{key:"multiply",value:function(e){return u.multiply(this,e)}},{key:"divide",value:function(e){return u.divide(this,e)}},{key:"set",value:function(e){return u.set(this,h(e))}},{key:"value",value:function(){return this._value}},{key:"valueOf",value:function(){return this._value}}])&&n(t.prototype,r),a&&n(t,a),e}();function h(e){var t=e;return p.isNumbro(e)?t=e._value:"string"==typeof e?t=p.unformat(e):isNaN(e)&&(t=NaN),t}function p(e){return new d(h(e))}p.version="2.1.2",p.isNumbro=function(e){return e instanceof d},p.language=i.currentLanguage,p.registerLanguage=i.registerLanguage,p.setLanguage=i.setLanguage,p.languages=i.languages,p.languageData=i.languageData,p.zeroFormat=i.setZeroFormat,p.defaultFormat=i.currentDefaults,p.setDefaults=i.setDefaults,p.defaultCurrencyFormat=i.currentCurrencyDefaultFormat,p.validate=a.validate,p.loadLanguagesInNode=o.loadLanguagesInNode,p.unformat=s.unformat,t.exports=p},{"./formatting":3,"./globalState":4,"./loading":5,"./manipulating":6,"./parsing":8,"./unformatting":9,"./validating":10}],8:[function(e,t,r){"use strict";t.exports={parseFormat:function(e){var t,r,n,i,a,o,s,l,u,c,d,h,p,f,m,g,v,b,y,w,_=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return"string"!=typeof e?e:(r=_,e=(n=(t=e).match(/^{([^}]*)}/))?(r.prefix=n[1],t.slice(n[0].length)):t,a=_,function(e,t){if(-1===e.indexOf("$")){if(-1===e.indexOf("%"))return-1!==e.indexOf("bd")?(t.output="byte",t.base="general"):-1!==e.indexOf("b")?(t.output="byte",t.base="binary"):-1!==e.indexOf("d")?(t.output="byte",t.base="decimal"):-1===e.indexOf(":")?-1!==e.indexOf("o")&&(t.output="ordinal"):t.output="time";t.output="percent"}else t.output="currency"}(e=(o=(i=e).match(/{([^}]*)}$/))?(a.postfix=o[1],i.slice(0,-o[0].length)):i,_),s=_,(l=e.match(/[1-9]+[0-9]*/))&&(s.totalLength=+l[0]),u=_,(c=e.split(".")[0].match(/0+/))&&(u.characteristic=c[0].length),function(e,t){if(-1!==e.indexOf(".")){var r=e.split(".")[0];t.optionalCharacteristic=-1===r.indexOf("0")}}(e,_),d=_,-1!==e.indexOf("a")&&(d.average=!0),p=_,-1!==(h=e).indexOf("K")?p.forceAverage="thousand":-1!==h.indexOf("M")?p.forceAverage="million":-1!==h.indexOf("B")?p.forceAverage="billion":-1!==h.indexOf("T")&&(p.forceAverage="trillion"),function(e,t){var r=e.split(".")[1];if(r){var n=r.match(/0+/);n&&(t.mantissa=n[0].length)}}(e,_),m=_,(f=e).match(/\[\.]/)?m.optionalMantissa=!0:f.match(/\./)&&(m.optionalMantissa=!1),g=_,-1!==e.indexOf(",")&&(g.thousandSeparated=!0),v=_,-1!==e.indexOf(" ")&&(v.spaceSeparated=!0),y=_,(b=e).match(/^\+?\([^)]*\)$/)&&(y.negative="parenthesis"),b.match(/^\+?-/)&&(y.negative="sign"),w=_,e.match(/^\+/)&&(w.forceSign=!0),_)}}},{}],9:[function(e,t,r){"use strict";var n=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function i(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function a(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",a=3<arguments.length?arguments[3]:void 0,o=4<arguments.length?arguments[4]:void 0,s=5<arguments.length?arguments[5]:void 0,l=6<arguments.length?arguments[6]:void 0;if(""!==e)return e===o?0:function e(t,r){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",o=3<arguments.length?arguments[3]:void 0,s=4<arguments.length?arguments[4]:void 0,l=5<arguments.length?arguments[5]:void 0,u=6<arguments.length?arguments[6]:void 0;if(!isNaN(+t))return+t;var c="",d=t.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(d!==t)return-1*e(d,r,a,o,s,l,u);for(var h=0;h<n.length;h++){var p=n[h];if((c=t.replace(p.key,""))!==t)return e(c,r,a,o,s,l,u)*p.factor}if((c=t.replace("%",""))!==t)return e(c,r,a,o,s,l,u)/100;var f=parseFloat(t);if(!isNaN(f)){var m=o(f);if(m&&"."!==m&&(c=t.replace(new RegExp("".concat(i(m),"$")),""))!==t)return e(c,r,a,o,s,l,u);var g={};Object.keys(l).forEach((function(e){g[l[e]]=e}));for(var v=Object.keys(g).sort().reverse(),b=v.length,y=0;y<b;y++){var w=v[y],_=g[w];if((c=t.replace(w,""))!==t){var S=void 0;switch(_){case"thousand":S=Math.pow(10,3);break;case"million":S=Math.pow(10,6);break;case"billion":S=Math.pow(10,9);break;case"trillion":S=Math.pow(10,12)}return e(c,r,a,o,s,l,u)*S}}}}(function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",n=e.replace(r,"");return(n=n.replace(new RegExp("([0-9])".concat(i(t.thousands),"([0-9])"),"g"),"$1$2")).replace(t.decimal,".")}(e,t,r),t,r,a,o,s,l)}t.exports={unformat:function(t,r){var n,i,o,s=e("./globalState"),l=s.currentDelimiters(),u=s.currentCurrency().symbol,c=s.currentOrdinal(),d=s.getZeroFormat(),h=s.currentAbbreviations(),p=void 0;if("string"==typeof t)p=function(e,t){if(!e.indexOf(":")||":"===t.thousands)return!1;var r=e.split(":");if(3!==r.length)return!1;var n=+r[0],i=+r[1],a=+r[2];return!isNaN(n)&&!isNaN(i)&&!isNaN(a)}(t,l)?(n=t.split(":"),i=+n[0],o=+n[1],+n[2]+60*o+3600*i):a(t,l,u,c,d,h,r);else{if("number"!=typeof t)return;p=t}if(void 0!==p)return p}}},{"./globalState":4}],10:[function(e,t,r){"use strict";function n(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=e("./unformatting"),o=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,s={output:{type:"string",validValues:["currency","percent","byte","time","ordinal","number"]},base:{type:"string",validValues:["decimal","binary","general"],restriction:function(e,t){return"byte"===t.output},message:"`base` must be provided only when the output is `byte`",mandatory:function(e){return"byte"===e.output}},characteristic:{type:"number",restriction:function(e){return 0<=e},message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:["trillion","billion","million","thousand"]},average:"boolean",currencyPosition:{type:"string",validValues:["prefix","infix","postfix"]},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:function(e){return 0<=e},message:"value must be positive"},{restriction:function(e,t){return!t.exponential},message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:function(e){return 0<=e},message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:["sign","parenthesis"]},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:function(e,t){return"percent"===t.output},message:"`prefixSymbol` can be provided only when the output is `percent`"}},l={languageTag:{type:"string",mandatory:!0,restriction:function(e){return e.match(o)},message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:{type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},spaceSeparated:"boolean",ordinal:{type:"function",mandatory:!0},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function u(e){return!!a.unformat(e)}function c(e,t,r){var a=3<arguments.length&&void 0!==arguments[3]&&arguments[3],o=Object.keys(e).map((function(n){if(!t[n])return console.error("".concat(r," Invalid key: ").concat(n)),!1;var a=e[n],o=t[n];if("string"==typeof o&&(o={type:o}),"format"===o.type){if(!c(a,s,"[Validate ".concat(n,"]"),!0))return!1}else if(i(a)!==o.type)return console.error("".concat(r," ").concat(n,' type mismatched: "').concat(o.type,'" expected, "').concat(i(a),'" provided')),!1;if(o.restrictions&&o.restrictions.length)for(var l=o.restrictions.length,u=0;u<l;u++){var d=o.restrictions[u],h=d.restriction,p=d.message;if(!h(a,e))return console.error("".concat(r," ").concat(n," invalid value: ").concat(p)),!1}return o.restriction&&!o.restriction(a,e)?(console.error("".concat(r," ").concat(n," invalid value: ").concat(o.message)),!1):o.validValues&&-1===o.validValues.indexOf(a)?(console.error("".concat(r," ").concat(n," invalid value: must be among ").concat(JSON.stringify(o.validValues),', "').concat(a,'" provided')),!1):!(o.children&&!c(a,o.children,"[Validate ".concat(n,"]")))}));return a||o.push.apply(o,n(Object.keys(t).map((function(n){var i=t[n];if("string"==typeof i&&(i={type:i}),i.mandatory){var a=i.mandatory;if("function"==typeof a&&(a=a(e)),a&&void 0===e[n])return console.error("".concat(r,' Missing mandatory key "').concat(n,'"')),!1}return!0})))),o.reduce((function(e,t){return e&&t}),!0)}function d(e){return c(e,s,"[Validate format]")}t.exports={validate:function(e,t){var r=u(e),n=d(t);return r&&n},validateFormat:d,validateInput:u,validateLanguage:function(e){return c(e,l,"[Validate language]")}}},{"./unformatting":9}]},{},[7])(7)}))},8769:function(e,t,r){e.exports=s;var n=r("5804"),i=r(2).Writable,a=r("aa22").StringDecoder,o=r("b639").Buffer;function s(e,t){var r=this._parser=new n(e,t),o=this._decoder=new a;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(o.end())}))}r("3fb5")(s,i),s.prototype._write=function(e,t,r){e instanceof o&&(e=this._decoder.write(e)),this._parser.write(e),r()}},8793:function(e,t,r){"use strict";var n=r("73fa");e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},"87d6":function(e,t,r){"use strict";r.d(t,"b",(function(){return c}));r("7a89"),r("d06e");var n=r("de3b");function i(e,t,r){return t=a(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){var t=o(e,"string");return"symbol"==typeof t?t:t+""}function o(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}let s=0;class l{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i(this,"context",void 0),this.context=e||this,this.context.eventListeners||(this.context.eventListeners=[])}addEventListener(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];function i(e){r.call(this,u(e))}return this.context.eventListeners.push({element:e,event:t,callback:r,callbackProxy:i,options:n,eventManager:this}),e.addEventListener(t,i,n),s+=1,()=>{this.removeEventListener(e,t,r)}}removeEventListener(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this.context.eventListeners.length;while(a)if(a-=1,n=this.context.eventListeners[a],n.event===t&&n.element===e){if(r&&r!==n.callback)continue;if(i&&n.eventManager!==this)continue;this.context.eventListeners.splice(a,1),n.element.removeEventListener(n.event,n.callbackProxy,n.options),s-=1}}clearEvents(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.context)return;let t=this.context.eventListeners.length;while(t){t-=1;const r=this.context.eventListeners[t];e&&r.eventManager!==this||(this.context.eventListeners.splice(t,1),r.element.removeEventListener(r.event,r.callbackProxy,r.options),s-=1)}}clear(){this.clearEvents()}destroy(){this.clearEvents(),this.context=null}destroyWithOwnEventsOnly(){this.clearEvents(!0),this.context=null}fireEvent(e,t){let r=e.document,n=e;r||(r=e.ownerDocument?e.ownerDocument:e,n=r.defaultView);const i={bubbles:!0,cancelable:"mousemove"!==t,view:n,detail:0,screenX:0,screenY:0,clientX:1,clientY:1,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:void 0};let a;r.createEvent?(a=r.createEvent("MouseEvents"),a.initMouseEvent(t,i.bubbles,i.cancelable,i.view,i.detail,i.screenX,i.screenY,i.clientX,i.clientY,i.ctrlKey,i.altKey,i.shiftKey,i.metaKey,i.button,i.relatedTarget||r.body.parentNode)):a=r.createEventObject(),e.dispatchEvent?e.dispatchEvent(a):e.fireEvent("on"+t,a)}}function u(e){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.apply(this),Object(n["stopImmediatePropagation"])(this)},e}function c(){return s}t["a"]=l},8828:function(e,t,r){"use strict";r.d(t,"K",(function(){return n})),r.d(t,"M",(function(){return i})),r.d(t,"x",(function(){return a})),r.d(t,"l",(function(){return o})),r.d(t,"D",(function(){return s})),r.d(t,"C",(function(){return l})),r.d(t,"g",(function(){return u})),r.d(t,"A",(function(){return c})),r.d(t,"s",(function(){return d})),r.d(t,"t",(function(){return h})),r.d(t,"h",(function(){return p})),r.d(t,"q",(function(){return f})),r.d(t,"v",(function(){return m})),r.d(t,"c",(function(){return g})),r.d(t,"F",(function(){return v})),r.d(t,"G",(function(){return b})),r.d(t,"L",(function(){return y})),r.d(t,"p",(function(){return w})),r.d(t,"n",(function(){return _})),r.d(t,"j",(function(){return S})),r.d(t,"u",(function(){return E})),r.d(t,"m",(function(){return M})),r.d(t,"B",(function(){return T})),r.d(t,"e",(function(){return C})),r.d(t,"E",(function(){return x})),r.d(t,"f",(function(){return A})),r.d(t,"k",(function(){return N})),r.d(t,"J",(function(){return O})),r.d(t,"y",(function(){return R})),r.d(t,"o",(function(){return L})),r.d(t,"d",(function(){return k})),r.d(t,"H",(function(){return I})),r.d(t,"b",(function(){return D})),r.d(t,"i",(function(){return P})),r.d(t,"a",(function(){return j})),r.d(t,"r",(function(){return F})),r.d(t,"z",(function(){return H})),r.d(t,"I",(function(){return B})),r.d(t,"w",(function(){return U}));const n=e=>["tabindex",e],i=()=>["role","treegrid"],a=()=>["role","presentation"],o=()=>["role","gridcell"],s=()=>["role","rowheader"],l=()=>["role","rowgroup"],u=()=>["role","columnheader"],c=()=>["role","row"],d=()=>["role","menu"],h=()=>["role","menuitem"],p=()=>["role","combobox"],f=()=>["role","listbox"],m=()=>["role","option"],g=()=>["role","checkbox"],v=()=>["scope","col"],b=()=>["scope","row"],y=()=>["type","text"],w=e=>["aria-label",e],_=()=>["aria-hidden","true"],S=()=>["aria-disabled","true"],E=()=>["aria-multiselectable","true"],M=e=>["aria-haspopup",e],T=e=>["aria-rowcount",e],C=e=>["aria-colcount",e],x=e=>["aria-rowindex",e],A=e=>["aria-colindex",e],N=e=>["aria-expanded",e],O=e=>["aria-sort",e],R=()=>["aria-readonly","true"],L=()=>["aria-invalid","true"],k=e=>["aria-checked",e],I=()=>["aria-selected","true"],D=()=>["aria-autocomplete","list"],P=e=>["aria-controls",e],j=e=>["aria-activedescendant",e],F=e=>["aria-live",e],H=e=>["aria-relevant",e],B=e=>["aria-setsize",e],U=e=>["aria-posinset",e]},8840:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"88a4":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["EOF"]=0]="EOF",e[e["Declaration"]=1]="Declaration",e[e["DocType"]=2]="DocType",e[e["Element"]=3]="Element",e[e["Text"]=4]="Text",e[e["CDATA"]=5]="CDATA",e[e["PI"]=6]="PI",e[e["Comment"]=7]="Comment",e[e["ClosingTag"]=8]="ClosingTag"}(t.TokenType||(t.TokenType={}))},"890f":function(e,t,r){var n,i,a;(function(r,o){i=[],n=o,a="function"===typeof n?n.apply(t,i):n,void 0===a||(e.exports=a)})("undefined"!==typeof self&&self,(function(){function e(){}e.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},e.prototype.restoreState=function(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx},e.prototype.pattern=function(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");var t=this.disjunction();this.consumeChar("/");var r={type:"Flags",global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};while(this.isRegExpFlag())switch(this.popChar()){case"g":s(r,"global");break;case"i":s(r,"ignoreCase");break;case"m":s(r,"multiLine");break;case"u":s(r,"unicode");break;case"y":s(r,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:r,value:t}},e.prototype.disjunction=function(){var e=[];e.push(this.alternative());while("|"===this.peekChar())this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e}},e.prototype.alternative=function(){var e=[];while(this.isTerm())e.push(this.term());return{type:"Alternative",value:e}},e.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},e.prototype.assertion=function(){switch(this.popChar()){case"^":return{type:"StartAnchor"};case"$":return{type:"EndAnchor"};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary"};case"B":return{type:"NonWordBoundary"}}throw Error("Invalid Assertion Escape");case"(":var e;switch(this.consumeChar("?"),this.popChar()){case"=":e="Lookahead";break;case"!":e="NegativeLookahead";break}l(e);var t=this.disjunction();return this.consumeChar(")"),{type:e,value:t}}u()},e.prototype.quantifier=function(e){var t;switch(this.popChar()){case"*":t={atLeast:0,atMost:1/0};break;case"+":t={atLeast:1,atMost:1/0};break;case"?":t={atLeast:0,atMost:1};break;case"{":var r=this.integerIncludingZero();switch(this.popChar()){case"}":t={atLeast:r,atMost:r};break;case",":var n;this.isDigit()?(n=this.integerIncludingZero(),t={atLeast:r,atMost:n}):t={atLeast:r,atMost:1/0},this.consumeChar("}");break}if(!0===e&&void 0===t)return;l(t);break}if(!0!==e||void 0!==t)return l(t),"?"===this.peekChar(0)?(this.consumeChar("?"),t.greedy=!1):t.greedy=!0,t.type="Quantifier",t},e.prototype.atom=function(){var e;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group();break}return void 0===e&&this.isPatternCharacter()&&(e=this.patternCharacter()),l(e),this.isQuantifier()&&(e.quantifier=this.quantifier()),e},e.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[a("\n"),a("\r"),a("\u2028"),a("\u2029")]}},e.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},e.prototype.decimalEscapeAtom=function(){var e=this.positiveInteger();return{type:"GroupBackReference",value:e}},e.prototype.characterClassEscape=function(){var e,t=!1;switch(this.popChar()){case"d":e=c;break;case"D":e=c,t=!0;break;case"s":e=h;break;case"S":e=h,t=!0;break;case"w":e=d;break;case"W":e=d,t=!0;break}return l(e),{type:"Set",value:e,complement:t}},e.prototype.controlEscapeAtom=function(){var e;switch(this.popChar()){case"f":e=a("\f");break;case"n":e=a("\n");break;case"r":e=a("\r");break;case"t":e=a("\t");break;case"v":e=a("\v");break}return l(e),{type:"Character",value:e}},e.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var e=this.popChar();if(!1===/[a-zA-Z]/.test(e))throw Error("Invalid ");var t=e.toUpperCase().charCodeAt(0)-64;return{type:"Character",value:t}},e.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:a("\0")}},e.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},e.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},e.prototype.identityEscapeAtom=function(){var e=this.popChar();return{type:"Character",value:a(e)}},e.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case"\n":case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:var e=this.popChar();return{type:"Character",value:a(e)}}},e.prototype.characterClass=function(){var e=[],t=!1;this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),t=!0);while(this.isClassAtom()){var r=this.classAtom(),n="Character"===r.type;if(n&&this.isRangeDash()){this.consumeChar("-");var i=this.classAtom(),s="Character"===i.type;if(s){if(i.value<r.value)throw Error("Range out of order in character class");e.push({from:r.value,to:i.value})}else o(r.value,e),e.push(a("-")),o(i.value,e)}else o(r.value,e)}return this.consumeChar("]"),{type:"Set",complement:t,value:e}},e.prototype.classAtom=function(){switch(this.peekChar()){case"]":case"\n":case"\r":case"\u2028":case"\u2029":throw Error("TBD");case"\\":return this.classEscape();default:return this.classPatternCharacterAtom()}},e.prototype.classEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"b":return this.consumeChar("b"),{type:"Character",value:a("\b")};case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},e.prototype.group=function(){var e=!0;switch(this.consumeChar("("),this.peekChar(0)){case"?":this.consumeChar("?"),this.consumeChar(":"),e=!1;break;default:this.groupIdx++;break}var t=this.disjunction();this.consumeChar(")");var r={type:"Group",capturing:e,value:t};return e&&(r.idx=this.groupIdx),r},e.prototype.positiveInteger=function(){var e=this.popChar();if(!1===i.test(e))throw Error("Expecting a positive integer");while(n.test(this.peekChar(0)))e+=this.popChar();return parseInt(e,10)},e.prototype.integerIncludingZero=function(){var e=this.popChar();if(!1===n.test(e))throw Error("Expecting an integer");while(n.test(this.peekChar(0)))e+=this.popChar();return parseInt(e,10)},e.prototype.patternCharacter=function(){var e=this.popChar();switch(e){case"\n":case"\r":case"\u2028":case"\u2029":case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":throw Error("TBD");default:return{type:"Character",value:a(e)}}},e.prototype.isRegExpFlag=function(){switch(this.peekChar(0)){case"g":case"i":case"m":case"u":case"y":return!0;default:return!1}},e.prototype.isRangeDash=function(){return"-"===this.peekChar()&&this.isClassAtom(1)},e.prototype.isDigit=function(){return n.test(this.peekChar(0))},e.prototype.isClassAtom=function(e){switch(void 0===e&&(e=0),this.peekChar(e)){case"]":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}},e.prototype.isTerm=function(){return this.isAtom()||this.isAssertion()},e.prototype.isAtom=function(){if(this.isPatternCharacter())return!0;switch(this.peekChar(0)){case".":case"\\":case"[":case"(":return!0;default:return!1}},e.prototype.isAssertion=function(){switch(this.peekChar(0)){case"^":case"$":return!0;case"\\":switch(this.peekChar(1)){case"b":case"B":return!0;default:return!1}case"(":return"?"===this.peekChar(1)&&("="===this.peekChar(2)||"!"===this.peekChar(2));default:return!1}},e.prototype.isQuantifier=function(){var e=this.saveState();try{return void 0!==this.quantifier(!0)}catch(t){return!1}finally{this.restoreState(e)}},e.prototype.isPatternCharacter=function(){switch(this.peekChar()){case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":case"/":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}},e.prototype.parseHexDigits=function(e){for(var t="",n=0;n<e;n++){var i=this.popChar();if(!1===r.test(i))throw Error("Expecting a HexDecimal digits");t+=i}var a=parseInt(t,16);return{type:"Character",value:a}},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.input[this.idx+e]},e.prototype.popChar=function(){var e=this.peekChar(0);return this.consumeChar(),e},e.prototype.consumeChar=function(e){if(void 0!==e&&this.input[this.idx]!==e)throw Error("Expected: '"+e+"' but found: '"+this.input[this.idx]+"' at offset: "+this.idx);if(this.idx>=this.input.length)throw Error("Unexpected end of input");this.idx++};var t,r=/[0-9a-fA-F]/,n=/[0-9]/,i=/[1-9]/;function a(e){return e.charCodeAt(0)}function o(e,t){void 0!==e.length?e.forEach((function(e){t.push(e)})):t.push(e)}function s(e,t){if(!0===e[t])throw"duplicate flag "+t;e[t]=!0}function l(e){if(void 0===e)throw Error("Internal Error - Should never get here!")}function u(){throw Error("Internal Error - Should never get here!")}var c=[];for(t=a("0");t<=a("9");t++)c.push(t);var d=[a("_")].concat(c);for(t=a("a");t<=a("z");t++)d.push(t);for(t=a("A");t<=a("Z");t++)d.push(t);var h=[a(" "),a("\f"),a("\n"),a("\r"),a("\t"),a("\v"),a("\t"),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a(" "),a("\u2028"),a("\u2029"),a(" "),a(" "),a(" "),a("\ufeff")];function p(){}return p.prototype.visitChildren=function(e){for(var t in e){var r=e[t];e.hasOwnProperty(t)&&(void 0!==r.type?this.visit(r):Array.isArray(r)&&r.forEach((function(e){this.visit(e)}),this))}},p.prototype.visit=function(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e);break}this.visitChildren(e)},p.prototype.visitPattern=function(e){},p.prototype.visitFlags=function(e){},p.prototype.visitDisjunction=function(e){},p.prototype.visitAlternative=function(e){},p.prototype.visitStartAnchor=function(e){},p.prototype.visitEndAnchor=function(e){},p.prototype.visitWordBoundary=function(e){},p.prototype.visitNonWordBoundary=function(e){},p.prototype.visitLookahead=function(e){},p.prototype.visitNegativeLookahead=function(e){},p.prototype.visitCharacter=function(e){},p.prototype.visitSet=function(e){},p.prototype.visitGroup=function(e){},p.prototype.visitGroupBackReference=function(e){},p.prototype.visitQuantifier=function(e){},{RegExpParser:e,BaseRegExpVisitor:p,VERSION:"0.4.0"}}))},8936:function(e,t,r){"use strict";function n(){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}e.exports=n},8947:function(e,t,r){var n=r("bac2"),i=r("82f0"),a=r("8707").Buffer,o=r("09f5"),s=r("6430"),l=r("39f5"),u=r("ae84"),c=r("3fb5");function d(e,t,r){s.call(this),this._cache=new p,this._cipher=new l.AES(t),this._prev=a.from(r),this._mode=e,this._autopadding=!0}c(d,s),d.prototype._update=function(e){var t,r;this._cache.add(e);var n=[];while(t=this._cache.get())r=this._mode.encrypt(this,t),n.push(r);return a.concat(n)};var h=a.alloc(16,16);function p(){this.cache=a.allocUnsafe(0)}function f(e,t,r){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof t&&(t=a.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"===typeof r&&(r=a.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new o(s.module,t,r):"auth"===s.type?new i(s.module,t,r):new d(s.module,t,r)}function m(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(t,!1,r.key,r.iv);return f(e,i.key,i.iv)}d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},p.prototype.add=function(e){this.cache=a.concat([this.cache,e])},p.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},p.prototype.flush=function(){var e=16-this.cache.length,t=a.allocUnsafe(e),r=-1;while(++r<e)t.writeUInt8(e,r);return a.concat([this.cache,t])},t.createCipheriv=f,t.createCipher=m},"898b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return a}))},"89ea":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("42e9"),a=r("7b71"),o=r("0fc1"),s=r("9688"),l=r("68d5"),u=r("9af8");class c extends a.AbstractRangeImpl{constructor(){super();const e=n.dom.window._associatedDocument;this._start=[e,0],this._end=[e,0],n.dom.rangeList.add(this)}get commonAncestorContainer(){let e=this._start[0];while(!s.tree_isAncestorOf(this._end[0],e,!0)){if(null===e._parent)throw new Error("Parent node is null.");e=e._parent}return e}setStart(e,t){s.range_setTheStart(this,e,t)}setEnd(e,t){s.range_setTheEnd(this,e,t)}setStartBefore(e){let t=e._parent;if(null===t)throw new o.InvalidNodeTypeError;s.range_setTheStart(this,t,s.tree_index(e))}setStartAfter(e){let t=e._parent;if(null===t)throw new o.InvalidNodeTypeError;s.range_setTheStart(this,t,s.tree_index(e)+1)}setEndBefore(e){let t=e._parent;if(null===t)throw new o.InvalidNodeTypeError;s.range_setTheEnd(this,t,s.tree_index(e))}setEndAfter(e){let t=e._parent;if(null===t)throw new o.InvalidNodeTypeError;s.range_setTheEnd(this,t,s.tree_index(e)+1)}collapse(e){e?this._end=this._start:this._start=this._end}selectNode(e){s.range_select(e,this)}selectNodeContents(e){if(u.Guard.isDocumentTypeNode(e))throw new o.InvalidNodeTypeError;const t=s.tree_nodeLength(e);this._start=[e,0],this._end=[e,t]}compareBoundaryPoints(e,t){if(e!==i.HowToCompare.StartToStart&&e!==i.HowToCompare.StartToEnd&&e!==i.HowToCompare.EndToEnd&&e!==i.HowToCompare.EndToStart)throw new o.NotSupportedError;if(s.range_root(this)!==s.range_root(t))throw new o.WrongDocumentError;let r,n;switch(e){case i.HowToCompare.StartToStart:r=this._start,n=t._start;break;case i.HowToCompare.StartToEnd:r=this._end,n=t._start;break;case i.HowToCompare.EndToEnd:r=this._end,n=t._end;break;case i.HowToCompare.EndToStart:r=this._start,n=t._end;break;default:throw new o.NotSupportedError}const a=s.boundaryPoint_position(r,n);return a===i.BoundaryPosition.Before?-1:a===i.BoundaryPosition.After?1:0}deleteContents(){if(s.range_collapsed(this))return;const e=this._startNode,t=this._startOffset,r=this._endNode,n=this._endOffset;if(e===r&&u.Guard.isCharacterDataNode(e))return void s.characterData_replaceData(e,t,n-t,"");const i=[];for(const l of s.range_getContainedNodes(this)){const e=l._parent;null!==e&&s.range_isContained(e,this)||i.push(l)}let a,o;if(s.tree_isAncestorOf(r,e,!0))a=e,o=t;else{let t=e;while(null!==t._parent&&!s.tree_isAncestorOf(r,t._parent,!0))t=t._parent;if(null===t._parent)throw new Error("Parent node is null.");a=t._parent,o=s.tree_index(t)+1}u.Guard.isCharacterDataNode(e)&&s.characterData_replaceData(e,t,s.tree_nodeLength(e)-t,"");for(const l of i)l._parent&&s.mutation_remove(l,l._parent);u.Guard.isCharacterDataNode(r)&&s.characterData_replaceData(r,0,n,""),this._start=[a,o],this._end=[a,o]}extractContents(){return s.range_extract(this)}cloneContents(){return s.range_cloneTheContents(this)}insertNode(e){return s.range_insert(e,this)}surroundContents(e){for(const r of s.range_getPartiallyContainedNodes(this))if(!u.Guard.isTextNode(r))throw new o.InvalidStateError;if(u.Guard.isDocumentNode(e)||u.Guard.isDocumentTypeNode(e)||u.Guard.isDocumentFragmentNode(e))throw new o.InvalidNodeTypeError;const t=s.range_extract(this);0!==e._children.size&&s.mutation_replaceAll(null,e),s.range_insert(e,this),s.mutation_append(t,e),s.range_select(e,this)}cloneRange(){return s.create_range(this._start,this._end)}detach(){n.dom.rangeList.delete(this)}isPointInRange(e,t){if(s.tree_rootNode(e)!==s.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(e))throw new o.InvalidNodeTypeError;if(t>s.tree_nodeLength(e))throw new o.IndexSizeError;const r=[e,t];return s.boundaryPoint_position(r,this._start)!==i.BoundaryPosition.Before&&s.boundaryPoint_position(r,this._end)!==i.BoundaryPosition.After}comparePoint(e,t){if(s.tree_rootNode(e)!==s.range_root(this))throw new o.WrongDocumentError;if(u.Guard.isDocumentTypeNode(e))throw new o.InvalidNodeTypeError;if(t>s.tree_nodeLength(e))throw new o.IndexSizeError;const r=[e,t];return s.boundaryPoint_position(r,this._start)===i.BoundaryPosition.Before?-1:s.boundaryPoint_position(r,this._end)===i.BoundaryPosition.After?1:0}intersectsNode(e){if(s.tree_rootNode(e)!==s.range_root(this))return!1;const t=e._parent;if(null===t)return!0;const r=s.tree_index(e);return s.boundaryPoint_position([t,r],this._end)===i.BoundaryPosition.Before&&s.boundaryPoint_position([t,r+1],this._start)===i.BoundaryPosition.After}toString(){let e="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(e+=this._startNode._data.substring(this._startOffset));for(const t of s.range_getContainedNodes(this))u.Guard.isTextNode(t)&&(e+=t._data);return u.Guard.isTextNode(this._endNode)&&(e+=this._endNode._data.substring(0,this._endOffset)),e}static _create(e,t){const r=new c;return e&&(r._start=e),t&&(r._end=t),r}}t.RangeImpl=c,c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,l.idl_defineConst(c.prototype,"START_TO_START",0),l.idl_defineConst(c.prototype,"START_TO_END",1),l.idl_defineConst(c.prototype,"END_TO_END",2),l.idl_defineConst(c.prototype,"END_TO_START",3)},"89fd":function(e,t,r){e.exports=r("0ac3").Transform},"8b71":function(e,t,r){var n=r("0211");t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n._reverse(t.tag)},"8b77":function(e,t,r){"use strict";(function(t,n){var i=r("966d");e.exports=S;var a,o=r("8250");S.ReadableState=_;r("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=r("1ad6"),u=r("9905").Buffer,c=("undefined"!==typeof t?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function d(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof c}var p=Object.create(r("3a7c"));p.inherits=r("3fb5");var f=r(15),m=void 0;m=f&&f.debuglog?f.debuglog("stream"):function(){};var g,v=r("4365"),b=r("c69f");p.inherits(S,l);var y=["error","close","destroy","pause","resume"];function w(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function _(e,t){a=a||r("1715"),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=r("aa22").StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function S(e){if(a=a||r("1715"),!(this instanceof S))return new S(e);this._readableState=new _(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function E(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,O(e,o)):(i||(a=T(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"===typeof t||o.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=d(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):M(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?M(e,o,t,!1):k(e,o)):M(e,o,t,!1))):n||(o.reading=!1));return C(o)}function M(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&R(e)),k(e,t)}function T(e,t){var r;return h(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function C(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(S.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=b.destroy,S.prototype._undestroy=b.undestroy,S.prototype._destroy=function(e,t){this.push(null),t(e)},S.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=u.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},S.prototype.unshift=function(e){return E(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){return g||(g=r("aa22").StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var x=8388608;function A(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function N(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=A(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,R(e)}}function R(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(L,e):L(e))}function L(e){m("emit readable"),e.emit("readable"),H(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(I,e,t))}function I(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(m("maybeReadMore read 0"),e.read(0),r===t.length)break;r=t.length}t.readingMore=!1}function D(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,H(e))}}function P(e){m("readable nexttick read 0"),e.read(0)}function j(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(F,e,t))}function F(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),H(e),t.flowing&&!t.reading&&e.read(0)}function H(e){var t=e._readableState;m("flow",t.flowing);while(t.flowing&&null!==e.read());}function B(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=U(e,t.buffer,t.decoder),r);var r}function U(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?V(e,t):Y(e,t),n}function V(e,t){var r=t.head,n=1,i=r.data;e-=i.length;while(r=r.next){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,0===e){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}function Y(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;while(n=n.next){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),e-=o,0===e){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}function z(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(W,t,e))}function W(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function q(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}S.prototype.read=function(e){m("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?z(this):R(this),null;if(e=N(e,t),0===e&&t.ended)return 0===t.length&&z(this),null;var n,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,m("length less than watermark",i)),t.ended||t.reading?(i=!1,m("reading or ended",i)):i&&(m("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=N(r,t))),n=e>0?B(e,t):null,null===n?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&z(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},S.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e);break}a.pipesCount+=1,m("pipe count=%d opts=%j",a.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,l=o?c:_;function u(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function c(){m("onend"),e.end()}a.endEmitted?i.nextTick(l):r.once("end",l),e.on("unpipe",u);var d=D(r);e.on("drain",d);var h=!1;function p(){m("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",u),r.removeListener("end",c),r.removeListener("end",_),r.removeListener("data",g),h=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}var f=!1;function g(t){m("ondata"),f=!1;var n=e.write(t);!1!==n||f||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==q(a.pipes,e))&&!h&&(m("false write response, pause",a.awaitDrain),a.awaitDrain++,f=!0),r.pause())}function v(t){m("onerror",t),_(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",y),_()}function y(){m("onfinish"),e.removeListener("close",b),_()}function _(){m("unpipe"),r.unpipe(e)}return r.on("data",g),w(e,"error",v),e.once("close",b),e.once("finish",y),e.emit("pipe",r),a.flowing||(m("pipe resume"),r.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=q(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&R(this):i.nextTick(P,this))}return r},S.prototype.addListener=S.prototype.on,S.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,j(this,e)),this},S.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(m("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(m("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)){var a=t.push(i);a||(n=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<y.length;a++)e.on(y[a],this.emit.bind(this,y[a]));return this._read=function(t){m("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),S._fromList=B}).call(this,r("c8ba"),r("4362"))},"8b95":function(e,t,r){"use strict";var n=r("c3c0"),i=r("b525");function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},"8baf":function(e,t,r){"use strict";(function(e){var t=r("7037"),n=r.n(t),i=r("72ba"),a=function(){return"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:this}();function o(){a.console&&"function"==typeof a.console.log&&a.console.log.apply(a.console,arguments)}var s={log:o,warn:function(e){a.console&&("function"==typeof a.console.warn?a.console.warn.apply(a.console,arguments):o.call(null,arguments))},error:function(e){a.console&&("function"==typeof a.console.error?a.console.error.apply(a.console,arguments):o(e))}};function l(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){p(n.response,t,r)},n.onerror=function(){s.error("could not download file")},n.send()}function u(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function c(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 d,h,p=a.saveAs||("object"!==("undefined"==typeof window?"undefined":n()(window))||window!==a?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,r){var n=a.URL||a.webkitURL,i=document.createElement("a");t=t||e.name||"download",i.download=t,i.rel="noopener","string"==typeof e?(i.href=e,i.origin!==location.origin?u(i.href)?l(e,t,r):c(i,i.target="_blank"):c(i)):(i.href=n.createObjectURL(e),setTimeout((function(){n.revokeObjectURL(i.href)}),4e4),setTimeout((function(){c(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(u(e))l(e,t,r);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){c(i)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==n()(t)&&(s.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([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),t)}:function(e,t,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return l(e,t,r);var o="application/octet-stream"===e.type,s=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||o&&s)&&"object"===("undefined"==typeof FileReader?"undefined":n()(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 d=a.URL||a.webkitURL,h=d.createObjectURL(e);i?i.location=h:location.href=h,i=null,setTimeout((function(){d.revokeObjectURL(h)}),4e4)}});
- /**
- * A class to parse color values
- * @author Stoyan Stefanov <sstoo@gmail.com>
- * {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
- * @license Use it if you like it
- */function f(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,a=r[n].process,o=i.exec(e);o&&(t=a(o),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r
- /**
- * @license
- * Joseph Myers does not specify a particular license for his work.
- *
- * Author: Joseph Myers
- * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
- *
- * Modified by: Owen Leong
- */}}function m(e,t){var r=e[0],n=e[1],i=e[2],a=e[3];r=v(r,n,i,a,t[0],7,-680876936),a=v(a,r,n,i,t[1],12,-389564586),i=v(i,a,r,n,t[2],17,606105819),n=v(n,i,a,r,t[3],22,-1044525330),r=v(r,n,i,a,t[4],7,-176418897),a=v(a,r,n,i,t[5],12,1200080426),i=v(i,a,r,n,t[6],17,-1473231341),n=v(n,i,a,r,t[7],22,-45705983),r=v(r,n,i,a,t[8],7,1770035416),a=v(a,r,n,i,t[9],12,-1958414417),i=v(i,a,r,n,t[10],17,-42063),n=v(n,i,a,r,t[11],22,-1990404162),r=v(r,n,i,a,t[12],7,1804603682),a=v(a,r,n,i,t[13],12,-40341101),i=v(i,a,r,n,t[14],17,-1502002290),r=b(r,n=v(n,i,a,r,t[15],22,1236535329),i,a,t[1],5,-165796510),a=b(a,r,n,i,t[6],9,-1069501632),i=b(i,a,r,n,t[11],14,643717713),n=b(n,i,a,r,t[0],20,-373897302),r=b(r,n,i,a,t[5],5,-701558691),a=b(a,r,n,i,t[10],9,38016083),i=b(i,a,r,n,t[15],14,-660478335),n=b(n,i,a,r,t[4],20,-405537848),r=b(r,n,i,a,t[9],5,568446438),a=b(a,r,n,i,t[14],9,-1019803690),i=b(i,a,r,n,t[3],14,-187363961),n=b(n,i,a,r,t[8],20,1163531501),r=b(r,n,i,a,t[13],5,-1444681467),a=b(a,r,n,i,t[2],9,-51403784),i=b(i,a,r,n,t[7],14,1735328473),r=y(r,n=b(n,i,a,r,t[12],20,-1926607734),i,a,t[5],4,-378558),a=y(a,r,n,i,t[8],11,-2022574463),i=y(i,a,r,n,t[11],16,1839030562),n=y(n,i,a,r,t[14],23,-35309556),r=y(r,n,i,a,t[1],4,-1530992060),a=y(a,r,n,i,t[4],11,1272893353),i=y(i,a,r,n,t[7],16,-155497632),n=y(n,i,a,r,t[10],23,-1094730640),r=y(r,n,i,a,t[13],4,681279174),a=y(a,r,n,i,t[0],11,-358537222),i=y(i,a,r,n,t[3],16,-722521979),n=y(n,i,a,r,t[6],23,76029189),r=y(r,n,i,a,t[9],4,-640364487),a=y(a,r,n,i,t[12],11,-421815835),i=y(i,a,r,n,t[15],16,530742520),r=w(r,n=y(n,i,a,r,t[2],23,-995338651),i,a,t[0],6,-198630844),a=w(a,r,n,i,t[7],10,1126891415),i=w(i,a,r,n,t[14],15,-1416354905),n=w(n,i,a,r,t[5],21,-57434055),r=w(r,n,i,a,t[12],6,1700485571),a=w(a,r,n,i,t[3],10,-1894986606),i=w(i,a,r,n,t[10],15,-1051523),n=w(n,i,a,r,t[1],21,-2054922799),r=w(r,n,i,a,t[8],6,1873313359),a=w(a,r,n,i,t[15],10,-30611744),i=w(i,a,r,n,t[6],15,-1560198380),n=w(n,i,a,r,t[13],21,1309151649),r=w(r,n,i,a,t[4],6,-145523070),a=w(a,r,n,i,t[11],10,-1120210379),i=w(i,a,r,n,t[2],15,718787259),n=w(n,i,a,r,t[9],21,-343485551),e[0]=A(r,e[0]),e[1]=A(n,e[1]),e[2]=A(i,e[2]),e[3]=A(a,e[3])}function g(e,t,r,n,i,a){return t=A(A(t,e),A(n,a)),A(t<<i|t>>>32-i,r)}function v(e,t,r,n,i,a,o){return g(t&r|~t&n,e,t,i,a,o)}function b(e,t,r,n,i,a,o){return g(t&n|r&~n,e,t,i,a,o)}function y(e,t,r,n,i,a,o){return g(t^r^n,e,t,i,a,o)}function w(e,t,r,n,i,a,o){return g(r^(t|~n),e,t,i,a,o)}function _(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)m(n,S(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(m(n,i),t=0;t<16;t++)i[t]=0;return i[14]=8*r,m(n,i),n}function S(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}d=a.atob.bind(a),h=a.btoa.bind(a);var E="0123456789abcdef".split("");function M(e){for(var t="",r=0;r<4;r++)t+=E[e>>8*r+4&15]+E[e>>8*r&15];return t}function T(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function C(e){return _(e).map(T).join("")}var x="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=M(e[t]);return e.join("")}(_("hello"));function A(e,t){if(x){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}return e+t&4294967295}
- /**
- * @license
- * FPDF is released under a permissive license: there is no usage restriction.
- * You may embed it freely in your application (commercial or not), with or
- * without modifications.
- *
- * Reference: http://www.fpdf.org/en/script/script37.php
- */function N(e,t){var r,n,i,a;if(e!==r){for(var o=(i=e,a=1+(256/e.length>>0),new Array(a+1).join(i)),s=[],l=0;l<256;l++)s[l]=l;var u=0;for(l=0;l<256;l++){var c=s[l];u=(u+c+o.charCodeAt(l))%256,s[l]=s[u],s[u]=c}r=e,n=s}else s=n;var d=t.length,h=0,p=0,f="";for(l=0;l<d;l++)p=(p+(c=s[h=(h+1)%256]))%256,s[h]=s[p],s[p]=c,o=s[(s[h]+s[p])%256],f+=String.fromCharCode(t.charCodeAt(l)^o);return f}
- /**
- * @license
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- * Author: Owen Leong (@owenl131)
- * Date: 15 Oct 2020
- * References:
- * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
- * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
- * http://www.fpdf.org/en/script/script37.php
- */var O={print:4,modify:8,copy:16,"annot-forms":32};function R(e,t,r,n){this.v=1,this.r=2;var i=192;e.forEach((function(e){if(void 0!==O.perm)throw new Error("Invalid permission: "+e);i+=O[e]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var a=(t+this.padding).substr(0,32),o=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^i)),this.encryptionKey=C(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=N(this.encryptionKey,this.padding)}function L(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",r=e.length,n=0;n<r;n++){var i=e.charCodeAt(n);t+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):e[n]}return t}function k(e){if("object"!==n()(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,r,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof r||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var i=Math.random().toString(35);return t[e][i]=[r,!!n],i},this.unsubscribe=function(e){for(var r in t)if(t[r][e])return delete t[r][e],0===Object.keys(t[r]).length&&delete t[r],!0;return!1},this.publish=function(r){if(t.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[r]){var l=t[r][o];try{l[0].apply(e,n)}catch(r){a.console&&s.error("jsPDF PubSub Error",r.message,r)}l[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function I(e){if(!(this instanceof I))return new I(e);var t="opacity,stroke-opacity".split(",");for(var r in e)e.hasOwnProperty(r)&&t.indexOf(r)>=0&&(this[r]=e[r]);this.id="",this.objectNumber=-1}function D(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function P(e,t,r,n,i){if(!(this instanceof P))return new P(e,t,r,n,i);this.type="axial"===e?2:3,this.coords=t,this.colors=r,D.call(this,n,i)}function j(e,t,r,n,i){if(!(this instanceof j))return new j(e,t,r,n,i);this.boundingBox=e,this.xStep=t,this.yStep=r,this.stream="",this.cloneIndex=0,D.call(this,n,i)}function F(e){var t,r="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],o=arguments[2],l=arguments[3],u=[],c=1,d=16,m="S",g=null;"object"===n()(e=e||{})&&(r=e.orientation,i=e.unit||i,o=e.format||o,l=e.compress||e.compressPdf||l,null!==(g=e.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),c="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),m=e.defaultPathOperation||"S"),u=e.filters||(!0===l?["FlateEncode"]:u),i=i||"mm",r=(""+(r||"P")).toLowerCase();var v=e.putOnlyUsedFonts||!1,b={},y={internal:{},__private__:{}};y.__private__.PubSub=k;var w="1.3",_=y.__private__.getPdfVersion=function(){return w};y.__private__.setPdfVersion=function(e){w=e};var S={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};y.__private__.getPageFormats=function(){return S};var E=y.__private__.getPageFormat=function(e){return S[e]};o=o||"a4";var M={COMPAT:"compat",ADVANCED:"advanced"},T=M.COMPAT;function C(){this.saveGraphicsState(),de(new We(Ce,0,0,-Ce,0,Hr()*Ce).toString()+" cm"),this.setFontSize(this.getFontSize()/Ce),m="n",T=M.ADVANCED}function x(){this.restoreGraphicsState(),m="S",T=M.COMPAT}var A=y.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};y.advancedAPI=function(e){var t=T===M.COMPAT;return t&&C.call(this),"function"!=typeof e||(e(this),t&&x.call(this)),this},y.compatAPI=function(e){var t=T===M.ADVANCED;return t&&x.call(this),"function"!=typeof e||(e(this),t&&C.call(this)),this},y.isAdvancedAPI=function(){return T===M.ADVANCED};var N,O=function(e){if(T!==M.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},D=y.roundToPrecision=y.__private__.roundToPrecision=function(e,r){var n=t||r;if(isNaN(e)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(n).replace(/0+$/,"")};N=y.hpf=y.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,16)};var H=y.f2=y.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return D(e,2)},B=y.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return D(e,3)},U=y.scale=y.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return T===M.COMPAT?e*Ce:T===M.ADVANCED?e:void 0},V=function(e){return T===M.COMPAT?Hr()-e:T===M.ADVANCED?e:void 0},Y=function(e){return U(V(e))};y.__private__.setPrecision=y.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var z,W="00000000000000000000000000000000",q=y.__private__.getFileId=function(){return W},G=y.__private__.setFileId=function(e){return W=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():W.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Gt=new R(g.userPermissions,g.userPassword,g.ownerPassword,W)),W};y.setFileId=function(e){return G(e),this},y.getFileId=function(){return q()};var K=y.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),r=t<0?"+":"-",n=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),a=[r,Q(n),"'",Q(i),"'"].join("");return["D:",e.getFullYear(),Q(e.getMonth()+1),Q(e.getDate()),Q(e.getHours()),Q(e.getMinutes()),Q(e.getSeconds()),a].join("")},X=y.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),r=parseInt(e.substr(6,2),10)-1,n=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),a=parseInt(e.substr(12,2),10),o=parseInt(e.substr(14,2),10);return new Date(t,r,n,i,a,o,0)},Z=y.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=K(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return z=t},$=y.__private__.getCreationDate=function(e){var t=z;return"jsDate"===e&&(t=X(z)),t};y.setCreationDate=function(e){return Z(e),this},y.getCreationDate=function(e){return $(e)};var J,Q=y.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},ee=y.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},te=0,re=[],ne=[],ie=0,ae=[],oe=[],se=!1,le=ne,ue=function(){te=0,ie=0,ne=[],re=[],ae=[],Qe=Ze(),et=Ze()};y.__private__.setCustomOutputDestination=function(e){se=!0,le=e};var ce=function(e){se||(le=e)};y.__private__.resetCustomOutputDestination=function(){se=!1,le=ne};var de=y.__private__.out=function(e){return e=e.toString(),ie+=e.length+1,le.push(e),le},he=y.__private__.write=function(e){return de(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},pe=y.__private__.getArrayBuffer=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r);t--;)n[t]=e.charCodeAt(t);return r},fe=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];y.__private__.getStandardFonts=function(){return fe};var me=e.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(e){return me=T===M.ADVANCED?e/Ce:e,this};var ge,ve=y.__private__.getFontSize=y.getFontSize=function(){return T===M.COMPAT?me:me*Ce},be=e.R2L||!1;y.__private__.setR2L=y.setR2L=function(e){return be=e,this},y.__private__.getR2L=y.getR2L=function(){return be};var ye,we=y.__private__.setZoomMode=function(e){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))ge=e;else if(isNaN(e)){if(-1===t.indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');ge=e}else ge=parseInt(e,10)};y.__private__.getZoomMode=function(){return ge};var _e,Se=y.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ye=e};y.__private__.getPageMode=function(){return ye};var Ee=y.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');_e=e};y.__private__.getLayoutMode=function(){return _e},y.__private__.setDisplayMode=y.setDisplayMode=function(e,t,r){return we(e),Ee(t),Se(r),this};var Me={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(e){if(-1===Object.keys(Me).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Me[e]},y.__private__.getDocumentProperties=function(){return Me},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(e){for(var t in Me)Me.hasOwnProperty(t)&&e[t]&&(Me[t]=e[t]);return this},y.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(Me).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Me[e]=t};var Te,Ce,xe,Ae,Ne,Oe={},Re={},Le=[],ke={},Ie={},De={},Pe={},je=null,Fe=0,He=[],Be=new k(y),Ue=e.hotfixes||[],Ve={},Ye={},ze=[],We=function e(t,r,n,i,a,o){if(!(this instanceof e))return new e(t,r,n,i,a,o);isNaN(t)&&(t=1),isNaN(r)&&(r=0),isNaN(n)&&(n=0),isNaN(i)&&(i=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[t,r,n,i,a,o]};Object.defineProperty(We.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(We.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(We.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(We.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(We.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(We.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(We.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(We.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(We.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(We.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(We.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(We.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(We.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(We.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(We.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(We.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),We.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(N).join(e)},We.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,r=e.sx*this.shy+e.shy*this.sy,n=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,a=e.tx*this.sx+e.ty*this.shx+this.tx,o=e.tx*this.shy+e.ty*this.sy+this.ty;return new We(t,r,n,i,a,o)},We.prototype.decompose=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(e*e+t*t),s=(e/=o)*r+(t/=o)*n;r-=e*s,n-=t*s;var l=Math.sqrt(r*r+n*n);return s/=l,e*(n/=l)<t*(r/=l)&&(e=-e,t=-t,s=-s,o=-o),{scale:new We(o,0,0,l,0,0),translate:new We(1,0,0,1,i,a),rotate:new We(e,t,-t,e,0,0),skew:new We(1,0,s,1,0,0)}},We.prototype.toString=function(e){return this.join(" ")},We.prototype.inversed=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty,o=1/(e*n-t*r),s=n*o,l=-t*o,u=-r*o,c=e*o;return new We(s,l,u,c,-s*i-u*a,-l*i-c*a)},We.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,r=e.x*this.shy+e.y*this.sy+this.ty;return new Rr(t,r)},We.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),r=this.applyToPoint(new Rr(e.x+e.w,e.y+e.h));return new Lr(t.x,t.y,r.x-t.x,r.y-t.y)},We.prototype.clone=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty;return new We(e,t,r,n,i,a)},y.Matrix=We;var qe=y.matrixMult=function(e,t){return t.multiply(e)},Ge=new We(1,0,0,1,0,0);y.unitMatrix=y.identityMatrix=Ge;var Ke=function(e,t){if(!Ie[e]){var r=(t instanceof P?"Sh":"P")+(Object.keys(ke).length+1).toString(10);t.id=r,Ie[e]=r,ke[r]=t,Be.publish("addPattern",t)}};y.ShadingPattern=P,y.TilingPattern=j,y.addShadingPattern=function(e,t){return O("addShadingPattern()"),Ke(e,t),this},y.beginTilingPattern=function(e){O("beginTilingPattern()"),Ir(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},y.endTilingPattern=function(e,t){O("endTilingPattern()"),t.stream=oe[J].join("\n"),Ke(e,t),Be.publish("endTilingPattern",t),ze.pop().restore()};var Xe=y.__private__.newObject=function(){var e=Ze();return $e(e,!0),e},Ze=y.__private__.newObjectDeferred=function(){return te++,re[te]=function(){return ie},te},$e=function(e,t){return t="boolean"==typeof t&&t,re[e]=ie,t&&de(e+" 0 obj"),e},Je=y.__private__.newAdditionalObject=function(){var e={objId:Ze(),content:""};return ae.push(e),e},Qe=Ze(),et=Ze(),tt=y.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var r=parseFloat(t[0]);t=[r,r,r,"r"]}for(var n="#",i=0;i<3;i++)n+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return n},rt=y.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var r=e.ch1,i=e.ch2,a=e.ch3,o=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var l=new f(r);if(l.ok)r=l.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var u=parseInt(r.substr(1),16);r=u>>16&255,i=u>>8&255,a=255&u}if(void 0===i||void 0===o&&r===i&&i===a)if("string"==typeof r)t=r+" "+s[0];else switch(e.precision){case 2:t=H(r/255)+" "+s[0];break;case 3:default:t=B(r/255)+" "+s[0]}else if(void 0===o||"object"===n()(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof r)t=[r,i,a,s[1]].join(" ");else switch(e.precision){case 2:t=[H(r/255),H(i/255),H(a/255),s[1]].join(" ");break;default:case 3:t=[B(r/255),B(i/255),B(a/255),s[1]].join(" ")}}else if("string"==typeof r)t=[r,i,a,o,s[2]].join(" ");else switch(e.precision){case 2:t=[H(r),H(i),H(a),H(o),s[2]].join(" ");break;case 3:default:t=[B(r),B(i),B(a),B(o),s[2]].join(" ")}return t},nt=y.__private__.getFilters=function(){return u},it=y.__private__.putStream=function(e){var t=(e=e||{}).data||"",r=e.filters||nt(),n=e.alreadyAppliedFilters||[],i=e.addLength1||!1,a=t.length,o=e.objectId,s=function(e){return e};if(null!==g&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=Gt.encryptor(o,0));var l={};!0===r&&(r=["FlateEncode"]);var u=e.additionalKeyValues||[],c=(l=void 0!==F.API.processDataByFilters?F.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==l.data.length&&(u.push({key:"Length",value:l.data.length}),!0===i&&u.push({key:"Length1",value:a})),0!=c.length)if(c.split("/").length-1==1)u.push({key:"Filter",value:c});else{u.push({key:"Filter",value:"["+c+"]"});for(var d=0;d<u.length;d+=1)if("DecodeParms"===u[d].key){for(var h=[],p=0;p<l.reverseChain.split("/").length-1;p+=1)h.push("null");h.push(u[d].value),u[d].value="["+h.join(" ")+"]"}}de("<<");for(var f=0;f<u.length;f++)de("/"+u[f].key+" "+u[f].value);de(">>"),0!==l.data.length&&(de("stream"),de(s(l.data)),de("endstream"))},at=y.__private__.putPage=function(e){var t=e.number,r=e.data,n=e.objId,i=e.contentsObjId;$e(n,!0),de("<</Type /Page"),de("/Parent "+e.rootDictionaryObjId+" 0 R"),de("/Resources "+e.resourceDictionaryObjId+" 0 R"),de("/MediaBox ["+parseFloat(N(e.mediaBox.bottomLeftX))+" "+parseFloat(N(e.mediaBox.bottomLeftY))+" "+N(e.mediaBox.topRightX)+" "+N(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&de("/CropBox ["+N(e.cropBox.bottomLeftX)+" "+N(e.cropBox.bottomLeftY)+" "+N(e.cropBox.topRightX)+" "+N(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&de("/BleedBox ["+N(e.bleedBox.bottomLeftX)+" "+N(e.bleedBox.bottomLeftY)+" "+N(e.bleedBox.topRightX)+" "+N(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&de("/TrimBox ["+N(e.trimBox.bottomLeftX)+" "+N(e.trimBox.bottomLeftY)+" "+N(e.trimBox.topRightX)+" "+N(e.trimBox.topRightY)+"]"),null!==e.artBox&&de("/ArtBox ["+N(e.artBox.bottomLeftX)+" "+N(e.artBox.bottomLeftY)+" "+N(e.artBox.topRightX)+" "+N(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&de("/UserUnit "+e.userUnit),Be.publish("putPage",{objId:n,pageContext:He[t],pageNumber:t,page:r}),de("/Contents "+i+" 0 R"),de(">>"),de("endobj");var a=r.join("\n");return T===M.ADVANCED&&(a+="\nQ"),$e(i,!0),it({data:a,filters:nt(),objectId:i}),de("endobj"),n},ot=y.__private__.putPages=function(){var e,t,r=[];for(e=1;e<=Fe;e++)He[e].objId=Ze(),He[e].contentsObjId=Ze();for(e=1;e<=Fe;e++)r.push(at({number:e,data:oe[e],objId:He[e].objId,contentsObjId:He[e].contentsObjId,mediaBox:He[e].mediaBox,cropBox:He[e].cropBox,bleedBox:He[e].bleedBox,trimBox:He[e].trimBox,artBox:He[e].artBox,userUnit:He[e].userUnit,rootDictionaryObjId:Qe,resourceDictionaryObjId:et}));$e(Qe,!0),de("<</Type /Pages");var n="/Kids [";for(t=0;t<Fe;t++)n+=r[t]+" 0 R ";de(n+"]"),de("/Count "+Fe),de(">>"),de("endobj"),Be.publish("postPutPages")},st=function(e){Be.publish("putFont",{font:e,out:de,newObject:Xe,putStream:it}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xe(),de("<<"),de("/Type /Font"),de("/BaseFont /"+L(e.postScriptName)),de("/Subtype /Type1"),"string"==typeof e.encoding&&de("/Encoding /"+e.encoding),de("/FirstChar 32"),de("/LastChar 255"),de(">>"),de("endobj"))},lt=function(){for(var e in Oe)Oe.hasOwnProperty(e)&&(!1===v||!0===v&&b.hasOwnProperty(e))&&st(Oe[e])},ut=function(e){e.objectNumber=Xe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[N(e.x),N(e.y),N(e.x+e.width),N(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var r=e.pages[1].join("\n");it({data:r,additionalKeyValues:t,objectId:e.objectNumber}),de("endobj")},ct=function(){for(var e in Ve)Ve.hasOwnProperty(e)&&ut(Ve[e])},dt=function(e,t){var r,n=[],i=1/(t-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=e[0].offset){var a={offset:0,color:e[0].color};e.unshift(a)}if(1!=e[e.length-1].offset){var o={offset:1,color:e[e.length-1].color};e.push(o)}for(var s="",l=0,u=0;u<n.length;u++){for(r=n[u];r>e[l+1].offset;)l++;var c=e[l].offset,d=(r-c)/(e[l+1].offset-c),h=e[l].color,p=e[l+1].color;s+=ee(Math.round((1-d)*h[0]+d*p[0]).toString(16))+ee(Math.round((1-d)*h[1]+d*p[1]).toString(16))+ee(Math.round((1-d)*h[2]+d*p[2]).toString(16))}return s.trim()},ht=function(e,t){t||(t=21);var r=Xe(),n=dt(e.colors,t),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),it({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),de("endobj"),e.objectNumber=Xe(),de("<< /ShadingType "+e.type),de("/ColorSpace /DeviceRGB");var a="/Coords ["+N(parseFloat(e.coords[0]))+" "+N(parseFloat(e.coords[1]))+" ";2===e.type?a+=N(parseFloat(e.coords[2]))+" "+N(parseFloat(e.coords[3])):a+=N(parseFloat(e.coords[2]))+" "+N(parseFloat(e.coords[3]))+" "+N(parseFloat(e.coords[4]))+" "+N(parseFloat(e.coords[5])),de(a+="]"),e.matrix&&de("/Matrix ["+e.matrix.toString()+"]"),de("/Function "+r+" 0 R"),de("/Extend [true true]"),de(">>"),de("endobj")},pt=function(e,t){var r=Ze(),n=Xe();t.push({resourcesOid:r,objectOid:n}),e.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+e.boundingBox.map(N).join(" ")+"]"}),i.push({key:"XStep",value:N(e.xStep)}),i.push({key:"YStep",value:N(e.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),it({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),de("endobj")},ft=function(e){var t;for(t in ke)ke.hasOwnProperty(t)&&(ke[t]instanceof P?ht(ke[t]):ke[t]instanceof j&&pt(ke[t],e))},mt=function(e){for(var t in e.objectNumber=Xe(),de("<<"),e)switch(t){case"opacity":de("/ca "+H(e[t]));break;case"stroke-opacity":de("/CA "+H(e[t]))}de(">>"),de("endobj")},gt=function(){var e;for(e in De)De.hasOwnProperty(e)&&mt(De[e])},vt=function(){for(var e in de("/XObject <<"),Ve)Ve.hasOwnProperty(e)&&Ve[e].objectNumber>=0&&de("/"+e+" "+Ve[e].objectNumber+" 0 R");Be.publish("putXobjectDict"),de(">>")},bt=function(){Gt.oid=Xe(),de("<<"),de("/Filter /Standard"),de("/V "+Gt.v),de("/R "+Gt.r),de("/U <"+Gt.toHexString(Gt.U)+">"),de("/O <"+Gt.toHexString(Gt.O)+">"),de("/P "+Gt.P),de(">>"),de("endobj")},yt=function(){for(var e in de("/Font <<"),Oe)Oe.hasOwnProperty(e)&&(!1===v||!0===v&&b.hasOwnProperty(e))&&de("/"+e+" "+Oe[e].objectNumber+" 0 R");de(">>")},wt=function(){if(Object.keys(ke).length>0){for(var e in de("/Shading <<"),ke)ke.hasOwnProperty(e)&&ke[e]instanceof P&&ke[e].objectNumber>=0&&de("/"+e+" "+ke[e].objectNumber+" 0 R");Be.publish("putShadingPatternDict"),de(">>")}},_t=function(e){if(Object.keys(ke).length>0){for(var t in de("/Pattern <<"),ke)ke.hasOwnProperty(t)&&ke[t]instanceof y.TilingPattern&&ke[t].objectNumber>=0&&ke[t].objectNumber<e&&de("/"+t+" "+ke[t].objectNumber+" 0 R");Be.publish("putTilingPatternDict"),de(">>")}},St=function(){if(Object.keys(De).length>0){var e;for(e in de("/ExtGState <<"),De)De.hasOwnProperty(e)&&De[e].objectNumber>=0&&de("/"+e+" "+De[e].objectNumber+" 0 R");Be.publish("putGStateDict"),de(">>")}},Et=function(e){$e(e.resourcesOid,!0),de("<<"),de("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),yt(),wt(),_t(e.objectOid),St(),vt(),de(">>"),de("endobj")},Mt=function(){var e=[];lt(),gt(),ct(),ft(e),Be.publish("putResources"),e.forEach(Et),Et({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),Be.publish("postPutResources")},Tt=function(){Be.publish("putAdditionalObjects");for(var e=0;e<ae.length;e++){var t=ae[e];$e(t.objId,!0),de(t.content),de("endobj")}Be.publish("postPutAdditionalObjects")},Ct=function(e){Re[e.fontName]=Re[e.fontName]||{},Re[e.fontName][e.fontStyle]=e.id},xt=function(e,t,r,n,i){var a={id:"F"+(Object.keys(Oe).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Be.publish("addFont",{font:a,instance:this}),Oe[a.id]=a,Ct(a),a.id},At=function(e){for(var t=0,r=fe.length;t<r;t++){var n=xt.call(this,e[t][0],e[t][1],e[t][2],fe[t][3],!0);!1===v&&(b[n]=!0);var i=e[t][0].split("-");Ct({id:n,fontName:i[0],fontStyle:i[1]||""})}Be.publish("addFonts",{fonts:Oe,dictionary:Re})},Nt=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var t=e.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var r="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!a.console)throw new Error(r);a.console.error(r,e),a.alert&&alert(r)}},e.foo.bar=e,e.foo},Ot=function(e,t){var r,n,i,a,o,s,l,u,c;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&Oe[Te].metadata&&Oe[Te].metadata[i]&&Oe[Te].metadata[i].encoding&&(a=Oe[Te].metadata[i].encoding,!o&&Oe[Te].encoding&&(o=Oe[Te].encoding),!o&&a.codePages&&(o=a.codePages[0]),"string"==typeof o&&(o=a[o]),o)){for(l=!1,s=[],r=0,n=e.length;r<n;r++)(u=o[e.charCodeAt(r)])?s.push(String.fromCharCode(u)):s.push(e[r]),s[r].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(r=e.length;void 0===l&&0!==r;)e.charCodeAt(r-1)>>8&&(l=!0),r--;if(!l)return e;for(s=t.noBOM?[]:[254,255],r=0,n=e.length;r<n;r++){if((c=(u=e.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(c),s.push(u-(c<<8))}return String.fromCharCode.apply(void 0,s)},Rt=y.__private__.pdfEscape=y.pdfEscape=function(e,t){return Ot(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Lt=y.__private__.beginPage=function(e){oe[++Fe]=[],He[Fe]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},Dt(Fe),ce(oe[J])},kt=function(e,t){var n,i,a;switch(r=t||r,"string"==typeof e&&(n=E(e.toLowerCase()),Array.isArray(n)&&(i=n[0],a=n[1])),Array.isArray(e)&&(i=e[0]*Ce,a=e[1]*Ce),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>14400)&&(s.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),o=[i,a],r.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}Lt(o),fr(hr),de(Sr),0!==Ar&&de(Ar+" J"),0!==Nr&&de(Nr+" j"),Be.publish("addPage",{pageNumber:Fe})},It=function(e){e>0&&e<=Fe&&(oe.splice(e,1),He.splice(e,1),Fe--,J>Fe&&(J=Fe),this.setPage(J))},Dt=function(e){e>0&&e<=Fe&&(J=e)},Pt=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return oe.length-1},jt=function(e,t,r){var n,i=void 0;return r=r||{},e=void 0!==e?e:Oe[Te].fontName,t=void 0!==t?t:Oe[Te].fontStyle,n=e.toLowerCase(),void 0!==Re[n]&&void 0!==Re[n][t]?i=Re[n][t]:void 0!==Re[e]&&void 0!==Re[e][t]?i=Re[e][t]:!1===r.disableWarning&&s.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||r.noFallback||null==(i=Re.times[t])&&(i=Re.times.normal),i},Ft=y.__private__.putInfo=function(){var e=Xe(),t=function(e){return e};for(var r in null!==g&&(t=Gt.encryptor(e,0)),de("<<"),de("/Producer ("+Rt(t("jsPDF "+F.version))+")"),Me)Me.hasOwnProperty(r)&&Me[r]&&de("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+Rt(t(Me[r]))+")");de("/CreationDate ("+Rt(t(z))+")"),de(">>"),de("endobj")},Ht=y.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Qe;switch(Xe(),de("<<"),de("/Type /Catalog"),de("/Pages "+t+" 0 R"),ge||(ge="fullwidth"),ge){case"fullwidth":de("/OpenAction [3 0 R /FitH null]");break;case"fullheight":de("/OpenAction [3 0 R /FitV null]");break;case"fullpage":de("/OpenAction [3 0 R /Fit]");break;case"original":de("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+ge;"%"===r.substr(r.length-1)&&(ge=parseInt(ge)/100),"number"==typeof ge&&de("/OpenAction [3 0 R /XYZ null null "+H(ge)+"]")}switch(_e||(_e="continuous"),_e){case"continuous":de("/PageLayout /OneColumn");break;case"single":de("/PageLayout /SinglePage");break;case"two":case"twoleft":de("/PageLayout /TwoColumnLeft");break;case"tworight":de("/PageLayout /TwoColumnRight")}ye&&de("/PageMode /"+ye),Be.publish("putCatalog"),de(">>"),de("endobj")},Bt=y.__private__.putTrailer=function(){de("trailer"),de("<<"),de("/Size "+(te+1)),de("/Root "+te+" 0 R"),de("/Info "+(te-1)+" 0 R"),null!==g&&de("/Encrypt "+Gt.oid+" 0 R"),de("/ID [ <"+W+"> <"+W+"> ]"),de(">>")},Ut=y.__private__.putHeader=function(){de("%PDF-"+w),de("%ºß¬à")},Vt=y.__private__.putXRef=function(){var e="0000000000";de("xref"),de("0 "+(te+1)),de("0000000000 65535 f ");for(var t=1;t<=te;t++)"function"==typeof re[t]?de((e+re[t]()).slice(-10)+" 00000 n "):void 0!==re[t]?de((e+re[t]).slice(-10)+" 00000 n "):de("0000000000 00000 n ")},Yt=y.__private__.buildDocument=function(){ue(),ce(ne),Be.publish("buildDocument"),Ut(),ot(),Tt(),Mt(),null!==g&&bt(),Ft(),Ht();var e=ie;return Vt(),Bt(),de("startxref"),de(""+e),de("%%EOF"),ce(oe[J]),ne.join("\n")},zt=y.__private__.getBlob=function(e){return new Blob([pe(e)],{type:"application/pdf"})},Wt=y.output=y.__private__.output=Nt((function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Yt();case"save":y.save(t.filename);break;case"arraybuffer":return pe(Yt());case"blob":return zt(Yt());case"bloburi":case"bloburl":if(void 0!==a.URL&&"function"==typeof a.URL.createObjectURL)return a.URL&&a.URL.createObjectURL(zt(Yt()))||void 0;s.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=Yt();try{r=h(n)}catch(e){r=h(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+t.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,o="");var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+i+'"'+o+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",u=a.open();return null!==u&&u.document.write(l),u}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var c='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',d=a.open();if(null!==d){d.document.write(c);var p=this;d.document.documentElement.querySelector("#pdfViewer").onload=function(){d.document.title=t.filename,d.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(p.output("bloburl"))}}return d}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(a))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var f='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',m=a.open();if(null!==m&&(m.document.write(f),m.document.title=t.filename),m||"undefined"==typeof safari)return m;break;case"datauri":case"dataurl":return a.document.location.href=this.output("datauristring",t);default:return null}})),qt=function(e){return!0===Array.isArray(Ue)&&Ue.indexOf(e)>-1};switch(i){case"pt":Ce=1;break;case"mm":Ce=72/25.4;break;case"cm":Ce=72/2.54;break;case"in":Ce=72;break;case"px":Ce=1==qt("px_scaling")?.75:96/72;break;case"pc":case"em":Ce=12;break;case"ex":Ce=6;break;default:if("number"!=typeof i)throw new Error("Invalid unit: "+i);Ce=i}var Gt=null;Z(),G();var Kt=function(e){return null!==g?Gt.encryptor(e,0):function(e){return e}},Xt=y.__private__.getPageInfo=y.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:He[e].objId,pageNumber:e,pageContext:He[e]}},Zt=y.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in He)if(He[t].objId===e)break;return Xt(t)},$t=y.__private__.getCurrentPageInfo=y.getCurrentPageInfo=function(){return{objId:He[J].objId,pageNumber:J,pageContext:He[J]}};y.addPage=function(){return kt.apply(this,arguments),this},y.setPage=function(){return Dt.apply(this,arguments),ce.call(this,oe[J]),this},y.insertPage=function(e){return this.addPage(),this.movePage(J,e),this},y.movePage=function(e,t){var r,n;if(e>t){r=oe[e],n=He[e];for(var i=e;i>t;i--)oe[i]=oe[i-1],He[i]=He[i-1];oe[t]=r,He[t]=n,this.setPage(t)}else if(e<t){r=oe[e],n=He[e];for(var a=e;a<t;a++)oe[a]=oe[a+1],He[a]=He[a+1];oe[t]=r,He[t]=n,this.setPage(t)}return this},y.deletePage=function(){return It.apply(this,arguments),this},y.__private__.text=y.text=function(e,t,r,i,a){var o,s,l,u,c,d,h,p,f,m=(i=i||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var g=r;r=t,t=e,e=g}if(arguments[3]instanceof We==0?(l=arguments[4],u=arguments[5],"object"===n()(h=arguments[3])&&null!==h||("string"==typeof l&&(u=l,l=null),"string"==typeof h&&(u=h,h=null),"number"==typeof h&&(l=h,h=null),i={flags:h,angle:l,align:u})):(O("The transform parameter of text() with a Matrix value"),f=a),isNaN(t)||isNaN(r)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return m;var v="",y=!1,w="number"==typeof i.lineHeightFactor?i.lineHeightFactor:dr,_=m.internal.scaleFactor;function S(e){return e=e.split("\t").join(Array(i.TabLen||9).join(" ")),Rt(e,h)}function E(e){for(var t,r=e.concat(),n=[],i=r.length;i--;)"string"==typeof(t=r.shift())?n.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?n.push(t[0]):n.push([t[0],t[1],t[2]]);return n}function C(e,t){var r;if("string"==typeof e)r=t(e)[0];else if(Array.isArray(e)){for(var n,i,a=e.concat(),o=[],s=a.length;s--;)"string"==typeof(n=a.shift())?o.push(t(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(i=t(n[0],n[1],n[2]),o.push([i[0],i[1],i[2]]));r=o}return r}var x=!1,A=!0;if("string"==typeof e)x=!0;else if(Array.isArray(e)){var R=e.concat();s=[];for(var L,k=R.length;k--;)("string"!=typeof(L=R.shift())||Array.isArray(L)&&"string"!=typeof L[0])&&(A=!1);x=A}if(!1===x)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var I=me/m.internal.scaleFactor,D=I*(w-1);switch(i.baseline){case"bottom":r-=D;break;case"top":r+=I-D;break;case"hanging":r+=I-2*D;break;case"middle":r+=I/2-D}if((d=i.maxWidth||0)>0&&("string"==typeof e?e=m.splitTextToSize(e,d):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(m.splitTextToSize(t,d))}),[]))),o={text:e,x:t,y:r,options:i,mutex:{pdfEscape:Rt,activeFontKey:Te,fonts:Oe,activeFontSize:me}},Be.publish("preProcessText",o),e=o.text,l=(i=o.options).angle,f instanceof We==0&&l&&"number"==typeof l){l*=Math.PI/180,0===i.rotationDirection&&(l=-l),T===M.ADVANCED&&(l=-l);var P=Math.cos(l),j=Math.sin(l);f=new We(P,j,-j,P,0,0)}else l&&l instanceof We&&(f=l);T!==M.ADVANCED||f||(f=Ge),void 0!==(c=i.charSpace||Cr)&&(v+=N(U(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(p=i.horizontalScale)&&(v+=N(100*p)+" Tz\n"),i.lang;var F=-1,H=void 0!==i.renderingMode?i.renderingMode:i.stroke,B=m.internal.getCurrentPageInfo().pageContext;switch(H){case 0:case!1:case"fill":F=0;break;case 1:case!0:case"stroke":F=1;break;case 2:case"fillThenStroke":F=2;break;case 3:case"invisible":F=3;break;case 4:case"fillAndAddForClipping":F=4;break;case 5:case"strokeAndAddPathForClipping":F=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":F=6;break;case 7:case"addToPathForClipping":F=7}var V=void 0!==B.usedRenderingMode?B.usedRenderingMode:-1;-1!==F?v+=F+" Tr\n":-1!==V&&(v+="0 Tr\n"),-1!==F&&(B.usedRenderingMode=F),u=i.align||"left";var Y,z=me*w,W=m.internal.pageSize.getWidth(),q=Oe[Te];c=i.charSpace||Cr,d=i.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},i.flags);var G=[];if("[object Array]"===Object.prototype.toString.call(e)){var K;s=E(e),"left"!==u&&(Y=s.map((function(e){return m.getStringUnitWidth(e,{font:q,charSpace:c,fontSize:me,doKerning:!1})*me/_})));var X,Z=0;if("right"===u){t-=Y[0],e=[],k=s.length;for(var $=0;$<k;$++)0===$?(X=br(t),K=yr(r)):(X=U(Z-Y[$]),K=-z),e.push([s[$],X,K]),Z=Y[$]}else if("center"===u){t-=Y[0]/2,e=[],k=s.length;for(var J=0;J<k;J++)0===J?(X=br(t),K=yr(r)):(X=U((Z-Y[J])/2),K=-z),e.push([s[J],X,K]),Z=Y[J]}else if("left"===u){e=[],k=s.length;for(var Q=0;Q<k;Q++)e.push(s[Q])}else{if("justify"!==u)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],k=s.length,d=0!==d?d:W;for(var ee=0;ee<k;ee++)K=0===ee?yr(r):-z,X=0===ee?br(t):0,ee<k-1?G.push(N(U((d-Y[ee])/(s[ee].split(" ").length-1)))):G.push(0),e.push([s[ee],X,K])}}var te="boolean"==typeof i.R2L?i.R2L:be;!0===te&&(e=C(e,(function(e,t,r){return[e.split("").reverse().join(""),t,r]}))),o={text:e,x:t,y:r,options:i,mutex:{pdfEscape:Rt,activeFontKey:Te,fonts:Oe,activeFontSize:me}},Be.publish("postProcessText",o),e=o.text,y=o.mutex.isHex||!1;var re=Oe[Te].encoding;"WinAnsiEncoding"!==re&&"StandardEncoding"!==re||(e=C(e,(function(e,t,r){return[S(e),t,r]}))),s=E(e),e=[];for(var ne,ie,ae,oe=0,se=1,le=Array.isArray(s[0])?se:oe,ue="",ce=function(e,t,r){var n="";return r instanceof We?(r="number"==typeof i.angle?qe(r,new We(1,0,0,1,e,t)):qe(new We(1,0,0,1,e,t),r),T===M.ADVANCED&&(r=qe(new We(1,0,0,-1,0,0),r)),n=r.join(" ")+" Tm\n"):n=N(e)+" "+N(t)+" Td\n",n},he=0;he<s.length;he++){switch(ue="",le){case se:ae=(y?"<":"(")+s[he][0]+(y?">":")"),ne=parseFloat(s[he][1]),ie=parseFloat(s[he][2]);break;case oe:ae=(y?"<":"(")+s[he]+(y?">":")"),ne=br(t),ie=yr(r)}void 0!==G&&void 0!==G[he]&&(ue=G[he]+" Tw\n"),0===he?e.push(ue+ce(ne,ie,f)+ae):le===oe?e.push(ue+ae):le===se&&e.push(ue+ce(ne,ie,f)+ae)}e=le===oe?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var pe="BT\n/";return pe+=Te+" "+me+" Tf\n",pe+=N(me*w)+" TL\n",pe+=Mr+"\n",pe+=v,pe+=e,de(pe+="ET"),b[Te]=!0,m};var Jt=y.__private__.clip=y.clip=function(e){return de("evenodd"===e?"W*":"W"),this};y.clipEvenOdd=function(){return Jt("evenodd")},y.__private__.discardPath=y.discardPath=function(){return de("n"),this};var Qt=y.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};y.__private__.setDefaultPathOperation=y.setDefaultPathOperation=function(e){return Qt(e)&&(m=e),this};var er=y.__private__.getStyle=y.getStyle=function(e){var t=m;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},tr=y.close=function(){return de("h"),this};y.stroke=function(){return de("S"),this},y.fill=function(e){return rr("f",e),this},y.fillEvenOdd=function(e){return rr("f*",e),this},y.fillStroke=function(e){return rr("B",e),this},y.fillStrokeEvenOdd=function(e){return rr("B*",e),this};var rr=function(e,t){"object"===n()(t)?ar(t,e):de(e)},nr=function(e){null===e||T===M.ADVANCED&&void 0===e||(e=er(e),de(e))};function ir(e,t,r,n,i){var a=new j(t||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);a.stream=this.stream;var o=e+"$$"+this.cloneIndex+++"$$";return Ke(o,a),a}var ar=function(e,t){var r=Ie[e.key],n=ke[r];if(n instanceof P)de("q"),de(or(t)),n.gState&&y.setGState(n.gState),de(e.matrix.toString()+" cm"),de("/"+r+" sh"),de("Q");else if(n instanceof j){var i=new We(1,0,0,-1,0,Hr());e.matrix&&(i=i.multiply(e.matrix||Ge),r=ir.call(n,e.key,e.boundingBox,e.xStep,e.yStep,i).id),de("q"),de("/Pattern cs"),de("/"+r+" scn"),n.gState&&y.setGState(n.gState),de(t),de("Q")}},or=function(e){switch(e){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},sr=y.moveTo=function(e,t){return de(N(U(e))+" "+N(Y(t))+" m"),this},lr=y.lineTo=function(e,t){return de(N(U(e))+" "+N(Y(t))+" l"),this},ur=y.curveTo=function(e,t,r,n,i,a){return de([N(U(e)),N(Y(t)),N(U(r)),N(Y(n)),N(U(i)),N(Y(a)),"c"].join(" ")),this};y.__private__.line=y.line=function(e,t,r,n,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Qt(i))throw new Error("Invalid arguments passed to jsPDF.line");return T===M.COMPAT?this.lines([[r-e,n-t]],e,t,[1,1],i||"S"):this.lines([[r-e,n-t]],e,t,[1,1]).stroke()},y.__private__.lines=y.lines=function(e,t,r,n,i,a){var o,s,l,u,c,d,h,p,f,m,g,v;if("number"==typeof e&&(v=r,r=t,t=e,e=v),n=n||[1,1],a=a||!1,isNaN(t)||isNaN(r)||!Array.isArray(e)||!Array.isArray(n)||!Qt(i)||"boolean"!=typeof a)throw new Error("Invalid arguments passed to jsPDF.lines");for(sr(t,r),o=n[0],s=n[1],u=e.length,m=t,g=r,l=0;l<u;l++)2===(c=e[l]).length?(m=c[0]*o+m,g=c[1]*s+g,lr(m,g)):(d=c[0]*o+m,h=c[1]*s+g,p=c[2]*o+m,f=c[3]*s+g,m=c[4]*o+m,g=c[5]*s+g,ur(d,h,p,f,m,g));return a&&tr(),nr(i),this},y.path=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.c;switch(r.op){case"m":sr(n[0],n[1]);break;case"l":lr(n[0],n[1]);break;case"c":ur.apply(this,n);break;case"h":tr()}}return this},y.__private__.rect=y.rect=function(e,t,r,n,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Qt(i))throw new Error("Invalid arguments passed to jsPDF.rect");return T===M.COMPAT&&(n=-n),de([N(U(e)),N(Y(t)),N(U(r)),N(U(n)),"re"].join(" ")),nr(i),this},y.__private__.triangle=y.triangle=function(e,t,r,n,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(a)||!Qt(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-e,n-t],[i-r,a-n],[e-i,t-a]],e,t,[1,1],o,!0),this},y.__private__.roundedRect=y.roundedRect=function(e,t,r,n,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(a)||!Qt(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*r),a=Math.min(a,.5*n),this.lines([[r-2*i,0],[i*s,0,i,a-a*s,i,a],[0,n-2*a],[0,a*s,-i*s,a,-i,a],[2*i-r,0],[-i*s,0,-i,-a*s,-i,-a],[0,2*a-n],[0,-a*s,i*s,-a,i,-a]],e+i,t,[1,1],o,!0),this},y.__private__.ellipse=y.ellipse=function(e,t,r,n,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Qt(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var a=4/3*(Math.SQRT2-1)*r,o=4/3*(Math.SQRT2-1)*n;return sr(e+r,t),ur(e+r,t-o,e+a,t-n,e,t-n),ur(e-a,t-n,e-r,t-o,e-r,t),ur(e-r,t+o,e-a,t+n,e,t+n),ur(e+a,t+n,e+r,t+o,e+r,t),nr(i),this},y.__private__.circle=y.circle=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||!Qt(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,r,r,n)},y.setFont=function(e,t,r){return r&&(t=A(t,r)),Te=jt(e,t,{disableWarning:!1}),this};var cr=y.__private__.getFont=y.getFont=function(){return Oe[jt.apply(y,arguments)]};y.__private__.getFontList=y.getFontList=function(){var e,t,r={};for(e in Re)if(Re.hasOwnProperty(e))for(t in r[e]=[],Re[e])Re[e].hasOwnProperty(t)&&r[e].push(t);return r},y.addFont=function(e,t,r,n,i){var a=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==a.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==a.indexOf(arguments[3])&&(r=A(r,n)),i=i||"Identity-H",xt.call(this,e,t,r,i)};var dr,hr=e.lineWidth||.200025,pr=y.__private__.getLineWidth=y.getLineWidth=function(){return hr},fr=y.__private__.setLineWidth=y.setLineWidth=function(e){return hr=e,de(N(U(e))+" w"),this};y.__private__.setLineDash=F.API.setLineDash=F.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return N(U(e))})).join(" "),t=N(U(t)),de("["+e+"] "+t+" d"),this};var mr=y.__private__.getLineHeight=y.getLineHeight=function(){return me*dr};y.__private__.getLineHeight=y.getLineHeight=function(){return me*dr};var gr=y.__private__.setLineHeightFactor=y.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(dr=e),this},vr=y.__private__.getLineHeightFactor=y.getLineHeightFactor=function(){return dr};gr(e.lineHeight);var br=y.__private__.getHorizontalCoordinate=function(e){return U(e)},yr=y.__private__.getVerticalCoordinate=function(e){return T===M.ADVANCED?e:He[J].mediaBox.topRightY-He[J].mediaBox.bottomLeftY-U(e)},wr=y.__private__.getHorizontalCoordinateString=y.getHorizontalCoordinateString=function(e){return N(br(e))},_r=y.__private__.getVerticalCoordinateString=y.getVerticalCoordinateString=function(e){return N(yr(e))},Sr=e.strokeColor||"0 G";y.__private__.getStrokeColor=y.getDrawColor=function(){return tt(Sr)},y.__private__.setStrokeColor=y.setDrawColor=function(e,t,r,n){return Sr=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),de(Sr),this};var Er=e.fillColor||"0 g";y.__private__.getFillColor=y.getFillColor=function(){return tt(Er)},y.__private__.setFillColor=y.setFillColor=function(e,t,r,n){return Er=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),de(Er),this};var Mr=e.textColor||"0 g",Tr=y.__private__.getTextColor=y.getTextColor=function(){return tt(Mr)};y.__private__.setTextColor=y.setTextColor=function(e,t,r,n){return Mr=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var Cr=e.charSpace,xr=y.__private__.getCharSpace=y.getCharSpace=function(){return parseFloat(Cr||0)};y.__private__.setCharSpace=y.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Cr=e,this};var Ar=0;y.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},y.__private__.setLineCap=y.setLineCap=function(e){var t=y.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ar=t,de(t+" J"),this};var Nr=0;y.__private__.setLineJoin=y.setLineJoin=function(e){var t=y.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Nr=t,de(t+" j"),this},y.__private__.setLineMiterLimit=y.__private__.setMiterLimit=y.setLineMiterLimit=y.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return de(N(U(e))+" M"),this},y.GState=I,y.setGState=function(e){(e="string"==typeof e?De[Pe[e]]:Or(null,e)).equals(je)||(de("/"+e.id+" gs"),je=e)};var Or=function(e,t){if(!e||!Pe[e]){var r=!1;for(var n in De)if(De.hasOwnProperty(n)&&De[n].equals(t)){r=!0;break}if(r)t=De[n];else{var i="GS"+(Object.keys(De).length+1).toString(10);De[i]=t,t.id=i}return e&&(Pe[e]=t.id),Be.publish("addGState",t),t}};y.addGState=function(e,t){return Or(e,t),this},y.saveGraphicsState=function(){return de("q"),Le.push({key:Te,size:me,color:Mr}),this},y.restoreGraphicsState=function(){de("Q");var e=Le.pop();return Te=e.key,me=e.size,Mr=e.color,je=null,this},y.setCurrentTransformationMatrix=function(e){return de(e.toString()+" cm"),this},y.comment=function(e){return de("#"+e),this};var Rr=function(e,t){var r=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var n=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},Lr=function(e,t,r,n){Rr.call(this,e,t),this.type="rect";var i=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var a=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}}),this},kr=function(){this.page=Fe,this.currentPage=J,this.pages=oe.slice(0),this.pagesContext=He.slice(0),this.x=xe,this.y=Ae,this.matrix=Ne,this.width=jr(J),this.height=Hr(J),this.outputDestination=le,this.id="",this.objectNumber=-1};kr.prototype.restore=function(){Fe=this.page,J=this.currentPage,He=this.pagesContext,oe=this.pages,xe=this.x,Ae=this.y,Ne=this.matrix,Fr(J,this.width),Br(J,this.height),le=this.outputDestination};var Ir=function(e,t,r,n,i){ze.push(new kr),Fe=J=0,oe=[],xe=e,Ae=t,Ne=i,Lt([r,n])},Dr=function(e){if(Ye[e])ze.pop().restore();else{var t=new kr,r="Xo"+(Object.keys(Ve).length+1).toString(10);t.id=r,Ye[e]=r,Ve[r]=t,Be.publish("addFormObject",t),ze.pop().restore()}};for(var Pr in y.beginFormObject=function(e,t,r,n,i){return Ir(e,t,r,n,i),this},y.endFormObject=function(e){return Dr(e),this},y.doFormObject=function(e,t){var r=Ve[Ye[e]];return de("q"),de(t.toString()+" cm"),de("/"+r.id+" Do"),de("Q"),this},y.getFormObject=function(e){var t=Ve[Ye[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},y.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(p(zt(Yt()),e),"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),this):new Promise((function(t,r){try{var n=p(zt(Yt()),e);"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),t(n)}catch(e){r(e.message)}}))},F.API)F.API.hasOwnProperty(Pr)&&("events"===Pr&&F.API.events.length?function(e,t){var r,n,i;for(i=t.length-1;-1!==i;i--)r=t[i][0],n=t[i][1],e.subscribe.apply(e,[r].concat("function"==typeof n?[n]:n))}(Be,F.API.events):y[Pr]=F.API[Pr]);var jr=y.getPageWidth=function(e){return(He[e=e||J].mediaBox.topRightX-He[e].mediaBox.bottomLeftX)/Ce},Fr=y.setPageWidth=function(e,t){He[e].mediaBox.topRightX=t*Ce+He[e].mediaBox.bottomLeftX},Hr=y.getPageHeight=function(e){return(He[e=e||J].mediaBox.topRightY-He[e].mediaBox.bottomLeftY)/Ce},Br=y.setPageHeight=function(e,t){He[e].mediaBox.topRightY=t*Ce+He[e].mediaBox.bottomLeftY};return y.internal={pdfEscape:Rt,getStyle:er,getFont:cr,getFontSize:ve,getCharSpace:xr,getTextColor:Tr,getLineHeight:mr,getLineHeightFactor:vr,getLineWidth:pr,write:he,getHorizontalCoordinate:br,getVerticalCoordinate:yr,getCoordinateString:wr,getVerticalCoordinateString:_r,collections:{},newObject:Xe,newAdditionalObject:Je,newObjectDeferred:Ze,newObjectDeferredBegin:$e,getFilters:nt,putStream:it,events:Be,scaleFactor:Ce,pageSize:{getWidth:function(){return jr(J)},setWidth:function(e){Fr(J,e)},getHeight:function(){return Hr(J)},setHeight:function(e){Br(J,e)}},encryptionOptions:g,encryption:Gt,getEncryptor:Kt,output:Wt,getNumberOfPages:Pt,pages:oe,out:de,f2:H,f3:B,getPageInfo:Xt,getPageInfoByObjId:Zt,getCurrentPageInfo:$t,getPDFVersion:_,Point:Rr,Rectangle:Lr,Matrix:We,hasHotfix:qt},Object.defineProperty(y.internal.pageSize,"width",{get:function(){return jr(J)},set:function(e){Fr(J,e)},enumerable:!0,configurable:!0}),Object.defineProperty(y.internal.pageSize,"height",{get:function(){return Hr(J)},set:function(e){Br(J,e)},enumerable:!0,configurable:!0}),At.call(y,fe),Te="F1",kt(o,r),Be.publish("initialized"),y}R.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},R.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},R.prototype.hexToBytes=function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(String.fromCharCode(parseInt(e.substr(r,2),16)));return t.join("")},R.prototype.processOwnerPassword=function(e,t){return N(C(t).substr(0,5),e)},R.prototype.encryptor=function(e,t){var r=C(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return N(r,e)}},I.prototype.equals=function(e){var t,r="id,objectNumber,equals";if(!e||n()(e)!==n()(this))return!1;var i=0;for(t in this)if(!(r.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;i++}for(t in e)e.hasOwnProperty(t)&&r.indexOf(t)<0&&i--;return 0===i},F.API={events:[]},F.version="2.5.1";var H=F.API,B=1,U=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},V=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Y=function(e){return e.toFixed(2)},z=function(e){return e.toFixed(5)};H.__acroform__={};var W=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},q=function(e){return e*B},G=function(e){var t=new de,r=Te.internal.getHeight(e)||0,n=Te.internal.getWidth(e)||0;return t.BBox=[0,0,Number(Y(n)),Number(Y(r))],t},K=H.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},X=H.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},Z=H.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},$=H.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Z(e,t-1)},J=H.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return K(e,t-1)},Q=H.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return X(e,t-1)},ee=H.__acroform__.calculateCoordinates=function(e,t){var r=t.internal.getHorizontalCoordinate,n=t.internal.getVerticalCoordinate,i=e[0],a=e[1],o=e[2],s=e[3],l={};return l.lowerLeft_X=r(i)||0,l.lowerLeft_Y=n(a+s)||0,l.upperRight_X=r(i+o)||0,l.upperRight_Y=n(a)||0,[Number(Y(l.lowerLeft_X)),Number(Y(l.lowerLeft_Y)),Number(Y(l.upperRight_X)),Number(Y(l.upperRight_Y))]},te=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],r=e._V||e.DV,n=re(e,r),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+Y(n.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(n.text),t.push("ET"),t.push("Q"),t.push("EMC");var a=G(e);return a.scope=e.scope,a.stream=t.join("\n"),a}},re=function(e,t){var r=0===e.fontSize?e.maxFontSize:e.fontSize,n={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");i=e.multiline?i.map((function(e){return e.split("\n")})):i.map((function(e){return[e]}));var a=r,o=Te.internal.getHeight(e)||0;o=o<0?-o:o;var s=Te.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,r,n){if(t+1<i.length){var a=r+" "+i[t+1][0];return ne(a,e,n).width<=s-4}return!1};a++;e:for(;a>0;){t="",a--;var u,c,d=ne("3",e,a).height,h=e.multiline?o-a:(o-d)/2,p=h+=2,f=0,m=0,g=0;if(a<=0){t="(...) Tj\n",t+="% Width of Text: "+ne(t,e,a=12).width+", FieldWidth:"+s+"\n";break}for(var v="",b=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var w=!1;if(1!==i[y].length&&g!==i[y].length-1){if((d+2)*(b+2)+2>o)continue e;v+=i[y][g],w=!0,m=y,y--}else{v=" "==(v+=i[y][g]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var _=parseInt(y),S=l(_,v,a),E=y>=i.length-1;if(S&&!E){v+=" ",g=0;continue}if(S||E){if(E)m=_;else if(e.multiline&&(d+2)*(b+2)+2>o)continue e}else{if(!e.multiline)continue e;if((d+2)*(b+2)+2>o)continue e;m=_}}for(var M="",T=f;T<=m;T++){var C=i[T];if(e.multiline){if(T===m){M+=C[g]+" ",g=(g+1)%C.length;continue}if(T===f){M+=C[C.length-1]+" ";continue}}M+=C[0]+" "}switch(M=" "==M.substr(M.length-1)?M.substr(0,M.length-1):M,c=ne(M,e,a).width,e.textAlign){case"right":u=s-c-2;break;case"center":u=(s-c)/2;break;case"left":default:u=2}t+=Y(u)+" "+Y(p)+" Td\n",t+="("+U(M)+") Tj\n",t+=-Y(u)+" 0 Td\n",p=-(a+2),c=0,f=w?m:m+1,b++,v=""}break}return n.text=t,n.fontSize=a,n},ne=function(e,t,r){var n=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:t.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},ie={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ae=function(e,t){var r={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===r.type&&e.object===r.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(r)},oe=function(e,t){for(var r in e)if(e.hasOwnProperty(r)){var i=r,a=e[r];t.internal.newObjectDeferredBegin(a.objId,!0),"object"===n()(a)&&"function"==typeof a.putStream&&a.putStream(),delete e[i]}},se=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(pe.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(ie)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");B=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new he,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];n.objId=void 0,n.hasAnnotation&&ae(n,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var r=!e;for(var i in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(i)){var a=e[i],o=[],s=a.Rect;if(a.Rect&&(a.Rect=ee(a.Rect,t)),t.internal.newObjectDeferredBegin(a.objId,!0),a.DA=Te.createDefaultAppearanceStream(a),"object"===n()(a)&&"function"==typeof a.getKeyValueListForStream&&(o=a.getKeyValueListForStream()),a.Rect=s,a.hasAppearanceStream&&!a.appearanceStreamContent){var l=te(a);o.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(a.appearanceStreamContent){var u="";for(var c in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(c)){var d=a.appearanceStreamContent[c];if(u+="/"+c+" ",u+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var i in d)if(d.hasOwnProperty(i)){var h=d[i];"function"==typeof h&&(h=h.call(t,a)),u+="/"+i+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=d)&&(h=h.call(t,a)),u+="/"+i+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);u+=">>"}o.push({key:"AP",value:"<<\n"+u+">>"})}t.internal.putStream({additionalKeyValues:o,objectId:a.objId}),t.internal.out("endobj")}r&&oe(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},le=H.__acroform__.arrayToPdfArray=function(e,t,r){var i=function(e){return e};if(Array.isArray(e)){for(var a="[",o=0;o<e.length;o++)switch(0!==o&&(a+=" "),n()(e[o])){case"boolean":case"number":case"object":a+=e[o].toString();break;case"string":"/"!==e[o].substr(0,1)?(void 0!==t&&r&&(i=r.internal.getEncryptor(t)),a+="("+U(i(e[o].toString()))+")"):a+=e[o].toString()}return a+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ue=function(e,t,r){var n=function(e){return e};return void 0!==t&&r&&(n=r.internal.getEncryptor(t)),(e=e||"").toString(),"("+U(n(e))+")"},ce=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ce.prototype.toString=function(){return this.objId+" 0 R"},ce.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},ce.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var r in t)if(!1===Object.getOwnPropertyDescriptor(this,t[r]).configurable){var n=t[r],i=this[n];i&&(Array.isArray(i)?e.push({key:n,value:le(i,this.objId,this.scope)}):i instanceof ce?(i.scope=this.scope,e.push({key:n,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:n,value:i}))}return e};var de=function(){ce.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};W(de,ce);var he=function(){ce.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+U(t(e))+")"}},set:function(t){e=t}})};W(he,ce);var pe=function e(){ce.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean($(t,3))},set:function(e){!0===Boolean(e)?this.F=J(t,3):this.F=Q(t,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');r=e}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==n.length)return n},set:function(e){n=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(e){n[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(e){n[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(e){n[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(e){n[3]=e}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof _e)return;a="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+U(t(a))+")"},set:function(e){a=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(e){a=e}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/B:u},set:function(e){u=e}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof _e||this instanceof Ee))return ue(d,this.objId,this.scope)},set:function(e){e=e.toString(),d=e}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof be==0?ue(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof be==0?"("===e.substr(0,1)?V(e.substr(1,e.length-2)):V(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof be==1?V(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof be==1?"/"+e:e}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof be==0?ue(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof be==0?"("===e.substr(0,1)?V(e.substr(1,e.length-2)):V(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof be==1?V(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof be==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var f,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(e){e=Boolean(e),m=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(f)return f},set:function(e){f=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,1):this.Ff=Q(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,2):this.Ff=Q(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,3):this.Ff=Q(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};W(pe,ce);var fe=function(){pe.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return le(t,this.objId,this.scope)},set:function(e){var r,n;n=[],"string"==typeof(r=e)&&(n=function(e,t,r){r||(r=1);for(var n,i=[];n=t.exec(e);)i.push(n[r]);return i}(r,/\((.*?)\)/g)),t=n}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,18):this.Ff=Q(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=J(this.Ff,19):this.Ff=Q(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=J(this.Ff,20),t.sort()):this.Ff=Q(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,22):this.Ff=Q(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,23):this.Ff=Q(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,27):this.Ff=Q(this.Ff,27)}}),this.hasAppearanceStream=!1};W(fe,pe);var me=function(){fe.call(this),this.fontName="helvetica",this.combo=!1};W(me,fe);var ge=function(){me.call(this),this.combo=!0};W(ge,me);var ve=function(){ge.call(this),this.edit=!0};W(ve,ge);var be=function(){pe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,15):this.Ff=Q(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,16):this.Ff=Q(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,17):this.Ff=Q(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,26):this.Ff=Q(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,n=[];for(r in n.push("<<"),t)n.push("/"+r+" ("+U(e(t[r]))+")");return n.push(">>"),n.join("\n")}},set:function(e){"object"===n()(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};W(be,pe);var ye=function(){be.call(this),this.pushButton=!0};W(ye,be);var we=function(){be.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};W(we,be);var _e=function(){var e,t;pe.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var r,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,r=[];for(t in r.push("<<"),i)r.push("/"+t+" ("+U(e(i[t]))+")");return r.push(">>"),r.join("\n")},set:function(e){"object"===n()(e)&&(i=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(e){"string"==typeof e&&(i.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Te.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};W(_e,pe),we.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var r=this.Kids[t];r.appearanceStreamContent=e.createAppearanceStream(r.optionName),r.caption=e.getCA()}},we.prototype.createOption=function(e){var t=new _e;return t.Parent=this,t.optionName=e,this.Kids.push(t),Ce.call(this.scope,t),t};var Se=function(){be.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Te.CheckBox.createAppearanceStream()};W(Se,be);var Ee=function(){pe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,13):this.Ff=Q(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,21):this.Ff=Q(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,23):this.Ff=Q(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,24):this.Ff=Q(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,25):this.Ff=Q(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,26):this.Ff=Q(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};W(Ee,pe);var Me=function(){Ee.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,14):this.Ff=Q(this.Ff,14)}}),this.password=!0};W(Me,Ee);var Te={CheckBox:{createAppearanceStream:function(){return{N:{On:Te.CheckBox.YesNormal},D:{On:Te.CheckBox.YesPushDown,Off:Te.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=G(e);t.scope=e.scope;var r=[],n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),a=re(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+Y(Te.internal.getWidth(e))+" "+Y(Te.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+Y(a.fontSize)+" Tf "+i),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=G(e);t.scope=e.scope;var r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),i=[],a=Te.internal.getHeight(e),o=Te.internal.getWidth(e),s=re(e,e.caption);return i.push("1 g"),i.push("0 0 "+Y(o)+" "+Y(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Y(o-1)+" "+Y(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+Y(s.fontSize)+" Tf "+n),i.push(s.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=G(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Y(Te.internal.getWidth(e))+" "+Y(Te.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:Te.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=Te.RadioButton.Circle.YesNormal,t.D[e]=Te.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=G(e);t.scope=e.scope;var r=[],n=Te.internal.getWidth(e)<=Te.internal.getHeight(e)?Te.internal.getWidth(e)/4:Te.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Te.internal.Bezier_C,a=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+z(Te.internal.getWidth(e)/2)+" "+z(Te.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=G(e);t.scope=e.scope;var r=[],n=Te.internal.getWidth(e)<=Te.internal.getHeight(e)?Te.internal.getWidth(e)/4:Te.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*Te.internal.Bezier_C).toFixed(5)),o=Number((n*Te.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+z(Te.internal.getWidth(e)/2)+" "+z(Te.internal.getHeight(e)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+z(Te.internal.getWidth(e)/2)+" "+z(Te.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=G(e);t.scope=e.scope;var r=[],n=Te.internal.getWidth(e)<=Te.internal.getHeight(e)?Te.internal.getWidth(e)/4:Te.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*Te.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+z(Te.internal.getWidth(e)/2)+" "+z(Te.internal.getHeight(e)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:Te.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=Te.RadioButton.Cross.YesNormal,t.D[e]=Te.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=G(e);t.scope=e.scope;var r=[],n=Te.internal.calculateCross(e);return r.push("q"),r.push("1 1 "+Y(Te.internal.getWidth(e)-2)+" "+Y(Te.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Y(n.x1.x)+" "+Y(n.x1.y)+" m"),r.push(Y(n.x2.x)+" "+Y(n.x2.y)+" l"),r.push(Y(n.x4.x)+" "+Y(n.x4.y)+" m"),r.push(Y(n.x3.x)+" "+Y(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=G(e);t.scope=e.scope;var r=Te.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+Y(Te.internal.getWidth(e))+" "+Y(Te.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+Y(Te.internal.getWidth(e)-2)+" "+Y(Te.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Y(r.x1.x)+" "+Y(r.x1.y)+" m"),n.push(Y(r.x2.x)+" "+Y(r.x2.y)+" l"),n.push(Y(r.x4.x)+" "+Y(r.x4.y)+" m"),n.push(Y(r.x3.x)+" "+Y(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=G(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+Y(Te.internal.getWidth(e))+" "+Y(Te.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};Te.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=Te.internal.getWidth(e),r=Te.internal.getHeight(e),n=Math.min(t,r);return{x1:{x:(t-n)/2,y:(r-n)/2+n},x2:{x:(t-n)/2+n,y:(r-n)/2},x3:{x:(t-n)/2,y:(r-n)/2},x4:{x:(t-n)/2+n,y:(r-n)/2+n}}}},Te.internal.getWidth=function(e){var t=0;return"object"===n()(e)&&(t=q(e.Rect[2])),t},Te.internal.getHeight=function(e){var t=0;return"object"===n()(e)&&(t=q(e.Rect[3])),t};var Ce=H.addField=function(e){if(se(this,e),!(e instanceof pe))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};H.AcroFormChoiceField=fe,H.AcroFormListBox=me,H.AcroFormComboBox=ge,H.AcroFormEditBox=ve,H.AcroFormButton=be,H.AcroFormPushButton=ye,H.AcroFormRadioButton=we,H.AcroFormCheckBox=Se,H.AcroFormTextField=Ee,H.AcroFormPasswordField=Me,H.AcroFormAppearance=Te,H.AcroForm={ChoiceField:fe,ListBox:me,ComboBox:ge,EditBox:ve,Button:be,PushButton:ye,RadioButton:we,CheckBox:Se,TextField:Ee,PasswordField:Me,Appearance:Te},F.AcroForm={ChoiceField:fe,ListBox:me,ComboBox:ge,EditBox:ve,Button:be,PushButton:ye,RadioButton:we,CheckBox:Se,TextField:Ee,PasswordField:Me,Appearance:Te};F.AcroForm;function xe(e){return e.reduce((function(e,t,r){return e[t]=r,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(e,n){var i,a,o,s,l,u=t;if("RGBA"===(n=n||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(M(e))for(l in r)for(o=r[l],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==e[a]){s=!1;break}if(!0===s){u=l;break}}else for(l in r)for(o=r[l],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==e.charCodeAt(a)){s=!1;break}if(!0===s){u=l;break}}return u===t&&n!==t&&(u=n),u},a=function e(t){for(var r=this.internal.write,n=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var a=[];if(a.push({key:"Type",value:"/XObject"}),a.push({key:"Subtype",value:"/Image"}),a.push({key:"Width",value:t.width}),a.push({key:"Height",value:t.height}),t.colorSpace===b.INDEXED?a.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(a.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===b.DEVICE_CMYK&&a.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),a.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&a.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var o="",s=0,l=t.transparency.length;s<l;s++)o+=t.transparency[s]+" "+t.transparency[s]+" ";a.push({key:"Mask",value:"["+o+"]"})}void 0!==t.sMask&&a.push({key:"SMask",value:t.objectId+1+" 0 R"});var u=void 0!==t.filter?["/"+t.filter]:void 0;if(n({data:t.data,additionalKeyValues:a,alreadyAppliedFilters:u,objectId:t.objectId}),r("endobj"),"sMask"in t&&void 0!==t.sMask){var c="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,d={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:c,data:t.sMask};"filter"in t&&(d.filter=t.filter),e.call(this,d)}if(t.colorSpace===b.INDEXED){var h=this.internal.newObject();n({data:C(new Uint8Array(t.palette)),objectId:h}),r("endobj")}},o=function(){var e=this.internal.collections.addImage_images;for(var t in e)a.call(this,e[t])},s=function(){var e,t=this.internal.collections.addImage_images,r=this.internal.write;for(var n in t)r("/I"+(e=t[n]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},c=function(){return Object.keys(this.internal.collections.addImage_images).length},h=function(t){return"function"==typeof e["process"+t.toUpperCase()]},p=function(e){return"object"===n()(e)&&1===e.nodeType},f=function(t,r){if("IMG"===t.nodeName&&t.hasAttribute("src")){var n=""+t.getAttribute("src");if(0===n.indexOf("data:image/"))return d(unescape(n).split("base64,").pop());var i=e.loadFile(n,!0);if(void 0!==i)return i}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var a;switch(r){case"PNG":a="image/png";break;case"WEBP":a="image/webp";break;case"JPEG":case"JPG":default:a="image/jpeg"}return d(t.toDataURL(a,1).split("base64,").pop())}},m=function(e){var t=this.internal.collections.addImage_images;if(t)for(var r in t)if(e===t[r].alias)return t[r]},g=function(e,t,r){return e||t||(e=-96,t=-96),e<0&&(e=-1*r.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*r.height*72/t/this.internal.scaleFactor),0===e&&(e=t*r.width/r.height),0===t&&(t=e*r.height/r.width),[e,t]},v=function(e,t,r,n,i,a){var o=g.call(this,r,n,i),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=u.call(this);if(r=o[0],n=o[1],c[i.index]=i,a){a*=Math.PI/180;var d=Math.cos(a),h=Math.sin(a),p=function(e){return e.toFixed(4)},f=[p(d),p(h),p(-1*h),p(d),0,0,"cm"]}this.internal.write("q"),a?(this.internal.write([1,"0","0",1,s(e),l(t+n),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(e),l(t+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},b=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=e.__addimage__.sHashCode=function(e){var t,r,n=0;if("string"==typeof e)for(r=e.length,t=0;t<r;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;else if(M(e))for(r=e.byteLength/2,t=0;t<r;t++)n=(n<<5)-n+e[t],n|=0;return n},_=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},S=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),r=null;if(2===t.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:t[1]})}return r},E=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return E()&&e instanceof ArrayBuffer};var M=e.__addimage__.isArrayBufferView=function(e){return E()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},T=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},C=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",r=M(e)?e:new Uint8Array(e),n=0;n<r.length;n+=8192)t+=String.fromCharCode.apply(null,r.subarray(n,n+8192));return t};e.addImage=function(){var e,r,i,a,o,s,u,c,d;if("number"==typeof arguments[1]?(r=t,i=arguments[1],a=arguments[2],o=arguments[3],s=arguments[4],u=arguments[5],c=arguments[6],d=arguments[7]):(r=arguments[1],i=arguments[2],a=arguments[3],o=arguments[4],s=arguments[5],u=arguments[6],c=arguments[7],d=arguments[8]),"object"===n()(e=arguments[0])&&!p(e)&&"imageData"in e){var h=e;e=h.imageData,r=h.format||r||t,i=h.x||i||0,a=h.y||a||0,o=h.w||h.width||o,s=h.h||h.height||s,u=h.alias||u,c=h.compression||c,d=h.rotation||h.angle||d}var f=this.internal.getFilters();if(void 0===c&&-1!==f.indexOf("FlateEncode")&&(c="SLOW"),isNaN(i)||isNaN(a))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var m=x.call(this,e,r,u,c);return v.call(this,i,a,o,s,m,d),this};var x=function(r,n,a,o){var s,l,u;if("string"==typeof r&&i(r)===t){r=unescape(r);var d=A(r,!1);(""!==d||void 0!==(d=e.loadFile(r,!0)))&&(r=d)}if(p(r)&&(r=f(r,n)),n=i(r,n),!h(n))throw new Error("addImage does not support files of type '"+n+"', please ensure that a plugin for '"+n+"' support is added.");if((null==(u=a)||0===u.length)&&(a=function(e){return"string"==typeof e||M(e)?w(e):M(e.data)?w(e.data):null}(r)),(s=m.call(this,a))||(E()&&(r instanceof Uint8Array||"RGBA"===n||(l=r,r=T(r))),s=this["process"+n.toUpperCase()](r,c.call(this),a,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(o),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},A=e.__addimage__.convertBase64ToBinaryString=function(e,t){var r;t="boolean"!=typeof t||t;var n,i="";if("string"==typeof e){n=null!==(r=S(e))?r.data:e;try{i=d(n)}catch(e){if(t)throw _(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};e.getImageProperties=function(r){var n,a,o="";if(p(r)&&(r=f(r)),"string"==typeof r&&i(r)===t&&(""===(o=A(r,!1))&&(o=e.loadFile(r)||""),r=o),a=i(r),!h(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if(!E()||r instanceof Uint8Array||(r=T(r)),!(n=this["process"+a.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return n.fileType=a,n}}(F.API),
- /**
- * @license
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};F.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var r,n,i,a=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,u=!1,c=0;c<l.length&&!u;c++)switch((r=l[c]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(0!=u){this.internal.write("/Annots [");for(var d=0;d<l.length;d++){r=l[d];var h=this.internal.pdfEscape,p=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var f=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(f.objId),v=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+a(r.bounds.x)+" "+o(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w)+" "+o(r.bounds.y)+"] ")+"/Contents ("+h(g(r.contents))+")",i+=" /Popup "+m.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+h(g(v))+") >>",f.content=i;var b=f.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+a(r.bounds.x+30)+" "+o(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w+30)+" "+o(r.bounds.y)+"] ")+" /Parent "+b,r.open&&(i+=" /Open true"),i+=" >>",m.content=i,this.internal.write(f.objId,"0 R",m.objId,"0 R");break;case"freetext":n="/Rect ["+a(r.bounds.x)+" "+o(r.bounds.y)+" "+a(r.bounds.x+r.bounds.w)+" "+o(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(p(r.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(p(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var _=o(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+_+" "+r.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,r,n,i){var a=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:o(e),y:s(t),w:o(e+r),h:s(t+n)},options:i,type:"link"})},e.textWithLink=function(e,t,r,n){var i,a,o=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==n.maxWidth){a=n.maxWidth;var l=this.splitTextToSize(e,a).length;i=Math.ceil(s*l)}else a=o,i=s;return this.text(e,t,r,n),r+=.2*s,"center"===n.align&&(t-=o/2),"right"===n.align&&(t-=o),this.link(t,r-s,a,i,n),o},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(F.API),
- /**
- * @license
- * Copyright (c) 2017 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var a=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},o=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return o(e)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=1};var u=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return o(e)&&a(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return o(e)&&a(e)&&4==t[e.charCodeAt(0)].length},d=e.__arabicParser__.resolveLigatures=function(e){var t=0,n=r,i="",a=0;for(t=0;t<e.length;t+=1)void 0!==n[e.charCodeAt(t)]?(a++,"number"==typeof(n=n[e.charCodeAt(t)])&&(i+=String.fromCharCode(n),n=r,a=0),t===e.length-1&&(n=r,i+=e.charAt(t-(a-1)),t-=a-1,a=0)):(n=r,i+=e.charAt(t-a),t-=a,a=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==n[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,r){return o(e)?!1===a(e)?-1:!u(e)||!o(t)&&!o(r)||!o(r)&&s(t)||s(e)&&!o(t)||s(e)&&l(t)||s(e)&&s(t)?0:c(e)&&o(t)&&!s(t)&&o(r)&&u(r)?3:s(e)||!o(r)?1:2:-1},p=function(e){var r=0,n=0,i=0,a="",s="",l="",u=(e=e||"").split("\\s+"),c=[];for(r=0;r<u.length;r+=1){for(c.push(""),n=0;n<u[r].length;n+=1)a=u[r][n],s=u[r][n-1],l=u[r][n+1],o(a)?(i=h(a,s,l),c[r]+=-1!==i?String.fromCharCode(t[a.charCodeAt(0)][i]):a):c[r]+=a;c[r]=d(c[r])}return c.join(" ")},f=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(t)){var n=0;for(r=[],n=0;n<t.length;n+=1)Array.isArray(t[n])?r.push([p(t[n][0]),t[n][1],t[n][2]]):r.push([p(t[n])]);e=r}else e=p(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",f])}(F.API),F.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}))}return this},
- /**
- * @license
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(e){r=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(e){n=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var r;if("2d"!==(e=e||"2d"))return null;for(r in t)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=t[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(F.API),function(e){var t={left:0,top:0,bottom:0,right:0},r=!1,i=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(e){o=e}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return i.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){i.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),n=t.font||this.getFont(),a=t.scaleFactor||this.internal.scaleFactor,o=0,s=0,l=0,u=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(u.splitTextToSize(t,c))}),[])):e=Array.isArray(e)?e:[e];for(var d=0;d<e.length;d++)o<(l=this.getStringUnitWidth(e[d],{font:n})*r)&&(o=l);return 0!==o&&(s=e.length),{w:o/=a,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/a,0)}},e.cellAddPage=function(){i.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var n=this.internal.__cell__.lastCell,a=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return void 0!==n.lineNumber&&(n.lineNumber===e.lineNumber?(e.x=(n.x||0)+(n.width||0),e.y=n.y||0):n.y+n.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,u&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=n.y+n.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===r?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-a,e.y+a,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+a,{align:"center",baseline:"top",maxWidth:e.width-a-a}):this.text(e.text,e.x+a,e.y+a,{align:"left",baseline:"top",maxWidth:e.width-a-a})),this.internal.__cell__.lastCell=e,this};e.table=function(e,r,u,c,d){if(i.call(this),!u)throw new Error("No data for PDF table.");var h,p,f,m,g=[],v=[],b=[],y={},w={},_=[],S=[],E=(d=d||{}).autoSize||!1,M=!1!==d.printHeaders,T=d.css&&void 0!==d.css["font-size"]?16*d.css["font-size"]:d.fontSize||12,C=d.margins||Object.assign({width:this.getPageWidth()},t),x="number"==typeof d.padding?d.padding:3,A=d.headerBackgroundColor||"#c8c8c8",N=d.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=M,this.internal.__cell__.margins=C,this.internal.__cell__.table_font_size=T,this.internal.__cell__.padding=x,this.internal.__cell__.headerBackgroundColor=A,this.internal.__cell__.headerTextColor=N,this.setFontSize(T),null==c)v=g=Object.keys(u[0]),b=g.map((function(){return"left"}));else if(Array.isArray(c)&&"object"===n()(c[0]))for(g=c.map((function(e){return e.name})),v=c.map((function(e){return e.prompt||e.name||""})),b=c.map((function(e){return e.align||"left"})),h=0;h<c.length;h+=1)w[c[h].name]=c[h].width*(19.049976/25.4);else Array.isArray(c)&&"string"==typeof c[0]&&(v=g=c,b=g.map((function(){return"left"})));if(E||Array.isArray(c)&&"string"==typeof c[0])for(h=0;h<g.length;h+=1){for(y[m=g[h]]=u.map((function(e){return e[m]})),this.setFont(void 0,"bold"),_.push(this.getTextDimensions(v[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),p=y[m],this.setFont(void 0,"normal"),f=0;f<p.length;f+=1)_.push(this.getTextDimensions(p[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[m]=Math.max.apply(null,_)+x+x,_=[]}if(M){var O={};for(h=0;h<g.length;h+=1)O[g[h]]={},O[g[h]].text=v[h],O[g[h]].align=b[h];var R=l.call(this,O,w);S=g.map((function(t){return new o(e,r,w[t],R,O[t].text,void 0,O[t].align)})),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var L=c.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(h=0;h<u.length;h+=1){"rowStart"in d&&d.rowStart instanceof Function&&d.rowStart({row:h,data:u[h]},this);var k=l.call(this,u[h],w);for(f=0;f<g.length;f+=1){var I=u[h][g[f]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:h,col:f,data:I},this),s.call(this,new o(e,r,w[g[f]],k,I,h+2,L[g[f]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=r,this};var l=function(e,t){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map((function(n){var i=e[n];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[n]-r-r)}),this).map((function(e){return this.getLineHeightFactor()*e.length*n/i+r+r}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){i.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(i.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var n;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var a=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(a[0],a[1],a[2],a[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1){n=this.internal.__cell__.tableHeaderRow[u].clone(),t&&(n.y=this.internal.__cell__.margins.top||0,l.push(n)),n.lineNumber=e;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,n),this.setTextColor(c)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),r=!1}}(F.API);var Ae={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ne=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Oe=xe(Ne),Re=[100,200,300,400,500,600,700,800,900],Le=xe(Re);function ke(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),r=function(e){return Ae[e=e||"normal"]?e:"normal"}(e.style),n=function(e){if(!e)return 400;if("number"==typeof e)return e>=100&&e<=900&&e%100==0?e:400;if(/^\d00$/.test(e))return parseInt(e);switch(e){case"bold":return 700;case"normal":default:return 400}}(e.weight),i=function(e){return"number"==typeof Oe[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:r,weight:n,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,r,n].join(" ")}}}function Ie(e,t,r,n){var i;for(i=r;i>=0&&i<t.length;i+=n)if(e[t[i]])return e[t[i]];for(i=r;i>=0&&i<t.length;i-=n)if(e[t[i]])return e[t[i]]}var De={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Pe={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function je(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Fe(e,t,r){for(var n=(r=r||{}).defaultFontFamily||"times",i=Object.assign({},De,r.genericFontFamilies||{}),a=null,o=null,s=0;s<t.length;++s)if(i[(a=ke(t[s])).family]&&(a.family=i[a.family]),e.hasOwnProperty(a.family)){o=e[a.family];break}if(!(o=o||e[n]))throw new Error("Could not find a font-family for the rule '"+je(a)+"' and default family '"+n+"'.");if(o=function(e,t){if(t[e])return t[e];var r=Oe[e],n=r<=Oe.normal?-1:1,i=Ie(t,Ne,r,n);if(!i)throw new Error("Could not find a matching font-stretch value for "+e);return i}(a.stretch,o),o=function(e,t){if(t[e])return t[e];for(var r=Ae[e],n=0;n<r.length;++n)if(t[r[n]])return t[r[n]];throw new Error("Could not find a matching font-style for "+e)}(a.style,o),!(o=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var r=Le[e],n=Ie(t,Re,r,e<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+e);return n}(a.weight,o)))throw new Error("Failed to resolve a font for the rule '"+je(a)+"'.");return o}function He(e){return e.trimLeft()}function Be(e,t){for(var r=0;r<e.length;){if(e.charAt(r)===t)return[e.substring(0,r),e.substring(r+1)];r+=1}return null}function Ue(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Ve,Ye,ze,We=["times"];!function(e){var t,r,i,a,o,l,u,c,d,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new c,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new l,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new l,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new p(this),t=this.internal.f2,r=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,l=this.internal.Point,u=this.internal.Rectangle,c=this.internal.Matrix,d=new h}]);var p=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var a=0;Object.defineProperty(this,"posY",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),d.margin=t}});var o=!1;Object.defineProperty(this,"autoPaging",{get:function(){return o},set:function(e){o=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(e){e instanceof h&&(d=e)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(e){d.path=e}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(e){u=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=m(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=m(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var c=null;function p(e,t){if(null===c){var r=function(e){var t=[];return Object.keys(e).forEach((function(r){e[r].forEach((function(e){var n=null;switch(e){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:e},t.push(n))}))})),t}(e.getFontList());c=function(e){for(var t={},r=0;r<e.length;++r){var n=ke(e[r]),i=n.family,a=n.stretch,o=n.style,s=n.weight;t[i]=t[i]||{},t[i][a]=t[i][a]||{},t[i][a][o]=t[i][a][o]||{},t[i][a][o][s]=n}return t}(r.concat(t))}return c}var f=null;Object.defineProperty(this,"fontFaces",{get:function(){return f},set:function(e){c=null,f=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var r=t[1],n=(t[2],t[3]),i=t[4],a=(t[5],t[6]),o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===o?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(e){var t,r,n=[],i=e.trim();if(""===i)return We;if(i in Pe)return[Pe[i]];for(;""!==i;){switch(r=null,t=(i=He(i)).charAt(0)){case'"':case"'":r=Be(i.substring(1),t);break;default:r=Ue(i)}if(null===r)return We;if(n.push(r[0]),""!==(i=He(r[1]))&&","!==i.charAt(0))return We;i=i.replace(/^,/,"")}return n}(a);if(this.fontFaces){var l=Fe(p(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:n,style:r}})));this.pdf.setFont(l.ref.name,l.ref.style)}else{var u="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(u="bold"),"italic"===r&&(u+="italic"),0===u.length&&(u="normal");for(var c="",d={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],u,{noFallback:!0,disableWarning:!0})){c=s[h];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))c=s[h],u="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){c=s[h],u="normal";break}}if(""===c)for(var f=0;f<s.length;f++)if(d[s[f]]){c=d[s[f]];break}c=""===c?"Times":c,this.pdf.setFont(c,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,B.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,B.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};p.prototype.setLineDash=function(e){this.lineDash=e},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){E.call(this,"fill",!1)},p.prototype.stroke=function(){E.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw s.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new l(e,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new l(e,t)},p.prototype.closePath=function(){var e=new l(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===n()(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new l(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new l(e.x,e.y)},p.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw s.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new l(e,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new l(r.x,r.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),E.call(this,null,!0)},p.prototype.quadraticCurveTo=function(e,t,r,n){if(isNaN(r)||isNaN(n)||isNaN(e)||isNaN(t))throw s.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new l(r,n)),a=this.ctx.transform.applyToPoint(new l(e,t));this.path.push({type:"qct",x1:a.x,y1:a.y,x:i.x,y:i.y}),this.ctx.lastPoint=new l(i.x,i.y)},p.prototype.bezierCurveTo=function(e,t,r,n,i,a){if(isNaN(i)||isNaN(a)||isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw s.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new l(i,a)),u=this.ctx.transform.applyToPoint(new l(e,t)),c=this.ctx.transform.applyToPoint(new l(r,n));this.path.push({type:"bct",x1:u.x,y1:u.y,x2:c.x,y2:c.y,x:o.x,y:o.y}),this.ctx.lastPoint=new l(o.x,o.y)},p.prototype.arc=function(e,t,r,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(i))throw s.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(a=Boolean(a),!this.ctx.transform.isIdentity){var o=this.ctx.transform.applyToPoint(new l(e,t));e=o.x,t=o.y;var u=this.ctx.transform.applyToPoint(new l(0,r)),c=this.ctx.transform.applyToPoint(new l(0,0));r=Math.sqrt(Math.pow(u.x-c.x,2)+Math.pow(u.y-c.y,2))}Math.abs(i-n)>=2*Math.PI&&(n=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:r,startAngle:n,endAngle:i,counterclockwise:a})},p.prototype.arcTo=function(e,t,r,n,i){throw new Error("arcTo not implemented.")},p.prototype.rect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw s.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+n),this.lineTo(e,t+n),this.lineTo(e,t),this.lineTo(e+r,t),this.lineTo(e,t)},p.prototype.fillRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw s.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,r,n),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},p.prototype.strokeRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw s.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");v.call(this)||(this.beginPath(),this.rect(e,t,r,n),this.stroke())},p.prototype.clearRect=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n))throw s.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,r,n))},p.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},p.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var m=function(e){var t,r,n,i;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,r=0,n=0,i=0;else{var a=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==a)t=parseInt(a[1]),r=parseInt(a[2]),n=parseInt(a[3]),i=1;else if(null!==(a=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(a[1]),r=parseInt(a[2]),n=parseInt(a[3]),i=parseFloat(a[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var o=new f(e);e=o.ok?o.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,r=e.substring(2,3),r+=r,n=e.substring(3,4),n+=n):(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7)),t=parseInt(t,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:t,g:r,b:n,a:i,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},v=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};p.prototype.fillText=function(e,t,r,n){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw s.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(n=isNaN(n)?void 0:n,!g.call(this)){var i=j(this.ctx.transform.rotation),a=this.ctx.transform.scaleX;R.call(this,{text:e,x:t,y:r,scale:a,angle:i,align:this.textAlign,maxWidth:n})}},p.prototype.strokeText=function(e,t,r,n){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw s.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!v.call(this)){n=isNaN(n)?void 0:n;var i=j(this.ctx.transform.rotation),a=this.ctx.transform.scaleX;R.call(this,{text:e,x:t,y:r,scale:a,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:n})}},p.prototype.measureText=function(e){if("string"!=typeof e)throw s.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,r=this.pdf.internal.scaleFactor,n=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*n/t.internal.scaleFactor,a=function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new a({width:i*=Math.round(96*r/72*1e4)/1e4})},p.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw s.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new c(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},p.prototype.rotate=function(e){if(isNaN(e))throw s.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new c(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},p.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw s.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new c(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(r)},p.prototype.transform=function(e,t,r,n,i,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(a))throw s.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new c(e,t,r,n,i,a);this.ctx.transform=this.ctx.transform.multiply(o)},p.prototype.setTransform=function(e,t,r,n,i,a){e=isNaN(e)?1:e,t=isNaN(t)?0:t,r=isNaN(r)?0:r,n=isNaN(n)?1:n,i=isNaN(i)?0:i,a=isNaN(a)?0:a,this.ctx.transform=new c(e,t,r,n,i,a)};var b=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(e,t,r,n,i,a,o,s,l){var d=this.pdf.getImageProperties(e),h=1,p=1,f=1,m=1;void 0!==n&&void 0!==s&&(f=s/n,m=l/i,h=d.width/n*s/n,p=d.height/i*l/i),void 0===a&&(a=t,o=r,t=0,r=0),void 0!==n&&void 0===s&&(s=n,l=i),void 0===n&&void 0===s&&(s=d.width,l=d.height);for(var g,v=this.ctx.transform.decompose(),w=j(v.rotate.shx),E=new c,T=(E=(E=(E=E.multiply(v.translate)).multiply(v.skew)).multiply(v.scale)).applyToRectangle(new u(a-t*f,o-r*m,n*h,i*p)),C=y.call(this,T),x=[],A=0;A<C.length;A+=1)-1===x.indexOf(C[A])&&x.push(C[A]);if(S(x),this.autoPaging)for(var N=x[0],O=x[x.length-1],R=N;R<O+1;R++){this.pdf.setPage(R);var L=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],k=1===R?this.posY+this.margin[0]:this.margin[0],I=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],D=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],P=1===R?0:I+(R-2)*D;if(0!==this.ctx.clip_path.length){var F=this.path;g=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(g,this.posX+this.margin[3],-P+k+this.ctx.prevPageLastElemOffset),M.call(this,"fill",!0),this.path=F}var H=JSON.parse(JSON.stringify(T));H=_([H],this.posX+this.margin[3],-P+k+this.ctx.prevPageLastElemOffset)[0];var B=(R>N||R<O)&&b.call(this);B&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],L,D,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",H.x,H.y,H.w,H.h,null,null,w),B&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",T.x,T.y,T.w,T.h,null,null,w)};var y=function(e,t,r){var n=[];t=t||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":n.push(Math.floor((e.y+i)/r)+1);break;case"arc":n.push(Math.floor((e.y+i-e.radius)/r)+1),n.push(Math.floor((e.y+i+e.radius)/r)+1);break;case"qct":var a=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);n.push(Math.floor((a.y+i)/r)+1),n.push(Math.floor((a.y+a.h+i)/r)+1);break;case"bct":var o=H(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);n.push(Math.floor((o.y+i)/r)+1),n.push(Math.floor((o.y+o.h+i)/r)+1);break;case"rect":n.push(Math.floor((e.y+i)/r)+1),n.push(Math.floor((e.y+e.h+i)/r)+1)}for(var s=0;s<n.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<n[s];)w.call(this);return n},w=function(){var e=this.fillStyle,t=this.strokeStyle,r=this.font,n=this.lineCap,i=this.lineWidth,a=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=r,this.lineCap=n,this.lineWidth=i,this.lineJoin=a},_=function(e,t,r){for(var n=0;n<e.length;n++)switch(e[n].type){case"bct":e[n].x2+=t,e[n].y2+=r;case"qct":e[n].x1+=t,e[n].y1+=r;case"mt":case"lt":case"arc":default:e[n].x+=t,e[n].y+=r}return e},S=function(e){return e.sort((function(e,t){return e-t}))},E=function(e,t){for(var r,n,i=this.fillStyle,a=this.strokeStyle,o=this.lineCap,s=this.lineWidth,l=Math.abs(s*this.ctx.transform.scaleX),u=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),d=JSON.parse(JSON.stringify(this.path)),h=[],p=0;p<d.length;p++)if(void 0!==d[p].x)for(var f=y.call(this,d[p]),m=0;m<f.length;m+=1)-1===h.indexOf(f[m])&&h.push(f[m]);for(var g=0;g<h.length;g++)for(;this.pdf.internal.getNumberOfPages()<h[g];)w.call(this);if(S(h),this.autoPaging)for(var v=h[0],E=h[h.length-1],T=v;T<E+1;T++){this.pdf.setPage(T),this.fillStyle=i,this.strokeStyle=a,this.lineCap=o,this.lineWidth=l,this.lineJoin=u;var C=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],x=1===T?this.posY+this.margin[0]:this.margin[0],A=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],N=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],O=1===T?0:A+(T-2)*N;if(0!==this.ctx.clip_path.length){var R=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(r,this.posX+this.margin[3],-O+x+this.ctx.prevPageLastElemOffset),M.call(this,e,!0),this.path=R}if(n=JSON.parse(JSON.stringify(c)),this.path=_(n,this.posX+this.margin[3],-O+x+this.ctx.prevPageLastElemOffset),!1===t||0===T){var L=(T>v||T<E)&&b.call(this);L&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],C,N,null).clip().discardPath()),M.call(this,e,t),L&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=l,M.call(this,e,t),this.lineWidth=s;this.path=c},M=function(e,t){if(("stroke"!==e||t||!v.call(this))&&("stroke"===e||t||!g.call(this))){for(var r,n,i=[],a=this.path,o=0;o<a.length;o++){var s=a[o];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var l=i.length;if(a[o-1]&&!isNaN(a[o-1].x)&&(r=[s.x-a[o-1].x,s.y-a[o-1].y],l>0))for(;l>=0;l--)if(!0!==i[l-1].close&&!0!==i[l-1].begin){i[l-1].deltas.push(r),i[l-1].abs.push(s);break}break;case"bct":r=[s.x1-a[o-1].x,s.y1-a[o-1].y,s.x2-a[o-1].x,s.y2-a[o-1].y,s.x-a[o-1].x,s.y-a[o-1].y],i[i.length-1].deltas.push(r);break;case"qct":var u=a[o-1].x+2/3*(s.x1-a[o-1].x),c=a[o-1].y+2/3*(s.y1-a[o-1].y),d=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),p=s.x,f=s.y;r=[u-a[o-1].x,c-a[o-1].y,d-a[o-1].x,h-a[o-1].y,p-a[o-1].x,f-a[o-1].y],i[i.length-1].deltas.push(r);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}n=t?null:"stroke"===e?"stroke":"fill";for(var m=!1,b=0;b<i.length;b++)if(i[b].arc)for(var y=i[b].abs,w=0;w<y.length;w++){var _=y[w];"arc"===_.type?x.call(this,_.x,_.y,_.radius,_.startAngle,_.endAngle,_.counterclockwise,void 0,t,!m):L.call(this,_.x,_.y),m=!0}else if(!0===i[b].close)this.pdf.internal.out("h"),m=!1;else if(!0!==i[b].begin){var S=i[b].start.x,E=i[b].start.y;k.call(this,i[b].deltas,S,E),m=!0}n&&A.call(this,n),t&&N.call(this)}},T=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-r;case"top":return e+t-r;case"hanging":return e+t-2*r;case"middle":return e+t/2-r;case"ideographic":return e;case"alphabetic":default:return e}},C=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var x=function(e,t,r,n,i,a,o,s,l){for(var u=D.call(this,r,n,i,a),c=0;c<u.length;c++){var d=u[c];0===c&&(l?O.call(this,d.x1+e,d.y1+t):L.call(this,d.x1+e,d.y1+t)),I.call(this,e,t,d.x2,d.y2,d.x3,d.y3,d.x4,d.y4)}s?N.call(this):A.call(this,o)},A=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},N=function(){this.pdf.clip(),this.pdf.discardPath()},O=function(e,t){this.pdf.internal.out(r(e)+" "+i(t)+" m")},R=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var r=this.pdf.getTextDimensions(e.text),n=T.call(this,e.y),i=C.call(this,n)-r.h,a=this.ctx.transform.applyToPoint(new l(e.x,n)),o=this.ctx.transform.decompose(),s=new c;s=(s=(s=s.multiply(o.translate)).multiply(o.skew)).multiply(o.scale);for(var d,h,p,f=this.ctx.transform.applyToRectangle(new u(e.x,n,r.w,r.h)),m=s.applyToRectangle(new u(e.x,i,r.w,r.h)),g=y.call(this,m),v=[],w=0;w<g.length;w+=1)-1===v.indexOf(g[w])&&v.push(g[w]);if(S(v),this.autoPaging)for(var E=v[0],x=v[v.length-1],A=E;A<x+1;A++){this.pdf.setPage(A);var N=1===A?this.posY+this.margin[0]:this.margin[0],O=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],R=this.pdf.internal.pageSize.height-this.margin[2],L=R-this.margin[0],k=this.pdf.internal.pageSize.width-this.margin[1],I=k-this.margin[3],D=1===A?0:O+(A-2)*L;if(0!==this.ctx.clip_path.length){var P=this.path;d=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(d,this.posX+this.margin[3],-1*D+N),M.call(this,"fill",!0),this.path=P}var j=_([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-D+N+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),p=this.lineWidth,this.lineWidth=p*e.scale);var F="text"!==this.autoPaging;if(F||j.y+j.h<=R){if(F||j.y>=N&&j.x<=k){var H=F?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||k-j.x)[0],B=_([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-D+N+this.ctx.prevPageLastElemOffset)[0],U=F&&(A>E||A<x)&&b.call(this);U&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],I,L,null).clip().discardPath()),this.pdf.text(H,B.x,B.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),U&&this.pdf.restoreGraphicsState()}}else j.y<R&&(this.ctx.prevPageLastElemOffset+=R-j.y);e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=p)}else e.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*e.scale),p=this.lineWidth,this.lineWidth=p*e.scale),this.pdf.text(e.text,a.x+this.posX,a.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=p)},L=function(e,t,n,a){n=n||0,a=a||0,this.pdf.internal.out(r(e+n)+" "+i(t+a)+" l")},k=function(e,t,r){return this.pdf.lines(e,t,r,null,null)},I=function(e,r,n,i,s,l,u,c){this.pdf.internal.out([t(a(n+e)),t(o(i+r)),t(a(s+e)),t(o(l+r)),t(a(u+e)),t(o(c+r)),"c"].join(" "))},D=function(e,t,r,n){for(var i=2*Math.PI,a=Math.PI/2;t>r;)t-=i;var o=Math.abs(r-t);o<i&&n&&(o=i-o);for(var s=[],l=n?-1:1,u=t;o>1e-5;){var c=u+l*Math.min(o,a);s.push(P.call(this,e,u,c)),o-=Math.abs(c-u),u=c}return s},P=function(e,t,r){var n=(r-t)/2,i=e*Math.cos(n),a=e*Math.sin(n),o=i,s=-a,l=o*o+s*s,u=l+o*i+s*a,c=4/3*(Math.sqrt(2*l*u)-u)/(o*a-s*i),d=o-c*s,h=s+c*o,p=d,f=-h,m=n+t,g=Math.cos(m),v=Math.sin(m);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:d*g-h*v,y2:d*v+h*g,x3:p*g-f*v,y3:p*v+f*g,x4:e*Math.cos(r),y4:e*Math.sin(r)}},j=function(e){return 180*e/Math.PI},F=function(e,t,r,n,i,a){var o=e+.5*(r-e),s=t+.5*(n-t),l=i+.5*(r-i),c=a+.5*(n-a),d=Math.min(e,i,o,l),h=Math.max(e,i,o,l),p=Math.min(t,a,s,c),f=Math.max(t,a,s,c);return new u(d,p,h-d,f-p)},H=function(e,t,r,n,i,a,o,s){var l,c,d,h,p,f,m,g,v,b,y,w,_,S,E=r-e,M=n-t,T=i-r,C=a-n,x=o-i,A=s-a;for(c=0;c<41;c++)v=(m=(d=e+(l=c/40)*E)+l*((p=r+l*T)-d))+l*(p+l*(i+l*x-p)-m),b=(g=(h=t+l*M)+l*((f=n+l*C)-h))+l*(f+l*(a+l*A-f)-g),0==c?(y=v,w=b,_=v,S=b):(y=Math.min(y,v),w=Math.min(w,b),_=Math.max(_,v),S=Math.max(S,b));return new u(Math.round(y),Math.round(w),Math.round(_-y),Math.round(S-w))},B=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,r=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==r&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=r)}}}(F.API),
- /**
- * @license
- * jsPDF filters PlugIn
- * Copyright (c) 2014 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){var t=function(e){var t,r,n,i,a,o,s,l,u,c;for(/[^\x00-\xFF]/.test(e),r=[],n=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>n;n+=4)0!==(a=(e.charCodeAt(n)<<24)+(e.charCodeAt(n+1)<<16)+(e.charCodeAt(n+2)<<8)+e.charCodeAt(n+3))?(o=(a=((a=((a=((a=(a-(c=a%85))/85)-(u=a%85))/85)-(l=a%85))/85)-(s=a%85))/85)%85,r.push(o+33,s+33,l+33,u+33,c+33)):r.push(122);return function(e,t){for(var r=t;r>0;r--)e.pop()}(r,t.length),String.fromCharCode.apply(String,r)+"~>"},r=function(e){var t,r,n,i,a,o=String,s="length",l=255,u="charCodeAt",c="slice",d="replace";for(e[c](-2),e=e[c](0,-2)[d](/\s/g,"")[d]("z","!!!!!"),n=[],i=0,a=(e+=t="uuuuu"[c](e[s]%5||5))[s];a>i;i+=5)r=52200625*(e[u](i)-33)+614125*(e[u](i+1)-33)+7225*(e[u](i+2)-33)+85*(e[u](i+3)-33)+(e[u](i+4)-33),n.push(l&r>>24,l&r>>16,l&r>>8,l&r);return function(e,t){for(var r=t;r>0;r--)e.pop()}(n,t[s]),o.fromCharCode.apply(o,n)},n=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var r="",n=0;n<e.length;n+=2)r+=String.fromCharCode("0x"+(e[n]+e[n+1]));return r},a=function(e){for(var t=new Uint8Array(e.length),r=e.length;r--;)t[r]=e.charCodeAt(r);return(t=Object(i["b"])(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,i){var o=0,s=e||"",l=[];for("string"==typeof(i=i||[])&&(i=[i]),o=0;o<i.length;o+=1)switch(i[o]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=a(s),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+i[o]+'" is not implemented')}return{data:s,reverseChain:l.reverse().join(" ")}}}(F.API),
- /**
- * @license
- * jsPDF fileloading PlugIn
- * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){e.loadFile=function(e,t,r){return function(e,t,r){t=!1!==t,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(e,t,r){var n=new XMLHttpRequest,i=0,a=function(e){var t=e.length,r=[],n=String.fromCharCode;for(i=0;i<t;i+=1)r.push(n(255&e.charCodeAt(i)));return r.join("")};if(n.open("GET",e,!t),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(n.onload=function(){200===n.status?r(a(this.responseText)):r(void 0)}),n.send(null),t&&200===n.status)return a(n.responseText)}(e,t,r)}catch(e){}return n}(e,t,r)},e.loadImageFile=e.loadFile}(F.API),function(e){function t(){return(a.html2canvas?Promise.resolve(a.html2canvas):r.e("chunk-2d216257").then(r.t.bind(null,"c0e9",7))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function i(){return(a.DOMPurify?Promise.resolve(a.DOMPurify):Promise.resolve().then(r.t.bind(null,"c0c4",7))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var o=function(e){var t=n()(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},s=function(e,t){var r=document.createElement(e);for(var n in t.className&&(r.className=t.className),t.innerHTML&&t.dompurify&&(r.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)r.style[n]=t.style[n];return r},l=function e(t){var r=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(Promise.resolve(),r);return(n=n.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(Promise.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},l.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(i).then((function(t){return this.set({src:s("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},l.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},l.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=function e(t,r){for(var n=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==r&&1===i.nodeType&&"SCRIPT"===i.nodeName||n.appendChild(e(i,r));return 1===t.nodeType&&("CANVAS"===t.nodeName?(n.width=t.width,n.height=t.height,n.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(n.value=t.value),n.addEventListener("load",(function(){n.scrollTop=t.scrollTop,n.scrollLeft=t.scrollLeft}),!0)),n}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(s("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then((function(e){var t=this.opt.jsPDF,r=this.opt.fontFaces,n="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:n,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=r,r)for(var a=0;a<r.length;++a){var o=r[a],s=o.src.find((function(e){return"truetype"===e.format}));s&&t.addFont(s.url,o.ref.name,o.ref.style)}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,t.context2d.save(!0),e(this.prop.container,i)})).then((function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},l.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},l.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},l.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},l.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},l.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in l.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},l.prototype.get=function(e,t){return this.then((function(){var r=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(r):r}))},l.prototype.setMargin=function(e){return this.then((function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},l.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||F.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},l.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},l.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,(function(e,t){return r.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return r.updateProgress(null,e),t})).then(e,t).then((function(e){return r.updateProgress(1),e}))}))},l.prototype.thenCore=function(e,t,r){r=r||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:l.convert(Object.assign({},this),Promise.prototype),i=r.call(n,e,t);return l.convert(i,this.__proto__)},l.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,F.getPageSize=function(e,t,r){if("object"===n()(e)){var i=e;e=i.orientation,t=i.unit||t,r=i.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var a,o=(""+r).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw"Invalid unit: "+t}var l,u=0,c=0;if(s.hasOwnProperty(o))u=s[o][1]/a,c=s[o][0]/a;else try{u=r[1],c=r[0]}catch(d){throw new Error("Invalid format: "+r)}if("p"===e||"portrait"===e)e="p",c>u&&(l=c,c=u,u=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",u>c&&(l=c,c=u,u=l)}return{width:c,height:u,unit:t,k:a,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(ke):null;var r=new l(t);return t.worker?r:r.from(e).doCallback()}}(F.API),F.API.addJS=function(e){return ze=e,this.internal.events.subscribe("postPutResources",(function(){Ve=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ve+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ye=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+ze+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ve&&void 0!==Ye&&this.internal.out("/Names <</JavaScript "+Ve+" 0 R>>")})),this
- /**
- * @license
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */},function(e){var t;e.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),i=0;i<n.length;i++){var a=n[i],o=r.exec(a);if(null!=o){var s=o[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(a)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,u=[];for(i=0;i<l;i++){var c=e.internal.newObject();u.push(c);var d=e.internal.getPageInfo(i+1);e.internal.write("<< /D["+d.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),i=0;i<u.length;i++)e.internal.write("(page_"+(i+1)+")"+u[i]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,r){var n={title:t,options:r,children:[]};return null==e&&(e=this.root),e.children.push(n),n},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var r=0;r<t.children.length;r++)this.genIds_r(t.children[r])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<t.children.length;n++){var i=t.children[n];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),n>0&&this.line("/Prev "+this.makeRef(t.children[n-1])),n<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[n+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var a=this.count=this.count_r({count:0},i);if(a>0&&this.line("/Count "+a),i.options&&i.options.pageNumber){var o=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var r=0;r<t.children.length;r++)e.count++,this.count_r(e,t.children[r]);return e.count}}])}(F.API),
- /**
- * @license
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,r,n,i,a,o){var s,l=this.decode.DCT_DECODE,u=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=a||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var r,n=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,a={width:0,height:0,numcomponents:1},o=4;o<i;o+=2){if(o+=n,-1!==t.indexOf(e.charCodeAt(o+1))){r=256*e.charCodeAt(o+5)+e.charCodeAt(o+6),a={width:256*e.charCodeAt(o+7)+e.charCodeAt(o+8),height:r,numcomponents:e.charCodeAt(o+9)};break}n=256*e.charCodeAt(o+2)+e.charCodeAt(o+3)}return a}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}u={data:e,width:s.width,height:s.height,colorSpace:o,bitsPerComponent:8,filter:l,index:r,alias:n}}return u}}(F.API);var qe,Ge,Ke,Xe,Ze,$e=function(){var e,t,r;function n(e){var t,r,n,i,a,o,s,l,u,c,d,h,p,f;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(t=this.readUInt32(),u=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},a=this.readUInt16(),i=this.readUInt16()||100,o.delay=1e3*a/i,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===u&&(this.pos+=4,t-=4),e=(null!=o?o.data:void 0)||this.imgData,h=0;0<=t?h<t:h>t;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((c=n-this.transparency.indexed.length)>0)for(p=0;0<=c?p<c:p>c;0<=c?++p:--p)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(d=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,d.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,d.slice(s+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(f=this.colorType)||6===f,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)r.push(this.data[this.pos++]);return r},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*t),n=0,a=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function o(i,o,s,l){var u,c,d,h,p,f,m,g,v,b,y,w,_,S,E,M,T,C,x,A,N,O=Math.ceil((a.width-i)/s),R=Math.ceil((a.height-o)/l),L=a.width==O&&a.height==R;for(S=t*O,w=L?r:new Uint8Array(S*R),f=e.length,_=0,c=0;_<R&&n<f;){switch(e[n++]){case 0:for(h=T=0;T<S;h=T+=1)w[c++]=e[n++];break;case 1:for(h=C=0;C<S;h=C+=1)u=e[n++],p=h<t?0:w[c-t],w[c++]=(u+p)%256;break;case 2:for(h=x=0;x<S;h=x+=1)u=e[n++],d=(h-h%t)/t,E=_&&w[(_-1)*S+d*t+h%t],w[c++]=(E+u)%256;break;case 3:for(h=A=0;A<S;h=A+=1)u=e[n++],d=(h-h%t)/t,p=h<t?0:w[c-t],E=_&&w[(_-1)*S+d*t+h%t],w[c++]=(u+Math.floor((p+E)/2))%256;break;case 4:for(h=N=0;N<S;h=N+=1)u=e[n++],d=(h-h%t)/t,p=h<t?0:w[c-t],0===_?E=M=0:(E=w[(_-1)*S+d*t+h%t],M=d&&w[(_-1)*S+(d-1)*t+h%t]),m=p+E-M,g=Math.abs(m-p),b=Math.abs(m-E),y=Math.abs(m-M),v=g<=b&&g<=y?p:b<=y?E:M,w[c++]=(u+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[n-1])}if(!L){var k=((o+_*l)*a.width+i)*t,I=_*S;for(h=0;h<O;h+=1){for(var D=0;D<t;D+=1)r[k++]=w[I++];k+=(s-1)*t}}_++}}return e=Object(i["a"])(e),1==a.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),r},n.prototype.decodePalette=function(){var e,t,r,n,i,a,o,s,l;for(r=this.palette,a=this.transparency.indexed||[],i=new Uint8Array((a.length||0)+r.length),n=0,e=0,t=o=0,s=r.length;o<s;t=o+=3)i[n++]=r[t],i[n++]=r[t+1],i[n++]=r[t+2],i[n++]=null!=(l=a[e++])?l:255;return i},n.prototype.copyToImageData=function(e,t){var r,n,i,a,o,s,l,u,c,d,h;if(n=this.colors,c=null,r=this.hasAlphaChannel,this.palette.length&&(c=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),u=(i=e.data||e).length,o=c||t,a=s=0,1===n)for(;a<u;)l=c?4*t[a/4]:s,d=o[l++],i[a++]=d,i[a++]=d,i[a++]=d,i[a++]=r?o[l++]:255,s=l;else for(;a<u;)l=c?4*t[a/4]:s,i[a++]=o[l++],i[a++]=o[l++],i[a++]=o[l++],i[a++]=r?o[l++]:255,s=l},n.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var o=function(){if("[object Window]"===Object.prototype.toString.call(a)){try{t=a.document.createElement("canvas"),r=t.getContext("2d")}catch(e){return!1}return!0}return!1};return o(),e=function(e){var n;if(!0===o())return r.width=e.width,r.height=e.height,r.clearRect(0,0,e.width,e.height),r.putImageData(e,0,0),(n=new Image).src=t.toDataURL(),n;throw new Error("This method requires a Browser with Canvas-capability.")},n.prototype.decodeFrames=function(t){var r,n,i,a,o,s,l,u;if(this.animation){for(u=[],n=o=0,s=(l=this.animation.frames).length;o<s;n=++o)r=l[n],i=t.createImageData(r.width,r.height),a=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(i,a),r.imageData=i,u.push(r.image=e(i));return u}},n.prototype.renderFrame=function(e,t){var r,n,i;return r=(n=this.animation.frames)[t],i=n[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?e.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&e.putImageData(i.imageData,i.xOffset,i.yOffset),0===r.blendOp&&e.clearRect(r.xOffset,r.yOffset,r.width,r.height),e.drawImage(r.image,r.xOffset,r.yOffset)},n.prototype.animate=function(e){var t,r,n,i,a,o,s=this;return r=0,o=this.animation,i=o.numFrames,n=o.frames,a=o.numPlays,(t=function(){var o,l;if(o=r++%i,l=n[o],s.renderFrame(e,o),i>1&&r/i<a)return s.animation._timeout=setTimeout(t,l.delay)})()},n.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},n.prototype.render=function(e){var t,r;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(r=t.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),t.putImageData(r,0,0))},n}();
- /**
- * @license
- *
- * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * ====================================================================
- */
- /**
- * @license
- * (c) Dean McNamee <dean@gmail.com>, 2013.
- *
- * https://github.com/deanm/omggif
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
- * including animation and compression. It does not rely on any specific
- * underlying system, so should run in the browser, Node, or Plask.
- */function Je(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var r=e[t++]|e[t++]<<8,n=e[t++]|e[t++]<<8,i=e[t++],a=i>>7,o=1<<1+(7&i);e[t++],e[t++];var s=null,l=null;a&&(s=t,l=o,t+=3*o);var u=!0,c=[],d=0,h=null,p=0,f=null;for(this.width=r,this.height=n;u&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,f=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((x=e[t++])>=0))throw Error("Invalid block size");if(0===x)break;t+=x}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var m=e[t++];d=e[t++]|e[t++]<<8,h=e[t++],0==(1&m)&&(h=null),p=m>>2&7,t++;break;case 254:for(;;){if(!((x=e[t++])>=0))throw Error("Invalid block size");if(0===x)break;t+=x}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var g=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++],_=w>>6&1,S=1<<1+(7&w),E=s,M=l,T=!1;w>>7&&(T=!0,E=t,M=S,t+=3*S);var C=t;for(t++;;){var x;if(!((x=e[t++])>=0))throw Error("Invalid block size");if(0===x)break;t+=x}c.push({x:g,y:v,width:b,height:y,has_local_palette:T,palette_offset:E,palette_size:M,data_offset:C,data_length:t-C,transparent_index:h,interlaced:!!_,delay:d,disposal:p});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return f},this.frameInfo=function(e){if(e<0||e>=c.length)throw new Error("Frame index out of range.");return c[e]},this.decodeAndBlitFrameBGRA=function(t,n){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);Qe(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var u=i.width,c=r-u,d=u,h=4*(i.y*r+i.x),p=4*((i.y+i.height)*r+i.x),f=h,m=4*c;!0===i.interlaced&&(m+=4*r*7);for(var g=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===d&&(d=u,(f+=m)>=p&&(m=4*c+4*r*(g-1),f=h+(u+c)*(g<<1),g>>=1)),y===l)f+=4;else{var w=e[s+3*y],_=e[s+3*y+1],S=e[s+3*y+2];n[f++]=S,n[f++]=_,n[f++]=w,n[f++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,n){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);Qe(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var u=i.width,c=r-u,d=u,h=4*(i.y*r+i.x),p=4*((i.y+i.height)*r+i.x),f=h,m=4*c;!0===i.interlaced&&(m+=4*r*7);for(var g=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===d&&(d=u,(f+=m)>=p&&(m=4*c+4*r*(g-1),f=h+(u+c)*(g<<1),g>>=1)),y===l)f+=4;else{var w=e[s+3*y],_=e[s+3*y+1],S=e[s+3*y+2];n[f++]=w,n[f++]=_,n[f++]=S,n[f++]=255}--d}}}function Qe(e,t,r,n){for(var i=e[t++],a=1<<i,o=a+1,l=o+1,u=i+1,c=(1<<u)-1,d=0,h=0,p=0,f=e[t++],m=new Int32Array(4096),g=null;;){for(;d<16&&0!==f;)h|=e[t++]<<d,d+=8,1===f?f=e[t++]:--f;if(d<u)break;var v=h&c;if(h>>=u,d-=u,v!==a){if(v===o)break;for(var b=v<l?v:g,y=0,w=b;w>a;)w=m[w]>>8,++y;var _=w;if(p+y+(b!==v?1:0)>n)return void s.log("Warning, gif stream longer than expected.");r[p++]=_;var S=p+=y;for(b!==v&&(r[p++]=_),w=b;y--;)w=m[w],r[--S]=255&w,w>>=8;null!==g&&l<4096&&(m[l++]=g<<8|_,l>=c+1&&u<12&&(++u,c=c<<1|1)),g=v}else l=o+1,c=(1<<(u=i+1))-1,g=null}return p!==n&&s.log("Warning, gif stream shorter than expected."),r}
- /**
- * @license
- Copyright (c) 2008, Adobe Systems Incorporated
- All rights reserved.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- * Neither the name of Adobe Systems Incorporated nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */function et(e){var t,r,n,i,a,o=Math.floor,s=new Array(64),l=new Array(64),u=new Array(64),c=new Array(64),d=new Array(65535),h=new Array(65535),p=new Array(64),f=new Array(64),m=[],g=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),_=new Array(256),S=new Array(2048),E=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],M=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],T=[0,1,2,3,4,5,6,7,8,9,10,11],C=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],x=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],A=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],N=[0,1,2,3,4,5,6,7,8,9,10,11],O=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],R=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function L(e,t){for(var r=0,n=0,i=new Array,a=1;a<=16;a++){for(var o=1;o<=e[a];o++)i[t[n]]=[],i[t[n]][0]=r,i[t[n]][1]=a,n++,r++;r*=2}return i}function k(e){for(var t=e[0],r=e[1]-1;r>=0;)t&1<<r&&(g|=1<<v),r--,--v<0&&(255==g?(I(255),I(0)):I(g),v=7,g=0)}function I(e){m.push(e)}function D(e){I(e>>8&255),I(255&e)}function P(e,t,r,n,i){for(var a,o=i[0],s=i[240],l=function(e,t){var r,n,i,a,o,s,l,u,c,d,h=0;for(c=0;c<8;++c){r=e[h],n=e[h+1],i=e[h+2],a=e[h+3],o=e[h+4],s=e[h+5],l=e[h+6];var f=r+(u=e[h+7]),m=r-u,g=n+l,v=n-l,b=i+s,y=i-s,w=a+o,_=a-o,S=f+w,E=f-w,M=g+b,T=g-b;e[h]=S+M,e[h+4]=S-M;var C=.707106781*(T+E);e[h+2]=E+C,e[h+6]=E-C;var x=.382683433*((S=_+y)-(T=v+m)),A=.5411961*S+x,N=1.306562965*T+x,O=.707106781*(M=y+v),R=m+O,L=m-O;e[h+5]=L+A,e[h+3]=L-A,e[h+1]=R+N,e[h+7]=R-N,h+=8}for(h=0,c=0;c<8;++c){r=e[h],n=e[h+8],i=e[h+16],a=e[h+24],o=e[h+32],s=e[h+40],l=e[h+48];var k=r+(u=e[h+56]),I=r-u,D=n+l,P=n-l,j=i+s,F=i-s,H=a+o,B=a-o,U=k+H,V=k-H,Y=D+j,z=D-j;e[h]=U+Y,e[h+32]=U-Y;var W=.707106781*(z+V);e[h+16]=V+W,e[h+48]=V-W;var q=.382683433*((U=B+F)-(z=P+I)),G=.5411961*U+q,K=1.306562965*z+q,X=.707106781*(Y=F+P),Z=I+X,$=I-X;e[h+40]=$+G,e[h+24]=$-G,e[h+8]=Z+K,e[h+56]=Z-K,h++}for(c=0;c<64;++c)d=e[c]*t[c],p[c]=d>0?d+.5|0:d-.5|0;return p}(e,t),u=0;u<64;++u)f[E[u]]=l[u];var c=f[0]-r;r=f[0],0==c?k(n[0]):(k(n[h[a=32767+c]]),k(d[a]));for(var m=63;m>0&&0==f[m];)m--;if(0==m)return k(o),r;for(var g,v=1;v<=m;){for(var b=v;0==f[v]&&v<=m;)++v;var y=v-b;if(y>=16){g=y>>4;for(var w=1;w<=g;++w)k(s);y&=15}a=32767+f[v],k(i[(y<<4)+h[a]]),k(d[a]),v++}return 63!=m&&k(o),r}function j(e){e=Math.min(Math.max(e,1),100),a!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=o((t[r]*e+50)/100);n=Math.min(Math.max(n,1),255),s[E[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],a=0;a<64;a++){var d=o((i[a]*e+50)/100);d=Math.min(Math.max(d,1),255),l[E[a]]=d}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],p=0,f=0;f<8;f++)for(var m=0;m<8;m++)u[p]=1/(s[E[p]]*h[f]*h[m]*8),c[p]=1/(l[E[p]]*h[f]*h[m]*8),p++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),a=e)}this.encode=function(e,a){a&&j(a),m=new Array,g=0,v=7,D(65496),D(65504),D(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),D(1),D(1),I(0),I(0),function(){D(65499),D(132),I(0);for(var e=0;e<64;e++)I(s[e]);I(1);for(var t=0;t<64;t++)I(l[t])}(),function(e,t){D(65472),D(17),I(8),D(t),D(e),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1)}(e.width,e.height),function(){D(65476),D(418),I(0);for(var e=0;e<16;e++)I(M[e+1]);for(var t=0;t<=11;t++)I(T[t]);I(16);for(var r=0;r<16;r++)I(C[r+1]);for(var n=0;n<=161;n++)I(x[n]);I(1);for(var i=0;i<16;i++)I(A[i+1]);for(var a=0;a<=11;a++)I(N[a]);I(17);for(var o=0;o<16;o++)I(O[o+1]);for(var s=0;s<=161;s++)I(R[s])}(),D(65498),D(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var o=0,d=0,h=0;g=0,v=7,this.encode.displayName="_encode_";for(var p,f,_,E,L,F,H,B,U,V=e.data,Y=e.width,z=e.height,W=4*Y,q=0;q<z;){for(p=0;p<W;){for(L=W*q+p,H=-1,B=0,U=0;U<64;U++)F=L+(B=U>>3)*W+(H=4*(7&U)),q+B>=z&&(F-=W*(q+1+B-z)),p+H>=W&&(F-=p+H-W+4),f=V[F++],_=V[F++],E=V[F++],b[U]=(S[f]+S[_+256>>0]+S[E+512>>0]>>16)-128,y[U]=(S[f+768>>0]+S[_+1024>>0]+S[E+1280>>0]>>16)-128,w[U]=(S[f+1280>>0]+S[_+1536>>0]+S[E+1792>>0]>>16)-128;o=P(b,u,o,t,n),d=P(y,c,d,r,i),h=P(w,c,h,r,i),p+=32}q+=8}if(v>=0){var G=[];G[1]=v+1,G[0]=(1<<v+1)-1,k(G)}return D(65497),new Uint8Array(m)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)_[t]=e(t)}(),t=L(M,T),r=L(A,N),n=L(C,x),i=L(O,R),function(){for(var e=1,t=2,r=1;r<=15;r++){for(var n=e;n<t;n++)h[32767+n]=r,d[32767+n]=[],d[32767+n][1]=r,d[32767+n][0]=n;for(var i=-(t-1);i<=-e;i++)h[32767+i]=r,d[32767+i]=[],d[32767+i][1]=r,d[32767+i][0]=t-1+i;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)S[e]=19595*e,S[e+256>>0]=38470*e,S[e+512>>0]=7471*e+32768,S[e+768>>0]=-11059*e,S[e+1024>>0]=-21709*e,S[e+1280>>0]=32768*e+8421375,S[e+1536>>0]=-27439*e,S[e+1792>>0]=-5329*e}(),j(e)}
- /**
- * @license
- * Copyright (c) 2017 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */function tt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function rt(e){function t(e){if(!e)throw Error("assert :P")}function r(e,t,r){for(var n=0;4>n;n++)if(e[t+n]!=r.charCodeAt(n))return!0;return!1}function n(e,t,r,n,i){for(var a=0;a<i;a++)e[t+a]=r[n+a]}function i(e,t,r,n){for(var i=0;i<n;i++)e[t+i]=r}function a(e){return new Int32Array(e)}function o(e,t){for(var r=[],n=0;n<e;n++)r.push(new t);return r}function s(e,t){var r=[];return function e(r,n,i){for(var a=i[n],o=0;o<a&&(r.push(i.length>n+1?[]:new t),!(i.length<n+1));o++)e(r[o],n+1,i)}(r,0,e),r}var l=function(){var e=this;function l(e,t){for(var r=1<<t-1>>>0;e&r;)r>>>=1;return r?(e&r-1)+r:e}function u(e,r,n,i,a){t(!(i%n));do{e[r+(i-=n)]=a}while(0<i)}function c(e,r,n,i,o){if(t(2328>=o),512>=o)var s=a(512);else if(null==(s=a(o)))return 0;return function(e,r,n,i,o,s){var c,h,p=r,f=1<<n,m=a(16),g=a(16);for(t(0!=o),t(null!=i),t(null!=e),t(0<n),h=0;h<o;++h){if(15<i[h])return 0;++m[i[h]]}if(m[0]==o)return 0;for(g[1]=0,c=1;15>c;++c){if(m[c]>1<<c)return 0;g[c+1]=g[c]+m[c]}for(h=0;h<o;++h)c=i[h],0<i[h]&&(s[g[c]++]=h);if(1==g[15])return(i=new d).g=0,i.value=s[0],u(e,p,1,f,i),f;var v,b=-1,y=f-1,w=0,_=1,S=1,E=1<<n;for(h=0,c=1,o=2;c<=n;++c,o<<=1){if(_+=S<<=1,0>(S-=m[c]))return 0;for(;0<m[c];--m[c])(i=new d).g=c,i.value=s[h++],u(e,p+w,o,E,i),w=l(w,c)}for(c=n+1,o=2;15>=c;++c,o<<=1){if(_+=S<<=1,0>(S-=m[c]))return 0;for(;0<m[c];--m[c]){if(i=new d,(w&y)!=b){for(p+=E,v=1<<(b=c)-n;15>b&&!(0>=(v-=m[b]));)++b,v<<=1;f+=E=1<<(v=b-n),e[r+(b=w&y)].g=v+n,e[r+b].value=p-r-b}i.g=c-n,i.value=s[h++],u(e,p+(w>>n),o,E,i),w=l(w,c)}}return _!=2*g[15]-1?0:f}(e,r,n,i,o,s)}function d(){this.value=this.g=0}function h(){this.value=this.g=0}function p(){this.G=o(5,d),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(Fr,h)}function f(e,r,n,i){t(null!=e),t(null!=r),t(2147483648>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=r,e.pa=n,e.Jd=r,e.Yc=n+i,e.Zc=4<=i?n+i-4+1:n,C(e)}function m(e,t){for(var r=0;0<t--;)r|=A(e,128)<<t;return r}function g(e,t){var r=m(e,t);return x(e)?-r:r}function v(e,r,n,i){var a,o=0;for(t(null!=e),t(null!=r),t(4294967288>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),a=0;a<i;++a)o+=r[n+a]<<8*a;e.Ra=o,e.bb=i,e.oa=r,e.pa=n}function b(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Ur-8>>>0,++e.bb,e.u-=8;E(e)&&(e.h=1,e.u=0)}function y(e,r){if(t(0<=r),!e.h&&r<=Br){var n=S(e)&Hr[r];return e.u+=r,b(e),n}return e.h=1,e.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function _(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function S(e){return e.Ra>>>(e.u&Ur-1)>>>0}function E(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Ur}function M(e,t){e.u=t,e.h=E(e)}function T(e){e.u>=Vr&&(t(e.u>=Vr),b(e))}function C(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function x(e){return m(e,1)}function A(e,t){var r=e.Ca;0>e.b&&C(e);var n=e.b,i=r*t>>>8,a=(e.I>>>n>i)+0;for(a?(r-=i,e.I-=i+1<<n>>>0):r=i+1,n=r,i=0;256<=n;)i+=8,n>>=8;return n=7^i+Yr[n],e.b-=n,e.Ca=(r<<n)-1,a}function N(e,t,r){e[t+0]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255}function O(e,t){return e[t+0]<<0|e[t+1]<<8}function R(e,t){return O(e,t)|e[t+2]<<16}function L(e,t){return O(e,t)|O(e,t+2)<<16}function k(e,r){var n=1<<r;return t(null!=e),t(0<r),e.X=a(n),null==e.X?0:(e.Mb=32-r,e.Xa=r,1)}function I(e,r){t(null!=e),t(null!=r),t(e.Xa==r.Xa),n(r.X,0,e.X,0,1<<r.Xa)}function D(){this.X=[],this.Xa=this.Mb=0}function P(e,r,n,i){t(null!=n),t(null!=i);var a=n[0],o=i[0];return 0==a&&(a=(e*o+r/2)/r),0==o&&(o=(r*a+e/2)/e),0>=a||0>=o?0:(n[0]=a,i[0]=o,1)}function j(e,t){return e+(1<<t)-1>>>t}function F(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function H(t,r){e[r]=function(r,n,i,a,o,s,l){var u;for(u=0;u<o;++u){var c=e[t](s[l+u-1],i,a+u);s[l+u]=F(r[n+u],c)}}}function B(){this.ud=this.hd=this.jd=0}function U(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function V(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function Y(e,t){return V(e+(e-t+.5>>1))}function z(e,t,r){return Math.abs(t-r)-Math.abs(e-r)}function W(e,t,r,n,i,a,o){for(n=a[o-1],r=0;r<i;++r)a[o+r]=n=F(e[t+r],n)}function q(e,t,r,n,i){var a;for(a=0;a<r;++a){var o=e[t+a],s=o>>8&255,l=16711935&(l=(l=16711935&o)+((s<<16)+s));n[i+a]=(4278255360&o)+l>>>0}}function G(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function K(e,t,r,n,i,a){var o;for(o=0;o<n;++o){var s=t[r+o],l=s>>>8,u=s,c=255&(c=(c=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));u=255&(u=(u+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(c<<24>>24)>>>5)),i[a+o]=(4278255360&s)+(c<<16)+u}}function X(t,r,n,i,a){e[r]=function(e,t,r,n,o,s,l,u,c){for(n=l;n<u;++n)for(l=0;l<c;++l)o[s++]=a(r[i(e[t++])])},e[t]=function(t,r,o,s,l,u,c){var d=8>>t.b,h=t.Ea,p=t.K[0],f=t.w;if(8>d)for(t=(1<<t.b)-1,f=(1<<d)-1;r<o;++r){var m,g=0;for(m=0;m<h;++m)m&t||(g=i(s[l++])),u[c++]=a(p[g&f]),g>>=d}else e["VP8LMapColor"+n](s,l,p,f,u,c,r,o,h)}}function Z(e,t,r,n,i){for(r=t+r;t<r;){var a=e[t++];n[i++]=a>>16&255,n[i++]=a>>8&255,n[i++]=a>>0&255}}function $(e,t,r,n,i){for(r=t+r;t<r;){var a=e[t++];n[i++]=a>>16&255,n[i++]=a>>8&255,n[i++]=a>>0&255,n[i++]=a>>24&255}}function J(e,t,r,n,i){for(r=t+r;t<r;){var a=(o=e[t++])>>16&240|o>>12&15,o=o>>0&240|o>>28&15;n[i++]=a,n[i++]=o}}function Q(e,t,r,n,i){for(r=t+r;t<r;){var a=(o=e[t++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;n[i++]=a,n[i++]=o}}function ee(e,t,r,n,i){for(r=t+r;t<r;){var a=e[t++];n[i++]=a>>0&255,n[i++]=a>>8&255,n[i++]=a>>16&255}}function te(e,t,r,i,a,o){if(0==o)for(r=t+r;t<r;)N(i,((o=e[t++])[0]>>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),a+=32;else n(i,a,e,t,r)}function re(t,r){e[r][0]=e[t+"0"],e[r][1]=e[t+"1"],e[r][2]=e[t+"2"],e[r][3]=e[t+"3"],e[r][4]=e[t+"4"],e[r][5]=e[t+"5"],e[r][6]=e[t+"6"],e[r][7]=e[t+"7"],e[r][8]=e[t+"8"],e[r][9]=e[t+"9"],e[r][10]=e[t+"10"],e[r][11]=e[t+"11"],e[r][12]=e[t+"12"],e[r][13]=e[t+"13"],e[r][14]=e[t+"0"],e[r][15]=e[t+"0"]}function ne(e){return e==Yn||e==zn||e==Wn||e==qn}function ie(){this.eb=[],this.size=this.A=this.fb=0}function ae(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function oe(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new ae,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ue(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ce(e,t){var r=e.T,i=t.ba.f.RGBA,a=i.eb,o=i.fb+e.ka*i.A,s=vi[t.ba.S],l=e.y,u=e.O,c=e.f,d=e.N,h=e.ea,p=e.W,f=t.cc,m=t.dc,g=t.Mc,v=t.Nc,b=e.ka,y=e.ka+e.T,w=e.U,_=w+1>>1;for(0==b?s(l,u,null,null,c,d,h,p,c,d,h,p,a,o,null,null,w):(s(t.ec,t.fc,l,u,f,m,g,v,c,d,h,p,a,o-i.A,a,o,w),++r);b+2<y;b+=2)f=c,m=d,g=h,v=p,d+=e.Rc,p+=e.Rc,o+=2*i.A,s(l,(u+=2*e.fa)-e.fa,l,u,f,m,g,v,c,d,h,p,a,o-i.A,a,o,w);return u+=e.fa,e.j+y<e.o?(n(t.ec,t.fc,l,u,w),n(t.cc,t.dc,c,d,_),n(t.Mc,t.Nc,h,p,_),r--):1&y||s(l,u,null,null,c,d,h,p,c,d,h,p,a,o+i.A,null,null,w),r}function de(e,r,n){var i=e.F,a=[e.J];if(null!=i){var o=e.U,s=r.ba.S,l=s==Bn||s==Wn;r=r.ba.f.RGBA;var u=[0],c=e.ka;u[0]=e.T,e.Kb&&(0==c?--u[0]:(--c,a[0]-=e.width),e.j+e.ka+e.T==e.o&&(u[0]=e.o-e.j-c));var d=r.eb;c=r.fb+c*r.A,e=Tn(i,a[0],e.width,o,u,d,c+(l?0:3),r.A),t(n==u),e&&ne(s)&&En(d,c,l,o,u,r.A)}return 0}function he(e){var t=e.ma,r=t.ba.S,n=11>r,i=r==jn||r==Hn||r==Bn||r==Un||12==r||ne(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Dr(t.Oa,e,i?11:12))return 0;if(i&&ne(r)&&br(),e.da)alert("todo:use_scaling");else{if(n){if(t.Ib=ue,e.Kb){if(r=e.U+1>>1,t.memory=a(e.U+2*r),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+r,t.Ib=ce,br()}}else alert("todo:EmitYUV");i&&(t.Jb=de,n&&gr())}if(n&&!Ri){for(e=0;256>e;++e)Li[e]=89858*(e-128)+Ci>>Ti,Di[e]=-22014*(e-128)+Ci,Ii[e]=-45773*(e-128),ki[e]=113618*(e-128)+Ci>>Ti;for(e=xi;e<Ai;++e)t=76283*(e-16)+Ci>>Ti,Pi[e-xi]=We(t,255),ji[e-xi]=We(t+8>>4,15);Ri=1}return 1}function pe(e){var r=e.ma,n=e.U,i=e.T;return t(!(1&e.ka)),0>=n||0>=i?0:(n=r.Ib(e,r),null!=r.Jb&&r.Jb(e,r,n),r.Dc+=n,1)}function fe(e){e.ma.memory=null}function me(e,t,r,n){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,r[0]=y(e,14)+1,n[0]=y(e,1),0!=y(e,3)?0:!e.h)}function ge(e,t){if(4>e)return e+1;var r=e-2>>1;return(2+(1&e)<<r)+y(t,r)+1}function ve(e,t){return 120<t?t-120:1<=(r=((r=Jn[t-1])>>4)*e+(8-(15&r)))?r:1;var r}function be(e,t,r){var n=S(r),i=e[t+=255&n].g-8;return 0<i&&(M(r,r.u+8),n=S(r),t+=e[t].value,t+=n&(1<<i)-1),M(r,r.u+e[t].g),e[t].value}function ye(e,r,n){return n.g+=e.g,n.value+=e.value<<r>>>0,t(8>=n.g),e.g}function we(e,r,n){var i=e.xc;return t((r=0==i?0:e.vc[e.md*(n>>i)+(r>>i)])<e.Wb),e.Ya[r]}function _e(e,r,i,a){var o=e.ab,s=e.c*r,l=e.C;r=l+r;var u=i,c=a;for(a=e.Ta,i=e.Ua;0<o--;){var d=e.gc[o],h=l,p=r,f=u,m=c,g=(c=a,u=i,d.Ea);switch(t(h<p),t(p<=d.nc),d.hc){case 2:qr(f,m,(p-h)*g,c,u);break;case 0:var v=h,b=p,y=c,w=u,_=(C=d).Ea;0==v&&(zr(f,m,null,null,1,y,w),W(f,m+1,0,0,_-1,y,w+1),m+=_,w+=_,++v);for(var S=1<<C.b,E=S-1,M=j(_,C.b),T=C.K,C=C.w+(v>>C.b)*M;v<b;){var x=T,A=C,N=1;for(Wr(f,m,y,w-_,1,y,w);N<_;){var O=(N&~E)+S;O>_&&(O=_),(0,$r[x[A++]>>8&15])(f,m+ +N,y,w+N-_,O-N,y,w+N),N=O}m+=_,w+=_,++v&E||(C+=M)}p!=d.nc&&n(c,u-g,c,u+(p-h-1)*g,g);break;case 1:for(g=f,b=m,_=(f=d.Ea)-(w=f&~(y=(m=1<<d.b)-1)),v=j(f,d.b),S=d.K,d=d.w+(h>>d.b)*v;h<p;){for(E=S,M=d,T=new B,C=b+w,x=b+f;b<C;)G(E[M++],T),Jr(T,g,b,m,c,u),b+=m,u+=m;b<x&&(G(E[M++],T),Jr(T,g,b,_,c,u),b+=_,u+=_),++h&y||(d+=v)}break;case 3:if(f==c&&m==u&&0<d.b){for(b=c,f=g=u+(p-h)*g-(w=(p-h)*j(d.Ea,d.b)),m=c,y=u,v=[],w=(_=w)-1;0<=w;--w)v[w]=m[y+w];for(w=_-1;0<=w;--w)b[f+w]=v[w];Gr(d,h,p,c,g,c,u)}else Gr(d,h,p,f,m,c,u)}u=a,c=i}c!=i&&n(a,i,u,c,s)}function Se(e,r){var n=e.V,i=e.Ba+e.c*e.C,a=r-e.C;if(t(r<=e.l.o),t(16>=a),0<a){var o=e.l,s=e.Ta,l=e.Ua,u=o.width;if(_e(e,a,n,i),a=l=[l],t((n=e.C)<(i=r)),t(o.v<o.va),i>o.o&&(i=o.o),n<o.j){var c=o.j-n;n=o.j,a[0]+=c*u}if(n>=i?n=0:(a[0]+=4*o.v,o.ka=n-o.j,o.U=o.va-o.v,o.T=i-n,n=1),n){if(l=l[0],11>(n=e.ca).S){var d=n.f.RGBA,h=(i=n.S,a=o.U,o=o.T,c=d.eb,d.A),p=o;for(d=d.fb+e.Ma*d.A;0<p--;){var f=s,m=l,g=a,v=c,b=d;switch(i){case Pn:Qr(f,m,g,v,b);break;case jn:en(f,m,g,v,b);break;case Yn:en(f,m,g,v,b),En(v,b,0,g,1,0);break;case Fn:nn(f,m,g,v,b);break;case Hn:te(f,m,g,v,b,1);break;case zn:te(f,m,g,v,b,1),En(v,b,0,g,1,0);break;case Bn:te(f,m,g,v,b,0);break;case Wn:te(f,m,g,v,b,0),En(v,b,1,g,1,0);break;case Un:tn(f,m,g,v,b);break;case qn:tn(f,m,g,v,b),Mn(v,b,g,1,0);break;case Vn:rn(f,m,g,v,b);break;default:t(0)}l+=u,d+=h}e.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=n.height)}}e.C=r,t(e.C<=e.i)}function Ee(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var r=e.Ya[t].G,n=e.Ya[t].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function Me(e,r,n,i,a,o){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=gi[e.Z]);r<n;++r)gi[e.Z](s,l,i,a,i,a,o),s=i,l=a,a+=o;e.qd=s,e.rd=l}}function Te(e,r){var n=e.l.ma,i=0==n.Z||1==n.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(r<=e.l.o),r>i){var a=e.l.width,o=n.ca,s=n.tb+a*i,l=e.V,u=e.Ba+e.c*i,c=e.gc;t(1==e.ab),t(3==c[0].hc),Xr(c[0],i,r,l,u,o,s),Me(n,i,r,o,s,a)}e.C=e.Ma=r}function Ce(e,r,n,i,a,o,s){var l=e.$/i,u=e.$%i,c=e.m,d=e.s,h=n+e.$,p=h;a=n+i*a;var f=n+i*o,m=280+d.ua,g=e.Pb?l:16777216,v=0<d.ua?d.Wa:null,b=d.wc,y=h<f?we(d,u,l):null;t(e.C<o),t(f<=a);var w=!1;e:for(;;){for(;w||h<f;){var _=0;if(l>=g){var C=h-n;t((g=e).Pb),g.wd=g.m,g.xd=C,0<g.s.ua&&I(g.s.Wa,g.s.vb),g=l+ei}if(u&b||(y=we(d,u,l)),t(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if(T(c),y.jc){_=c,C=r;var x=h,A=y.pd[S(_)&Fr-1];t(y.jc),256>A.g?(M(_,_.u+A.g),C[x]=A.value,_=0):(M(_,_.u+A.g-256),t(256<=A.value),_=A.value),0==_&&(w=!0)}else _=be(y.G[0],y.H[0],c);if(c.h)break;if(w||256>_){if(!w)if(y.nd)r[h]=(y.qb|_<<8)>>>0;else{if(T(c),w=be(y.G[1],y.H[1],c),T(c),C=be(y.G[2],y.H[2],c),x=be(y.G[3],y.H[3],c),c.h)break;r[h]=(x<<24|w<<16|_<<8|C)>>>0}if(w=!1,++h,++u>=i&&(u=0,++l,null!=s&&l<=o&&!(l%16)&&s(e,l),null!=v))for(;p<h;)_=r[p++],v.X[(506832829*_&4294967295)>>>v.Mb]=_}else if(280>_){if(_=ge(_-256,c),C=be(y.G[4],y.H[4],c),T(c),C=ve(i,C=ge(C,c)),c.h)break;if(h-n<C||a-h<_)break e;for(x=0;x<_;++x)r[h+x]=r[h+x-C];for(h+=_,u+=_;u>=i;)u-=i,++l,null!=s&&l<=o&&!(l%16)&&s(e,l);if(t(h<=a),u&b&&(y=we(d,u,l)),null!=v)for(;p<h;)_=r[p++],v.X[(506832829*_&4294967295)>>>v.Mb]=_}else{if(!(_<m))break e;for(w=_-280,t(null!=v);p<h;)_=r[p++],v.X[(506832829*_&4294967295)>>>v.Mb]=_;_=h,t(!(w>>>(C=v).Xa)),r[_]=C.X[w],w=!0}w||t(c.h==E(c))}if(e.Pb&&c.h&&h<a)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&I(e.s.vb,e.s.Wa);else{if(c.h)break e;null!=s&&s(e,l>o?o:l),e.a=0,e.$=h-n}return 1}return e.a=3,0}function xe(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var r=e.Wa;null!=r&&(r.X=null),e.vb=null,t(null!=e)}function Ae(){var t=new or;return null==t?null:(t.a=0,t.xb=mi,re("Predictor","VP8LPredictors"),re("Predictor","VP8LPredictors_C"),re("PredictorAdd","VP8LPredictorsAdd"),re("PredictorAdd","VP8LPredictorsAdd_C"),qr=q,Jr=K,Qr=Z,en=$,tn=J,rn=Q,nn=ee,e.VP8LMapColor32b=Kr,e.VP8LMapColor8b=Zr,t)}function Ne(e,r,n,s,l){var u=1,h=[e],f=[r],m=s.m,g=s.s,v=null,b=0;e:for(;;){if(n)for(;u&&y(m,1);){var w=h,_=f,E=s,C=1,x=E.m,A=E.gc[E.ab],N=y(x,2);if(E.Oc&1<<N)u=0;else{switch(E.Oc|=1<<N,A.hc=N,A.Ea=w[0],A.nc=_[0],A.K=[null],++E.ab,t(4>=E.ab),N){case 0:case 1:A.b=y(x,3)+2,C=Ne(j(A.Ea,A.b),j(A.nc,A.b),0,E,A.K),A.K=A.K[0];break;case 3:var O,R=y(x,8)+1,L=16<R?0:4<R?1:2<R?2:3;if(w[0]=j(A.Ea,L),A.b=L,O=C=Ne(R,1,0,E,A.K)){var I,D=R,P=A,H=1<<(8>>P.b),B=a(H);if(null==B)O=0;else{var U=P.K[0],V=P.w;for(B[0]=P.K[0][0],I=1;I<1*D;++I)B[I]=F(U[V+I],B[I-1]);for(;I<4*H;++I)B[I]=0;P.K[0]=null,P.K[0]=B,O=1}}C=O;break;case 2:break;default:t(0)}u=C}}if(h=h[0],f=f[0],u&&y(m,1)&&!(u=1<=(b=y(m,4))&&11>=b)){s.a=3;break e}var Y;if(Y=u)t:{var z,W,q,G=s,K=h,X=f,Z=b,$=n,J=G.m,Q=G.s,ee=[null],te=1,re=0,ne=Qn[Z];r:for(;;){if($&&y(J,1)){var ie=y(J,3)+2,ae=j(K,ie),oe=j(X,ie),se=ae*oe;if(!Ne(ae,oe,0,G,ee))break r;for(ee=ee[0],Q.xc=ie,z=0;z<se;++z){var le=ee[z]>>8&65535;ee[z]=le,le>=te&&(te=le+1)}}if(J.h)break r;for(W=0;5>W;++W){var ue=Xn[W];!W&&0<Z&&(ue+=1<<Z),re<ue&&(re=ue)}var ce=o(te*ne,d),de=te,he=o(de,p);if(null==he)var pe=null;else t(65536>=de),pe=he;var fe=a(re);if(null==pe||null==fe||null==ce){G.a=1;break r}var me=ce;for(z=q=0;z<te;++z){var ge=pe[z],ve=ge.G,be=ge.H,we=0,_e=1,Se=0;for(W=0;5>W;++W){ue=Xn[W],ve[W]=me,be[W]=q,!W&&0<Z&&(ue+=1<<Z);n:{var Ee,Me=ue,Te=G,Ae=fe,Oe=me,Re=q,Le=0,ke=Te.m,Ie=y(ke,1);if(i(Ae,0,0,Me),Ie){var De=y(ke,1)+1,Pe=y(ke,1),je=y(ke,0==Pe?1:8);Ae[je]=1,2==De&&(Ae[je=y(ke,8)]=1);var Fe=1}else{var He=a(19),Be=y(ke,4)+4;if(19<Be){Te.a=3;var Ue=0;break n}for(Ee=0;Ee<Be;++Ee)He[$n[Ee]]=y(ke,3);var Ve=void 0,Ye=void 0,ze=Te,We=He,qe=Me,Ge=Ae,Ke=0,Xe=ze.m,Ze=8,$e=o(128,d);i:for(;c($e,0,7,We,19);){if(y(Xe,1)){var Je=2+2*y(Xe,3);if((Ve=2+y(Xe,Je))>qe)break i}else Ve=qe;for(Ye=0;Ye<qe&&Ve--;){T(Xe);var Qe=$e[0+(127&S(Xe))];M(Xe,Xe.u+Qe.g);var et=Qe.value;if(16>et)Ge[Ye++]=et,0!=et&&(Ze=et);else{var tt=16==et,rt=et-16,nt=Kn[rt],it=y(Xe,Gn[rt])+nt;if(Ye+it>qe)break i;for(var at=tt?Ze:0;0<it--;)Ge[Ye++]=at}}Ke=1;break i}Ke||(ze.a=3),Fe=Ke}(Fe=Fe&&!ke.h)&&(Le=c(Oe,Re,8,Ae,Me)),Fe&&0!=Le?Ue=Le:(Te.a=3,Ue=0)}if(0==Ue)break r;if(_e&&1==Zn[W]&&(_e=0==me[q].g),we+=me[q].g,q+=Ue,3>=W){var ot,st=fe[0];for(ot=1;ot<ue;++ot)fe[ot]>st&&(st=fe[ot]);Se+=st}}if(ge.nd=_e,ge.Qb=0,_e&&(ge.qb=(ve[3][be[3]+0].value<<24|ve[1][be[1]+0].value<<16|ve[2][be[2]+0].value)>>>0,0==we&&256>ve[0][be[0]+0].value&&(ge.Qb=1,ge.qb+=ve[0][be[0]+0].value<<8)),ge.jc=!ge.Qb&&6>Se,ge.jc){var lt,ut=ge;for(lt=0;lt<Fr;++lt){var ct=lt,dt=ut.pd[ct],ht=ut.G[0][ut.H[0]+ct];256<=ht.value?(dt.g=ht.g+256,dt.value=ht.value):(dt.g=0,dt.value=0,ct>>=ye(ht,8,dt),ct>>=ye(ut.G[1][ut.H[1]+ct],16,dt),ct>>=ye(ut.G[2][ut.H[2]+ct],0,dt),ye(ut.G[3][ut.H[3]+ct],24,dt))}}}Q.vc=ee,Q.Wb=te,Q.Ya=pe,Q.yc=ce,Y=1;break t}Y=0}if(!(u=Y)){s.a=3;break e}if(0<b){if(g.ua=1<<b,!k(g.Wa,b)){s.a=1,u=0;break e}}else g.ua=0;var pt=s,ft=h,mt=f,gt=pt.s,vt=gt.xc;if(pt.c=ft,pt.i=mt,gt.md=j(ft,vt),gt.wc=0==vt?-1:(1<<vt)-1,n){s.xb=fi;break e}if(null==(v=a(h*f))){s.a=1,u=0;break e}u=(u=Ce(s,v,0,h,f,f,null))&&!m.h;break e}return u?(null!=l?l[0]=v:(t(null==v),t(n)),s.$=0,n||xe(g)):xe(g),u}function Oe(e,r){var n=e.c*e.i,i=n+r+16*r;return t(e.c<=r),e.V=a(i),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+n+r,1)}function Re(e,r){var n=e.C,i=r-n,a=e.V,o=e.Ba+e.c*n;for(t(r<=e.l.o);0<i;){var s=16<i?16:i,l=e.l.ma,u=e.l.width,c=u*s,d=l.ca,h=l.tb+u*n,p=e.Ta,f=e.Ua;_e(e,s,a,o),Cn(p,f,d,h,c),Me(l,n,n+s,d,h,u),i-=s,a+=s*e.c,n+=s}t(n==r),e.C=e.Ma=r}function Le(){this.ub=this.yd=this.td=this.Rb=0}function ke(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ie(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function De(){this.Yb=function(){var e=[];return function e(t,r,n){for(var i=n[r],a=0;a<i&&(t.push(n.length>r+1?[]:0),!(n.length<r+1));a++)e(t[a],r+1,n)}(e,0,[3,11]),e}()}function Pe(){this.jb=a(3),this.Wc=s([4,8],De),this.Xc=s([4,17],De)}function je(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Fe(){this.ld=this.La=this.dd=this.tc=0}function He(){this.Na=this.la=0}function Be(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ue(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ve(){this.uc=this.M=this.Nb=0,this.wa=Array(new Fe),this.Y=0,this.ya=Array(new Ue),this.aa=0,this.l=new qe}function Ye(){this.y=a(16),this.f=a(8),this.ea=a(8)}function ze(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Le,this.Kc=new ke,this.ed=new je,this.Qa=new Ie,this.Ic=this.$c=this.Aa=0,this.D=new Ve,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,w),this.ia=0,this.pb=o(4,Be),this.Pa=new Pe,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ye),this.Hd=0,this.rb=Array(new He),this.sb=0,this.wa=Array(new Fe),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ue),this.L=this.aa=0,this.gd=s([4,2],Fe),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function We(e,t){return 0>e?0:e>t?t:e}function qe(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ge(){var e=new ze;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ni||(ni=$e)),e}function Ke(e,t,r){return 0==e.a&&(e.a=t,e.sc=r,e.cb=0),0}function Xe(e,t,r){return 3<=r&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ze(e,r){if(null==e)return 0;if(e.a=0,e.sc="OK",null==r)return Ke(e,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,a=r.w,o=r.ha;if(4>o)return Ke(e,7,"Truncated header.");var s=n[a+0]|n[a+1]<<8|n[a+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return Ke(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Ke(e,4,"Frame not displayable.");a+=3,o-=3;var u=e.Kc;if(l.Rb){if(7>o)return Ke(e,7,"cannot parse picture header");if(!Xe(n,a,o))return Ke(e,3,"Bad code word");u.c=16383&(n[a+4]<<8|n[a+3]),u.Td=n[a+4]>>6,u.i=16383&(n[a+6]<<8|n[a+5]),u.Ud=n[a+6]>>6,a+=7,o-=7,e.za=u.c+15>>4,e.Ub=u.i+15>>4,r.width=u.c,r.height=u.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,i((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(l.ub>o)return Ke(e,7,"bad partition length");f(s=e.m,n,a,l.ub),a+=l.ub,o-=l.ub,l.Rb&&(u.Ld=x(s),u.Kd=x(s)),u=e.Qa;var c,d=e.Pa;if(t(null!=s),t(null!=u),u.Cb=x(s),u.Cb){if(u.Bb=x(s),x(s)){for(u.Fb=x(s),c=0;4>c;++c)u.Zb[c]=x(s)?g(s,7):0;for(c=0;4>c;++c)u.Lb[c]=x(s)?g(s,6):0}if(u.Bb)for(c=0;3>c;++c)d.jb[c]=x(s)?m(s,8):255}else u.Bb=0;if(s.Ka)return Ke(e,3,"cannot parse segment header");if((u=e.ed).zd=x(s),u.Tb=m(s,6),u.wb=m(s,3),u.Pc=x(s),u.Pc&&x(s)){for(d=0;4>d;++d)x(s)&&(u.vd[d]=g(s,6));for(d=0;4>d;++d)x(s)&&(u.od[d]=g(s,6))}if(e.L=0==u.Tb?0:u.zd?1:2,s.Ka)return Ke(e,3,"cannot parse filter header");var h=o;if(o=c=a,a=c+h,u=h,e.Xb=(1<<m(e.m,2))-1,h<3*(d=e.Xb))n=7;else{for(c+=3*d,u-=3*d,h=0;h<d;++h){var p=n[o+0]|n[o+1]<<8|n[o+2]<<16;p>u&&(p=u),f(e.Jc[+h],n,c,p),c+=p,u-=p,o+=3}f(e.Jc[+d],n,c,u),n=c<a?0:5}if(0!=n)return Ke(e,n,"cannot parse partitions");for(n=m(c=e.m,7),o=x(c)?g(c,4):0,a=x(c)?g(c,4):0,u=x(c)?g(c,4):0,d=x(c)?g(c,4):0,c=x(c)?g(c,4):0,h=e.Qa,p=0;4>p;++p){if(h.Cb){var v=h.Zb[p];h.Fb||(v+=n)}else{if(0<p){e.pb[p]=e.pb[0];continue}v=n}var b=e.pb[p];b.Sc[0]=ti[We(v+o,127)],b.Sc[1]=ri[We(v+0,127)],b.Eb[0]=2*ti[We(v+a,127)],b.Eb[1]=101581*ri[We(v+u,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ti[We(v+d,117)],b.Qc[1]=ri[We(v+c,127)],b.lc=v+c}if(!l.Rb)return Ke(e,4,"Not a key frame.");for(x(s),l=e.Pa,n=0;4>n;++n){for(o=0;8>o;++o)for(a=0;3>a;++a)for(u=0;11>u;++u)d=A(s,ui[n][o][a][u])?m(s,8):si[n][o][a][u],l.Wc[n][o].Yb[a][u]=d;for(o=0;17>o;++o)l.Xc[n][o]=l.Wc[n][ci[o]]}return e.kc=x(s),e.kc&&(e.Bd=m(s,8)),e.cb=1}function $e(e,t,r,n,i,a,o){var s=t[i].Yb[r];for(r=0;16>i;++i){if(!A(e,s[r+0]))return i;for(;!A(e,s[r+1]);)if(s=t[++i].Yb[0],r=0,16==i)return 16;var l=t[i+1].Yb;if(A(e,s[r+2])){var u=e,c=0;if(A(u,(h=s)[(d=r)+3]))if(A(u,h[d+6])){for(s=0,d=2*(c=A(u,h[d+8]))+(h=A(u,h[d+9+c])),c=0,h=ii[d];h[s];++s)c+=c+A(u,h[s]);c+=3+(8<<d)}else A(u,h[d+7])?(c=7+2*A(u,165),c+=A(u,145)):c=5+A(u,159);else c=A(u,h[d+4])?3+A(u,h[d+5]):2;s=l[2]}else c=1,s=l[1];l=o+ai[i],0>(u=e).b&&C(u);var d,h=u.b,p=(d=u.Ca>>1)-(u.I>>h)>>31;--u.b,u.Ca+=p,u.Ca|=1,u.I-=(d+1&p)<<h,a[l]=((c^p)-p)*n[(0<i)+0]}return 16}function Je(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function Qe(e,r){if(null==e)return 0;if(null==r)return Ke(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ze(e,r))return 0;if(t(e.cb),null==r.ac||r.ac(r)){r.ob&&(e.L=0);var s=Hi[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=r.v-s>>4,e.zb=r.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=r.o+15+s>>4,e.Hb=r.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var u;if(e.Qa.Cb){var c=e.Qa.Lb[s];e.Qa.Fb||(c+=l.Tb)}else c=l.Tb;for(u=0;1>=u;++u){var d=e.gd[s][u],h=c;if(l.Pc&&(h+=l.vd[0],u&&(h+=l.od[0])),0<(h=0>h?0:63<h?63:h)){var p=h;0<l.wb&&(p=4<l.wb?p>>2:p>>1)>9-l.wb&&(p=9-l.wb),1>p&&(p=1),d.dd=p,d.tc=2*h+p,d.ld=40<=h?2:15<=h?1:0}else d.tc=0;d.La=u}}}s=0}else Ke(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Ui);e:{s=e.Ic,l=4*(p=e.za);var f=32*p,m=p+1,g=0<e.L?p*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*p;if((d=l+832+(u=3*(16*s+Hi[e.L])/2*f)+(c=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=d)s=0;else{if(d>e.Vb){if(e.Vb=0,e.Ec=a(d),e.Fc=0,null==e.Ec){s=Ke(e,1,"no memory during frame initialization.");break e}e.Vb=d}d=e.Ec,h=e.Fc,e.Ac=d,e.Bc=h,h+=l,e.Gd=o(f,Ye),e.Hd=0,e.rb=o(m+1,He),e.sb=1,e.wa=g?o(g,Fe):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=p),t(!0),e.oc=d,e.pc=h,h+=832,e.ya=o(v,Ue),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=p),e.R=16*p,e.B=8*p,p=(f=Hi[e.L])*e.R,f=f/2*e.B,e.sa=d,e.ta=h+p,e.qa=e.sa,e.ra=e.ta+16*s*e.R+f,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+f,e.$c=0,h+=u,e.mb=c?d:null,e.nb=c?h:null,t(h+c<=e.Fc+e.Vb),Je(e),i(e.Ac,e.Bc,0,l),s=1}}if(s){if(r.ka=0,r.y=e.sa,r.O=e.ta,r.f=e.qa,r.N=e.ra,r.ea=e.Ha,r.Vd=e.Ia,r.fa=e.R,r.Rc=e.B,r.F=null,r.J=0,!Rn){for(s=-255;255>=s;++s)xn[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)An[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Nn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)On[255+s]=0>s?0:255<s?255:s;Rn=1}an=ut,on=at,ln=ot,un=st,cn=lt,sn=it,dn=Kt,hn=Xt,pn=Jt,fn=Qt,mn=Zt,gn=$t,vn=er,bn=tr,yn=Vt,wn=Yt,_n=zt,Sn=Wt,hi[0]=Mt,hi[1]=dt,hi[2]=St,hi[3]=Et,hi[4]=Tt,hi[5]=xt,hi[6]=Ct,hi[7]=At,hi[8]=Ot,hi[9]=Nt,di[0]=vt,di[1]=pt,di[2]=ft,di[3]=mt,di[4]=bt,di[5]=yt,di[6]=wt,pi[0]=It,pi[1]=ht,pi[2]=Rt,pi[3]=Lt,pi[4]=Pt,pi[5]=Dt,pi[6]=jt,s=1}else s=0}s&&(s=function(e,r){for(e.M=0;e.M<e.Va;++e.M){var o,s=e.Jc[e.M&e.Xb],l=e.m,u=e;for(o=0;o<u.za;++o){var c=l,d=u,h=d.Ac,p=d.Bc+4*o,f=d.zc,m=d.ya[d.aa+o];if(d.Qa.Bb?m.$b=A(c,d.Pa.jb[0])?2+A(c,d.Pa.jb[2]):A(c,d.Pa.jb[1]):m.$b=0,d.kc&&(m.Ad=A(c,d.Bd)),m.Za=!A(c,145)+0,m.Za){var g=m.Ob,v=0;for(d=0;4>d;++d){var b,y=f[0+d];for(b=0;4>b;++b){y=li[h[p+b]][y];for(var w=oi[A(c,y[0])];0<w;)w=oi[2*w+A(c,y[w])];y=-w,h[p+b]=y}n(g,v,h,p,4),v+=4,f[0+d]=y}}else y=A(c,156)?A(c,128)?1:3:A(c,163)?2:0,m.Ob[0]=y,i(h,p,y,4),i(f,0,y,4);m.Dd=A(c,142)?A(c,114)?A(c,183)?1:3:2:0}if(u.m.Ka)return Ke(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(u=s,c=(l=e).rb[l.sb-1],h=l.rb[l.sb+l.ja],o=l.ya[l.aa+l.ja],p=l.kc?o.Ad:0)c.la=h.la=0,o.Za||(c.Na=h.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{var _,S;if(c=h,h=u,p=l.Pa.Xc,f=l.ya[l.aa+l.ja],m=l.pb[f.$b],d=f.ad,g=0,v=l.rb[l.sb-1],y=b=0,i(d,g,0,384),f.Za)var E=0,M=p[3];else{w=a(16);var T=c.Na+v.Na;if(T=ni(h,p[1],T,m.Eb,0,w,0),c.Na=v.Na=(0<T)+0,1<T)an(w,0,d,g);else{var C=w[0]+3>>3;for(w=0;256>w;w+=16)d[g+w]=C}E=1,M=p[0]}var x=15&c.la,N=15&v.la;for(w=0;4>w;++w){var O=1&N;for(C=S=0;4>C;++C)x=x>>1|(O=(T=ni(h,M,T=O+(1&x),m.Sc,E,d,g))>E)<<7,S=S<<2|(3<T?3:1<T?2:0!=d[g+0]),g+=16;x>>=4,N=N>>1|O<<7,b=(b<<8|S)>>>0}for(M=x,E=N>>4,_=0;4>_;_+=2){for(S=0,x=c.la>>4+_,N=v.la>>4+_,w=0;2>w;++w){for(O=1&N,C=0;2>C;++C)T=O+(1&x),x=x>>1|(O=0<(T=ni(h,p[2],T,m.Qc,0,d,g)))<<3,S=S<<2|(3<T?3:1<T?2:0!=d[g+0]),g+=16;x>>=2,N=N>>1|O<<5}y|=S<<4*_,M|=x<<4<<_,E|=(240&N)<<_}c.la=M,v.la=E,f.Hc=b,f.Gc=y,f.ia=43690&y?0:m.ia,p=!(b|y)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[o.$b][o.Za],l.wa[l.Y+l.ja].La|=!p),u.Ka)return Ke(e,7,"Premature end-of-file encountered.")}if(Je(e),l=r,u=1,o=(s=e).D,c=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(o.M=s.M,o.uc=c,kr(s,o),u=1,o=(S=s.D).Nb,c=(y=Hi[s.L])*s.R,h=y/2*s.B,w=16*o*s.R,C=8*o*s.B,p=s.sa,f=s.ta-c+w,m=s.qa,d=s.ra-h+C,g=s.Ha,v=s.Ia-h+C,N=0==(x=S.M),b=x>=s.Va-1,2==s.Aa&&kr(s,S),S.uc)for(O=(T=s).D.M,t(T.D.uc),S=T.yb;S<T.Hb;++S){E=S,M=O;var R=(L=(U=T).D).Nb;_=U.R;var L=L.wa[L.Y+E],k=U.sa,I=U.ta+16*R*_+16*E,D=L.dd,P=L.tc;if(0!=P)if(t(3<=P),1==U.L)0<E&&wn(k,I,_,P+4),L.La&&Sn(k,I,_,P),0<M&&yn(k,I,_,P+4),L.La&&_n(k,I,_,P);else{var j=U.B,F=U.qa,H=U.ra+8*R*j+8*E,B=U.Ha,U=U.Ia+8*R*j+8*E;R=L.ld,0<E&&(hn(k,I,_,P+4,D,R),fn(F,H,B,U,j,P+4,D,R)),L.La&&(gn(k,I,_,P,D,R),bn(F,H,B,U,j,P,D,R)),0<M&&(dn(k,I,_,P+4,D,R),pn(F,H,B,U,j,P+4,D,R)),L.La&&(mn(k,I,_,P,D,R),vn(F,H,B,U,j,P,D,R))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(S=16*x,x=16*(x+1),N?(l.y=s.sa,l.O=s.ta+w,l.f=s.qa,l.N=s.ra+C,l.ea=s.Ha,l.W=s.Ia+C):(S-=y,l.y=p,l.O=f,l.f=m,l.N=d,l.ea=g,l.W=v),b||(x-=y),x>l.o&&(x=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&S<x&&(l.J=dr(s,l,S,x-S),l.F=s.mb,null==l.F&&0==l.F.length)){u=Ke(s,3,"Could not decode alpha data.");break e}S<l.j&&(y=l.j-S,S=l.j,t(!(1&y)),l.O+=s.R*y,l.N+=s.B*(y>>1),l.W+=s.B*(y>>1),null!=l.F&&(l.J+=l.width*y)),S<x&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=S-l.j,l.U=l.va-l.v,l.T=x-S,u=l.put(l))}o+1!=s.Ic||b||(n(s.sa,s.ta-c,p,f+16*s.R,c),n(s.qa,s.ra-h,m,d+8*s.B,h),n(s.Ha,s.Ia-h,g,v+8*s.B,h))}if(!u)return Ke(e,6,"Output aborted.")}return 1}(e,r)),null!=r.bc&&r.bc(r),s&=1}return s?(e.cb=0,s):0}function et(e,t,r,n,i){i=e[t+r+32*n]+(i>>3),e[t+r+32*n]=-256&i?0>i?0:255:i}function tt(e,t,r,n,i,a){et(e,t,0,r,n+i),et(e,t,1,r,n+a),et(e,t,2,r,n-a),et(e,t,3,r,n-i)}function rt(e){return(20091*e>>16)+e}function nt(e,t,r,n){var i,o=0,s=a(16);for(i=0;4>i;++i){var l=e[t+0]+e[t+8],u=e[t+0]-e[t+8],c=(35468*e[t+4]>>16)-rt(e[t+12]),d=rt(e[t+4])+(35468*e[t+12]>>16);s[o+0]=l+d,s[o+1]=u+c,s[o+2]=u-c,s[o+3]=l-d,o+=4,t++}for(i=o=0;4>i;++i)l=(e=s[o+0]+4)+s[o+8],u=e-s[o+8],c=(35468*s[o+4]>>16)-rt(s[o+12]),et(r,n,0,0,l+(d=rt(s[o+4])+(35468*s[o+12]>>16))),et(r,n,1,0,u+c),et(r,n,2,0,u-c),et(r,n,3,0,l-d),o++,n+=32}function it(e,t,r,n){var i=e[t+0]+4,a=35468*e[t+4]>>16,o=rt(e[t+4]),s=35468*e[t+1]>>16;tt(r,n,0,i+o,e=rt(e[t+1]),s),tt(r,n,1,i+a,e,s),tt(r,n,2,i-a,e,s),tt(r,n,3,i-o,e,s)}function at(e,t,r,n,i){nt(e,t,r,n),i&&nt(e,t+16,r,n+4)}function ot(e,t,r,n){on(e,t+0,r,n,1),on(e,t+32,r,n+128,1)}function st(e,t,r,n){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)et(r,n,t,i,e)}function lt(e,t,r,n){e[t+0]&&un(e,t+0,r,n),e[t+16]&&un(e,t+16,r,n+4),e[t+32]&&un(e,t+32,r,n+128),e[t+48]&&un(e,t+48,r,n+128+4)}function ut(e,t,r,n){var i,o=a(16);for(i=0;4>i;++i){var s=e[t+0+i]+e[t+12+i],l=e[t+4+i]+e[t+8+i],u=e[t+4+i]-e[t+8+i],c=e[t+0+i]-e[t+12+i];o[0+i]=s+l,o[8+i]=s-l,o[4+i]=c+u,o[12+i]=c-u}for(i=0;4>i;++i)s=(e=o[0+4*i]+3)+o[3+4*i],l=o[1+4*i]+o[2+4*i],u=o[1+4*i]-o[2+4*i],c=e-o[3+4*i],r[n+0]=s+l>>3,r[n+16]=c+u>>3,r[n+32]=s-l>>3,r[n+48]=c-u>>3,n+=64}function ct(e,t,r){var n,i=t-32,a=In,o=255-e[i-1];for(n=0;n<r;++n){var s,l=a,u=o+e[t-1];for(s=0;s<r;++s)e[t+s]=l[u+e[i+s]];t+=32}}function dt(e,t){ct(e,t,4)}function ht(e,t){ct(e,t,8)}function pt(e,t){ct(e,t,16)}function ft(e,t){var r;for(r=0;16>r;++r)n(e,t+32*r,e,t-32,16)}function mt(e,t){var r;for(r=16;0<r;--r)i(e,t,e[t-1],16),t+=32}function gt(e,t,r){var n;for(n=0;16>n;++n)i(t,r+32*n,e,16)}function vt(e,t){var r,n=16;for(r=0;16>r;++r)n+=e[t-1+32*r]+e[t+r-32];gt(n>>5,e,t)}function bt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t-1+32*r];gt(n>>4,e,t)}function yt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t+r-32];gt(n>>4,e,t)}function wt(e,t){gt(128,e,t)}function _t(e,t,r){return e+2*t+r+2>>2}function St(e,t){var r,i=t-32;for(i=new Uint8Array([_t(e[i-1],e[i+0],e[i+1]),_t(e[i+0],e[i+1],e[i+2]),_t(e[i+1],e[i+2],e[i+3]),_t(e[i+2],e[i+3],e[i+4])]),r=0;4>r;++r)n(e,t+32*r,i,0,i.length)}function Et(e,t){var r=e[t-1],n=e[t-1+32],i=e[t-1+64],a=e[t-1+96];N(e,t+0,16843009*_t(e[t-1-32],r,n)),N(e,t+32,16843009*_t(r,n,i)),N(e,t+64,16843009*_t(n,i,a)),N(e,t+96,16843009*_t(i,a,a))}function Mt(e,t){var r,n=4;for(r=0;4>r;++r)n+=e[t+r-32]+e[t-1+32*r];for(n>>=3,r=0;4>r;++r)i(e,t+32*r,n,4)}function Tt(e,t){var r=e[t-1+0],n=e[t-1+32],i=e[t-1+64],a=e[t-1-32],o=e[t+0-32],s=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+96]=_t(n,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=_t(r,n,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=_t(a,r,n),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=_t(o,a,r),e[t+3+64]=e[t+2+32]=e[t+1+0]=_t(s,o,a),e[t+3+32]=e[t+2+0]=_t(l,s,o),e[t+3+0]=_t(u,l,s)}function Ct(e,t){var r=e[t+1-32],n=e[t+2-32],i=e[t+3-32],a=e[t+4-32],o=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=_t(e[t+0-32],r,n),e[t+1+0]=e[t+0+32]=_t(r,n,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=_t(n,i,a),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=_t(i,a,o),e[t+3+32]=e[t+2+64]=e[t+1+96]=_t(a,o,s),e[t+3+64]=e[t+2+96]=_t(o,s,l),e[t+3+96]=_t(s,l,l)}function xt(e,t){var r=e[t-1+0],n=e[t-1+32],i=e[t-1+64],a=e[t-1-32],o=e[t+0-32],s=e[t+1-32],l=e[t+2-32],u=e[t+3-32];e[t+0+0]=e[t+1+64]=a+o+1>>1,e[t+1+0]=e[t+2+64]=o+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+u+1>>1,e[t+0+96]=_t(i,n,r),e[t+0+64]=_t(n,r,a),e[t+0+32]=e[t+1+96]=_t(r,a,o),e[t+1+32]=e[t+2+96]=_t(a,o,s),e[t+2+32]=e[t+3+96]=_t(o,s,l),e[t+3+32]=_t(s,l,u)}function At(e,t){var r=e[t+0-32],n=e[t+1-32],i=e[t+2-32],a=e[t+3-32],o=e[t+4-32],s=e[t+5-32],l=e[t+6-32],u=e[t+7-32];e[t+0+0]=r+n+1>>1,e[t+1+0]=e[t+0+64]=n+i+1>>1,e[t+2+0]=e[t+1+64]=i+a+1>>1,e[t+3+0]=e[t+2+64]=a+o+1>>1,e[t+0+32]=_t(r,n,i),e[t+1+32]=e[t+0+96]=_t(n,i,a),e[t+2+32]=e[t+1+96]=_t(i,a,o),e[t+3+32]=e[t+2+96]=_t(a,o,s),e[t+3+64]=_t(o,s,l),e[t+3+96]=_t(s,l,u)}function Nt(e,t){var r=e[t-1+0],n=e[t-1+32],i=e[t-1+64],a=e[t-1+96];e[t+0+0]=r+n+1>>1,e[t+2+0]=e[t+0+32]=n+i+1>>1,e[t+2+32]=e[t+0+64]=i+a+1>>1,e[t+1+0]=_t(r,n,i),e[t+3+0]=e[t+1+32]=_t(n,i,a),e[t+3+32]=e[t+1+64]=_t(i,a,a),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=a}function Ot(e,t){var r=e[t-1+0],n=e[t-1+32],i=e[t-1+64],a=e[t-1+96],o=e[t-1-32],s=e[t+0-32],l=e[t+1-32],u=e[t+2-32];e[t+0+0]=e[t+2+32]=r+o+1>>1,e[t+0+32]=e[t+2+64]=n+r+1>>1,e[t+0+64]=e[t+2+96]=i+n+1>>1,e[t+0+96]=a+i+1>>1,e[t+3+0]=_t(s,l,u),e[t+2+0]=_t(o,s,l),e[t+1+0]=e[t+3+32]=_t(r,o,s),e[t+1+32]=e[t+3+64]=_t(n,r,o),e[t+1+64]=e[t+3+96]=_t(i,n,r),e[t+1+96]=_t(a,i,n)}function Rt(e,t){var r;for(r=0;8>r;++r)n(e,t+32*r,e,t-32,8)}function Lt(e,t){var r;for(r=0;8>r;++r)i(e,t,e[t-1],8),t+=32}function kt(e,t,r){var n;for(n=0;8>n;++n)i(t,r+32*n,e,8)}function It(e,t){var r,n=8;for(r=0;8>r;++r)n+=e[t+r-32]+e[t-1+32*r];kt(n>>4,e,t)}function Dt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t+r-32];kt(n>>3,e,t)}function Pt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t-1+32*r];kt(n>>3,e,t)}function jt(e,t){kt(128,e,t)}function Ft(e,t,r){var n=e[t-r],i=e[t+0],a=3*(i-n)+Ln[1020+e[t-2*r]-e[t+r]],o=kn[112+(a+4>>3)];e[t-r]=In[255+n+kn[112+(a+3>>3)]],e[t+0]=In[255+i-o]}function Ht(e,t,r,n){var i=e[t+0],a=e[t+r];return Dn[255+e[t-2*r]-e[t-r]]>n||Dn[255+a-i]>n}function Bt(e,t,r,n){return 4*Dn[255+e[t-r]-e[t+0]]+Dn[255+e[t-2*r]-e[t+r]]<=n}function Ut(e,t,r,n,i){var a=e[t-3*r],o=e[t-2*r],s=e[t-r],l=e[t+0],u=e[t+r],c=e[t+2*r],d=e[t+3*r];return 4*Dn[255+s-l]+Dn[255+o-u]>n?0:Dn[255+e[t-4*r]-a]<=i&&Dn[255+a-o]<=i&&Dn[255+o-s]<=i&&Dn[255+d-c]<=i&&Dn[255+c-u]<=i&&Dn[255+u-l]<=i}function Vt(e,t,r,n){var i=2*n+1;for(n=0;16>n;++n)Bt(e,t+n,r,i)&&Ft(e,t+n,r)}function Yt(e,t,r,n){var i=2*n+1;for(n=0;16>n;++n)Bt(e,t+n*r,1,i)&&Ft(e,t+n*r,1)}function zt(e,t,r,n){var i;for(i=3;0<i;--i)Vt(e,t+=4*r,r,n)}function Wt(e,t,r,n){var i;for(i=3;0<i;--i)Yt(e,t+=4,r,n)}function qt(e,t,r,n,i,a,o,s){for(a=2*a+1;0<i--;){if(Ut(e,t,r,a,o))if(Ht(e,t,r,s))Ft(e,t,r);else{var l=e,u=t,c=r,d=l[u-2*c],h=l[u-c],p=l[u+0],f=l[u+c],m=l[u+2*c],g=27*(b=Ln[1020+3*(p-h)+Ln[1020+d-f]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;l[u-3*c]=In[255+l[u-3*c]+b],l[u-2*c]=In[255+d+v],l[u-c]=In[255+h+g],l[u+0]=In[255+p-g],l[u+c]=In[255+f-v],l[u+2*c]=In[255+m-b]}t+=n}}function Gt(e,t,r,n,i,a,o,s){for(a=2*a+1;0<i--;){if(Ut(e,t,r,a,o))if(Ht(e,t,r,s))Ft(e,t,r);else{var l=e,u=t,c=r,d=l[u-c],h=l[u+0],p=l[u+c],f=kn[112+(4+(m=3*(h-d))>>3)],m=kn[112+(m+3>>3)],g=f+1>>1;l[u-2*c]=In[255+l[u-2*c]+g],l[u-c]=In[255+d+m],l[u+0]=In[255+h-f],l[u+c]=In[255+p-g]}t+=n}}function Kt(e,t,r,n,i,a){qt(e,t,r,1,16,n,i,a)}function Xt(e,t,r,n,i,a){qt(e,t,1,r,16,n,i,a)}function Zt(e,t,r,n,i,a){var o;for(o=3;0<o;--o)Gt(e,t+=4*r,r,1,16,n,i,a)}function $t(e,t,r,n,i,a){var o;for(o=3;0<o;--o)Gt(e,t+=4,1,r,16,n,i,a)}function Jt(e,t,r,n,i,a,o,s){qt(e,t,i,1,8,a,o,s),qt(r,n,i,1,8,a,o,s)}function Qt(e,t,r,n,i,a,o,s){qt(e,t,1,i,8,a,o,s),qt(r,n,1,i,8,a,o,s)}function er(e,t,r,n,i,a,o,s){Gt(e,t+4*i,i,1,8,a,o,s),Gt(r,n+4*i,i,1,8,a,o,s)}function tr(e,t,r,n,i,a,o,s){Gt(e,t+4,1,i,8,a,o,s),Gt(r,n+4,1,i,8,a,o,s)}function rr(){this.ba=new oe,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ir(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ar(){this.ua=0,this.Wa=new D,this.vb=new D,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new p,this.yc=new d}function or(){this.xb=this.a=0,this.l=new qe,this.ca=new oe,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new _,this.Pb=0,this.wd=new _,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ar,this.ab=0,this.gc=o(4,ir),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new qe,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function lr(e,t,r,n,i,a,o){for(e=null==e?0:e[t+0],t=0;t<o;++t)i[a+t]=e+r[n+t]&255,e=i[a+t]}function ur(e,t,r,n,i,a,o){var s;if(null==e)lr(null,null,r,n,i,a,o);else for(s=0;s<o;++s)i[a+s]=e[t+s]+r[n+s]&255}function cr(e,t,r,n,i,a,o){if(null==e)lr(null,null,r,n,i,a,o);else{var s,l=e[t+0],u=l,c=l;for(s=0;s<o;++s)u=c+(l=e[t+s])-u,c=r[n+s]+(-256&u?0>u?0:255:u)&255,u=l,i[a+s]=c}}function dr(e,r,i,o){var s=r.width,l=r.o;if(t(null!=e&&null!=r),0>i||0>=o||i+o>l)return null;if(!e.Cc){if(null==e.ga){var u;if(e.ga=new sr,(u=null==e.ga)||(u=r.width*r.o,t(0==e.Gb.length),e.Gb=a(u),e.Uc=0,null==e.Gb?u=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,u=1),u=!u),!u){u=e.ga;var c=e.Fa,d=e.P,h=e.qc,p=e.mb,f=e.nb,m=d+1,g=h-1,b=u.l;if(t(null!=c&&null!=p&&null!=r),gi[0]=null,gi[1]=lr,gi[2]=ur,gi[3]=cr,u.ca=p,u.tb=f,u.c=r.width,u.i=r.height,t(0<u.c&&0<u.i),1>=h)r=0;else if(u.$a=c[d+0]>>0&3,u.Z=c[d+0]>>2&3,u.Lc=c[d+0]>>4&3,d=c[d+0]>>6&3,0>u.$a||1<u.$a||4<=u.Z||1<u.Lc||d)r=0;else if(b.put=pe,b.ac=he,b.bc=fe,b.ma=u,b.width=r.width,b.height=r.height,b.Da=r.Da,b.v=r.v,b.va=r.va,b.j=r.j,b.o=r.o,u.$a)e:{t(1==u.$a),r=Ae();t:for(;;){if(null==r){r=0;break e}if(t(null!=u),u.mc=r,r.c=u.c,r.i=u.i,r.l=u.l,r.l.ma=u,r.l.width=u.c,r.l.height=u.i,r.a=0,v(r.m,c,m,g),!Ne(u.c,u.i,1,r,null))break t;if(1==r.ab&&3==r.gc[0].hc&&Ee(r.s)?(u.ic=1,c=r.c*r.i,r.Ta=null,r.Ua=0,r.V=a(c),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(u.ic=0,r=Oe(r,u.c)),!r)break t;r=1;break e}u.mc=null,r=0}else r=g>=u.c*u.i;u=!r}if(u)return null;1!=e.ga.Lc?e.Ga=0:o=l-i}t(null!=e.ga),t(i+o<=l);e:{if(r=(c=e.ga).c,l=c.l.o,0==c.$a){if(m=e.rc,g=e.Vc,b=e.Fa,d=e.P+1+i*r,h=e.mb,p=e.nb+i*r,t(d<=e.P+e.qc),0!=c.Z)for(t(null!=gi[c.Z]),u=0;u<o;++u)gi[c.Z](m,g,b,d,h,p,r),m=h,g=p,p+=r,d+=r;else for(u=0;u<o;++u)n(h,p,b,d,r),m=h,g=p,p+=r,d+=r;e.rc=m,e.Vc=g}else{if(t(null!=c.mc),r=i+o,t(null!=(u=c.mc)),t(r<=u.i),u.C>=r)r=1;else if(c.ic||gr(),c.ic){c=u.V,m=u.Ba,g=u.c;var y=u.i,w=(b=1,d=u.$/g,h=u.$%g,p=u.m,f=u.s,u.$),_=g*y,S=g*r,M=f.wc,C=w<S?we(f,h,d):null;t(w<=_),t(r<=y),t(Ee(f));t:for(;;){for(;!p.h&&w<S;){if(h&M||(C=we(f,h,d)),t(null!=C),T(p),256>(y=be(C.G[0],C.H[0],p)))c[m+w]=y,++w,++h>=g&&(h=0,++d<=r&&!(d%16)&&Te(u,d));else{if(!(280>y)){b=0;break t}y=ge(y-256,p);var x,A=be(C.G[4],C.H[4],p);if(T(p),!(w>=(A=ve(g,A=ge(A,p)))&&_-w>=y)){b=0;break t}for(x=0;x<y;++x)c[m+w+x]=c[m+w+x-A];for(w+=y,h+=y;h>=g;)h-=g,++d<=r&&!(d%16)&&Te(u,d);w<S&&h&M&&(C=we(f,h,d))}t(p.h==E(p))}Te(u,d>r?r:d);break t}!b||p.h&&w<_?(b=0,u.a=p.h?5:3):u.$=w,r=b}else r=Ce(u,u.V,u.Ba,u.c,u.i,r,Re);if(!r){o=0;break e}}i+o>=l&&(e.Cc=1),o=1}if(!o)return null;if(e.Cc&&(null!=(o=e.ga)&&(o.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*s}function hr(e,t,r,n,i,a){for(;0<i--;){var o,s=e,l=t+(r?1:0),u=e,c=t+(r?0:3);for(o=0;o<n;++o){var d=u[c+4*o];255!=d&&(d*=32897,s[l+4*o+0]=s[l+4*o+0]*d>>23,s[l+4*o+1]=s[l+4*o+1]*d>>23,s[l+4*o+2]=s[l+4*o+2]*d>>23)}t+=a}}function pr(e,t,r,n,i){for(;0<n--;){var a;for(a=0;a<r;++a){var o=e[t+2*a+0],s=15&(u=e[t+2*a+1]),l=4369*s,u=(240&u|u>>4)*l>>16;e[t+2*a+0]=(240&o|o>>4)*l>>16&240|(15&o|o<<4)*l>>16>>4&15,e[t+2*a+1]=240&u|s}t+=i}}function fr(e,t,r,n,i,a,o,s){var l,u,c=255;for(u=0;u<i;++u){for(l=0;l<n;++l){var d=e[t+l];a[o+4*l]=d,c&=d}t+=r,o+=s}return 255!=c}function mr(e,t,r,n,i){var a;for(a=0;a<i;++a)r[n+a]=e[t+a]>>8}function gr(){En=hr,Mn=pr,Tn=fr,Cn=mr}function vr(r,n,i){e[r]=function(e,r,a,o,s,l,u,c,d,h,p,f,m,g,v,b,y){var w,_=y-1>>1,S=s[l+0]|u[c+0]<<16,E=d[h+0]|p[f+0]<<16;t(null!=e);var M=3*S+E+131074>>2;for(n(e[r+0],255&M,M>>16,m,g),null!=a&&(M=3*E+S+131074>>2,n(a[o+0],255&M,M>>16,v,b)),w=1;w<=_;++w){var T=s[l+w]|u[c+w]<<16,C=d[h+w]|p[f+w]<<16,x=S+T+E+C+524296,A=x+2*(T+E)>>3;M=A+S>>1,S=(x=x+2*(S+C)>>3)+T>>1,n(e[r+2*w-1],255&M,M>>16,m,g+(2*w-1)*i),n(e[r+2*w-0],255&S,S>>16,m,g+(2*w-0)*i),null!=a&&(M=x+E>>1,S=A+C>>1,n(a[o+2*w-1],255&M,M>>16,v,b+(2*w-1)*i),n(a[o+2*w+0],255&S,S>>16,v,b+(2*w+0)*i)),S=T,E=C}1&y||(M=3*S+E+131074>>2,n(e[r+y-1],255&M,M>>16,m,g+(y-1)*i),null!=a&&(M=3*E+S+131074>>2,n(a[o+y-1],255&M,M>>16,v,b+(y-1)*i)))}}function br(){vi[Pn]=bi,vi[jn]=wi,vi[Fn]=yi,vi[Hn]=_i,vi[Bn]=Si,vi[Un]=Ei,vi[Vn]=Mi,vi[Yn]=wi,vi[zn]=_i,vi[Wn]=Si,vi[qn]=Ei}function yr(e){return e&~Oi?0>e?0:255:e>>Ni}function wr(e,t){return yr((19077*e>>8)+(26149*t>>8)-14234)}function _r(e,t,r){return yr((19077*e>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function Sr(e,t){return yr((19077*e>>8)+(33050*t>>8)-17685)}function Er(e,t,r,n,i){n[i+0]=wr(e,r),n[i+1]=_r(e,t,r),n[i+2]=Sr(e,t)}function Mr(e,t,r,n,i){n[i+0]=Sr(e,t),n[i+1]=_r(e,t,r),n[i+2]=wr(e,r)}function Tr(e,t,r,n,i){var a=_r(e,t,r);t=a<<3&224|Sr(e,t)>>3,n[i+0]=248&wr(e,r)|a>>5,n[i+1]=t}function Cr(e,t,r,n,i){var a=240&Sr(e,t)|15;n[i+0]=240&wr(e,r)|_r(e,t,r)>>4,n[i+1]=a}function xr(e,t,r,n,i){n[i+0]=255,Er(e,t,r,n,i+1)}function Ar(e,t,r,n,i){Mr(e,t,r,n,i),n[i+3]=255}function Nr(e,t,r,n,i){Er(e,t,r,n,i),n[i+3]=255}function We(e,t){return 0>e?0:e>t?t:e}function Or(t,r,n){e[t]=function(e,t,i,a,o,s,l,u,c){for(var d=u+(-2&c)*n;u!=d;)r(e[t+0],i[a+0],o[s+0],l,u),r(e[t+1],i[a+0],o[s+0],l,u+n),t+=2,++a,++s,u+=2*n;1&c&&r(e[t+0],i[a+0],o[s+0],l,u)}}function Rr(e,t,r){return 0==r?0==e?0==t?6:5:0==t?4:0:r}function Lr(e,t,r,n,i){switch(e>>>30){case 3:on(t,r,n,i,0);break;case 2:sn(t,r,n,i);break;case 1:un(t,r,n,i)}}function kr(e,t){var r,a,o=t.M,s=t.Nb,l=e.oc,u=e.pc+40,c=e.oc,d=e.pc+584,h=e.oc,p=e.pc+600;for(r=0;16>r;++r)l[u+32*r-1]=129;for(r=0;8>r;++r)c[d+32*r-1]=129,h[p+32*r-1]=129;for(0<o?l[u-1-32]=c[d-1-32]=h[p-1-32]=129:(i(l,u-32-1,127,21),i(c,d-32-1,127,9),i(h,p-32-1,127,9)),a=0;a<e.za;++a){var f=t.ya[t.aa+a];if(0<a){for(r=-1;16>r;++r)n(l,u+32*r-4,l,u+32*r+12,4);for(r=-1;8>r;++r)n(c,d+32*r-4,c,d+32*r+4,4),n(h,p+32*r-4,h,p+32*r+4,4)}var m=e.Gd,g=e.Hd+a,v=f.ad,b=f.Hc;if(0<o&&(n(l,u-32,m[g].y,0,16),n(c,d-32,m[g].f,0,8),n(h,p-32,m[g].ea,0,8)),f.Za){var y=l,w=u-32+16;for(0<o&&(a>=e.za-1?i(y,w,m[g].y[15],4):n(y,w,m[g+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,b<<=2)y=l,w=u+Fi[r],hi[f.Ob[r]](y,w),Lr(b,v,16*+r,y,w)}else if(y=Rr(a,o,f.Ob[0]),di[y](l,u),0!=b)for(r=0;16>r;++r,b<<=2)Lr(b,v,16*+r,l,u+Fi[r]);for(r=f.Gc,y=Rr(a,o,f.Dd),pi[y](c,d),pi[y](h,p),b=v,y=c,w=d,255&(f=r>>0)&&(170&f?ln(b,256,y,w):cn(b,256,y,w)),f=h,b=p,255&(r>>=8)&&(170&r?ln(v,320,f,b):cn(v,320,f,b)),o<e.Ub-1&&(n(m[g].y,0,l,u+480,16),n(m[g].f,0,c,d+224,8),n(m[g].ea,0,h,p+224,8)),r=8*s*e.B,m=e.sa,g=e.ta+16*a+16*s*e.R,v=e.qa,f=e.ra+8*a+r,b=e.Ha,y=e.Ia+8*a+r,r=0;16>r;++r)n(m,g+r*e.R,l,u+32*r,16);for(r=0;8>r;++r)n(v,f+r*e.B,c,d+32*r,8),n(b,y+r*e.B,h,p+32*r,8)}}function Ir(e,n,i,a,o,s,l,u,c){var d=[0],h=[0],p=0,f=null!=c?c.kd:0,m=null!=c?c:new nr;if(null==e||12>i)return 7;m.data=e,m.w=n,m.ha=i,n=[n],i=[i],m.gb=[m.gb];e:{var g=n,b=i,y=m.gb;if(t(null!=e),t(null!=b),t(null!=y),y[0]=0,12<=b[0]&&!r(e,g[0],"RIFF")){if(r(e,g[0]+8,"WEBP")){y=3;break e}var w=L(e,g[0]+4);if(12>w||4294967286<w){y=3;break e}if(f&&w>b[0]-8){y=7;break e}y[0]=w,g[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<m.gb[0],i=i[0];;){e:{var S=e;b=n,y=i;var E=d,M=h,T=g=[0];if((A=p=[p])[0]=0,8>y[0])y=7;else{if(!r(S,b[0],"VP8X")){if(10!=L(S,b[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var C=L(S,b[0]+8),x=1+R(S,b[0]+12);if(2147483648<=x*(S=1+R(S,b[0]+15))){y=3;break e}null!=T&&(T[0]=C),null!=E&&(E[0]=x),null!=M&&(M[0]=S),b[0]+=18,y[0]-=18,A[0]=1}y=0}}if(p=p[0],g=g[0],0!=y)return y;if(b=!!(2&g),!w&&p)return 3;if(null!=s&&(s[0]=!!(16&g)),null!=l&&(l[0]=b),null!=u&&(u[0]=0),l=d[0],g=h[0],p&&b&&null==c){y=0;break}if(4>i){y=7;break}if(w&&p||!w&&!p&&!r(e,n[0],"ALPH")){i=[i],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];e:{C=e,y=n,w=i;var A=m.gb;E=m.na,M=m.P,T=m.Sa,x=22,t(null!=C),t(null!=w),S=y[0];var N=w[0];for(t(null!=E),t(null!=T),E[0]=null,M[0]=null,T[0]=0;;){if(y[0]=S,w[0]=N,8>N){y=7;break e}var O=L(C,S+4);if(4294967286<O){y=3;break e}var k=8+O+1&-2;if(x+=k,0<A&&x>A){y=3;break e}if(!r(C,S,"VP8 ")||!r(C,S,"VP8L")){y=0;break e}if(N[0]<k){y=7;break e}r(C,S,"ALPH")||(E[0]=C,M[0]=S+8,T[0]=O),S+=k,N-=k}}if(i=i[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=y)break}i=[i],m.Ja=[m.Ja],m.xa=[m.xa];e:if(A=e,y=n,w=i,E=m.gb[0],M=m.Ja,T=m.xa,C=y[0],S=!r(A,C,"VP8 "),x=!r(A,C,"VP8L"),t(null!=A),t(null!=w),t(null!=M),t(null!=T),8>w[0])y=7;else{if(S||x){if(A=L(A,C+4),12<=E&&A>E-12){y=3;break e}if(f&&A>w[0]-8){y=7;break e}M[0]=A,y[0]+=8,w[0]-=8,T[0]=x}else T[0]=5<=w[0]&&47==A[C+0]&&!(A[C+4]>>5),M[0]=w[0];y=0}if(i=i[0],m.Ja=m.Ja[0],m.xa=m.xa[0],n=n[0],0!=y)break;if(4294967286<m.Ja)return 3;if(null==u||b||(u[0]=m.xa?2:1),l=[l],g=[g],m.xa){if(5>i){y=7;break}u=l,f=g,b=s,null==e||5>i?e=0:5<=i&&47==e[n+0]&&!(e[n+4]>>5)?(w=[0],A=[0],E=[0],v(M=new _,e,n,i),me(M,w,A,E)?(null!=u&&(u[0]=w[0]),null!=f&&(f[0]=A[0]),null!=b&&(b[0]=E[0]),e=1):e=0):e=0}else{if(10>i){y=7;break}u=g,null==e||10>i||!Xe(e,n+3,i-3)?e=0:(f=e[n+0]|e[n+1]<<8|e[n+2]<<16,b=16383&(e[n+7]<<8|e[n+6]),e=16383&(e[n+9]<<8|e[n+8]),1&f||3<(f>>1&7)||!(f>>4&1)||f>>5>=m.Ja||!b||!e?e=0:(l&&(l[0]=b),u&&(u[0]=e),e=1))}if(!e)return 3;if(l=l[0],g=g[0],p&&(d[0]!=l||h[0]!=g))return 3;null!=c&&(c[0]=m,c.offset=n-c.w,t(4294967286>n-c.w),t(c.offset==c.ha-i));break}return 0==y||7==y&&p&&null==c?(null!=s&&(s[0]|=null!=m.na&&0<m.na.length),null!=a&&(a[0]=l),null!=o&&(o[0]=g),0):y}function Dr(e,t,r){var n=t.width,i=t.height,a=0,o=0,s=n,l=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,a=e.v,o=e.j,11>r||(a&=-2,o&=-2),0>a||0>o||0>=s||0>=l||a+s>n||o+l>i))return 0;if(t.v=a,t.j=o,t.va=a+s,t.o=o+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!P(s,l,r=[e.ib],a=[e.hb]))return 0;t.ib=r[0],t.hb=a[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*n/4&&t.hb<3*i/4,t.Kb=0),1}function Pr(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function jr(e,t,r,n){if(null==n||0>=e||0>=t)return 2;if(null!=r){if(r.Da){var i=r.cd,o=r.bd,s=-2&r.v,l=-2&r.j;if(0>s||0>l||0>=i||0>=o||s+i>e||l+o>t)return 2;e=i,t=o}if(r.da){if(!P(e,t,i=[r.ib],o=[r.hb]))return 2;e=i[0],t=o[0]}}n.width=e,n.height=t;e:{var u=n.width,c=n.height;if(e=n.S,0>=u||0>=c||!(e>=Pn&&13>e))e=2;else{if(0>=n.Rd&&null==n.sd){s=o=i=t=0;var d=(l=u*Vi[e])*c;if(11>e||(o=(c+1)/2*(t=(u+1)/2),12==e&&(s=(i=u)*c)),null==(c=a(d+2*o+s))){e=1;break e}n.sd=c,11>e?((u=n.f.RGBA).eb=c,u.fb=0,u.A=l,u.size=d):((u=n.f.kb).y=c,u.O=0,u.fa=l,u.Fd=d,u.f=c,u.N=0+d,u.Ab=t,u.Cd=o,u.ea=c,u.W=0+d+o,u.Db=t,u.Ed=o,12==e&&(u.F=c,u.J=0+d+2*o),u.Tc=s,u.lb=i)}if(t=1,i=n.S,o=n.width,s=n.height,i>=Pn&&13>i)if(11>i)e=n.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+o<=e.size,t&=l>=o*Vi[i],t&=null!=e.eb;else{e=n.f.kb,l=(o+1)/2,d=(s+1)/2,u=Math.abs(e.fa),c=Math.abs(e.Ab);var h=Math.abs(e.Db),p=Math.abs(e.lb),f=p*(s-1)+o;t&=u*(s-1)+o<=e.Fd,t&=c*(d-1)+l<=e.Cd,t=(t&=h*(d-1)+l<=e.Ed)&u>=o&c>=l&h>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==i&&(t&=p>=o,t&=f<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=r&&r.fd&&(e=Pr(n)),e}var Fr=64,Hr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Br=24,Ur=32,Vr=8,Yr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];H("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,r){return t[r+0]},e.Predictor3=function(e,t,r){return t[r+1]},e.Predictor4=function(e,t,r){return t[r-1]},e.Predictor5=function(e,t,r){return U(U(e,t[r+1]),t[r+0])},e.Predictor6=function(e,t,r){return U(e,t[r-1])},e.Predictor7=function(e,t,r){return U(e,t[r+0])},e.Predictor8=function(e,t,r){return U(t[r-1],t[r+0])},e.Predictor9=function(e,t,r){return U(t[r+0],t[r+1])},e.Predictor10=function(e,t,r){return U(U(e,t[r-1]),U(t[r+0],t[r+1]))},e.Predictor11=function(e,t,r){var n=t[r+0];return 0>=z(n>>24&255,e>>24&255,(t=t[r-1])>>24&255)+z(n>>16&255,e>>16&255,t>>16&255)+z(n>>8&255,e>>8&255,t>>8&255)+z(255&n,255&e,255&t)?n:e},e.Predictor12=function(e,t,r){var n=t[r+0];return(V((e>>24&255)+(n>>24&255)-((t=t[r-1])>>24&255))<<24|V((e>>16&255)+(n>>16&255)-(t>>16&255))<<16|V((e>>8&255)+(n>>8&255)-(t>>8&255))<<8|V((255&e)+(255&n)-(255&t)))>>>0},e.Predictor13=function(e,t,r){var n=t[r-1];return(Y((e=U(e,t[r+0]))>>24&255,n>>24&255)<<24|Y(e>>16&255,n>>16&255)<<16|Y(e>>8&255,n>>8&255)<<8|Y(e>>0&255,n>>0&255))>>>0};var zr=e.PredictorAdd0;e.PredictorAdd1=W,H("Predictor2","PredictorAdd2"),H("Predictor3","PredictorAdd3"),H("Predictor4","PredictorAdd4"),H("Predictor5","PredictorAdd5"),H("Predictor6","PredictorAdd6"),H("Predictor7","PredictorAdd7"),H("Predictor8","PredictorAdd8"),H("Predictor9","PredictorAdd9"),H("Predictor10","PredictorAdd10"),H("Predictor11","PredictorAdd11"),H("Predictor12","PredictorAdd12"),H("Predictor13","PredictorAdd13");var Wr=e.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var qr,Gr=e.ColorIndexInverseTransform,Kr=e.MapARGB,Xr=e.VP8LColorIndexInverseTransformAlpha,Zr=e.MapAlpha,$r=e.VP8LPredictorsAdd=[];$r.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Jr,Qr,en,tn,rn,nn,an,on,sn,ln,un,cn,dn,hn,pn,fn,mn,gn,vn,bn,yn,wn,_n,Sn,En,Mn,Tn,Cn,xn=a(511),An=a(2041),Nn=a(225),On=a(767),Rn=0,Ln=An,kn=Nn,In=On,Dn=xn,Pn=0,jn=1,Fn=2,Hn=3,Bn=4,Un=5,Vn=6,Yn=7,zn=8,Wn=9,qn=10,Gn=[2,3,7],Kn=[3,3,11],Xn=[280,256,256,256,40],Zn=[0,1,1,1,0],$n=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ei=8,ti=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ri=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ai=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oi=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],li=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ui=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ci=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],di=[],hi=[],pi=[],fi=1,mi=2,gi=[],vi=[];vr("UpsampleRgbLinePair",Er,3),vr("UpsampleBgrLinePair",Mr,3),vr("UpsampleRgbaLinePair",Nr,4),vr("UpsampleBgraLinePair",Ar,4),vr("UpsampleArgbLinePair",xr,4),vr("UpsampleRgba4444LinePair",Cr,2),vr("UpsampleRgb565LinePair",Tr,2);var bi=e.UpsampleRgbLinePair,yi=e.UpsampleBgrLinePair,wi=e.UpsampleRgbaLinePair,_i=e.UpsampleBgraLinePair,Si=e.UpsampleArgbLinePair,Ei=e.UpsampleRgba4444LinePair,Mi=e.UpsampleRgb565LinePair,Ti=16,Ci=1<<Ti-1,xi=-227,Ai=482,Ni=6,Oi=(256<<Ni)-1,Ri=0,Li=a(256),ki=a(256),Ii=a(256),Di=a(256),Pi=a(Ai-xi),ji=a(Ai-xi);Or("YuvToRgbRow",Er,3),Or("YuvToBgrRow",Mr,3),Or("YuvToRgbaRow",Nr,4),Or("YuvToBgraRow",Ar,4),Or("YuvToArgbRow",xr,4),Or("YuvToRgba4444Row",Cr,2),Or("YuvToRgb565Row",Tr,2);var Fi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Hi=[0,2,8],Bi=[8,7,6,4,4,2,2,2,1,1,1,1],Ui=1;this.WebPDecodeRGBA=function(e,r,n,i,a){var o=jn,s=new rr,l=new oe;s.ba=l,l.S=o,l.width=[l.width],l.height=[l.height];var u=l.width,c=l.height,d=new se;if(null==d||null==e)var h=2;else t(null!=d),h=Ir(e,r,n,d.width,d.height,d.Pd,d.Qd,d.format,null);if(0!=h?u=0:(null!=u&&(u[0]=d.width[0]),null!=c&&(c[0]=d.height[0]),u=1),u){l.width=l.width[0],l.height=l.height[0],null!=i&&(i[0]=l.width),null!=a&&(a[0]=l.height);e:{if(i=new qe,(a=new nr).data=e,a.w=r,a.ha=n,a.kd=1,r=[0],t(null!=a),(0==(e=Ir(a.data,a.w,a.ha,null,null,null,r,null,a))||7==e)&&r[0]&&(e=4),0==(r=e)){if(t(null!=s),i.data=a.data,i.w=a.w+a.offset,i.ha=a.ha-a.offset,i.put=pe,i.ac=he,i.bc=fe,i.ma=s,a.xa){if(null==(e=Ae())){s=1;break e}if(function(e,r){var n=[0],i=[0],a=[0];t:for(;;){if(null==e)return 0;if(null==r)return e.a=2,0;if(e.l=r,e.a=0,v(e.m,r.data,r.w,r.ha),!me(e.m,n,i,a)){e.a=3;break t}if(e.xb=mi,r.width=n[0],r.height=i[0],!Ne(n[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,i)){if(i=0==(r=jr(i.width,i.height,s.Oa,s.ba))){t:{i=e;r:for(;;){if(null==i){i=0;break t}if(t(null!=i.s.yc),t(null!=i.s.Ya),t(0<i.s.Wb),t(null!=(n=i.l)),t(null!=(a=n.ma)),0!=i.xb){if(i.ca=a.ba,i.tb=a.tb,t(null!=i.ca),!Dr(a.Oa,n,Hn)){i.a=2;break r}if(!Oe(i,n.width))break r;if(n.da)break r;if((n.da||ne(i.ca.S))&&gr(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&gr()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!k(i.s.vb,i.s.Wa.Xa)){i.a=1;break r}i.xb=0}if(!Ce(i,i.V,i.Ba,i.c,i.i,n.o,Se))break r;a.Dc=i.Ma,i=1;break t}t(0!=i.a),i=0}i=!i}i&&(r=e.a)}else r=e.a}else{if(null==(e=new Ge)){s=1;break e}if(e.Fa=a.na,e.P=a.P,e.qc=a.Sa,Ze(e,i)){if(0==(r=jr(i.width,i.height,s.Oa,s.ba))){if(e.Aa=0,n=s.Oa,t(null!=(a=e)),null!=n){if(0<(u=0>(u=n.Md)?0:100<u?255:255*u/100)){for(c=d=0;4>c;++c)12>(h=a.pb[c]).lc&&(h.ia=u*Bi[0>h.lc?0:h.lc]>>3),d|=h.ia;d&&(alert("todo:VP8InitRandom"),a.ia=1)}a.Ga=n.Id,100<a.Ga?a.Ga=100:0>a.Ga&&(a.Ga=0)}Qe(e,i)||(r=e.a)}}else r=e.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Pr(s.ba))}s=r}o=0!=s?null:11>o?l.f.RGBA.eb:l.f.kb.y}else o=null;return o};var Vi=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(e,t){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(e[t++]);return r}function c(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function d(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var h=[0],p=[0],f=[],m=new l,g=e,v=function(e,t){var r={},n=0,i=!1,a=0,o=0;if(r.frames=[],!
- /** @license
- * Copyright (c) 2017 Dominik Homberger
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- https://webpjs.appspot.com
- WebPRiffParser dominikhlbg@gmail.com
- */
- function(e,t,r,n){for(var i=0;i<n;i++)if(e[t+i]!=r.charCodeAt(i))return!0;return!1}(e,t,"RIFF",4)){var s,l;for(d(e,t+=4),t+=8;t<e.length;){var h=u(e,t),p=d(e,t+=4);t+=4;var f=p+(1&p);switch(h){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(v=r.frames[n]).src_off=i?o:t-8,v.src_size=a+p+8,n++,i&&(i=!1,a=0,o=0);break;case"VP8X":(v=r.header={}).feature_flags=e[t];var m=t+4;v.canvas_width=1+c(e,m),m+=3,v.canvas_height=1+c(e,m),m+=3;break;case"ALPH":i=!0,a=f+8,o=t-8;break;case"ANIM":(v=r.header).bgcolor=d(e,t),m=t+4,v.loop_count=(s=e)[(l=m)+0]<<0|s[l+1]<<8,m+=2;break;case"ANMF":var g,v;(v=r.frames[n]={}).offset_x=2*c(e,t),t+=3,v.offset_y=2*c(e,t),t+=3,v.width=1+c(e,t),t+=3,v.height=1+c(e,t),t+=3,v.duration=c(e,t),t+=3,g=e[t++],v.dispose=1&g,v.blend=g>>1&1}"ANMF"!=h&&(t+=f)}return r}}(g,0);v.response=g,v.rgbaoutput=!0,v.dataurl=!1;var b=v.header?v.header:null,y=v.frames?v.frames:null;if(b){b.loop_counter=b.loop_count,h=[b.canvas_height],p=[b.canvas_width];for(var w=0;w<y.length&&0!=y[w].blend;w++);}var _=y[0],S=m.WebPDecodeRGBA(g,_.src_off,_.src_size,p,h);_.rgba=S,_.imgwidth=p[0],_.imgheight=h[0];for(var E=0;E<p[0]*h[0]*4;E++)f[E]=S[E];return this.width=p,this.height=h,this.data=f,this}!function(e){var t=function(){return"function"==typeof i["b"]},r=function(t,r,a,c){var d=4,h=s;switch(c){case e.image_compression.FAST:d=1,h=o;break;case e.image_compression.MEDIUM:d=6,h=l;break;case e.image_compression.SLOW:d=9,h=u}t=n(t,r,a,h);var p=Object(i["b"])(t,{level:d});return e.__addimage__.arrayBufferToBinaryString(p)},n=function(e,t,r,n){for(var i,a,o,s=e.length/t,l=new Uint8Array(e.length+s),u=d(),c=0;c<s;c+=1){if(o=c*t,i=e.subarray(o,o+t),n)l.set(n(i,r,a),o+c);else{for(var p,f=u.length,m=[];p<f;p+=1)m[p]=u[p](i,r,a);var g=h(m.concat());l.set(m[g],o+c)}a=i}return l},a=function(e){var t=Array.apply([],e);return t.unshift(0),t},o=function(e,t){var r,n=[],i=e.length;n[0]=1;for(var a=0;a<i;a+=1)r=e[a-t]||0,n[a+1]=e[a]-r+256&255;return n},s=function(e,t,r){var n,i=[],a=e.length;i[0]=2;for(var o=0;o<a;o+=1)n=r&&r[o]||0,i[o+1]=e[o]-n+256&255;return i},l=function(e,t,r){var n,i,a=[],o=e.length;a[0]=3;for(var s=0;s<o;s+=1)n=e[s-t]||0,i=r&&r[s]||0,a[s+1]=e[s]+256-(n+i>>>1)&255;return a},u=function(e,t,r){var n,i,a,o,s=[],l=e.length;s[0]=4;for(var u=0;u<l;u+=1)n=e[u-t]||0,i=r&&r[u]||0,a=r&&r[u-t]||0,o=c(n,i,a),s[u+1]=e[u]-o+256&255;return s},c=function(e,t,r){if(e===t&&t===r)return e;var n=Math.abs(t-r),i=Math.abs(e-r),a=Math.abs(e+t-r-r);return n<=i&&n<=a?e:i<=a?t:r},d=function(){return[a,o,s,l,u]},h=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,i,a,o){var s,l,u,c,d,h,p,f,m,g,v,b,y,w,_,S=this.decode.FLATE_DECODE,E="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(u=new $e(n)).imgData,l=u.bits,s=u.colorSpace,d=u.colors,-1!==[4,6].indexOf(u.colorType)){if(8===u.bits){m=(f=32==u.pixelBitlength?new Uint32Array(u.decodePixels().buffer):16==u.pixelBitlength?new Uint16Array(u.decodePixels().buffer):new Uint8Array(u.decodePixels().buffer)).length,v=new Uint8Array(m*u.colors),g=new Uint8Array(m);var M,T=u.pixelBitlength-u.bits;for(w=0,_=0;w<m;w++){for(y=f[w],M=0;M<T;)v[_++]=y>>>M&255,M+=u.bits;g[w]=y>>>M&255}}if(16===u.bits){m=(f=new Uint32Array(u.decodePixels().buffer)).length,v=new Uint8Array(m*(32/u.pixelBitlength)*u.colors),g=new Uint8Array(m*(32/u.pixelBitlength)),b=u.colors>1,w=0,_=0;for(var C=0;w<m;)y=f[w++],v[_++]=y>>>0&255,b&&(v[_++]=y>>>16&255,y=f[w++],v[_++]=y>>>0&255),g[C++]=y>>>16&255;l=8}o!==e.image_compression.NONE&&t()?(n=r(v,u.width*u.colors,u.colors,o),p=r(g,u.width,1,o)):(n=v,p=g,S=void 0)}if(3===u.colorType&&(s=this.color_spaces.INDEXED,h=u.palette,u.transparency.indexed)){var x=u.transparency.indexed,A=0;for(w=0,m=x.length;w<m;++w)A+=x[w];if((A/=255)===m-1&&-1!==x.indexOf(0))c=[x.indexOf(0)];else if(A!==m){for(f=u.decodePixels(),g=new Uint8Array(f.length),w=0,m=f.length;w<m;w++)g[w]=x[f[w]];p=r(g,u.width,1)}}var N=function(t){var r;switch(t){case e.image_compression.FAST:r=11;break;case e.image_compression.MEDIUM:r=13;break;case e.image_compression.SLOW:r=14;break;default:r=12}return r}(o);return S===this.decode.FLATE_DECODE&&(E="/Predictor "+N+" "),E+="/Colors "+d+" /BitsPerComponent "+l+" /Columns "+u.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:a,data:n,index:i,filter:S,decodeParameters:E,transparency:c,palette:h,sMask:p,predictor:N,width:u.width,height:u.height,bitsPerComponent:l,colorSpace:s}}}}(F.API),function(e){e.processGIF89A=function(t,r,n,i){var a=new Je(t),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var u={data:l,width:o,height:s},c=new et(100).encode(u,100);return e.processJPEG.call(this,c,r,n,i)},e.processGIF87A=e.processGIF89A}(F.API),tt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:n,blue:r,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},tt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){s.log("bit decode error:"+e)}},tt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),r=t%4;for(e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var a=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var l=this.palette[a>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}0!==r&&(this.pos+=4-r)}},tt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<e;i++){var a=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+2*i*4,s=a>>4,l=15&a,u=this.palette[s];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*i+1>=this.width)break;u=this.palette[l],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!==t&&(this.pos+=4-t)}},tt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+4*n;if(i<this.palette.length){var o=this.palette[i];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}0!==e&&(this.pos+=4-e)}},tt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&t)/t*255|0,s=(a>>5&t)/t*255|0,l=(a>>10&t)/t*255|0,u=a>>15?255:0,c=n*this.width*4+4*i;this.data[c]=l,this.data[c+1]=s,this.data[c+2]=o,this.data[c+3]=u}this.pos+=e}},tt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,l=(o>>5&r)/r*255|0,u=(o>>11)/t*255|0,c=i*this.width*4+4*a;this.data[c]=u,this.data[c+1]=l,this.data[c+2]=s,this.data[c+3]=255}this.pos+=e}},tt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*r;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=n,this.data[o+3]=255}this.pos+=this.width%4}},tt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*r;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=o}},tt.prototype.getData=function(){return this.data},
- /**
- * @license
- * Copyright (c) 2018 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){e.processBMP=function(t,r,n,i){var a=new tt(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},u=new et(100).encode(l,100);return e.processJPEG.call(this,u,r,n,i)}}(F.API),rt.prototype.getData=function(){return this.data},
- /**
- * @license
- * Copyright (c) 2019 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){e.processWEBP=function(t,r,n,i){var a=new rt(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},u=new et(100).encode(l,100);return e.processJPEG.call(this,u,r,n,i)}}(F.API),F.API.processRGBA=function(e,t,r){for(var n=e.data,i=n.length,a=new Uint8Array(i/4*3),o=new Uint8Array(i/4),s=0,l=0,u=0;u<i;u+=4){var c=n[u],d=n[u+1],h=n[u+2],p=n[u+3];a[s++]=c,a[s++]=d,a[s++]=h,o[l++]=p}var f=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:f,index:t,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},F.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},qe=F.API,Ge=qe.getCharWidthsArray=function(e,t){var r,i,a=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:a.metadata.Unicode.widths,u=l.fof?l.fof:1,c=t.kerning?t.kerning:a.metadata.Unicode.kerning,d=c.fof?c.fof:1,h=!1!==t.doKerning,p=0,f=e.length,m=0,g=l[0]||u,v=[];for(r=0;r<f;r++)i=e.charCodeAt(r),"function"==typeof a.metadata.widthOfString?v.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(i))+s*(1e3/o)||0)/1e3):(p=h&&"object"===n()(c[i])&&!isNaN(parseInt(c[i][m],10))?c[i][m]/d:0,v.push((l[i]||g)/u+p)),m=i;return v},Ke=qe.getStringUnitWidth=function(e,t){var r=(t=t||{}).fontSize||this.internal.getFontSize(),n=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return qe.processArabic&&(e=qe.processArabic(e)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(e,r,i)/r:Ge.apply(this,arguments).reduce((function(e,t){return e+t}),0)},Xe=function(e,t,r,n){for(var i=[],a=0,o=e.length,s=0;a!==o&&s+t[a]<r;)s+=t[a],a++;i.push(e.slice(0,a));var l=a;for(s=0;a!==o;)s+t[a]>n&&(i.push(e.slice(l,a)),s=0,l=a),s+=t[a],a++;return l!==a&&i.push(e.slice(l,a)),i},Ze=function(e,t,r){r||(r={});var n,i,a,o,s,l,u,c=[],d=[c],h=r.textIndent||0,p=0,f=0,m=e.split(" "),g=Ge.apply(this,[" ",r])[0];if(l=-1===r.lineIndent?m[0].length+2:r.lineIndent||0){var v=Array(l).join(" "),b=[];m.map((function(e){(e=e.split(/\s*\n/)).length>1?b=b.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):b.push(e[0])})),m=b,l=Ke.apply(this,[v,r])}for(a=0,o=m.length;a<o;a++){var y=0;if(n=m[a],l&&"\n"==n[0]&&(n=n.substr(1),y=1),h+p+(f=(i=Ge.apply(this,[n,r])).reduce((function(e,t){return e+t}),0))>t||y){if(f>t){for(s=Xe.apply(this,[n,i,t-(h+p),t]),c.push(s.shift()),c=[s.pop()];s.length;)d.push([s.shift()]);f=i.slice(n.length-(c[0]?c[0].length:0)).reduce((function(e,t){return e+t}),0)}else c=[n];d.push(c),h=f+l,p=g}else c.push(n),h+=p+f,p=g}return u=l?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},d.map(u)},qe.splitTextToSize=function(e,t,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),a=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;a.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=r.lineIndent;var s,l,u=[];for(s=0,l=n.length;s<l;s++)u=u.concat(Ze.apply(this,[n[s],o,a]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",r={},i={},a=0;a<t.length;a++)r[t[a]]="0123456789abcdef"[a],i["0123456789abcdef"[a]]=t[a];var o=function(e){return"0x"+parseInt(e,10).toString(16)},s=e.__fontmetrics__.compress=function(e){var t,r,a,l,u=["{"];for(var c in e){if(t=e[c],isNaN(parseInt(c,10))?r="'"+c+"'":(c=parseInt(c,10),r=(r=o(c).slice(2)).slice(0,-1)+i[r.slice(-1)]),"number"==typeof t)t<0?(a=o(t).slice(3),l="-"):(a=o(t).slice(2),l=""),a=l+a.slice(0,-1)+i[a.slice(-1)];else{if("object"!==n()(t))throw new Error("Don't know what to do with value type "+n()(t)+".");a=s(t)}u.push(r+a)}return u.push("}"),u.join("")},l=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,n,i,a,o={},s=1,l=o,u=[],c="",d="",h=e.length-1,p=1;p<h;p+=1)"'"==(a=e[p])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(a):"{"==a?(u.push([l,i]),l={},i=void 0):"}"==a?((n=u.pop())[0][n[1]]=l,i=void 0,l=n[0]):"-"==a?s=-1:void 0===i?r.hasOwnProperty(a)?(c+=r[a],i=parseInt(c,16)*s,s=1,c=""):c+=a:r.hasOwnProperty(a)?(d+=r[a],l[i]=parseInt(d,16)*s,s=1,i=void 0,d=""):d+=a;return o},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},d={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,r=d.Unicode[t.postScriptName];r&&(t.metadata.Unicode={},t.metadata.Unicode.widths=r.widths,t.metadata.Unicode.kerning=r.kerning);var n=c.Unicode[t.postScriptName];n&&(t.metadata.Unicode.encoding=n,t.encoding=n.codePages[0])}])}(F.API),
- /**
- * @license
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){var t=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r};e.API.events.push(["addFont",function(r){var n=void 0,i=r.font,a=r.instance;if(!i.isStandardFont){if(void 0===a)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(n=!1===a.existsFileInVFS(i.postScriptName)?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?t(n):t(d(n)),r.metadata=e.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(i,n)}}])}(F),
- /** @license
- * Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * ====================================================================
- */
- function(e){function t(){return(a.canvg?Promise.resolve(a.canvg):r.e("chunk-48922aa8").then(r.bind(null,"0d73"))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}F.API.addSvgAsImage=function(e,r,n,i,a,o,l,u){if(isNaN(r)||isNaN(n))throw s.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw s.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=i,c.height=a;var d=c.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,c.width,c.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return t().then((function(t){return t.fromString(d,e,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(h)})).then((function(){p.addImage(c.toDataURL("image/jpeg",1),r,n,i,a,l,u)}))}}(),F.API.putTotalPages=function(e){var t,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),r=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(t,r);return this},F.API.viewerPreferences=function(e,t){var r;e=e||{},t=t||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),u=[],c=0,d=0,h=0;function p(e,t){var r,n=!1;for(r=0;r<e.length;r+=1)e[r]===t&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var f=l.length;for(h=0;h<f;h+=1)r[l[h]].value=r[l[h]].defaultValue,r[l[h]].explicitSet=!1}if("object"===n()(e))for(a in e)if(o=e[a],p(l,a)&&void 0!==o){if("boolean"===r[a].type&&"boolean"==typeof o)r[a].value=o;else if("name"===r[a].type&&p(r[a].valueSet,o))r[a].value=o;else if("integer"===r[a].type&&Number.isInteger(o))r[a].value=o;else if("array"===r[a].type){for(c=0;c<o.length;c+=1)if(i=!0,1===o[c].length&&"number"==typeof o[c][0])u.push(String(o[c]-1));else if(o[c].length>1){for(d=0;d<o[c].length;d+=1)"number"!=typeof o[c][d]&&(i=!1);!0===i&&u.push([o[c][0]-1,o[c][1]-1].join(" "))}r[a].value="["+u.join(" ")+"]"}else r[a].value=r[a].defaultValue;r[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in r)!0===r[e].explicitSet&&("name"===r[e].type?t.push("/"+e+" /"+r[e].value):t.push("/"+e+" "+r[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this
- /** ====================================================================
- * @license
- * jsPDF XMP metadata plugin
- * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * ====================================================================
- */},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(e)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),a=unescape(encodeURIComponent("</x:xmpmeta>")),o=r.length+n.length+i.length+t.length+a.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+r+n+i+a),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",t)),this}}(F.API),function(e){var t=e.API,r=t.pdfEscape16=function(e,t){for(var r,n=t.metadata.Unicode.widths,i=["","0","00","000","0000"],a=[""],o=0,s=e.length;o<s;++o){if(r=t.metadata.characterToGlyph(e.charCodeAt(o)),t.metadata.glyIdsUsed.push(r),t.metadata.toUnicode[r]=e.charCodeAt(o),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(t.metadata.widthOfGlyph(r),10)])),"0"==r)return a.join("");r=r.toString(16),a.push(i[4-r.length],r)}return a.join("")},n=function(e){var t,r,n,i,a,o,s;for(a="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],o=0,s=(r=Object.keys(e).sort((function(e,t){return e-t}))).length;o<s;o++)t=r[o],n.length>=100&&(a+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(i=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),n.push("<"+t+"><"+i+">"));return n.length&&(a+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),a+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var r=t.font,i=t.out,a=t.newObject,o=t.putStream;if(r.metadata instanceof e.API.TTFFont&&"Identity-H"===r.encoding){for(var s=r.metadata.Unicode.widths,l=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",c=0;c<l.length;c++)u+=String.fromCharCode(l[c]);var d=a();o({data:u,addLength1:!0,objectId:d}),i("endobj");var h=a();o({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var p=a();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+L(r.fontName)),i("/FontFile2 "+d+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),i("/Flags "+r.metadata.flags),i("/StemV "+r.metadata.stemV),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i(">>"),i("endobj");var f=a();i("<<"),i("/Type /Font"),i("/BaseFont /"+L(r.fontName)),i("/FontDescriptor "+p+" 0 R"),i("/W "+e.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+r.encoding+")"),i(">>"),i(">>"),i("endobj"),r.objectNumber=a(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+L(r.fontName)),i("/Encoding /"+r.encoding),i("/DescendantFonts ["+f+" 0 R]"),i(">>"),i("endobj"),r.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var r=t.font,i=t.out,a=t.newObject,o=t.putStream;if(r.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var s=r.metadata.rawData,l="",u=0;u<s.length;u++)l+=String.fromCharCode(s[u]);var c=a();o({data:l,addLength1:!0,objectId:c}),i("endobj");var d=a();o({data:n(r.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var h=a();i("<<"),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i("/StemV "+r.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+c+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),i("/FontName /"+L(r.fontName)),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i(">>"),i("endobj"),r.objectNumber=a();for(var p=0;p<r.metadata.hmtx.widths.length;p++)r.metadata.hmtx.widths[p]=parseInt(r.metadata.hmtx.widths[p]*(1e3/r.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+d+" 0 R/BaseFont/"+L(r.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),i("endobj"),r.isAlreadyPutted=!0}}(t)}]);var i=function(e){var t,n=e.text||"",i=e.x,a=e.y,o=e.options||{},s=e.mutex||{},l=s.pdfEscape,u=s.activeFontKey,c=s.fonts,d=u,h="",p=0,f="",m=c[d].encoding;if("Identity-H"!==c[d].encoding)return{text:n,x:i,y:a,options:o,mutex:s};for(f=n,d=u,Array.isArray(n)&&(f=n[0]),p=0;p<f.length;p+=1)c[d].metadata.hasOwnProperty("cmap")&&(t=c[d].metadata.cmap.unicode.codeMap[f[p].charCodeAt(0)]),t||f[p].charCodeAt(0)<256&&c[d].metadata.hasOwnProperty("Unicode")?h+=f[p]:h+="";var g="";return parseInt(d.slice(1))<14||"WinAnsiEncoding"===m?g=l(h,d).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===m&&(g=r(h,c[d])),s.isHex=!0,{text:g,x:i,y:a,options:o,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",r=[],n={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var a=0;for(a=0;a<t.length;a+=1)Array.isArray(t[a])&&3===t[a].length?r.push([i(Object.assign({},n,{text:t[a][0]})).text,t[a][1],t[a][2]]):r.push(i(Object.assign({},n,{text:t[a]})).text);e.text=r}else e.text=i(Object.assign({},n,{text:t})).text}])}(F),
- /**
- * @license
- * jsPDF virtual FileSystem functionality
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,r){return t.call(this),this.internal.vFS[e]=r,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(F.API),
- /**
- * @license
- * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
- * MIT License
- */
- function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var r,n,i,a,o,s,l,u=t,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],d=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},p={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},f=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],m=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),g=!1,v=0;this.__bidiEngine__={};var b=function(e){var t=e.charCodeAt(),r=t>>8,n=p[r];return void 0!==n?u[256*n+(255&t)]:252===r||253===r?"AL":m.test(r)?"L":8===r?"R":"N"},y=function(e){for(var t,r=0;r<e.length;r++){if("L"===(t=b(e.charAt(r))))return!1;if("R"===t)return!0}return!1},w=function(e,t,o,s){var l,u,c,d,h=t[s];switch(h){case"L":case"R":g=!1;break;case"N":case"AN":break;case"EN":g&&(h="AN");break;case"AL":g=!0,h="R";break;case"WS":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=o[s-1])&&"AN"!==l||"EN"!==(u=t[s+1])&&"AN"!==u?h="N":g&&(u="AN"),h=u===l?u:"N";break;case"ES":h="EN"===(l=s>0?o[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===o[s-1]){h="EN";break}if(g){h="N";break}for(c=s+1,d=t.length;c<d&&"ET"===t[c];)c++;h=c<d&&"EN"===t[c]?"EN":"N";break;case"NSM":if(i&&!a){for(d=t.length,c=s+1;c<d&&"NSM"===t[c];)c++;if(c<d){var p=e[s],f=p>=1425&&p<=2303||64286===p;if(l=t[c],f&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":o[s-1];break;case"B":g=!1,r=!0,h=v;break;case"S":n=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"BN":h="N"}return h},_=function(e,t,r){var n=e.split("");return r&&S(n,r,{hiLevel:v}),n.reverse(),t&&t.reverse(),n.join("")},S=function(e,t,i){var a,o,s,l,u,p=-1,f=e.length,m=0,y=[],_=v?d:c,S=[];for(g=!1,r=!1,n=!1,o=0;o<f;o++)S[o]=b(e[o]);for(s=0;s<f;s++){if(u=m,y[s]=w(e,S,y,s),a=240&(m=_[u][h[y[s]]]),m&=15,t[s]=l=_[m][5],a>0)if(16===a){for(o=p;o<s;o++)t[o]=1;p=-1}else p=-1;if(_[m][6])-1===p&&(p=s);else if(p>-1){for(o=p;o<s;o++)t[o]=l;p=-1}"B"===S[s]&&(t[s]=0),i.hiLevel|=l}n&&function(e,t,r){for(var n=0;n<r;n++)if("S"===e[n]){t[n]=v;for(var i=n-1;i>=0&&"WS"===e[i];i--)t[i]=v}}(S,t,f)},E=function(e,t,n,i,a){if(!(a.hiLevel<e)){if(1===e&&1===v&&!r)return t.reverse(),void(n&&n.reverse());for(var o,s,l,u,c=t.length,d=0;d<c;){if(i[d]>=e){for(l=d+1;l<c&&i[l]>=e;)l++;for(u=d,s=l-1;u<s;u++,s--)o=t[u],t[u]=t[s],t[s]=o,n&&(o=n[u],n[u]=n[s],n[s]=o);d=l}d++}}},M=function(e,t,r){var n=e.split(""),i={hiLevel:v};return r||(r=[]),S(n,r,i),function(e,t,r){if(0!==r.hiLevel&&l)for(var n,i=0;i<e.length;i++)1===t[i]&&(n=f.indexOf(e[i]))>=0&&(e[i]=f[n+1])}(n,r,i),E(2,n,t,r,i),E(1,n,t,r,i),n.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,r){if(function(e,t){if(t)for(var r=0;r<e.length;r++)t[r]=r;void 0===a&&(a=y(e)),void 0===s&&(s=y(e))}(e,t),i||!o||s)if(i&&o&&a^s)v=a?1:0,e=_(e,t,r);else if(!i&&o&&s)v=a?1:0,e=M(e,t,r),e=_(e,t);else if(!i||a||o||s){if(i&&!o&&a^s)e=_(e,t),a?(v=0,e=M(e,t,r)):(v=1,e=M(e,t,r),e=_(e,t));else if(i&&a&&!o&&s)v=1,e=M(e,t,r),e=_(e,t);else if(!i&&!o&&a^s){var n=l;a?(v=1,e=M(e,t,r),v=0,l=!1,e=M(e,t,r),l=n):(v=0,e=M(e,t,r),e=_(e,t),v=1,l=!1,e=M(e,t,r),l=n,e=_(e,t))}}else v=0,e=M(e,t,r);else v=a?1:0,e=M(e,t,r);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,o=e.isOutputVisual,a=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,n=(e.x,e.y,e.options||{}),i=(e.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(t)){var a=0;for(i=[],a=0;a<t.length;a+=1)"[object Array]"===Object.prototype.toString.call(t[a])?i.push([r.doBidiReorder(t[a][0]),t[a][1],t[a][2]]):i.push([r.doBidiReorder(t[a])]);e.text=i}else e.text=r.doBidiReorder(t);r.setOptions({isInputVisual:!0})}])}(F),F.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new it(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Et(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new at(this.contents),this.head=new lt(this),this.name=new mt(this),this.cmap=new ct(this),this.toUnicode={},this.hhea=new dt(this),this.maxp=new gt(this),this.hmtx=new vt(this),this.post=new pt(this),this.os2=new ht(this),this.loca=new St(this),this.glyf=new yt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,r,n,i;for(i=[],t=0,r=(n=this.bbox).length;t<r;t++)e=n[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),0!=(32768&(t=n>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,r){var n,i,a,o;for(a=0,i=0,o=(e=""+e).length;0<=o?i<o:i>o;i=0<=o?++i:--i)n=e.charCodeAt(i),a+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/t)||0;return a*(t/1e3)},e.prototype.lineHeight=function(e,t){var r;return null==t&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},e}();var nt,it=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(e){var t,r,n;for(n=[],t=0,r=e.length;0<=r?t<r:t>r;t=0<=r?++t:--t)n.push(this.writeByte(e.charCodeAt(t)));return n},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,r,n,i,a,o,s;return e=this.readByte(),t=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),o=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^a)+256*(255^o)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*r+4294967296*n+16777216*i+65536*a+256*o+s},e.prototype.writeLongLong=function(e){var t,r;return t=Math.floor(e/4294967296),r=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,r;for(t=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t.push(this.readByte());return t},e.prototype.write=function(e){var t,r,n,i;for(i=[],r=0,n=e.length;r<n;r++)t=e[r],i.push(this.writeByte(t));return i},e}(),at=function(){var e;function t(e){var t,r,n;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var r,n,i,a,o,s,l,u,c,d,h,p,f;for(f in h=Object.keys(t).length,s=Math.log(2),c=16*Math.floor(Math.log(h)/s),a=Math.floor(c/s),u=16*h-c,(n=new it).writeInt(this.scalarType),n.writeShort(h),n.writeShort(c),n.writeShort(a),n.writeShort(u),i=16*h,l=n.pos+i,o=null,p=[],t)for(d=t[f],n.writeString(f),n.writeInt(e(d)),n.writeInt(l),n.writeInt(d.length),p=p.concat(d),"head"===f&&(o=l),l+=d.length;l%4;)p.push(0),l++;return n.write(p),r=2981146554-e(n.data),n.pos=o+8,n.writeUInt32(r),n.data},e=function(e){var t,r,n,i;for(e=bt.call(e);e.length%4;)e.push(0);for(n=new it(e),r=0,t=0,i=e.length;t<i;t=t+=4)r+=n.readUInt32();return 4294967295&r},t}(),ot={}.hasOwnProperty,st=function(e,t){for(var r in t)ot.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};nt=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var lt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new it).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),ut=function(){function e(e,t){var r,n,i,a,o,s,l,u,c,d,h,p,f,m,g,v,b;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),c=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),d=h/2,e.pos+=6,i=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),e.pos+=2,f=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),l=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),u=function(){var t,r;for(r=[],s=t=0;0<=d?t<d:t>d;s=0<=d?++t:--t)r.push(e.readUInt16());return r}(),n=(this.length-e.pos+this.offset)/2,o=function(){var t,r;for(r=[],s=t=0;0<=n?t<n:t>n;s=0<=n?++t:--t)r.push(e.readUInt16());return r}(),s=g=0,b=i.length;g<b;s=++g)for(m=i[s],r=v=p=f[s];p<=m?v<=m:v>=m;r=p<=m?++v:--v)0===u[s]?a=r+l[s]:0!==(a=o[u[s]/2+(r-p)-(d-s)]||0)&&(a+=l[s]),this.codeMap[r]=65535&a}e.pos=c}return e.encode=function(e,t){var r,n,i,a,o,s,l,u,c,d,h,p,f,m,g,v,b,y,w,_,S,E,M,T,C,x,A,N,O,R,L,k,I,D,P,j,F,H,B,U,V,Y,z,W,q,G;switch(N=new it,a=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(f=0,m=function(){var e=[];for(p=0;p<256;++p)e.push(0);return e}(),v={0:0},i={},O=0,I=a.length;O<I;O++)null==v[z=e[n=a[O]]]&&(v[z]=++f),i[n]={old:e[n],new:v[e[n]]},m[n]=v[e[n]];return N.writeUInt16(1),N.writeUInt16(0),N.writeUInt32(12),N.writeUInt16(0),N.writeUInt16(262),N.writeUInt16(0),N.write(m),{charMap:i,subtable:N.data,maxGlyphID:f+1};case"unicode":for(x=[],c=[],b=0,v={},r={},g=l=null,R=0,D=a.length;R<D;R++)null==v[w=e[n=a[R]]]&&(v[w]=++b),r[n]={old:w,new:v[w]},o=v[w]-n,null!=g&&o===l||(g&&c.push(g),x.push(n),l=o),g=n;for(g&&c.push(g),c.push(65535),x.push(65535),T=2*(M=x.length),E=2*Math.pow(Math.log(M)/Math.LN2,2),d=Math.log(E/2)/Math.LN2,S=2*M-E,s=[],_=[],h=[],p=L=0,P=x.length;L<P;p=++L){if(C=x[p],u=c[p],65535===C){s.push(0),_.push(0);break}if(C-(A=r[C].new)>=32768)for(s.push(0),_.push(2*(h.length+M-p)),n=k=C;C<=u?k<=u:k>=u;n=C<=u?++k:--k)h.push(r[n].new);else s.push(A-C),_.push(0)}for(N.writeUInt16(3),N.writeUInt16(1),N.writeUInt32(12),N.writeUInt16(4),N.writeUInt16(16+8*M+2*h.length),N.writeUInt16(0),N.writeUInt16(T),N.writeUInt16(E),N.writeUInt16(d),N.writeUInt16(S),V=0,j=c.length;V<j;V++)n=c[V],N.writeUInt16(n);for(N.writeUInt16(0),Y=0,F=x.length;Y<F;Y++)n=x[Y],N.writeUInt16(n);for(W=0,H=s.length;W<H;W++)o=s[W],N.writeUInt16(o);for(q=0,B=_.length;q<B;q++)y=_[q],N.writeUInt16(y);for(G=0,U=h.length;G<U;G++)f=h[G],N.writeUInt16(f);return{charMap:r,subtable:N.data,maxGlyphID:b+1}}},e}(),ct=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,r,n;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)t=new ut(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var r,n;return null==t&&(t="macroman"),r=ut.encode(e,t),(n=new it).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t}(),dt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),ht=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(e.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(e.readInt());return r}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(e.readInt());return r}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),pt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="post",t.prototype.parse=function(e){var t,r,n;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:break;case 131072:var i;for(r=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],n=[];e.pos<this.offset+this.length;)t=e.readByte(),n.push(this.names.push(e.readString(t)));return n;case 151552:return r=e.readUInt16(),this.offsets=e.read(r);case 196608:break;case 262144:return this.map=function(){var t,r,n;for(n=[],i=t=0,r=this.file.maxp.numGlyphs;0<=r?t<r:t>r;i=0<=r?++t:--t)n.push(e.readUInt32());return n}.call(this)}},t}(),ft=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},mt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="name",t.prototype.parse=function(e){var t,r,n,i,a,o,s,l,u,c,d;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),r=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)r.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(s={},i=u=0,c=r.length;u<c;i=++u)n=r[i],e.pos=n.offset,l=e.readString(n.length),a=new ft(l,n),null==s[d=n.nameID]&&(s[d]=[]),s[n.nameID].push(a);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),gt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),vt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,r,n,i,a,o,s;for(e.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,i;for(i=[],t=r=0;0<=n?r<n:r>n;t=0<=n?++r:--r)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,r,n;for(n=[],e=0,t=(r=this.metrics).length;e<t;e++)i=r[e],n.push(i.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],t=a=0;0<=n?a<n:a>n;t=0<=n?++a:--a)s.push(this.widths.push(r));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),bt=[].slice,yt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,r,n,i,a,o,s,l,u,c;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,r=i.indexOf(e),0===(n=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+r,a=(o=new it(t.read(n))).readShort(),l=o.readShort(),c=o.readShort(),s=o.readShort(),u=o.readShort(),this.cache[e]=-1===a?new _t(o,l,c,s,u):new wt(o,a,l,c,s,u),this.cache[e]))},t.prototype.encode=function(e,t,r){var n,i,a,o,s;for(a=[],i=[],o=0,s=t.length;o<s;o++)n=e[t[o]],i.push(a.length),n&&(a=a.concat(n.encode(r)));return i.push(a.length),{table:a,offsets:i}},t}(),wt=function(){function e(e,t,r,n,i,a){this.raw=e,this.numberOfContours=t,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),_t=function(){function e(e,t,r,n,i){var a,o;for(this.raw=e,this.xMin=t,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],a=this.raw;o=a.readShort(),this.glyphOffsets.push(a.pos),this.glyphIDs.push(a.readUInt16()),32&o;)a.pos+=1&o?4:2,128&o?a.pos+=8:64&o?a.pos+=4:8&o&&(a.pos+=2)}return e.prototype.encode=function(){var e,t,r;for(t=new it(bt.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),St=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return st(t,nt),t.prototype.tag="loca",t.prototype.parse=function(e){var t,r;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=2)n.push(2*e.readUInt16());return n}.call(this):function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=4)n.push(e.readUInt32());return n}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,a=0;a<r.length;++a)if(r[a]=n,i<t.length&&t[i]==a){++i,r[a]=n;var o=this.offsets[a],s=this.offsets[a+1]-o;s>0&&(n+=s)}for(var l=new Array(4*r.length),u=0;u<r.length;++u)l[4*u+3]=255&r[u],l[4*u+2]=(65280&r[u])>>8,l[4*u+1]=(16711680&r[u])>>16,l[4*u]=(4278190080&r[u])>>24;return l},t}(),Et=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,r,n,i;for(t in n=this.font.cmap.tables[0].codeMap,e={},i=this.subset)r=i[t],e[t]=n[r];return e},e.prototype.glyphsFor=function(e){var t,r,n,i,a,o,s;for(n={},a=0,o=e.length;a<o;a++)n[i=e[a]]=this.font.glyf.glyphFor(i);for(i in t=[],n)(null!=(r=n[i])?r.compound:void 0)&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(i in s=this.glyphsFor(t))r=s[i],n[i]=r;return n},e.prototype.encode=function(e,t){var r,n,i,a,o,s,l,u,c,d,h,p,f,m,g;for(n in r=ct.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(e),h={0:0},g=r.charMap)h[(s=g[n]).old]=s.new;for(p in d=r.maxGlyphID,a)p in h||(h[p]=d++);return u=function(e){var t,r;for(t in r={},e)r[e[t]]=t;return r}(h),c=Object.keys(u).sort((function(e,t){return e-t})),f=function(){var e,t,r;for(r=[],e=0,t=c.length;e<t;e++)o=c[e],r.push(u[o]);return r}(),i=this.font.glyf.encode(a,f,h),l=this.font.loca.encode(i.offsets,f),m={cmap:this.font.cmap.raw(),glyf:i.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(m["OS/2"]=this.font.os2.raw()),this.font.directory.encode(m)},e}();F.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(r){var n,i,a,o;if(Array.isArray(r))return"["+function(){var e,i,a;for(a=[],e=0,i=r.length;e<i;e++)n=r[e],a.push(t.convert(n));return a}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+e(r.getUTCFullYear(),4)+e(r.getUTCMonth(),2)+e(r.getUTCDate(),2)+e(r.getUTCHours(),2)+e(r.getUTCMinutes(),2)+e(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(i in a=["<<"],r)o=r[i],a.push("/"+i+" "+t.convert(o));return a.push(">>"),a.join("\n")}return""+r},t}()}).call(this,r("c8ba"))},"8be6":function(e,t,r){var n=r("8707").Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"===typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},"8c05":function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent 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:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},"8c5c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("802d"),i=r("9688");class a extends n.EventImpl{constructor(e,t){super(e,t),this._detail=null,this._detail=t&&t.detail||null}get detail(){return this._detail}initCustomEvent(e,t=!1,r=!1,n=null){this._dispatchFlag||(i.event_initialize(this,e,t,r),this._detail=n)}}t.CustomEventImpl=a},"8c7e":function(e,t,r){"use strict";r.d(t,"a",(function(){return Vx}));r("7a89"),r("d06e");var n=r("03529"),i=r("5d7f"),a=r("de3b"),o=r("351d"),s=r("c5c4");const l="handsontableEditor",u="handsontable";class c extends n["a"]{static get EDITOR_TYPE(){return u}open(){super.open(),this.htEditor&&this.htEditor.destroy(),"none"===this.htContainer.style.display&&(this.htContainer.style.display=""),this.htEditor=new this.hot.constructor(this.htContainer,this.htOptions),this.htEditor.init(),this.htEditor.rootElement.style.display="",this.cellProperties.strict?this.htEditor.selectCell(0,0):this.htEditor.deselectCell(),Object(i["setCaretPosition"])(this.TEXTAREA,0,this.TEXTAREA.value.length),this.refreshDimensions()}close(){this.htEditor&&(this.htEditor.rootElement.style.display="none"),this.removeHooksByKey("beforeKeyDown"),super.close()}prepare(e,t,r,n,i,a){super.prepare(e,t,r,n,i,a);const s=this,l={startRows:0,startCols:0,minRows:0,minCols:0,className:"listbox",copyPaste:!1,autoColumnSize:!1,autoRowSize:!1,readOnly:!0,fillHandle:!1,autoWrapCol:!1,autoWrapRow:!1,ariaTags:!1,afterOnCellMouseDown(e,t){const r=this.getSourceData(t.row,t.col);void 0!==r&&s.setValue(r),s.hot.destroyEditor()},preventWheel:!0,layoutDirection:this.hot.isRtl()?"rtl":"ltr"};this.cellProperties.handsontable&&Object(o["extend"])(l,a.handsontable),this.htOptions=l}beginEditing(e,t){const r=this.hot.getSettings().onBeginEditing;r&&!1===r()||super.beginEditing(e,t)}createElements(){super.createElements();const e=this.hot.rootDocument.createElement("DIV");e.className="handsontableEditor",this.TEXTAREA_PARENT.appendChild(e),this.htContainer=e,this.assignHooks()}finishEditing(e,t,r){if(this.htEditor&&this.htEditor.isListening()&&this.hot.listen(),this.htEditor&&this.htEditor.getSelectedLast()){const e=this.htEditor.getValue();void 0!==e&&this.setValue(e)}super.finishEditing(e,t,r)}assignHooks(){this.hot.addHook("afterDestroy",()=>{this.htEditor&&this.htEditor.destroy()})}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");super.registerShortcuts();const r={group:l,relativeToGroup:s["a"],position:"before"},n=(e,t)=>{const r=this.htEditor;if(void 0!==e&&(e<0||r.flipped&&e>r.countRows()-1?r.deselectCell():r.selectCell(e,0),r.getData().length))return t.preventDefault(),Object(a["stopImmediatePropagation"])(t),this.hot.listen(),this.TEXTAREA.focus(),!1};t.addShortcuts([{keys:[["ArrowUp"]],callback:e=>{const t=this.htEditor;let r,i;return!t.getSelectedLast()&&t.flipped?r=t.countRows()-1:t.getSelectedLast()&&(t.flipped?(i=t.getSelectedLast()[0],r=Math.max(0,i-1)):(i=t.getSelectedLast()[0],r=i-1)),n(r,e)},preventDefault:!1},{keys:[["ArrowDown"]],callback:e=>{const t=this.htEditor;let r,i;if(t.getSelectedLast()||t.flipped){if(t.getSelectedLast())if(t.flipped)r=t.getSelectedLast()[0]+1;else if(!t.flipped){const e=t.countRows()-1;i=t.getSelectedLast()[0],r=Math.min(e,i+1)}}else r=0;return n(r,e)},preventDefault:!1}],r)}unregisterShortcuts(){super.unregisterShortcuts();const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(l)}}var d=r("81ea"),h=r("7b9c"),p=r("29b0"),f=r("f938"),m=r("63d8"),g=r("dd49"),v=r("8828");function b(e,t,r){y(e,t),t.set(e,r)}function y(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function w(e,t,r){return t=_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){var t=S(e,"string");return"symbol"==typeof t?t:t+""}function S(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function E(e,t){return e.get(M(e,t))}function M(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const T="autocomplete";var C=new WeakMap;class x extends c{constructor(){super(...arguments),w(this,"query",null),w(this,"strippedChoices",[]),w(this,"rawChoices",[]),b(this,C,this.hot.guid.slice(0,9)),w(this,"sortByRelevance",(function(e,t,r){const n=[],i=[],a=e.length;let o,s,l,u,c=t.length;if(0===a){for(l=0;l<c;l++)i.push(l);return i}for(l=0;l<c;l++){if(s=Object(p["stripTags"])(Object(h["stringify"])(t[l])),r)u=s.indexOf(e);else{const t=this.cellProperties.locale;u=s.toLocaleLowerCase(t).indexOf(e.toLocaleLowerCase(t))}-1!==u&&(o=s.length-u-a,n.push({baseIndex:l,index:u,charsLeft:o,value:s}))}for(n.sort((e,t)=>{if(-1===t.index)return-1;if(-1===e.index)return 1;if(e.index<t.index)return-1;if(t.index<e.index)return 1;if(e.index===t.index){if(e.charsLeft<t.charsLeft)return-1;if(e.charsLeft>t.charsLeft)return 1}return 0}),l=0,c=n.length;l<c;l++)i.push(n[l].baseIndex);return i}))}static get EDITOR_TYPE(){return T}getValue(){const e=this.rawChoices.find(e=>{const t=this.stripValueIfNeeded(e);return t===this.TEXTAREA.value});return Object(h["isDefined"])(e)?e:this.TEXTAREA.value}createElements(){super.createElements(),Object(i["addClass"])(this.htContainer,"autocompleteEditor"),Object(i["addClass"])(this.htContainer,-1===this.hot.rootWindow.navigator.platform.indexOf("Mac")?"":"htMacScroll"),this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(this.TEXTAREA,[Object(v["L"])(),Object(v["h"])(),Object(v["m"])("listbox"),Object(v["b"])()])}prepare(e,t,r,n,a,o){super.prepare(e,t,r,n,a,o),this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(this.TEXTAREA,[Object(v["k"])("false"),Object(v["i"])(`${E(C,this)}-listbox-${e}-${t}`)])}open(){super.open();const e=void 0===this.cellProperties.trimDropdown||this.cellProperties.trimDropdown,t=this.hot.getSettings().ariaTags,r=Array.isArray(this.cellProperties.source)?this.cellProperties.source:null,n=null===r||void 0===r?void 0:r.length,{row:a,col:o}=this;this.showEditableElement(),this.focus();let s=Object(i["getScrollbarWidth"])();0===s&&Object(m["isMacOS"])()&&(s+=15),this.addHook("beforeKeyDown",e=>this.onBeforeKeyDown(e)),this.htEditor.updateSettings({colWidths:e?[Object(i["outerWidth"])(this.TEXTAREA)-2]:void 0,width:e?Object(i["outerWidth"])(this.TEXTAREA)+s:void 0,autoColumnSize:!0,renderer:(e,a,o,s,l,u,c)=>{Object(g["a"])(e,a,o,s,l,u,c);const{filteringCaseSensitive:d,allowHtml:p,locale:f}=this.cellProperties,m=this.query;let b,y,w=Object(h["stringify"])(u);w&&!p&&(b=!0===d?w.indexOf(m):w.toLocaleLowerCase(f).indexOf(m.toLocaleLowerCase(f)),-1!==b&&(y=w.substr(b,m.length),w=w.replace(y,`<strong>${y}</strong>`))),t&&Object(i["setAttribute"])(a,[Object(v["v"])(),...r?[Object(v["I"])(n)]:[],...r?[Object(v["w"])(r.indexOf(u)+1)]:[],["id",`${this.htEditor.rootElement.id}_${o}-${s}`]]),a.innerHTML=w},afterSelectionEnd:(e,r)=>{if(t){const t=this.htEditor.getCell(e,r,!0);Object(i["setAttribute"])(t,[Object(v["H"])()]),Object(i["setAttribute"])(this.TEXTAREA,...Object(v["a"])(t.id))}}}),t&&(Object(i["setAttribute"])(this.htEditor.view._wt.wtOverlays.wtTable.TABLE,...Object(v["x"])()),Object(i["setAttribute"])(this.htEditor.rootElement,[Object(v["q"])(),Object(v["r"])("polite"),Object(v["z"])("text"),["id",`${E(C,this)}-listbox-${a}-${o}`]]),Object(i["setAttribute"])(this.TEXTAREA,...Object(v["k"])("true"))),this.hot._registerTimeout(()=>{this.queryChoices(this.TEXTAREA.value)})}close(){this.removeHooksByKey("beforeKeyDown"),super.close(),this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(this.TEXTAREA,[Object(v["k"])("false")])}discardEditor(e){super.discardEditor(e),this.hot.view.render()}queryChoices(e){const t=this.cellProperties.source;this.query=e,"function"===typeof t?t.call(this.cellProperties,e,e=>{this.rawChoices=e,this.updateChoicesList(this.stripValuesIfNeeded(e))}):Array.isArray(t)?(this.rawChoices=t,this.updateChoicesList(this.stripValuesIfNeeded(t))):this.updateChoicesList([])}updateChoicesList(e){const t=Object(i["getCaretPosition"])(this.TEXTAREA),r=Object(i["getSelectionEndPosition"])(this.TEXTAREA),n=this.cellProperties.sortByRelevance,a=this.cellProperties.filter;let o=null,s=null,l=e;n&&(o=this.sortByRelevance(this.stripValueIfNeeded(this.getValue()),l,this.cellProperties.filteringCaseSensitive));const u=Array.isArray(o)?o.length:0;if(!1===a)u&&(s=o[0]);else{const e=[];for(let t=0,r=l.length;t<r;t++){if(n&&u<=t)break;u?e.push(l[o[t]]):e.push(l[t])}s=0,l=e}this.strippedChoices=l,this.htEditor.loadData(Object(d["pivot"])([l])),0===l.length?this.htEditor.rootElement.style.display="none":(this.htEditor.rootElement.style.display="",this.updateDropdownHeight(),this.flipDropdownIfNeeded(),!0===this.cellProperties.strict&&this.highlightBestMatchingChoice(s)),this.hot.listen(),Object(i["setCaretPosition"])(this.TEXTAREA,t,t===r?void 0:r)}flipDropdownIfNeeded(){const e=Object(i["getTrimmingContainer"])(this.hot.view._wt.wtTable.TABLE),t=e===this.hot.rootWindow,r=this.cellProperties.preventOverflow;if(t||!t&&(r||"horizontal"===r))return!1;const n=Object(i["offset"])(this.TEXTAREA),a=Object(i["outerHeight"])(this.TEXTAREA),o=this.getDropdownHeight(),s=e.scrollTop,l=Object(i["outerHeight"])(this.hot.view._wt.wtTable.THEAD),u=Object(i["offset"])(e),c=n.top-u.top-l+s,d=e.scrollHeight-c-l-a,h=o>d&&c>d;return h?this.flipDropdown(o):this.unflipDropdown(),this.limitDropdownIfNeeded(h?c:d,o),h}limitDropdownIfNeeded(e,t){if(t>e){let r=0,n=0,i=0,a=null;do{i=this.htEditor.getRowHeight(n)||this.htEditor.view._wt.getSetting("defaultRowHeight"),r+=i,n+=1}while(r<e);a=r-i,this.htEditor.flipped&&(this.htEditor.rootElement.style.top=parseInt(this.htEditor.rootElement.style.top,10)+t-a+"px"),this.setDropdownHeight(r-i)}}flipDropdown(e){const t=this.htEditor.rootElement.style;t.position="absolute",t.top=-e+"px",this.htEditor.flipped=!0}unflipDropdown(){const e=this.htEditor.rootElement.style;e.position="absolute",e.top="",this.htEditor.flipped=void 0}updateDropdownHeight(){const e=this.htEditor.getColWidth(0)+Object(i["getScrollbarWidth"])(this.hot.rootDocument)+2,t=this.cellProperties.trimDropdown;this.htEditor.updateSettings({height:this.getDropdownHeight(),width:t?void 0:e}),this.htEditor.view._wt.wtTable.alignOverlaysWithTrimmingContainer()}setDropdownHeight(e){this.htEditor.updateSettings({height:e})}highlightBestMatchingChoice(e){"number"===typeof e?this.htEditor.selectCell(e,0,void 0,void 0,void 0,!1):this.htEditor.deselectCell()}getDropdownHeight(){const e=this.htEditor.getRowHeight(0)||23,t=this.cellProperties.visibleRows;return this.strippedChoices.length>=t?t*e:this.strippedChoices.length*e+8}stripValueIfNeeded(e){return this.stripValuesIfNeeded([e])[0]}stripValuesIfNeeded(e){const{allowHtml:t}=this.cellProperties,r=Object(d["arrayMap"])(e,e=>Object(h["stringify"])(e)),n=Object(d["arrayMap"])(r,e=>t?e:Object(p["stripTags"])(e));return n}allowKeyEventPropagation(e){const t=this.htEditor.getSelectedRangeLast(),r={row:t?t.from.row:-1};let n=!1;return e===f["KEY_CODES"].ARROW_DOWN&&r.row>0&&r.row<this.htEditor.countRows()-1&&(n=!0),e===f["KEY_CODES"].ARROW_UP&&r.row>-1&&(n=!0),n}onBeforeKeyDown(e){if(Object(f["isPrintableChar"])(e.keyCode)||e.keyCode===f["KEY_CODES"].BACKSPACE||e.keyCode===f["KEY_CODES"].DELETE||e.keyCode===f["KEY_CODES"].INSERT){let t=10;if(e.keyCode===f["KEY_CODES"].C&&(e.ctrlKey||e.metaKey))return;this.isOpened()||(t+=10),this.htEditor&&this.hot._registerTimeout(()=>{this.queryChoices(this.TEXTAREA.value)},t)}}}var A=r("13e1");const N="checkbox";class O extends A["a"]{static get EDITOR_TYPE(){return N}beginEditing(e,t){if(t&&"mouseup"===t.type&&"TD"===t.target.nodeName){const e=this.TD.querySelector('input[type="checkbox"]');Object(i["hasClass"])(e,"htBadValue")||e.click()}}finishEditing(){}init(){}open(){}close(){}getValue(){}setValue(){}focus(){}}var R=r("c1df");
- /*!
- * Pikaday
- *
- * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday
- */const L=()=>window,k=()=>window.document,I=(e,t)=>window.setTimeout(e,t),D=function(e,t,r,n){e.addEventListener(t,r,!!n)},P=function(e,t,r,n){e.removeEventListener(t,r,!!n)},j=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},F=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},H=function(e,t){F(e,t)||(e.className=""===e.className?t:e.className+" "+t)},B=function(e,t){e.className=j((" "+e.className+" ").replace(" "+t+" "," "))},U=function(e){return/Array/.test(Object.prototype.toString.call(e))},V=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},Y=function(e){let t=e.getDay();return 0===t||6===t},z=function(e){return e%4===0&&e%100!==0||e%400===0},W=function(e,t){return[31,z(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},q=function(e){V(e)&&e.setHours(0,0,0,0)},G=function(e,t){return e.getTime()===t.getTime()},K=function(e,t,r){let n,i;for(n in t)i=void 0!==e[n],i&&"object"===typeof t[n]&&null!==t[n]&&void 0===t[n].nodeName?V(t[n])?r&&(e[n]=new Date(t[n].getTime())):U(t[n])?r&&(e[n]=t[n].slice(0)):e[n]=K({},t[n],r):!r&&i||(e[n]=t[n]);return e},X=function(e,t,r){let n=k().createEvent("HTMLEvents");n.initEvent(t,!0,!1),n=K(n,r),e.dispatchEvent(n)},Z=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},$={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},J=function(e,t,r){t+=e.firstDay;while(t>=7)t-=7;return r?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},Q=function(e){let t=[],r="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),r="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'" aria-selected="'+r+'"><button class="pika-button pika-day" type="button" data-pika-year="'+e.year+'" data-pika-month="'+e.month+'" data-pika-day="'+e.day+'">'+e.day+"</button></td>"},ee=function(e,t){e.setHours(0,0,0,0);let r=e.getDate(),n=e.getDay(),i=t,a=i-1,o=7,s=function(e){return(e+o-1)%o};e.setDate(r+a-s(n));let l=new Date(e.getFullYear(),0,i),u=864e5,c=(e.getTime()-l.getTime())/u,d=1+Math.round((c-a+s(l.getDay()))/o);return d},te=function(e,t,r,n,i){let a=new Date(n,r,t),o=e.hasMoment?e.moment(a).isoWeek():ee(a,i);return'<td class="pika-week">'+o+"</td>"},re=function(e,t,r,n){return'<tr class="pika-row'+(r?" pick-whole-week":"")+(n?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"},ne=function(e){return"<tbody>"+e.join("")+"</tbody>"},ie=function(e){let t,r=[];for(e.showWeekNumber&&r.push("<th></th>"),t=0;t<7;t++)r.push('<th scope="col"><abbr title="'+J(e,t)+'">'+J(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?r.reverse():r).join("")+"</tr></thead>"},ae=function(e,t,r,n,i,a){let o,s,l,u,c,d=e._o,h=r===d.minYear,p=r===d.maxYear,f='<div id="'+a+'" class="pika-title" role="heading" aria-live="polite">',m=!0,g=!0;for(l=[],o=0;o<12;o++)l.push('<option value="'+(r===i?o-t:12+o-t)+'"'+(o===n?' selected="selected"':"")+(h&&o<d.minMonth||p&&o>d.maxMonth?' disabled="disabled"':"")+">"+d.i18n.months[o]+"</option>");for(u='<div class="pika-label">'+d.i18n.months[n]+'<select class="pika-select pika-select-month" tabindex="-1">'+l.join("")+"</select></div>",U(d.yearRange)?(o=d.yearRange[0],s=d.yearRange[1]+1):(o=r-d.yearRange,s=1+r+d.yearRange),l=[];o<s&&o<=d.maxYear;o++)o>=d.minYear&&l.push('<option value="'+o+'"'+(o===r?' selected="selected"':"")+">"+o+"</option>");return c='<div class="pika-label">'+r+d.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+l.join("")+"</select></div>",d.showMonthAfterYear?f+=c+u:f+=u+c,h&&(0===n||d.minMonth>=n)&&(m=!1),p&&(11===n||d.maxMonth<=n)&&(g=!1),0===t&&(f+='<button class="pika-prev'+(m?"":" is-disabled")+'" type="button">'+d.i18n.previousMonth+"</button>"),t===e._o.numberOfMonths-1&&(f+='<button class="pika-next'+(g?"":" is-disabled")+'" type="button">'+d.i18n.nextMonth+"</button>"),f+"</div>"},oe=function(e,t,r){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+r+'">'+ie(e)+ne(t)+"</table>"};function se(e){let t=this,r=t.config(e);t._onMouseDown=function(e){if(!t._v)return;e=e||L().event;let n=e.target||e.srcElement;if(n)if(F(n,"is-disabled")||(!F(n,"pika-button")||F(n,"is-empty")||F(n.parentNode,"is-disabled")?F(n,"pika-prev")?t.prevMonth():F(n,"pika-next")&&t.nextMonth():(t.setDate(new Date(n.getAttribute("data-pika-year"),n.getAttribute("data-pika-month"),n.getAttribute("data-pika-day"))),r.bound&&I((function(){t.hide(),r.blurFieldOnSelect&&r.field&&r.field.blur()}),100))),F(n,"pika-select"))t._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}},t._onChange=function(e){e=e||L().event;let r=e.target||e.srcElement;r&&(F(r,"pika-select-month")?t.gotoMonth(r.value):F(r,"pika-select-year")&&t.gotoYear(r.value))},t._onKeyChange=function(e){if(e=e||L().event,t.isVisible())switch(e.keyCode){case 13:case 27:r.field&&r.field.blur();break;case 37:t.adjustDate("subtract",1);break;case 38:t.adjustDate("subtract",7);break;case 39:t.adjustDate("add",1);break;case 40:t.adjustDate("add",7);break;case 8:case 46:t.setDate(null);break}},t._parseFieldValue=function(){if(r.parse)return r.parse(r.field.value,r.format);if(this.hasMoment){let e=this.moment(r.field.value,r.format,r.formatStrict);return e&&e.isValid()?e.toDate():null}return new Date(Date.parse(r.field.value))},t._onInputChange=function(e){let r;e.firedBy!==t&&(r=t._parseFieldValue(),V(r)&&t.setDate(r),t._v||t.show())},t._onInputFocus=function(){t.show()},t._onInputClick=function(){t.show()},t._onInputBlur=function(){let e=k().activeElement;do{if(F(e,"pika-single"))return}while(e=e.parentNode);t._c||(t._b=I((function(){t.hide()}),50)),t._c=!1},t._onClick=function(e){e=e||L().event;let n=e.target||e.srcElement,i=n;if(n){!hasEventListeners&&F(n,"pika-select")&&(n.onchange||(n.setAttribute("onchange","return;"),D(n,"change",t._onChange)));do{if(F(i,"pika-single")||i===r.trigger)return}while(i=i.parentNode);t._v&&n!==r.trigger&&i!==r.trigger&&t.hide()}},t.el=k().createElement("div"),t.el.className="pika-single"+(r.isRTL?" is-rtl":"")+(r.theme?" "+r.theme:""),D(t.el,"mousedown",t._onMouseDown,!0),D(t.el,"touchend",t._onMouseDown,!0),D(t.el,"change",t._onChange),r.keyboardInput&&D(k(),"keydown",t._onKeyChange),r.field&&(r.container?r.container.appendChild(t.el):r.bound?k().body.appendChild(t.el):r.field.parentNode.insertBefore(t.el,r.field.nextSibling),D(r.field,"change",t._onInputChange),r.defaultDate||(r.defaultDate=t._parseFieldValue(),r.setDefaultDate=!0));let n=r.defaultDate;V(n)?r.setDefaultDate?t.setDate(n,!0):t.gotoDate(n):t.gotoDate(new Date),r.bound?(this.hide(),t.el.className+=" is-bound",D(r.trigger,"click",t._onInputClick),D(r.trigger,"focus",t._onInputFocus),D(r.trigger,"blur",t._onInputBlur)):this.show()}function le(e,t,r){return t=ue(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ue(e){var t=ce(e,"string");return"symbol"==typeof t?t:t+""}function ce(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}se.prototype={config:function(e){this._o||(this._o=K({},$,!0));let t=K(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"===typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"===typeof t.disableDayFn?t.disableDayFn:null;let r=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=r>4?4:r,V(t.minDate)||(t.minDate=!1),V(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate<t.minDate&&(t.maxDate=t.minDate=!1),t.minDate&&this.setMinDate(t.minDate),t.maxDate&&this.setMaxDate(t.maxDate),U(t.yearRange)){let e=(new Date).getFullYear()-10;t.yearRange[0]=parseInt(t.yearRange[0],10)||e,t.yearRange[1]=parseInt(t.yearRange[1],10)||e}else t.yearRange=Math.abs(parseInt(t.yearRange,10))||$.yearRange,t.yearRange>100&&(t.yearRange=100);return t},toString:function(e){return e=e||this._o.format,V(this._d)?this._o.toString?this._o.toString(this._d,e):this.hasMoment?this.moment(this._d).format(e):this._d.toDateString():""},getMoment:function(){return this.hasMoment?this.moment(this._d):null},setMoment:function(e,t){this.hasMoment&&this.moment.isMoment(e)&&this.setDate(e.toDate(),t)},useMoment:function(e){this.hasMoment=!0,this.moment=e},getDate:function(){return V(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",X(this._o.field,"change",{firedBy:this})),this.draw();if("string"===typeof e&&(e=new Date(Date.parse(e))),!V(e))return;let r=this._o.minDate,n=this._o.maxDate;V(r)&&e<r?e=r:V(n)&&e>n&&(e=n),this._d=new Date(e.getTime()),q(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),X(this._o.field,"change",{firedBy:this})),t||"function"!==typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())},clear:function(){this.setDate(null)},gotoDate:function(e){let t=!0;if(V(e)){if(this.calendars){let r=new Date(this.calendars[0].year,this.calendars[0].month,1),n=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),i=e.getTime();n.setMonth(n.getMonth()+1),n.setDate(n.getDate()-1),t=i<r.getTime()||n.getTime()<i}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustDate:function(e,t){let r,n=this.getDate()||new Date,i=24*parseInt(t)*60*60*1e3;"add"===e?r=new Date(n.valueOf()+i):"subtract"===e&&(r=new Date(n.valueOf()-i)),this.setDate(r)},adjustCalendars:function(){this.calendars[0]=Z(this.calendars[0]);for(let e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=Z({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){e instanceof Date?(q(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=$.minDate,this._o.minYear=$.minYear,this._o.minMonth=$.minMonth,this._o.startRange=$.startRange),this.draw()},setMaxDate:function(e){e instanceof Date?(q(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=$.maxDate,this._o.maxYear=$.maxYear,this._o.maxMonth=$.maxMonth,this._o.endRange=$.endRange),this.draw()},setStartRange:function(e){this._o.startRange=e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(!this._v&&!e)return;let t,r=this._o,n=r.minYear,i=r.maxYear,a=r.minMonth,o=r.maxMonth,s="";this._y<=n&&(this._y=n,!isNaN(a)&&this._m<a&&(this._m=a)),this._y>=i&&(this._y=i,!isNaN(o)&&this._m>o&&(this._m=o));for(let l=0;l<r.numberOfMonths;l++)t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2),s+='<div class="pika-lendar">'+ae(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year,t)+this.render(this.calendars[l].year,this.calendars[l].month,t)+"</div>";this.el.innerHTML=s,r.bound&&"hidden"!==r.field.type&&I((function(){r.trigger.focus()}),1),"function"===typeof this._o.onDraw&&this._o.onDraw(this),r.bound&&r.field.setAttribute("aria-label",r.ariaLabel)},adjustPosition:function(){let e,t,r,n,i,a,o,s,l,u,c;this._o.container||(this.el.style.position="absolute",e=this._o.trigger,t=this.el.offsetWidth,r=this.el.offsetHeight,n=L().innerWidth||k().documentElement.clientWidth,i=L().innerHeight||k().documentElement.clientHeight,a=k().body.scrollTop||k().documentElement.scrollTop,u=!0,c=!0,l=e.getBoundingClientRect(),o=l.left+L().pageXOffset,s=l.bottom+L().pageYOffset,(this._o.reposition&&o+t>n||this._o.position.indexOf("right")>-1&&o-t+e.offsetWidth>0)&&(o=o-t+e.offsetWidth,u=!1),(this._o.reposition&&s+r>i+a||this._o.position.indexOf("top")>-1&&s-r-e.offsetHeight>0)&&(s=s-r-e.offsetHeight,c=!1),o<0&&(o=0),s<0&&(s=0),this.el.style.left=o+"px",this.el.style.top=s+"px",H(this.el,u?"left-aligned":"right-aligned"),H(this.el,c?"bottom-aligned":"top-aligned"),B(this.el,u?"right-aligned":"left-aligned"),B(this.el,c?"top-aligned":"bottom-aligned"))},render:function(e,t,r){let n=this._o,i=new Date,a=W(e,t),o=new Date(e,t,1).getDay(),s=[],l=[];q(i),n.firstDay>0&&(o-=n.firstDay,o<0&&(o+=7));let u=0===t?11:t-1,c=11===t?0:t+1,d=0===t?e-1:e,h=11===t?e+1:e,p=W(d,u),f=a+o,m=f;while(m>7)m-=7;f+=7-m;let g=!1;for(let v=0,b=0;v<f;v++){let r=new Date(e,t,v-o+1),f=!!V(this._d)&&G(r,this._d),m=G(r,i),y=-1!==n.events.indexOf(r.toDateString()),w=v<o||v>=a+o,_=v-o+1,S=t,E=e,M=n.startRange&&G(n.startRange,r),T=n.endRange&&G(n.endRange,r),C=n.startRange&&n.endRange&&n.startRange<r&&r<n.endRange,x=n.minDate&&r<n.minDate||n.maxDate&&r>n.maxDate||n.disableWeekends&&Y(r)||n.disableDayFn&&n.disableDayFn(r);w&&(v<o?(_=p+_,S=u,E=d):(_-=a,S=c,E=h));let A={day:_,month:S,year:E,hasEvent:y,isSelected:f,isToday:m,isDisabled:x,isEmpty:w,isStartRange:M,isEndRange:T,isInRange:C,showDaysInNextAndPreviousMonths:n.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:n.enableSelectionDaysInNextAndPreviousMonths};n.pickWholeWeek&&f&&(g=!0),l.push(Q(A)),7===++b&&(n.showWeekNumber&&l.unshift(te(this,v-o,t,e,n.firstWeekOfYearMinDays)),s.push(re(l,n.isRTL,n.pickWholeWeek,g)),l=[],b=0,g=!1)}return oe(n,s,r)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),B(this.el,"is-hidden"),this._o.bound&&(D(k(),"click",this._onClick),this.adjustPosition()),"function"===typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){let e=this._v;!1!==e&&(this._o.bound&&P(k(),"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),H(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"===typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){let e=this._o;this.hide(),P(this.el,"mousedown",this._onMouseDown,!0),P(this.el,"touchend",this._onMouseDown,!0),P(this.el,"change",this._onChange),e.keyboardInput&&P(k(),"keydown",this._onKeyChange),e.field&&(P(e.field,"change",this._onInputChange),e.bound&&(P(e.trigger,"click",this._onInputClick),P(e.trigger,"focus",this._onInputFocus),P(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}};const de="date",he="dateEditor";class pe extends n["a"]{constructor(){super(...arguments),le(this,"defaultDateFormat","DD/MM/YYYY"),le(this,"parentDestroyed",!1),le(this,"$datePicker",null)}static get EDITOR_TYPE(){return de}init(){if("function"!==typeof R)throw new Error("You need to include moment.js to your project.");if("function"!==typeof se)throw new Error("You need to include Pikaday to your project.");super.init(),this.hot.addHook("afterDestroy",()=>{this.parentDestroyed=!0,this.destroyElements()})}createElements(){super.createElements(),this.datePicker=this.hot.rootDocument.createElement("DIV"),this.datePickerStyle=this.datePicker.style,this.datePickerStyle.position="absolute",this.datePickerStyle.top=0,this.datePickerStyle.left=0,this.datePickerStyle.zIndex=9999,this.datePicker.setAttribute("dir",this.hot.isRtl()?"rtl":"ltr"),Object(i["addClass"])(this.datePicker,"htDatepickerHolder"),this.hot.rootDocument.body.appendChild(this.datePicker),this.eventManager.addEventListener(this.datePicker,"mousedown",e=>{Object(i["hasClass"])(e.target,"pika-day")&&this.hideDatepicker(),e.stopPropagation()})}destroyElements(){const e=this.datePicker.parentNode;this.$datePicker&&this.$datePicker.destroy(),e&&e.removeChild(this.datePicker)}prepare(e,t,r,n,i,a){super.prepare(e,t,r,n,i,a)}open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=this.hot.getShortcutManager(),r=t.getContext("editor");this.showDatepicker(e),super.open(),r.addShortcuts([{keys:[["ArrowLeft"]],callback:()=>{this.$datePicker.adjustDate("subtract",1)}},{keys:[["ArrowRight"]],callback:()=>{this.$datePicker.adjustDate("add",1)}},{keys:[["ArrowUp"]],callback:()=>{this.$datePicker.adjustDate("subtract",7)}},{keys:[["ArrowDown"]],callback:()=>{this.$datePicker.adjustDate("add",7)}}],{group:he})}close(){var e;this._opened=!1,null!==(e=this.$datePicker)&&void 0!==e&&e.destroy&&this.$datePicker.destroy(),this.hot._registerTimeout(()=>{this.hot._refreshBorders()});const t=this.hot.getShortcutManager(),r=t.getContext("editor");r.removeShortcutsByGroup(he),super.close()}finishEditing(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.finishEditing(e,t)}showDatepicker(e){const t=this.cellProperties.dateFormat||this.defaultDateFormat,r=this.hot.view.isMouseDown(),n=!!e&&Object(f["isFunctionKey"])(e.keyCode);let i;this.datePicker.style.display="block",this.$datePicker=new se(this.getDatePickerConfig()),"function"===typeof this.$datePicker.useMoment&&this.$datePicker.useMoment(R),this.$datePicker._onInputFocus=function(){},this.originalValue?(i=this.originalValue,R(i,t,!0).isValid()&&this.$datePicker.setMoment(R(i,t),!0),this.getValue()!==this.originalValue&&this.setValue(this.originalValue),n||r||this.setValue("")):this.cellProperties.defaultDate?(i=this.cellProperties.defaultDate,R(i,t,!0).isValid()&&this.$datePicker.setMoment(R(i,t),!0),n||r||this.setValue("")):this.$datePicker.gotoToday()}hideDatepicker(){this.datePickerStyle.display="none",this.$datePicker.hide()}getDatePickerConfig(){const e=this.TEXTAREA,t={};this.cellProperties&&this.cellProperties.datePickerConfig&&Object(o["deepExtend"])(t,this.cellProperties.datePickerConfig);const r=t.onSelect,n=t.onClose;return t.field=e,t.trigger=e,t.container=this.datePicker,t.bound=!1,t.keyboardInput=!1,t.format=t.format||this.defaultDateFormat,t.reposition=t.reposition||!1,t.isRTL=!1,t.onSelect=e=>{let t=e;isNaN(t.getTime())||(t=R(t).format(this.cellProperties.dateFormat||this.defaultDateFormat)),this.setValue(t),r&&r()},t.onClose=()=>{this.parentDestroyed||this.finishEditing(!1),n&&n()},t}refreshDimensions(e){var t;if(super.refreshDimensions(e),this.state!==A["b"].EDITING)return;if(this.TD=this.getEditedCell(),!this.TD)return void this.hideDatepicker();const{rowIndexMapper:r,columnIndexMapper:n}=this.hot,{wtOverlays:a}=this.hot.view._wt,{wtTable:o}=null!==(t=a.getParentOverlay(this.TD))&&void 0!==t?t:this.hot.view._wt,s=r.getVisualFromRenderableIndex(o.getFirstPartiallyVisibleRow()),l=r.getVisualFromRenderableIndex(o.getLastPartiallyVisibleRow()),u=n.getVisualFromRenderableIndex(o.getFirstPartiallyVisibleColumn()),c=n.getVisualFromRenderableIndex(o.getLastPartiallyVisibleColumn());if(this.row>=s&&this.row<=l&&this.col>=u&&this.col<=c){const e=this.TD.getBoundingClientRect();this.datePickerStyle.top=this.hot.rootWindow.pageYOffset+e.top+Object(i["outerHeight"])(this.TD)+"px";let t=this.hot.rootWindow.pageXOffset;this.hot.isRtl()?t+=e.right-Object(i["outerWidth"])(this.datePicker):t+=e.left,this.datePickerStyle.left=t+"px"}else this.hideDatepicker()}}var fe=r("1004");const me="dropdown";class ge extends x{static get EDITOR_TYPE(){return me}prepare(e,t,r,n,i,a){super.prepare(e,t,r,n,i,a),this.cellProperties.filter=!1,this.cellProperties.strict=!0}}fe["a"].getSingleton().add("beforeValidate",(function(e,t,r){const n=this.getCellMeta(t,this.propToCol(r));n.editor===ge&&void 0===n.strict&&(n.filter=!1,n.strict=!0)}));const ve="numeric";class be extends n["a"]{static get EDITOR_TYPE(){return ve}}const ye="password";class we extends n["a"]{static get EDITOR_TYPE(){return ye}createElements(){super.createElements(),this.TEXTAREA=this.hot.rootDocument.createElement("input"),this.TEXTAREA.setAttribute("type","password"),this.TEXTAREA.setAttribute("data-hot-input",""),this.TEXTAREA.className="handsontableInput",this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(this.TEXTAREA,[Object(v["n"])()]),Object(i["empty"])(this.TEXTAREA_PARENT),this.TEXTAREA_PARENT.appendChild(this.TEXTAREA)}}const _e="ht_editor_visible",Se="selectEditor",Ee="select";class Me extends A["a"]{static get EDITOR_TYPE(){return Ee}init(){this.select=this.hot.rootDocument.createElement("select"),this.select.setAttribute("data-hot-input","true"),this.select.style.display="none",Object(i["addClass"])(this.select,"htSelectEditor"),this.hot.rootElement.appendChild(this.select),this.registerHooks()}getValue(){return this.select.value}setValue(e){this.select.value=e}open(){this._opened=!0,this.refreshDimensions(),this.select.style.display="";const e=this.hot.getShortcutManager();e.setActiveContextName("editor"),this.registerShortcuts()}close(){this._opened=!1,this.select.style.display="none",Object(i["hasClass"])(this.select,_e)&&Object(i["removeClass"])(this.select,_e),this.unregisterShortcuts(),this.clearHooks()}focus(){this.select.focus()}registerHooks(){this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.addHook("afterColumnResize",()=>this.refreshDimensions()),this.addHook("afterRowResize",()=>this.refreshDimensions())}prepare(e,t,r,n,a,s){super.prepare(e,t,r,n,a,s);const l=this.cellProperties.selectOptions;let u;u="function"===typeof l?this.prepareOptions(l(this.row,this.col,this.prop)):this.prepareOptions(l),Object(i["empty"])(this.select),Object(o["objectEach"])(u,(e,t)=>{const r=this.hot.rootDocument.createElement("OPTION");r.value=t,Object(i["fastInnerHTML"])(r,e),this.select.appendChild(r)})}prepareOptions(e){let t={};if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)t[e[r]]=e[r];else"object"===typeof e&&(t=e);return t}refreshValue(){const e=this.hot.getSourceDataAtCell(this.row,this.prop);this.originalValue=e,this.setValue(e),this.refreshDimensions()}refreshDimensions(){if(this.state!==A["b"].EDITING)return;if(this.TD=this.getEditedCell(),!this.TD)return void this.close();const{top:e,start:t,width:r,height:n}=this.getEditedCellRect(),a=this.select.style;a.height=n+"px",a.width=r+"px",a.top=e+"px",a[this.hot.isRtl()?"right":"left"]=t+"px",a.margin="0px",Object(i["addClass"])(this.select,_e)}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor"),r=e.getContext("grid"),n={group:Se};t.addShortcuts([{keys:[["Tab"],["Shift","Tab"]],forwardToContext:r,callback:()=>{}}],n),!0===this.isInFullEditMode()&&t.addShortcuts([{keys:[["ArrowUp"]],callback:()=>{const e=this.select.selectedIndex-1;e>=0&&(this.select[e].selected=!0)}},{keys:[["ArrowDown"]],callback:()=>{const e=this.select.selectedIndex+1;e<=this.select.length-1&&(this.select[e].selected=!0)}}],n)}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(Se)}}const Te="time";class Ce extends n["a"]{static get EDITOR_TYPE(){return Te}prepare(e,t,r,n,i,a){super.prepare(e,t,r,n,i,a),this.TEXTAREA.dir="ltr"}}var xe=r("491c");function Ae(){Object(xe["e"])(A["a"]),Object(xe["e"])(x),Object(xe["e"])(O),Object(xe["e"])(pe),Object(xe["e"])(ge),Object(xe["e"])(c),Object(xe["e"])(be),Object(xe["e"])(we),Object(xe["e"])(Me),Object(xe["e"])(n["a"]),Object(xe["e"])(Ce)}var Ne=r("a357");const Oe="html";function Re(e,t,r,n,a,o,s){Ne["a"].apply(this,[e,t,r,n,a,o,s]),Object(i["fastInnerHTML"])(t,null===o||void 0===o?"":o,!1)}Re.RENDERER_TYPE=Oe;var Le=r("87d6");const ke="autocomplete";function Ie(e,t,r,n,a,o,s){const{rootDocument:l}=e,u=s.allowHtml?Re:g["a"],c=l.createElement("DIV"),d=e.getSettings().ariaTags;if(c.className="htAutocompleteArrow",d&&c.setAttribute(...Object(v["n"])()),c.appendChild(l.createTextNode(String.fromCharCode(9660))),u.apply(this,[e,t,r,n,a,o,s]),t.firstChild||t.appendChild(l.createTextNode(String.fromCharCode(160))),t.insertBefore(c,t.firstChild),Object(i["addClass"])(t,"htAutocomplete"),!e.acArrowListener){const a=new Le["a"](e);e.acArrowListener=function(a){Object(i["hasClass"])(a.target,"htAutocompleteArrow")&&e.view._wt.getSetting("onCellDblClick",null,e._createCellCoords(r,n),t)},a.addEventListener(e.rootElement,"mousedown",e.acArrowListener),e.addHookOnce("afterDestroy",()=>{a.destroy()})}}Ie.RENDERER_TYPE=ke;const De="dropdown";function Pe(e,t,r,n,i,a,o){Ie.apply(this,[e,t,r,n,i,a,o])}Pe.RENDERER_TYPE=De;var je=r("c4fa"),Fe=r("0283");const He=new WeakMap,Be=new WeakMap,Ue="htBadValue",Ve="data-row",Ye="data-col",ze="checkboxRenderer",We="checkbox";function qe(e,t,r,n,a,o,s){const{rootDocument:l}=e,u=e.getSettings().ariaTags;Ne["a"].apply(this,[e,t,r,n,a,o,s]),Ge(e);let c=Ke(l);const d=s.label;let p=!1;if("undefined"===typeof s.checkedTemplate&&(s.checkedTemplate=!0),"undefined"===typeof s.uncheckedTemplate&&(s.uncheckedTemplate=!1),Object(i["empty"])(t),o===s.checkedTemplate||Object(h["stringify"])(o).toLocaleLowerCase(s.locale)===Object(h["stringify"])(s.checkedTemplate).toLocaleLowerCase(s.locale)?c.checked=!0:o===s.uncheckedTemplate||Object(h["stringify"])(o).toLocaleLowerCase(s.locale)===Object(h["stringify"])(s.uncheckedTemplate).toLocaleLowerCase(s.locale)?c.checked=!1:Object(h["isEmpty"])(o)?Object(i["addClass"])(c,"noValue"):(c.style.display="none",Object(i["addClass"])(c,Ue),p=!0),Object(i["setAttribute"])(c,[[Ve,r],[Ye,n]]),u&&Object(i["setAttribute"])(c,[Object(v["p"])(c.checked?e.getTranslatedPhrase(Fe["CHECKBOX_CHECKED"]):e.getTranslatedPhrase(Fe["CHECKBOX_UNCHECKED"])),Object(v["d"])(c.checked),Object(v["c"])()]),!p&&d){let i="";if(d.value)i="function"===typeof d.value?d.value.call(this,r,n,a,o):d.value;else if(d.property){const t=e.getDataAtRowProp(r,d.property);i=null!==t?t:""}const s=Xe(l,i,!0!==d.separated);"before"===d.position?d.separated?(t.appendChild(s),t.appendChild(c)):(s.appendChild(c),c=s):d.position&&"after"!==d.position||(d.separated?(t.appendChild(c),t.appendChild(s)):(s.insertBefore(c,s.firstChild),c=s))}function f(){const t=e.getShortcutManager(),r=t.getContext("grid"),n={group:ze,relativeToGroup:je["a"],position:"before"};r.addShortcuts([{keys:[["space"]],callback:()=>(m(),!g())},{keys:[["enter"]],callback:()=>(m(),!g()),runOnlyIf:()=>{var t;return e.getSettings().enterBeginsEditing&&(null===(t=e.getSelectedRangeLast())||void 0===t?void 0:t.isSingle())}},{keys:[["delete"],["backspace"]],callback:()=>(m(!0),!g())}],n)}function m(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const r=e.getSelectedRange(),n=[];let i=[],a=0;if(r){for(let o=0;o<r.length;o++){const{row:s,col:l}=r[o].getTopStartCorner(),{row:u,col:c}=r[o].getBottomEndCorner();for(let r=s;r<=u;r+=1)for(let n=l;n<=c;n+=1){const o=e.getCellMeta(r,n),s={checkedTemplate:o.checkedTemplate,uncheckedTemplate:o.uncheckedTemplate};if("checkbox"!==o.type)return;if(!0===o.readOnly)continue;"undefined"===typeof o.checkedTemplate&&(o.checkedTemplate=!0),"undefined"===typeof o.uncheckedTemplate&&(o.uncheckedTemplate=!1);const l=e.getDataAtCell(r,n);!1===t?[o.checkedTemplate,o.checkedTemplate.toString()].includes(l)?i.push([r,n,o.uncheckedTemplate,s]):[o.uncheckedTemplate,o.uncheckedTemplate.toString(),null,void 0].includes(l)&&i.push([r,n,o.checkedTemplate,s]):i.push([r,n,o.uncheckedTemplate,s]),a+=1}n.push(a),a=0}i=i.every(e=>{let[,,t]=e;return t===i[0][2]})?i.map(e=>{let[t,r,n]=e;return[t,r,n]}):i.map(e=>{let[t,r,,n]=e;return[t,r,n.checkedTemplate]}),i.length>0&&n.forEach(t=>{const r=i.splice(0,t);e.setDataAtCell(r)})}}function g(){const t=e.getSelectedRange();if(t){for(let r=0;r<t.length;r++){const n=t[r].getTopStartCorner(),i=t[r].getBottomEndCorner();for(let t=n.row;t<=i.row;t++)for(let r=n.col;r<=i.col;r++){const n=e.getCellMeta(t,r);if("checkbox"!==n.type)return!1;const i=e.getCell(t,r);if(null===i||void 0===i)return!0;{const e=i.querySelectorAll("input[type=checkbox]");if(e.length>0&&!n.readOnly)return!0}}}return!1}}(!d||d&&!d.separated)&&t.appendChild(c),p&&t.appendChild(l.createTextNode("#bad-value#")),He.has(e)||(He.set(e,!0),f())}function Ge(e){let t=Be.get(e);if(!t){const{rootElement:r}=e;t=new Le["a"](e),t.addEventListener(r,"click",t=>$e(t,e)),t.addEventListener(r,"mouseup",t=>Ze(t,e)),t.addEventListener(r,"change",t=>Je(t,e)),Be.set(e,t)}return t}function Ke(e){const t=e.createElement("input");return t.className="htCheckboxRendererInput",t.type="checkbox",t.setAttribute("tabindex","-1"),t.cloneNode(!1)}function Xe(e,t,r){const n=e.createElement("label");return n.className="htCheckboxRendererLabel "+(r?"fullWidth":""),n.appendChild(e.createTextNode(t)),n.cloneNode(!0)}function Ze(e,t){const{target:r}=e;Qe(r)&&r.hasAttribute(Ve)&&r.hasAttribute(Ye)&&setTimeout(t.listen,10)}function $e(e,t){const{target:r}=e;if(!Qe(r))return;if(!r.hasAttribute(Ve)||!r.hasAttribute(Ye))return;const n=parseInt(r.getAttribute(Ve),10),i=parseInt(r.getAttribute(Ye),10),a=t.getCellMeta(n,i);a.readOnly&&e.preventDefault()}function Je(e,t){const{target:r}=e;if(!Qe(r))return;if(!r.hasAttribute(Ve)||!r.hasAttribute(Ye))return;const n=parseInt(r.getAttribute(Ve),10),i=parseInt(r.getAttribute(Ye),10),a=t.getCellMeta(n,i);if(!a.readOnly){let r=null;r=e.target.checked?void 0===a.uncheckedTemplate||a.checkedTemplate:void 0!==a.uncheckedTemplate&&a.uncheckedTemplate,t.setDataAtCell(n,i,r)}}function Qe(e){return"INPUT"===e.tagName&&"checkbox"===e.getAttribute("type")}fe["a"].getSingleton().add("modifyAutoColumnSizeSeed",(function(e,t,r){const{label:n,type:i,row:a,column:o,prop:s}=t;if(i===We){if(n){const{value:t,property:i}=n;let l=r;if(t)l="function"===typeof t?t(a,o,s,r):t;else if(i){const e=this.getDataAtRowProp(a,i);l=null!==e?e:r}e=l}return e}})),qe.RENDERER_TYPE=We;const et="handsontable";function tt(e,t,r,n,i,a,o){Ie.apply(this,[e,t,r,n,i,a,o])}tt.RENDERER_TYPE=et;var rt=r("8722d"),nt=r("ffec");const it="numeric";function at(e,t){if(Object(nt["isNumeric"])(e)){const r=t.numericFormat,n=r&&r.culture||"-",i=r&&r.pattern;if("undefined"!==typeof n&&!rt.languages()[n]){const e=n.replace("-",""),t=rt.allLanguages?rt.allLanguages[n]:rt[e];t&&rt.registerLanguage(t)}rt.setLanguage(n),e=rt(e).format(i||"0")}return e}function ot(e,t,r,n,i,a,o){let s=a;if(Object(nt["isNumeric"])(s)){const e=o.className||"",r=e.length?e.split(" "):[];s=at(s,o),r.indexOf("htLeft")<0&&r.indexOf("htCenter")<0&&r.indexOf("htRight")<0&&r.indexOf("htJustify")<0&&r.push("htRight"),r.indexOf("htNumeric")<0&&r.push("htNumeric"),o.className=r.join(" "),t.dir="ltr"}Object(g["a"])(e,t,r,n,i,s,o)}ot.RENDERER_TYPE=it;const st="password";function lt(e,t,r,n,a,o,s){g["a"].apply(this,[e,t,r,n,a,o,s]);const l=s.hashLength||t.innerHTML.length,u=s.hashSymbol||"*";let c="";Object(nt["rangeEach"])(l-1,()=>{c+=u}),Object(i["fastInnerHTML"])(t,c)}lt.RENDERER_TYPE=st;const ut="select";function ct(e,t,r,n,i,a,o){g["a"].apply(this,[e,t,r,n,i,a,o])}ct.RENDERER_TYPE=ut;const dt="time";function ht(e,t,r,n,i,a,o){g["a"].apply(this,[e,t,r,n,i,a,o]),t.dir="ltr"}ht.RENDERER_TYPE=dt;var pt=r("3d76");function ft(){Object(pt["d"])(Ie),Object(pt["d"])(Ne["a"]),Object(pt["d"])(qe),Object(pt["d"])(Pe),Object(pt["d"])(tt),Object(pt["d"])(Re),Object(pt["d"])(ot),Object(pt["d"])(lt),Object(pt["d"])(ct),Object(pt["d"])(g["a"]),Object(pt["d"])(ht)}const mt="autocomplete";function gt(e,t){let r=e;null!==r&&void 0!==r||(r=""),this.allowEmpty&&""===r?t(!0):this.strict&&this.source?"function"===typeof this.source?this.source(r,vt(r,t)):vt(r,t)(this.source):t(!0)}function vt(e,t){const r=e;return function(e){let n=!1;for(let t=0,i=e.length;t<i;t++)if(r===e[t]){n=!0;break}t(n)}}gt.VALIDATOR_TYPE=mt;var bt=r("3eb5");const yt="date";function wt(e,t){const r=Object(xe["b"])(de,this.instance);let n=e,i=!0;null!==n&&void 0!==n||(n="");let a=R(n,this.dateFormat||r.defaultDateFormat,!0).isValid(),o=R(new Date(n)).isValid()||a;if(this.allowEmpty&&""===n&&(o=!0,a=!0),o||(i=!1),!o&&a&&(i=!0),o&&!a)if(!0===this.correctFormat){const e=_t(n,this.dateFormat),t=this.instance.toVisualRow(this.row),r=this.instance.toVisualColumn(this.col);this.instance.setDataAtCell(t,r,e,"dateValidator"),i=!0}else i=!1;t(i)}function _t(e,t){const r=R(Object(bt["getNormalizedDate"])(e)),n=R(e,t),i=e.search(/[A-z]/g)>-1;let a;return a=r.isValid()&&r.format("x")===n.format("x")||!n.isValid()||i?r:n,a.format(t)}wt.VALIDATOR_TYPE=yt;const St="dropdown";function Et(e,t){gt.apply(this,[e,t])}Et.VALIDATOR_TYPE=St;const Mt="numeric";function Tt(e,t){let r=e;null!==r&&void 0!==r||(r=""),this.allowEmpty&&""===r?t(!0):t(""!==r&&Object(nt["isNumeric"])(e))}Tt.VALIDATOR_TYPE=Mt;const Ct=["YYYY-MM-DDTHH:mm:ss.SSSZ","X","x"],xt="time";function At(e,t){const r=this.timeFormat||"h:mm:ss a";let n=!0,i=e;null===i&&(i=""),i=/^\d{3,}$/.test(i)?parseInt(i,10):i;const a=/^\d{1,2}$/.test(i);a&&(i+=":00");const o=R(i,Ct,!0).isValid()?R(i):R(i,r);let s=o.isValid(),l=R(i,r,!0).isValid()&&!a;if(this.allowEmpty&&""===i&&(s=!0,l=!0),s||(n=!1),!s&&l&&(n=!0),s&&!l)if(!0===this.correctFormat){const e=o.format(r),t=this.instance.toVisualRow(this.row),i=this.instance.toVisualColumn(this.col);this.instance.setDataAtCell(t,i,e,"timeValidator"),n=!0}else n=!1;t(n)}At.VALIDATOR_TYPE=xt;var Nt=r("169f");function Ot(){Object(Nt["d"])(gt),Object(Nt["d"])(Et),Object(Nt["d"])(wt),Object(Nt["d"])(Tt),Object(Nt["d"])(At)}const Rt="autocomplete",Lt={CELL_TYPE:Rt,editor:x,renderer:Ie,validator:gt},kt="checkbox",It={CELL_TYPE:kt,editor:O,renderer:qe},Dt="date";function Pt(e,t,r,n,i,a,o){Ie.apply(this,[e,t,r,n,i,a,o])}Pt.RENDERER_TYPE=Dt;const jt="date",Ft={CELL_TYPE:jt,editor:pe,renderer:Pt,validator:wt},Ht="dropdown",Bt={CELL_TYPE:Ht,editor:ge,renderer:Pe,validator:Et},Ut="handsontable",Vt={CELL_TYPE:Ut,editor:c,renderer:tt},Yt="numeric",zt={CELL_TYPE:Yt,editor:be,renderer:ot,validator:Tt,dataType:"number"},Wt="password",qt={CELL_TYPE:Wt,editor:we,renderer:lt,copyable:!1},Gt="select",Kt={CELL_TYPE:Gt,editor:Me,renderer:ct};var Xt=r("ef07");const Zt="time",$t={CELL_TYPE:Zt,editor:Ce,renderer:ht,validator:At};var Jt=r("76ab");function Qt(){Object(Jt["d"])(Lt),Object(Jt["d"])(It),Object(Jt["d"])(Ft),Object(Jt["d"])(Bt),Object(Jt["d"])(Vt),Object(Jt["d"])(zt),Object(Jt["d"])(qt),Object(Jt["d"])(Kt),Object(Jt["d"])(Xt["a"]),Object(Jt["d"])($t)}var er=r("d3c5"),tr=r("7dd09"),rr=r("220a");function nr(e,t,r){return t=ir(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ir(e){var t=ar(e,"string");return"symbol"==typeof t?t:t+""}function ar(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class or{static get SAMPLE_COUNT(){return 3}constructor(e){nr(this,"samples",null),nr(this,"dataFactory",null),nr(this,"customSampleCount",null),nr(this,"allowDuplicates",!1),this.dataFactory=e}getSampleCount(){return this.customSampleCount?this.customSampleCount:or.SAMPLE_COUNT}setSampleCount(e){this.customSampleCount=e}setAllowDuplicates(e){this.allowDuplicates=e}generateRowSamples(e,t){return this.generateSamples("row",t,e)}generateColumnSamples(e,t){return this.generateSamples("col",t,e)}generateSamples(e,t,r){const n=new Map,{from:i,to:a}="number"===typeof r?{from:r,to:r}:r;return Object(nt["rangeEach"])(i,a,r=>{const i=this.generateSample(e,t,r);n.set(r,i)}),n}generateSample(e,t,r){if("row"!==e&&"col"!==e)throw new Error("Unsupported sample type");const n=new Map,i="row"===e?"col":"row",a=[];return Object(nt["rangeEach"])(t.from,t.to,t=>{const s="row"===e?this.dataFactory(r,t):this.dataFactory(t,r);if(!1===s)return;const{value:l,bundleSeed:u}=s,c="string"===typeof u&&u.length>0;let d;d=c?u:Object(o["isObject"])(l)?""+Object.keys(l).length:Array.isArray(l)?""+l.length:""+Object(h["stringify"])(l).length,n.has(d)||n.set(d,{needed:this.getSampleCount(),strings:[]});const p=n.get(d);if(p.needed){const e=a.indexOf(l)>-1;(!e||this.allowDuplicates||c)&&(p.strings.push({value:l,[i]:t}),a.push(l),p.needed-=1)}}),n}}var sr=or,lr=r("861dd"),ur=r("9f10");function cr(e,t){hr(e,t),t.add(e)}function dr(e,t,r){hr(e,t),t.set(e,r)}function hr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function pr(e,t,r){return t=fr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fr(e){var t=mr(e,"string");return"symbol"==typeof t?t:t+""}function mr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function gr(e,t,r){return e.set(br(e,t),r),r}function vr(e,t){return e.get(br(e,t))}function br(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("modifyAutoColumnSizeSeed");const yr="autoColumnSize",wr=10,_r="autoColumnSize";var Sr=new WeakMap,Er=new WeakSet;class Mr extends er["a"]{static get PLUGIN_KEY(){return yr}static get PLUGIN_PRIORITY(){return wr}static get SETTING_KEYS(){return!0}static get CALCULATION_STEP(){return 50}static get SYNC_CALCULATION_LIMIT(){return 50}constructor(e){super(e),cr(this,Er),pr(this,"ghostTable",new rr["a"](this.hot)),pr(this,"samplesGenerator",new sr((e,t)=>{const r=this.hot.toPhysicalRow(e),n=this.hot.toPhysicalColumn(t);if(this.hot.rowIndexMapper.isHidden(r)||this.hot.columnIndexMapper.isHidden(n))return!1;const i=this.hot.getCellMeta(e,t);let a="";i.spanned||(a=this.hot.getDataAtCell(e,t));let o="";return this.hot.hasHook("modifyAutoColumnSizeSeed")&&(o=this.hot.runHooks("modifyAutoColumnSizeSeed",o,i,a)),{value:a,bundleSeed:o}})),pr(this,"firstCalculation",!0),pr(this,"inProgress",!1),pr(this,"measuredColumns",0),pr(this,"columnWidthsMap",new ur["a"]),dr(this,Sr,[]),this.hot.columnIndexMapper.registerMap(_r,this.columnWidthsMap),this.addHook("beforeColumnResize",(e,t,r)=>br(Er,this,Ar).call(this,e,t,r))}isEnabled(){return!1!==this.hot.getSettings()[yr]&&!this.hot.getSettings().colWidths}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[yr];t&&null!==t.useHeaders&&void 0!==t.useHeaders&&this.ghostTable.setSetting("useHeaders",t.useHeaders),this.setSamplingOptions(),this.addHook("afterLoadData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return br(Er,e,Cr).call(e,...r)})),this.addHook("beforeChangeRender",e=>br(Er,this,xr).call(this,e)),this.addHook("afterFormulasValuesUpdate",e=>br(Er,this,Or).call(this,e)),this.addHook("beforeViewRender",e=>br(Er,this,Tr).call(this,e)),this.addHook("modifyColWidth",(e,t)=>this.getColumnWidth(t,e)),this.addHook("afterInit",()=>br(Er,this,Nr).call(this)),super.enablePlugin()}updatePlugin(){const e=this.findColumnsWhereHeaderWasChanged();e.length&&(this.clearCache(e),this.calculateVisibleColumnsWidth()),super.updatePlugin()}disablePlugin(){super.disablePlugin(),this.addHook("beforeColumnResize",(e,t,r)=>br(Er,this,Ar).call(this,e,t,r))}calculateVisibleColumnsWidth(){const e=this.hot.countRows();if(!e)return;const t=this.hot.renderCall,r=this.getFirstVisibleColumn(),n=this.getLastVisibleColumn();-1!==r&&-1!==n&&this.calculateColumnsWidth({from:r,to:n},void 0,t)}calculateColumnsWidth(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countCols()-1},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:0,to:this.hot.countRows()-1},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n="number"===typeof e?{from:e,to:e}:e,i="number"===typeof t?{from:t,to:t}:t;Object(nt["rangeEach"])(n.from,n.to,e=>{let t=this.hot.toPhysicalColumn(e);if(null===t&&(t=e),r||null===this.columnWidthsMap.getValueAtIndex(t)&&!this.hot._getColWidthFromSettings(t)){const t=this.samplesGenerator.generateColumnSamples(e,i);Object(d["arrayEach"])(t,e=>{let[t,r]=e;return this.ghostTable.addColumn(t,r)})}}),this.ghostTable.columns.length&&(this.hot.batchExecution(()=>{this.ghostTable.getWidths((e,t)=>{const r=this.hot.toPhysicalColumn(e);this.columnWidthsMap.setValueAtIndex(r,t)})},!0),this.measuredColumns=n.to+1,this.ghostTable.clean())}calculateAllColumnsWidth(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countRows()-1},t=0;const r=this.hot.countCols()-1;let n=null;this.inProgress=!0;const i=()=>{if(!this.hot)return Object(tr["cancelAnimationFrame"])(n),void(this.inProgress=!1);this.calculateColumnsWidth({from:t,to:Math.min(t+Mr.CALCULATION_STEP,r)},e),t=t+Mr.CALCULATION_STEP+1,t<r?n=Object(tr["requestAnimationFrame"])(i):(Object(tr["cancelAnimationFrame"])(n),this.inProgress=!1,this.hot.view.adjustElementsSize())},a=this.getSyncCalculationLimit();this.firstCalculation&&a>=0&&(this.calculateColumnsWidth({from:0,to:a},e),this.firstCalculation=!1,t=a+1),t<r?i():this.inProgress=!1}setSamplingOptions(){const e=this.hot.getSettings()[yr],t=e&&Object(o["hasOwnProperty"])(e,"samplingRatio")?e.samplingRatio:void 0,r=e&&Object(o["hasOwnProperty"])(e,"allowSampleDuplicates")?e.allowSampleDuplicates:void 0;t&&!isNaN(t)&&this.samplesGenerator.setSampleCount(parseInt(t,10)),r&&this.samplesGenerator.setAllowDuplicates(r)}recalculateAllColumnsWidth(){this.hot.view&&this.hot.view._wt.wtTable.isVisible()&&(this.clearCache(),this.calculateAllColumnsWidth())}getSyncCalculationLimit(){const e=this.hot.getSettings()[yr];let t=Mr.SYNC_CALCULATION_LIMIT;const r=this.hot.countCols()-1;return Object(o["isObject"])(e)&&(t=e.syncLimit,Object(p["isPercentValue"])(t)?t=Object(nt["valueAccordingPercent"])(r,t):t>>=0),Math.min(t,r)}getColumnWidth(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=t;return void 0===n&&(n=this.columnWidthsMap.getValueAtIndex(this.hot.toPhysicalColumn(e)),r&&"number"===typeof n&&(n=Math.max(n,lr["a"].DEFAULT_WIDTH))),n}getFirstVisibleColumn(){const e=this.hot.view._wt;if(e.wtViewport.columnsVisibleCalculator){const t=e.wtTable.getFirstVisibleColumn();if(-1!==t)return this.hot.columnIndexMapper.getVisualFromRenderableIndex(t)}if(e.wtViewport.columnsRenderCalculator){const t=e.wtTable.getFirstRenderedColumn();if(-1!==t)return this.hot.columnIndexMapper.getVisualFromRenderableIndex(t)}return-1}getLastVisibleColumn(){const e=this.hot.view._wt;if(e.wtViewport.columnsVisibleCalculator){const t=e.wtTable.getLastVisibleColumn();if(-1!==t)return this.hot.columnIndexMapper.getVisualFromRenderableIndex(t)}if(e.wtViewport.columnsRenderCalculator){const t=e.wtTable.getLastRenderedColumn();if(-1!==t)return this.hot.columnIndexMapper.getVisualFromRenderableIndex(t)}return-1}findColumnsWhereHeaderWasChanged(){const e=this.hot.getColHeader(),t=Object(d["arrayReduce"])(e,(e,t,r)=>{const n=vr(Sr,this).length;return(n-1<r||vr(Sr,this)[r]!==t)&&e.push(r),n-1<r?vr(Sr,this).push(t):vr(Sr,this)[r]=t,e},[]);return t}clearCache(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.length?this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.columnWidthsMap.setValueAtIndex(e,null)})},!0):this.columnWidthsMap.clear()}isNeedRecalculate(){return!!Object(d["arrayFilter"])(this.columnWidthsMap.getValues().slice(0,this.measuredColumns),e=>null===e).length}destroy(){this.ghostTable.clean(),super.destroy()}}function Tr(){this.calculateVisibleColumnsWidth(),this.isNeedRecalculate()&&!this.inProgress&&this.calculateAllColumnsWidth()}function Cr(){this.hot.view?this.recalculateAllColumnsWidth():setTimeout(()=>{this.hot&&this.recalculateAllColumnsWidth()},0)}function xr(e){const t=Object(d["arrayMap"])(e,e=>{let[,t]=e;return this.hot.toPhysicalColumn(this.hot.propToCol(t))});this.clearCache(Array.from(new Set(t)))}function Ar(e,t,r){let n=e;return r&&(this.calculateColumnsWidth(t,void 0,!0),n=this.getColumnWidth(t,void 0,!1)),n}function Nr(){gr(Sr,this,this.hot.getColHeader())}function Or(e){const t=Object(d["arrayFilter"])(e,e=>{var t;return Object(h["isDefined"])(null===(t=e.address)||void 0===t?void 0:t.col)}),r=Object(d["arrayMap"])(t,e=>e.address.col);this.clearCache(Array.from(new Set(r)))}const Rr={horizontal:"horizontal",vertical:"vertical"};function Lr(e,t,r){let n,i,a;return t[0]===e[0]&&t[1]<e[1]?(a="left",n=r(t[0],t[1]),i=r(t[2],e[1]-1)):t[2]===e[2]&&t[0]===e[0]&&t[3]>e[3]?(a="right",n=r(t[0],e[3]+1),i=r(t[2],t[3])):t[0]<e[0]&&t[1]===e[1]?(a="up",n=r(t[0],t[1]),i=r(e[0]-1,t[3])):t[2]>e[2]&&t[1]===e[1]&&(a="down",n=r(e[2]+1,t[1]),i=r(t[2],t[3])),n&&n.normalize(),i&&i.normalize(),{directionOfDrag:a,startOfDragCoords:n,endOfDragCoords:i}}function kr(e){const t={};return!0===e?(t.directions=Object.keys(Rr),t.autoInsertRow=!0):Object(o["isObject"])(e)?(Object(h["isDefined"])(e.autoInsertRow)?e.direction===Rr.horizontal?t.autoInsertRow=!1:t.autoInsertRow=e.autoInsertRow:t.autoInsertRow=!1,Object(h["isDefined"])(e.direction)?t.directions=[e.direction]:t.directions=Object.keys(Rr)):"string"===typeof e?(t.directions=[e],t.autoInsertRow=!0):(t.directions=[],t.autoInsertRow=!1),t}function Ir(e,t){Dr(e,t),t.add(e)}function Dr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Pr(e,t,r){return t=jr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jr(e){var t=Fr(e,"string");return"symbol"==typeof t?t:t+""}function Fr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Hr(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("modifyAutofillRange"),fe["a"].getSingleton().register("beforeAutofill"),fe["a"].getSingleton().register("afterAutofill");const Br="autofill",Ur=20,Vr=["fillHandle"],Yr="insert_row_below",zr=200;var Wr=new WeakSet;class qr extends er["a"]{constructor(){super(...arguments),Ir(this,Wr),Pr(this,"addingStarted",!1),Pr(this,"mouseDownOnCellCorner",!1),Pr(this,"mouseDragOutside",!1),Pr(this,"handleDraggedCells",0),Pr(this,"directions",[]),Pr(this,"autoInsertRow",!1)}static get PLUGIN_KEY(){return Br}static get PLUGIN_PRIORITY(){return Ur}static get SETTING_KEYS(){return[Br,...Vr]}isEnabled(){return this.hot.getSettings().fillHandle}enablePlugin(){this.enabled||(this.mapSettings(),this.registerEvents(),this.addHook("afterOnCellCornerMouseDown",e=>Hr(Wr,this,Kr).call(this,e)),this.addHook("afterOnCellCornerDblClick",e=>Hr(Wr,this,Gr).call(this,e)),this.addHook("beforeOnCellMouseOver",(e,t)=>Hr(Wr,this,Xr).call(this,t)),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.clearMappedSettings(),super.disablePlugin()}getSelectionData(){const e=this.hot.getSelectedRangeLast(),{row:t,col:r}=e.getTopStartCorner(),{row:n,col:i}=e.getBottomEndCorner(),a=this.hot.runHooks("modifyCopyableRange",[{startRow:t,startCol:r,endRow:n,endCol:i}]),o=[],s=[],l=[];return Object(d["arrayEach"])(a,e=>{for(let t=e.startRow;t<=e.endRow;t+=1)-1===o.indexOf(t)&&o.push(t);for(let t=e.startCol;t<=e.endCol;t+=1)-1===s.indexOf(t)&&s.push(t)}),Object(d["arrayEach"])(o,e=>{const t=[];Object(d["arrayEach"])(s,r=>{t.push(this.hot.getCopyableData(e,r))}),l.push(t)}),l}fillIn(){if(this.hot.selection.highlight.getFill().isEmpty())return!1;const[e,t,r,n]=this.hot.selection.highlight.getFill().getVisualCorners(),i=this.hot.getSelectedRangeLast(),a=i.getTopStartCorner(),o=i.getBottomEndCorner();this.resetSelectionOfDraggedArea();const s=[a.row,a.col,o.row,o.col],l=this.hot.runHooks("modifyAutofillRange",[Math.min(a.row,e),Math.min(a.col,t),Math.max(o.row,r),Math.max(o.col,n)],s),{directionOfDrag:u,startOfDragCoords:c,endOfDragCoords:d}=Lr(s,l,(e,t)=>this.hot._createCellCoords(e,t));if(c&&c.row>-1&&c.col>-1){const e=this.getSelectionData(),t=i.clone(),r=this.hot._createCellRange(c,c,d),n=this.hot.runHooks("beforeAutofill",e,t,r,u);if(!1===n)return this.hot.selection.highlight.getFill().clear(),this.hot.render(),!1;let a=n;const o=n;if(["up","left"].indexOf(u)>-1&&(1!==o.length||0!==o[0].length))if(a=[],"up"===u){const e=d.row-c.row+1,t=e%o.length;for(let r=0;r<e;r++)a.push(o[(r+(o.length-t))%o.length])}else{const e=d.col-c.col+1,t=e%o[0].length;for(let r=0;r<o.length;r++){a.push([]);for(let n=0;n<e;n++)a[r].push(o[r][(n+(o[r].length-t))%o[r].length])}}this.hot.populateFromArray(c.row,c.col,a,d.row,d.col,this.pluginName+".fill",null),this.setSelection(l),this.hot.runHooks("afterAutofill",a,t,r,u),this.hot.render()}else this.hot._refreshBorders();return!0}reduceSelectionAreaIfNeeded(e){return e.row<0&&(e.row=0),e.col<0&&(e.col=0),e}getCoordsOfDragAndDropBorders(e){const t=this.hot.getSelectedRangeLast(),r=t.getBottomEndCorner();let n=e;if(this.directions.includes(Rr.vertical)&&this.directions.includes(Rr.horizontal)){const i=t.getTopStartCorner();(r.col<=e.col||i.col>=e.col)&&(n=this.hot._createCellCoords(r.row,e.col)),(r.row<e.row||i.row>e.row)&&(n=this.hot._createCellCoords(e.row,r.col))}else if(this.directions.includes(Rr.vertical))n=this.hot._createCellCoords(e.row,r.col);else{if(!this.directions.includes(Rr.horizontal))return;n=this.hot._createCellCoords(r.row,e.col)}return this.reduceSelectionAreaIfNeeded(n)}showBorder(e){const t=this.getCoordsOfDragAndDropBorders(e);t&&this.redrawBorders(t)}addRow(){this.hot._registerTimeout(()=>{this.hot.alter(Yr,void 0,1,this.pluginName+".fill"),this.addingStarted=!1},zr)}addNewRowIfNeeded(){if(!this.hot.selection.highlight.getFill().isEmpty()&&!1===this.addingStarted&&this.autoInsertRow){const e=this.hot.getSelectedLast(),t=this.hot.selection.highlight.getFill().getVisualCorners(),r=this.hot.countRows();e[2]<r-1&&t[2]===r-1&&(this.addingStarted=!0,this.addRow())}}getIndexOfLastAdjacentFilledInRow(e){const t=this.hot.getData(),r=this.hot.countRows();let n;for(let i=e[2]+1;i<r;i++){for(let n=e[1];n<=e[3];n++){const e=t[i][n];if(!Object(h["isEmpty"])(e))return-1}const r=t[i][e[1]-1],a=t[i][e[3]+1];Object(h["isEmpty"])(r)&&Object(h["isEmpty"])(a)||(n=i)}return n}addSelectionFromStartAreaToSpecificRowIndex(e,t){this.hot.selection.highlight.getFill().clear().add(this.hot._createCellCoords(e[0],e[1])).add(this.hot._createCellCoords(t,e[3])).commit()}setSelection(e){this.hot.selectCell(...Object(d["arrayMap"])(e,e=>Math.max(e,0)),!1,!1)}selectAdjacent(){const e=this.hot.getSelectedLast(),t=this.getIndexOfLastAdjacentFilledInRow(e);return-1!==t&&void 0!==t&&(this.addSelectionFromStartAreaToSpecificRowIndex(e,t),!0)}resetSelectionOfDraggedArea(){this.handleDraggedCells=0,this.hot.selection.highlight.getFill().clear()}redrawBorders(e){this.hot.selection.highlight.getFill().clear().add(this.hot.getSelectedRangeLast().from).add(this.hot.getSelectedRangeLast().to).add(e).commit(),this.hot.view.render()}getIfMouseWasDraggedOutside(e){const{documentElement:t}=this.hot.rootDocument,r=Object(i["offset"])(this.hot.table).top-(this.hot.rootWindow.pageYOffset||t.scrollTop)+Object(i["outerHeight"])(this.hot.table),n=Object(i["offset"])(this.hot.table).left-(this.hot.rootWindow.pageXOffset||t.scrollLeft)+Object(i["outerWidth"])(this.hot.table);return e.clientY>r&&e.clientX<=n}registerEvents(){const{documentElement:e}=this.hot.rootDocument;this.eventManager.addEventListener(e,"mouseup",()=>Hr(Wr,this,Zr).call(this)),this.eventManager.addEventListener(e,"mousemove",e=>Hr(Wr,this,$r).call(this,e))}clearMappedSettings(){this.directions.length=0,this.autoInsertRow=!1}mapSettings(){const e=kr(this.hot.getSettings().fillHandle);this.directions=e.directions,this.autoInsertRow=e.autoInsertRow}destroy(){super.destroy()}}function Gr(){const e=this.selectAdjacent();e&&this.fillIn()}function Kr(){this.handleDraggedCells=1,this.mouseDownOnCellCorner=!0}function Xr(e){this.mouseDownOnCellCorner&&!this.hot.view.isMouseDown()&&this.handleDraggedCells&&(this.handleDraggedCells+=1,this.showBorder(e),this.addNewRowIfNeeded())}function Zr(){this.handleDraggedCells&&(this.handleDraggedCells>1&&this.fillIn(),this.handleDraggedCells=0,this.mouseDownOnCellCorner=!1)}function $r(e){const t=this.getIfMouseWasDraggedOutside(e);!1===this.addingStarted&&this.handleDraggedCells>0&&t?(this.mouseDragOutside=!0,this.addingStarted=!0):this.mouseDragOutside=!1,this.mouseDragOutside&&this.autoInsertRow&&this.addRow()}function Jr(e,t){Qr(e,t),t.add(e)}function Qr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function en(e,t,r){return t=tn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tn(e){var t=rn(e,"string");return"symbol"==typeof t?t:t+""}function rn(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function nn(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const an="autoRowSize",on=40,sn="autoRowSize";var ln=new WeakSet;class un extends er["a"]{static get PLUGIN_KEY(){return an}static get PLUGIN_PRIORITY(){return on}static get SETTING_KEYS(){return!0}static get CALCULATION_STEP(){return 50}static get SYNC_CALCULATION_LIMIT(){return 500}constructor(e){super(e),Jr(this,ln),en(this,"headerHeight",null),en(this,"ghostTable",new rr["a"](this.hot)),en(this,"samplesGenerator",new sr((e,t)=>{const r=this.hot.toPhysicalRow(e),n=this.hot.toPhysicalColumn(t);if(this.hot.rowIndexMapper.isHidden(r)||this.hot.columnIndexMapper.isHidden(n))return!1;if(e>=0&&t>=0){const r=this.hot.getCellMeta(e,t);if(r.hidden)return!1}let i;return e>=0?i=this.hot.getDataAtCell(e,t):-1===e&&(i=this.hot.getColHeader(t)),{value:i}})),en(this,"firstCalculation",!0),en(this,"inProgress",!1),en(this,"measuredRows",0),en(this,"rowHeightsMap",new ur["a"]),this.hot.rowIndexMapper.registerMap(sn,this.rowHeightsMap),this.addHook("beforeRowResize",(e,t,r)=>nn(ln,this,dn).call(this,e,t,r))}isEnabled(){const e=this.hot.getSettings()[an];return!0===e||Object(o["isObject"])(e)}enablePlugin(){var e=this;this.enabled||(this.setSamplingOptions(),this.addHook("afterLoadData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return nn(ln,e,hn).call(e,...r)})),this.addHook("beforeChangeRender",e=>nn(ln,this,pn).call(this,e)),this.addHook("beforeColumnResize",()=>this.recalculateAllRowsHeight()),this.addHook("beforeViewRender",e=>nn(ln,this,cn).call(this,e)),this.addHook("modifyRowHeight",(e,t)=>this.getRowHeight(t,e)),this.addHook("modifyColumnHeaderHeight",()=>this.getColumnHeaderHeight()),super.enablePlugin())}disablePlugin(){this.headerHeight=null,super.disablePlugin(),this.addHook("beforeRowResize",(e,t,r)=>nn(ln,this,dn).call(this,e,t,r))}calculateRowsHeight(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countRows()-1},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:0,to:this.hot.countCols()-1},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n="number"===typeof e?{from:e,to:e}:e,i="number"===typeof t?{from:t,to:t}:t;if(null!==this.hot.getColHeader(0)){const e=this.samplesGenerator.generateRowSamples(-1,i);this.ghostTable.addColumnHeadersRow(e.get(-1))}Object(nt["rangeEach"])(n.from,n.to,e=>{if(r||null===this.rowHeightsMap.getValueAtIndex(e)){const t=this.samplesGenerator.generateRowSamples(e,i);Object(d["arrayEach"])(t,e=>{let[t,r]=e;return this.ghostTable.addRow(t,r)})}}),this.ghostTable.rows.length&&(this.hot.batchExecution(()=>{this.ghostTable.getHeights((e,t)=>{e<0?this.headerHeight=t:this.rowHeightsMap.setValueAtIndex(this.hot.toPhysicalRow(e),t)})},!0),this.measuredRows=n.to+1,this.ghostTable.clean())}calculateAllRowsHeight(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countCols()-1},t=0;const r=this.hot.countRows()-1;let n=null;this.inProgress=!0;const i=()=>{if(!this.hot)return Object(tr["cancelAnimationFrame"])(n),void(this.inProgress=!1);this.calculateRowsHeight({from:t,to:Math.min(t+un.CALCULATION_STEP,r)},e),t=t+un.CALCULATION_STEP+1,t<r?n=Object(tr["requestAnimationFrame"])(i):(Object(tr["cancelAnimationFrame"])(n),this.inProgress=!1,this.hot.view.adjustElementsSize(!0),this.hot.view._wt.wtOverlays.inlineStartOverlay.needFullRender&&this.hot.view._wt.wtOverlays.inlineStartOverlay.clone.draw())},a=this.getSyncCalculationLimit();this.firstCalculation&&a>=0&&(this.calculateRowsHeight({from:0,to:a},e),this.firstCalculation=!1,t=a+1),t<r?i():(this.inProgress=!1,this.hot.view.adjustElementsSize(!1))}setSamplingOptions(){const e=this.hot.getSettings()[an],t=e&&Object(o["hasOwnProperty"])(e,"samplingRatio")?e.samplingRatio:void 0,r=e&&Object(o["hasOwnProperty"])(e,"allowSampleDuplicates")?e.allowSampleDuplicates:void 0;t&&!isNaN(t)&&this.samplesGenerator.setSampleCount(parseInt(t,10)),r&&this.samplesGenerator.setAllowDuplicates(r)}recalculateAllRowsHeight(){Object(i["isVisible"])(this.hot.view._wt.wtTable.TABLE)&&(this.clearCache(),this.calculateAllRowsHeight())}getSyncCalculationLimit(){const e=this.hot.getSettings()[an];let t=un.SYNC_CALCULATION_LIMIT;const r=this.hot.countRows()-1;return Object(o["isObject"])(e)&&(t=e.syncLimit,Object(p["isPercentValue"])(t)?t=Object(nt["valueAccordingPercent"])(r,t):t>>=0),Math.min(t,r)}getRowHeight(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const r=e<0?this.headerHeight:this.rowHeightsMap.getValueAtIndex(this.hot.toPhysicalRow(e));let n=t;return null!==r&&r>(t||0)&&(n=r),n}getColumnHeaderHeight(){return this.headerHeight}getFirstVisibleRow(){const e=this.hot.view._wt;return e.wtViewport.rowsVisibleCalculator?e.wtTable.getFirstVisibleRow():e.wtViewport.rowsRenderCalculator?e.wtTable.getFirstRenderedRow():-1}getLastVisibleRow(){const e=this.hot.view._wt;return e.wtViewport.rowsVisibleCalculator?e.wtTable.getLastVisibleRow():e.wtViewport.rowsRenderCalculator?e.wtTable.getLastRenderedRow():-1}clearCache(){this.headerHeight=null,this.rowHeightsMap.init()}clearCacheByRange(e){const{from:t,to:r}="number"===typeof e?{from:e,to:e}:e;this.hot.batchExecution(()=>{Object(nt["rangeEach"])(Math.min(t,r),Math.max(t,r),e=>{this.rowHeightsMap.setValueAtIndex(e,null)})},!0)}isNeedRecalculate(){return!!Object(d["arrayFilter"])(this.rowHeightsMap.getValues().slice(0,this.measuredRows),e=>null===e).length}destroy(){this.ghostTable.clean(),super.destroy()}}function cn(){const e=this.hot.renderCall,t=this.hot.getSettings().fixedRowsBottom,r=this.getFirstVisibleRow(),n=this.getLastVisibleRow();if(-1!==r&&-1!==n){if(this.calculateRowsHeight({from:r,to:n},void 0,e),t){const e=this.hot.countRows()-1;this.calculateRowsHeight({from:e-t,to:e})}this.isNeedRecalculate()&&!this.inProgress&&this.calculateAllRowsHeight()}}function dn(e,t,r){let n=e;return r&&(this.calculateRowsHeight(t,void 0,!0),n=this.getRowHeight(t)),n}function hn(){this.hot.view?this.recalculateAllRowsHeight():this.hot._registerTimeout(()=>{this.hot&&this.recalculateAllRowsHeight()})}function pn(e){let t=null;1===e.length?t=e[0][0]:e.length>1&&(t={from:e[0][0],to:e[e.length-1][0]}),null!==t&&this.clearCacheByRange(t)}var fn=r("bdd7"),mn=r("1096"),gn=r("a73f");const{getListWithInsertedItems:vn,getListWithRemovedItems:bn}=Object(fn["a"])("physicallyIndexed");class yn extends mn["a"]{constructor(){super(e=>e)}insert(e,t){const r=Object(gn["b"])(this.indexedValues,t);this.indexedValues=vn(r,e,t,this.initValueOrFn),super.insert(e,t)}remove(e){const t=bn(this.indexedValues,e);this.indexedValues=Object(gn["a"])(t,e),super.remove(e)}}var wn=yn;const{getListWithInsertedItems:_n,getListWithRemovedItems:Sn}=Object(fn["a"])("physicallyIndexed");class En extends mn["a"]{constructor(){super(e=>e)}insert(e,t){this.indexedValues=_n(this.indexedValues,e,t,(e,t)=>this.getNextValue(t)),super.insert(e,t)}remove(e){this.indexedValues=Sn(this.indexedValues,e),super.remove(e)}getNextValue(e){return Math.max(...this.getValues())+1+e}}var Mn=En;function Tn(e,t){Cn(e,t),t.add(e)}function Cn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xn(e,t,r){return t=An(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function An(e){var t=Nn(e,"string");return"symbol"==typeof t?t:t+""}function Nn(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function On(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Rn="bindRowsWithHeaders",Ln=210,kn="loose",In=new Map([["loose",wn],["strict",Mn]]);var Dn=new WeakSet;class Pn extends er["a"]{constructor(){super(...arguments),Tn(this,Dn),xn(this,"headerIndexes",null)}static get PLUGIN_KEY(){return Rn}static get PLUGIN_PRIORITY(){return Ln}isEnabled(){return!!this.hot.getSettings()[Rn]}enablePlugin(){if(this.enabled)return;let e=this.hot.getSettings()[Rn];"string"!==typeof e&&(e=kn);const t=In.get(e);this.headerIndexes=this.hot.rowIndexMapper.registerMap("bindRowsWithHeaders",new t),this.addHook("modifyRowHeader",e=>On(Dn,this,jn).call(this,e)),super.enablePlugin()}disablePlugin(){this.hot.rowIndexMapper.unregisterMap("bindRowsWithHeaders"),super.disablePlugin()}destroy(){super.destroy()}}function jn(e){return this.headerIndexes.getValueAtIndex(this.hot.toPhysicalRow(e))}var Fn=r("bd5e");function Hn(e,t){Un(e,t),t.add(e)}function Bn(e,t,r){Un(e,t),t.set(e,r)}function Un(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vn(e,t,r){return t=Yn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yn(e){var t=zn(e,"string");return"symbol"==typeof t?t:t+""}function zn(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Wn(e,t){return e.get(Gn(e,t))}function qn(e,t,r){return e.set(Gn(e,t),r),r}function Gn(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Kn="collapsibleColumns",Xn=290,Zn=["nestedHeaders"],$n="collapsibleIndicator",Jn=Kn,Qn=new Map([["collapse",{hideColumn:!0,beforeHook:"beforeColumnCollapse",afterHook:"afterColumnCollapse"}],["expand",{hideColumn:!1,beforeHook:"beforeColumnExpand",afterHook:"afterColumnExpand"}]]);var ei=new WeakMap,ti=new WeakSet;class ri extends er["a"]{constructor(){super(...arguments),Hn(this,ti),Vn(this,"nestedHeadersPlugin",null),Vn(this,"headerStateManager",null),Bn(this,ei,null)}static get PLUGIN_KEY(){return Kn}static get PLUGIN_PRIORITY(){return Xn}static get PLUGIN_DEPS(){return["plugin:NestedHeaders"]}static get SETTING_KEYS(){return[Kn,...Zn]}isEnabled(){return!!this.hot.getSettings()[Kn]}enablePlugin(){var e=this;if(this.enabled)return;const{nestedHeaders:t}=this.hot.getSettings();t||Object(Fn["b"])("You need to configure the Nested Headers plugin in order to use collapsible headers."),qn(ei,this,this.hot.columnIndexMapper.createAndRegisterIndexMap(this.pluginName,"hiding")),this.nestedHeadersPlugin=this.hot.getPlugin("nestedHeaders"),this.headerStateManager=this.nestedHeadersPlugin.getStateManager(),this.addHook("init",()=>Gn(ti,this,ai).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Gn(ti,e,oi).call(e,...r)})),this.addHook("afterGetColHeader",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Gn(ti,e,ni).call(e,...r)})),this.addHook("beforeOnCellMouseDown",(e,t,r)=>Gn(ti,this,ii).call(this,e,t,r)),this.registerShortcuts(),super.enablePlugin(),this.updatePlugin()}updatePlugin(){if(this.hot.view){if(!this.nestedHeadersPlugin.detectedOverlappedHeaders){const{collapsibleColumns:e}=this.hot.getSettings();"boolean"===typeof e?this.headerStateManager.mapState(e=>({collapsible:e.origColspan>1})):Array.isArray(e)&&(this.headerStateManager.mapState(()=>({collapsible:!1})),this.headerStateManager.mergeStateWith(e))}super.updatePlugin()}}disablePlugin(){this.hot.columnIndexMapper.unregisterMap(this.pluginName),qn(ei,this,null),this.nestedHeadersPlugin=null,this.unregisterShortcuts(),this.clearButtons(),super.disablePlugin()}registerShortcuts(){this.hot.getShortcutManager().getContext("grid").addShortcut({keys:[["Enter"]],callback:()=>{var e;const{row:t,col:r}=this.hot.getSelectedRangeLast().highlight,{collapsible:n,isCollapsed:i,columnIndex:a}=null!==(e=this.headerStateManager.getHeaderTreeNodeData(t,r))&&void 0!==e?e:{};if(n)return i?this.expandSection({row:t,col:a}):this.collapseSection({row:t,col:a}),!1},runOnlyIf:()=>{var e,t;return(null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.isSingle())&&(null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.highlight.isHeader())},group:Jn,relativeToGroup:je["a"],position:"before"})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(Jn)}clearButtons(){if(!this.hot.view)return;const e=this.hot.view._wt.getSetting("columnHeaders").length,t=this.hot.view._wt.wtTable.THEAD,r=this.hot.view._wt.wtOverlays.topOverlay.clone.wtTable.THEAD,n=this.hot.view._wt.wtOverlays.topInlineStartCornerOverlay?this.hot.view._wt.wtOverlays.topInlineStartCornerOverlay.clone.wtTable.THEAD:null,i=function(e){e&&e.parentNode.removeChild(e)};Object(nt["rangeEach"])(0,e-1,e=>{const a=t.childNodes[e],o=r.childNodes[e],s=n?n.childNodes[e]:null;Object(nt["rangeEach"])(0,a.childNodes.length-1,e=>{let t=a.childNodes[e].querySelector("."+$n);i(t),o&&o.childNodes[e]&&(t=o.childNodes[e].querySelector("."+$n),i(t)),n&&s&&s.childNodes[e]&&(t=s.childNodes[e].querySelector("."+$n),i(t))})},!0)}expandSection(e){this.toggleCollapsibleSection([e],"expand")}collapseSection(e){this.toggleCollapsibleSection([e],"collapse")}toggleAllCollapsibleSections(e){const t=this.headerStateManager.mapNodes(t=>{const{collapsible:r,origColspan:n,headerLevel:i,columnIndex:a,isCollapsed:o}=t;if(!0===r&&n>1&&(o&&"expand"===e||!o&&"collapse"===e))return{row:this.headerStateManager.levelToRowCoords(i),col:a}});this.toggleCollapsibleSection(t,e)}collapseAll(){this.toggleAllCollapsibleSections("collapse")}expandAll(){this.toggleAllCollapsibleSections("expand")}toggleCollapsibleSection(e,t){if(!Qn.has(t))throw new Error(`Unsupported action is passed (${t}).`);if(!Array.isArray(e))return;const r=Object(d["arrayFilter"])(e,e=>{let{row:t}=e;return t<0});let n=r.length>0;Object(d["arrayEach"])(r,e=>{var r;let{row:i,col:a}=e;const{collapsible:o,isCollapsed:s}=null!==(r=this.headerStateManager.getHeaderSettings(i,a))&&void 0!==r?r:{};if(!o||s&&"collapse"===t||!s&&"expand"===t)return n=!1,!1});const i=[],a=[];n&&Object(d["arrayEach"])(r,e=>{let{row:r,col:n}=e;const{colspanCompensation:o,affectedColumns:s,rollbackModification:l}=this.headerStateManager.triggerNodeModification(t,r,n);o>0&&(a.push(...s),i.push(l))});const o=this.getCollapsedColumns();let s=[];"collapse"===t?s=Object(d["arrayUnique"])([...o,...a]):"expand"===t&&(s=Object(d["arrayFilter"])(o,e=>!a.includes(e)));const l=Qn.get(t),u=this.hot.runHooks(l.beforeHook,o,s,n);if(!1===u)return void Object(d["arrayEach"])(i,e=>{e()});this.hot.batchExecution(()=>{Object(d["arrayEach"])(a,e=>{Wn(ei,this).setValueAtIndex(this.hot.toPhysicalColumn(e),l.hideColumn)})},!0);const c=this.getCollapsedColumns().length!==o.length,h=this.hot.getSelectedRangeLast();if("collapse"===t&&c&&h){const{row:e,col:t}=h.highlight,r=this.hot.rowIndexMapper.isHidden(e)||this.hot.columnIndexMapper.isHidden(t);if(r&&a.includes(t)){const r=e>=0?this.hot.rowIndexMapper.getNearestNotHiddenIndex(e,1,!0):e,n=t>=0?this.hot.columnIndexMapper.getNearestNotHiddenIndex(t,1,!0):t;null!==r&&null!==n&&this.hot.selectCell(r,n)}}this.hot.runHooks(l.afterHook,o,s,n,c),this.hot.render(),this.hot.view.adjustElementsSize(!0)}getCollapsedColumns(){return Wn(ei,this).getHiddenIndexes()}destroy(){qn(ei,this,null),super.destroy()}}function ni(e,t,r){var n;const{collapsible:a,origColspan:o,isCollapsed:s}=null!==(n=this.headerStateManager.getHeaderSettings(r,e))&&void 0!==n?n:{},l=a&&o>1&&e>=this.hot.getSettings().fixedColumnsStart,u=this.hot.getSettings().ariaTags;let c=t.querySelector("."+$n);var d;(Object(i["removeAttribute"])(t,[Object(v["k"])("")[0]]),l)?(c||(c=this.hot.rootDocument.createElement("div"),Object(i["addClass"])(c,$n),t.querySelector("div:first-child").appendChild(c)),Object(i["removeClass"])(c,["collapsed","expanded"]),s?(Object(i["addClass"])(c,"collapsed"),Object(i["fastInnerText"])(c,"+"),u&&Object(i["setAttribute"])(t,...Object(v["k"])(!1))):(Object(i["addClass"])(c,"expanded"),Object(i["fastInnerText"])(c,"-"),u&&Object(i["setAttribute"])(t,...Object(v["k"])(!0))),u&&Object(i["setAttribute"])(c,...Object(v["n"])())):null===(d=c)||void 0===d||d.remove()}function ii(e,t){Object(i["hasClass"])(e.target,$n)&&(Object(i["hasClass"])(e.target,"expanded")?(this.eventManager.fireEvent(e.target,"mouseup"),this.toggleCollapsibleSection([t],"collapse")):Object(i["hasClass"])(e.target,"collapsed")&&(this.eventManager.fireEvent(e.target,"mouseup"),this.toggleCollapsibleSection([t],"expand")),Object(a["stopImmediatePropagation"])(e))}function ai(){this.updatePlugin()}function oi(e,t){t||this.updatePlugin()}var si=r("97b9"),li=r("1b1a"),ui=r("9056");function ci(e,t,r){return t=di(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e){var t=hi(e,"string");return"symbol"==typeof t?t:t+""}function hi(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const pi=["sortEmptyCells","indicator","headerAction","compareFunctionFactory"],fi=!1,mi=!0,gi=!0;class vi{constructor(e,t){ci(this,"hot",void 0),ci(this,"sortingStates",new ui["a"]),ci(this,"sortEmptyCells",fi),ci(this,"indicator",mi),ci(this,"headerAction",gi),ci(this,"compareFunctionFactory",void 0),ci(this,"mapName",void 0),this.hot=e,this.mapName=t,this.hot.columnIndexMapper.registerMap(t,this.sortingStates)}updateAllColumnsProperties(e){Object(o["isObject"])(e)&&Object(o["objectEach"])(e,(e,t)=>{pi.includes(t)&&(this[t]=e)})}getAllColumnsProperties(){const e={sortEmptyCells:this.sortEmptyCells,indicator:this.indicator,headerAction:this.headerAction};return"function"===typeof this.compareFunctionFactory&&(e.compareFunctionFactory=this.compareFunctionFactory),e}getSortOrderOfColumn(e){var t;return null===(t=this.sortingStates.getValueAtIndex(this.hot.toPhysicalColumn(e)))||void 0===t?void 0:t.sortOrder}getIndexOfColumnInSortQueue(e){return e=this.hot.toPhysicalColumn(e),this.sortingStates.getEntries().findIndex(t=>{let[r]=t;return r===e})}getNumberOfSortedColumns(){return this.sortingStates.getLength()}isListOfSortedColumnsEmpty(){return 0===this.getNumberOfSortedColumns()}isColumnSorted(e){return Object(o["isObject"])(this.sortingStates.getValueAtIndex(this.hot.toPhysicalColumn(e)))}getSortStates(){if(null===this.sortingStates)return[];const e=this.sortingStates.getEntries();return e.map(e=>{let[t,r]=e;return{column:this.hot.toVisualColumn(t),...r}})}getColumnSortState(e){const t=this.getSortOrderOfColumn(e);if(Object(h["isDefined"])(t))return{column:e,sortOrder:t}}setSortStates(e){this.sortingStates.clear();for(let t=0;t<e.length;t+=1)this.sortingStates.setValueAtIndex(this.hot.toPhysicalColumn(e[t].column),{sortOrder:e[t].sortOrder})}destroy(){this.hot.columnIndexMapper.unregisterMap(this.mapName),this.sortingStates=null}}const bi="asc",yi="desc",wi="colHeader";function _i(e){if(!1===Object(o["isObject"])(e))return!1;const{column:t,sortOrder:r}=e;return Number.isInteger(t)&&[bi,yi].includes(r)}function Si(e){if(e.some(e=>!1===_i(e)))return!1;const t=e.map(e=>{let{column:t}=e;return t});return new Set(t).size===t.length}function Ei(e){if(e!==yi)return e===bi?yi:bi}function Mi(e){const t=e.querySelector("."+wi);return t}function Ti(e,t){if(e<0||!t.parentNode)return!1;const r=t.parentNode.parentNode.childNodes,n=Array.from(r).indexOf(t.parentNode)-r.length;return-1===n}function Ci(e,t,r){return-1===e&&t>=0&&!1===Object(a["isRightClick"])(r)}const xi="ascending",Ai="descending",Ni="indicatorDisabled",Oi="columnSorting",Ri="sortAction",Li=new Map([[bi,xi],[yi,Ai]]);function ki(e,t,r,n){const i=[Oi];if(n&&i.push(Ri),!1===r)return i.push(Ni),i;const a=e.getSortOrderOfColumn(t);return Object(h["isDefined"])(a)&&i.push(Li.get(a)),i}function Ii(){return Array.from(Li.values()).concat(Ri,Ni,Oi)}const Di=0,Pi=-1,ji=1;function Fi(e,t){const r=Ji(t);for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];e.sort(r(...i))}function Hi(e,t,r){const n=t.locale;return function(t,i){const{sortEmptyCells:a}=r;return"string"===typeof t&&(t=t.toLocaleLowerCase(n)),"string"===typeof i&&(i=i.toLocaleLowerCase(n)),t===i?Di:Object(h["isEmpty"])(t)?Object(h["isEmpty"])(i)?Di:a&&"asc"===e?Pi:ji:Object(h["isEmpty"])(i)?a&&"asc"===e?ji:Pi:isNaN(t)&&!isNaN(i)?"asc"===e?ji:Pi:!isNaN(t)&&isNaN(i)?"asc"===e?Pi:ji:(isNaN(t)||isNaN(i)||(t=parseFloat(t),i=parseFloat(i)),t<i?"asc"===e?Pi:ji:t>i?"asc"===e?ji:Pi:Di)}}const Bi="default";function Ui(e,t,r){return function(t,n){const i=parseFloat(t),a=parseFloat(n),{sortEmptyCells:o}=r;if(i===a||isNaN(i)&&isNaN(a))return Di;if(o){if(Object(h["isEmpty"])(t))return"asc"===e?Pi:ji;if(Object(h["isEmpty"])(n))return"asc"===e?ji:Pi}return isNaN(i)?ji:isNaN(a)?Pi:i<a?"asc"===e?Pi:ji:i>a?"asc"===e?ji:Pi:Di}}const Vi="numeric";function Yi(e,t,r){const n=t.checkedTemplate,i=t.uncheckedTemplate,{sortEmptyCells:a}=r;return function(o,s){const l=Object(h["isEmpty"])(o),u=Object(h["isEmpty"])(s),c=l?i:o,d=u?i:s,p=c===i||c===n,f=d===i||d===n;if(!1===a){if(l&&!1===u)return ji;if(!1===l&&u)return Pi}return!1===p&&f?"asc"===e?Pi:ji:p&&!1===f?"asc"===e?ji:Pi:!1===p&&!1===f?Hi(e,t,r)(o,s):c===i&&d===n?"asc"===e?Pi:ji:c===n&&d===i?"asc"===e?ji:Pi:Di}}const zi="checkbox";function Wi(e,t,r){return function(n,i){const{sortEmptyCells:a}=r;if(n===i)return Di;if(Object(h["isEmpty"])(n))return Object(h["isEmpty"])(i)?Di:a&&"asc"===e?Pi:ji;if(Object(h["isEmpty"])(i))return a&&"asc"===e?ji:Pi;const o=t.dateFormat,s=R(n,o),l=R(i,o);return s.isValid()?l.isValid()?l.isAfter(s)?"asc"===e?Pi:ji:l.isBefore(s)?"asc"===e?ji:Pi:Di:Pi:ji}}const qi="date";var Gi=r("9acd");const{register:Ki,getItem:Xi,hasItem:Zi}=Object(Gi["a"])("sorting.compareFunctionFactory"),{register:$i,getItem:Ji}=Object(Gi["a"])("sorting.mainSortComparator");function Qi(e){return Zi(e)?Xi(e):Xi(Bi)}function ea(e,t){return function(r,n){const[,...i]=r,[,...a]=n;return function(r){const n=e[r],o=t[r],s=i[r],l=a[r],u=o.columnSorting,c=u.compareFunctionFactory?u.compareFunctionFactory:Qi(o.type),d=c(n,o,u)(s,l);return d}(0)}}function ta(e,t){ra(e,t),t.add(e)}function ra(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function na(e,t,r){return t=ia(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){var t=aa(e,"string");return"symbol"==typeof t?t:t+""}function aa(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function oa(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Ki(Vi,Ui),Ki(zi,Yi),Ki(qi,Wi),Ki(Bi,Hi);const sa="columnSorting",la=50,ua="append",ca="replace",da=sa;$i(sa,ea),fe["a"].getSingleton().register("beforeColumnSort"),fe["a"].getSingleton().register("afterColumnSort");var ha=new WeakSet;class pa extends er["a"]{constructor(){super(...arguments),ta(this,ha),na(this,"columnStatesManager",null),na(this,"columnMetaCache",null),na(this,"pluginKey",sa),na(this,"indexesSequenceCache",null)}static get PLUGIN_KEY(){return sa}static get PLUGIN_PRIORITY(){return la}isEnabled(){return!!this.hot.getSettings()[this.pluginKey]}enablePlugin(){var e=this;this.enabled||(this.columnStatesManager=new vi(this.hot,this.pluginKey+".sortingStates"),this.columnMetaCache=new ur["a"](e=>{let t=this.hot.toVisualColumn(e);return null===t&&(t=e),this.getMergedPluginSettings(t)}),this.hot.columnIndexMapper.registerMap(this.pluginKey+".columnMeta",this.columnMetaCache),this.addHook("afterGetColHeader",(e,t)=>oa(ha,this,ma).call(this,e,t)),this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return oa(ha,e,va).call(e,...r)})),this.addHook("afterOnCellMouseDown",(e,t)=>this.onAfterOnCellMouseDown(e,t)),this.addHook("afterInit",()=>oa(ha,this,fa).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return oa(ha,e,ga).call(e,...r)})),this.hot.view&&oa(ha,this,fa).call(this),this.registerShortcuts(),super.enablePlugin())}disablePlugin(){const e=(e,t)=>{const r=Mi(t);!1!==Ti(e,t)&&null!==r&&this.updateHeaderClasses(r)};this.hot.addHook("afterGetColHeader",e),this.hot.addHookOnce("afterViewRender",()=>{this.hot.removeHook("afterGetColHeader",e)}),this.hot.batchExecution(()=>{null!==this.indexesSequenceCache&&(this.hot.rowIndexMapper.setIndexesSequence(this.indexesSequenceCache.getValues()),this.hot.rowIndexMapper.unregisterMap(this.pluginKey))},!0),this.hot.columnIndexMapper.unregisterMap(this.pluginKey+".columnMeta"),this.columnStatesManager.destroy(),this.columnMetaCache=null,this.columnStatesManager=null,this.unregisterShortcuts(),super.disablePlugin()}registerShortcuts(){this.hot.getShortcutManager().getContext("grid").addShortcut({keys:[["Enter"]],callback:()=>{const{highlight:e}=this.hot.getSelectedRangeLast();return this.sort(this.getColumnNextConfig(e.col)),!1},runOnlyIf:()=>{var e,t;const r=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return r&&(null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.isSingle())&&this.hot.selection.isCellVisible(r)&&-1===r.row&&r.col>=0},relativeToGroup:je["a"],position:"before",group:da})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(da)}sort(e){const t=this.getSortConfig(),r=this.getNormalizedSortConfigs(e),n=this.areValidSortConfigs(r),i=this.hot.runHooks("beforeColumnSort",t,r,n);!1!==i&&(0===t.length&&null===this.indexesSequenceCache&&(this.indexesSequenceCache=this.hot.rowIndexMapper.registerMap(this.pluginKey,new li["a"]),this.indexesSequenceCache.setValues(this.hot.rowIndexMapper.getIndexesSequence())),n&&(this.columnStatesManager.setSortStates(r),this.sortByPresetSortStates(r),this.saveAllSortSettings(r)),this.hot.runHooks("afterColumnSort",t,n?r:t,n),n&&(this.hot.render(),this.hot.forceFullRender=!1,this.hot.view.render()))}clearSort(){this.sort([])}isSorted(){return this.enabled&&!this.columnStatesManager.isListOfSortedColumnsEmpty()}getSortConfig(e){return Object(h["isDefined"])(e)?this.columnStatesManager.getColumnSortState(e):this.columnStatesManager.getSortStates()}setSortConfig(e){const t=this.getNormalizedSortConfigs(e);this.areValidSortConfigs(t)&&this.columnStatesManager.setSortStates(t)}getNormalizedSortConfigs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e.slice(0,1):[e]}areValidSortConfigs(e){const t=this.hot.countCols();return Si(e)&&e.every(e=>{let{column:r}=e;return r<=t&&r>=0})}saveAllSortSettings(e){const t=this.columnStatesManager.getAllColumnsProperties(),r=e=>{let{column:t,...r}=e;return{column:this.hot.toPhysicalColumn(t),...r}};t.initialConfig=Object(d["arrayMap"])(e,r),this.hot.runHooks("persistentStateSave","columnSorting",t)}getAllSavedSortSettings(){const e={};this.hot.runHooks("persistentStateLoad","columnSorting",e);const t=e.value,r=e=>{let{column:t,...r}=e;return{column:this.hot.toVisualColumn(t),...r}};return Object(h["isDefined"])(t)&&Array.isArray(t.initialConfig)&&(t.initialConfig=Object(d["arrayMap"])(t.initialConfig,r)),t}getColumnNextConfig(e){const t=this.columnStatesManager.getSortOrderOfColumn(e);if(Object(h["isDefined"])(t)){const r=Ei(t);return Object(h["isDefined"])(r)?{column:e,sortOrder:r}:void 0}const r=this.hot.countCols();if(Number.isInteger(e)&&e>=0&&e<r)return{column:e,sortOrder:Ei()}}getNextSortConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ua;const r=this.columnStatesManager.getIndexOfColumnInSortQueue(e),n=-1!==r,i=this.getSortConfig(),a=this.getColumnNextConfig(e);if(n){if(Object(h["isUndefined"])(a))return[...i.slice(0,r),...i.slice(r+1)];if(t===ua)return[...i.slice(0,r),...i.slice(r+1),a];if(t===ca)return[...i.slice(0,r),a,...i.slice(r+1)]}return Object(h["isDefined"])(a)?i.concat(a):i}getPluginColumnConfig(e){if(Object(o["isObject"])(e)){const t=e[this.pluginKey];if(Object(o["isObject"])(t))return t}return{}}getMergedPluginSettings(e){const t=this.hot.getSettings()[this.pluginKey],r=this.columnStatesManager.getAllColumnsProperties(),n=this.hot.getCellMeta(0,e),i=Object.getPrototypeOf(n);return Array.isArray(i.columns)?Object.assign(r,t,this.getPluginColumnConfig(i.columns[e])):Object(si["isFunction"])(i.columns)?Object.assign(r,t,this.getPluginColumnConfig(i.columns(e))):Object.assign(r,t)}getFirstCellSettings(e){const t=this.hot.getCellMeta(0,e),r=Object.create(t);return r[this.pluginKey]=this.columnMetaCache.getValueAtIndex(this.hot.toPhysicalColumn(e)),r}getNumberOfRowsToSort(e){const t=this.hot.getSettings();return t.maxRows<=e?t.maxRows:e-t.minSpareRows}sortByPresetSortStates(e){if(0===e.length)return void this.hot.rowIndexMapper.setIndexesSequence(this.indexesSequenceCache.getValues());const t=[],r=this.hot.countRows(),n=t=>Object(d["arrayMap"])(e,e=>this.hot.getDataAtCell(t,e.column));for(let l=0;l<this.getNumberOfRowsToSort(r);l+=1)t.push([this.hot.toPhysicalRow(l)].concat(n(l)));const i=Object(d["arrayMap"])(t,e=>e[0]);Fi(t,this.pluginKey,Object(d["arrayMap"])(e,e=>e.sortOrder),Object(d["arrayMap"])(e,e=>this.getFirstCellSettings(e.column)));for(let l=t.length;l<r;l+=1)t.push([l].concat(n(l)));const a=Object(d["arrayMap"])(t,e=>e[0]),o=new Map(Object(d["arrayMap"])(i,(e,t)=>[e,a[t]])),s=Object(d["arrayMap"])(this.hot.rowIndexMapper.getIndexesSequence(),e=>o.has(e)?o.get(e):e);this.hot.rowIndexMapper.setIndexesSequence(s)}sortBySettings(e){if(Object(o["isObject"])(e)){this.columnStatesManager.updateAllColumnsProperties(e);const t=e.initialConfig;(Array.isArray(t)||Object(o["isObject"])(t))&&this.sort(t)}else this.hot.render()}updateHeaderClasses(e){if(Object(i["removeClass"])(e,Ii(e)),!1!==this.enabled){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];Object(i["addClass"])(e,ki(...r))}}onUpdateSettings(e){super.onUpdateSettings(),null!==this.columnMetaCache&&this.columnMetaCache.init(this.hot.columnIndexMapper.getNumberOfIndexes()),Object(h["isDefined"])(e[this.pluginKey])&&this.sortBySettings(e[this.pluginKey])}wasClickableHeaderClicked(e,t){const r=this.getFirstCellSettings(t)[this.pluginKey],n=r.headerAction;return n&&Object(i["hasClass"])(e.target,wi)}onAfterOnCellMouseDown(e,t){!1!==Ci(t.row,t.col,e)&&this.wasClickableHeaderClicked(e,t.col)&&(this.hot.getShortcutManager().isCtrlPressed()&&(this.hot.deselectCell(),this.hot.selectColumns(t.col)),this.sort(this.getColumnNextConfig(t.col)))}destroy(){var e;null===(e=this.columnStatesManager)||void 0===e||e.destroy(),super.destroy()}}function fa(){const e=this.getAllSavedSortSettings();if(Object(o["isObject"])(e))this.sortBySettings(e);else{const e=this.hot.getSettings()[this.pluginKey];this.sortBySettings(e)}}function ma(e,t){const r=Mi(t);if(!1===Ti(e,t)||null===r)return;const n=this.getFirstCellSettings(e)[this.pluginKey],a=n.indicator,o=n.headerAction;if(this.updateHeaderClasses(r,this.columnStatesManager,e,a,o),this.hot.getSettings().ariaTags){const r=this.columnStatesManager.getSortOrderOfColumn(e);Object(i["setAttribute"])(t,...Object(v["J"])(r?r+"ending":"none"))}}function ga(e){!0===e&&this.hot.view&&oa(ha,this,fa).call(this)}function va(e,t,r,n){!1!==Ci(t.row,t.col,e)&&this.wasClickableHeaderClicked(e,t.col)&&this.hot.getShortcutManager().isCtrlPressed()&&(n.column=!0)}function ba(e,t,r){return t=ya(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){var t=wa(e,"string");return"symbol"==typeof t?t:t+""}function wa(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class _a{constructor(e,t){ba(this,"plugin",void 0),ba(this,"hot",void 0),ba(this,"endpoints",[]),ba(this,"settings",void 0),ba(this,"settingsType","array"),ba(this,"currentEndpoint",null),ba(this,"cellsToSetCache",[]),this.plugin=e,this.hot=this.plugin.hot,this.settings=t}initEndpoints(){this.endpoints=this.parseSettings(),this.refreshAllEndpoints()}getEndpoint(e){return"function"===this.settingsType?this.fillMissingEndpointData(this.settings)[e]:this.endpoints[e]}getAllEndpoints(){return"function"===this.settingsType?this.fillMissingEndpointData(this.settings):this.endpoints}fillMissingEndpointData(e){return this.parseSettings(e.call(this))}parseSettings(e){const t=[];let r=e;if(r||"function"!==typeof this.settings)return r||(r=this.settings),Object(d["arrayEach"])(r,e=>{const r={};this.assignSetting(e,r,"ranges",[[0,this.hot.countRows()-1]]),this.assignSetting(e,r,"reversedRowCoords",!1),this.assignSetting(e,r,"destinationRow",new Error("\n You must provide a destination row for the Column Summary plugin in order to work properly!\n ")),this.assignSetting(e,r,"destinationColumn",new Error("\n You must provide a destination column for the Column Summary plugin in order to work properly!\n ")),this.assignSetting(e,r,"sourceColumn",e.destinationColumn),this.assignSetting(e,r,"type","sum"),this.assignSetting(e,r,"forceNumeric",!1),this.assignSetting(e,r,"suppressDataTypeErrors",!0),this.assignSetting(e,r,"customFunction",null),this.assignSetting(e,r,"readOnly",!0),this.assignSetting(e,r,"roundFloat",!1),t.push(r)}),t;this.settingsType="function"}assignSetting(e,t,r,n){if("ranges"!==r||void 0!==e[r]){if("ranges"!==r||0!==e[r].length)if(void 0===e[r]){if(n instanceof Error)throw n;t[r]=n}else"destinationRow"===r&&t.reversedRowCoords?t[r]=this.hot.countRows()-e[r]-1:t[r]=e[r]}else t[r]=n}resetSetupBeforeStructureAlteration(e,t,r){if("function"!==this.settingsType)return;const n=e.indexOf("row")>-1?"row":"col",i=this.getAllEndpoints();Object(d["arrayEach"])(i,i=>{"row"===n&&i.destinationRow>=t&&("insert_row"===e?i.alterRowOffset=r:"remove_row"===e&&(i.alterRowOffset=-1*r)),"col"===n&&i.destinationColumn>=t&&("insert_col"===e?i.alterColumnOffset=r:"remove_col"===e&&(i.alterColumnOffset=-1*r))}),this.resetAllEndpoints(i,!1)}resetSetupAfterStructureAlteration(e,t,r,n,i){let a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if("function"===this.settingsType){const e=()=>(this.hot.removeHook("beforeViewRender",e),this.refreshAllEndpoints());return void this.hot.addHookOnce("beforeViewRender",e)}const o=e.indexOf("row")>-1?"row":"col",s=e.indexOf("remove")>-1?-1:1,l=this.getAllEndpoints(),u=0===e.indexOf("move_row"),c=t;Object(d["arrayEach"])(l,e=>{"row"===o&&e.destinationRow>=c&&(e.alterRowOffset=s*r),"col"===o&&e.destinationColumn>=c&&(e.alterColumnOffset=s*r)}),this.resetAllEndpoints(l,!u),u?Object(d["arrayEach"])(l,e=>{this.extendEndpointRanges(e,c,n[0],n.length),this.recreatePhysicalRanges(e),this.clearOffsetInformation(e)}):Object(d["arrayEach"])(l,e=>{this.shiftEndpointCoordinates(e,c)}),a&&this.refreshAllEndpoints()}clearOffsetInformation(e){e.alterRowOffset=void 0,e.alterColumnOffset=void 0}extendEndpointRanges(e,t,r,n){Object(d["arrayEach"])(e.ranges,e=>{e[1]&&(t>=e[0]&&t<=e[1]?r>e[1]?e[1]+=n:r<e[0]&&(e[0]-=n):r>=e[0]&&r<=e[1]&&(e[1]-=n,t<=e[0]&&(e[0]+=1,e[1]+=1)))})}recreatePhysicalRanges(e){const t=e.ranges,r=[],n=[];Object(d["arrayEach"])(t,e=>{const t=[];if(e[1])for(let r=e[0];r<=e[1];r++)t.push(this.hot.toPhysicalRow(r));else t.push(this.hot.toPhysicalRow(e[0]));n.push(t)}),Object(d["arrayEach"])(n,e=>{let t=[];Object(d["arrayEach"])(e,(n,i)=>{0===i?t.push(n):e[i]!==e[i-1]+1&&(t.push(e[i-1]),r.push(t),t=[],t.push(n)),i===e.length-1&&(t.push(n),r.push(t))})}),e.ranges=r}shiftEndpointCoordinates(e,t){e.alterRowOffset&&0!==e.alterRowOffset?(e.destinationRow+=e.alterRowOffset||0,Object(d["arrayEach"])(e.ranges,r=>{Object(d["arrayEach"])(r,(n,i)=>{n>=t&&(r[i]+=e.alterRowOffset||0)})})):e.alterColumnOffset&&0!==e.alterColumnOffset&&(e.destinationColumn+=e.alterColumnOffset||0,e.sourceColumn+=e.alterColumnOffset||0)}resetAllEndpoints(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getAllEndpoints(),t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=e.some(e=>{const t=e.alterRowOffset||0,r=e.alterColumnOffset||0;return e.destinationRow+t>=this.hot.countRows()||e.destinationColumn+r>=this.hot.countCols()});r||(this.cellsToSetCache=[],Object(d["arrayEach"])(e,e=>{this.resetEndpointValue(e,t)}),this.hot.setDataAtCell(this.cellsToSetCache,"ColumnSummary.reset"),this.cellsToSetCache=[])}refreshAllEndpoints(){this.cellsToSetCache=[],Object(d["arrayEach"])(this.getAllEndpoints(),e=>{this.currentEndpoint=e,this.plugin.calculate(e),this.setEndpointValue(e,"init")}),this.currentEndpoint=null,this.hot.setDataAtCell(this.cellsToSetCache,"ColumnSummary.reset"),this.cellsToSetCache=[]}refreshChangedEndpoints(e){const t=[];this.cellsToSetCache=[],Object(d["arrayEach"])(e,(e,r,n)=>{""+(e[2]||"")!==""+e[3]&&Object(d["arrayEach"])(this.getAllEndpoints(),(e,i)=>{this.hot.propToCol(n[r][1])===e.sourceColumn&&-1===t.indexOf(i)&&t.push(i)})}),Object(d["arrayEach"])(t,e=>{this.refreshEndpoint(this.getEndpoint(e))}),this.hot.setDataAtCell(this.cellsToSetCache,"ColumnSummary.reset"),this.cellsToSetCache=[]}refreshEndpoint(e){this.currentEndpoint=e,this.plugin.calculate(e),this.setEndpointValue(e),this.currentEndpoint=null}resetEndpointValue(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=e.alterRowOffset||0,n=e.alterColumnOffset||0;this.cellsToSetCache.push([this.hot.toVisualRow(e.destinationRow+(t?r:0)),this.hot.toVisualColumn(e.destinationColumn+(t?n:0)),""])}setEndpointValue(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=this.hot.toVisualRow(e.destinationRow);if(e.destinationRow>=this.hot.countRows()||e.destinationColumn>=this.hot.countCols())return void this.throwOutOfBoundsWarning();const i=this.hot.toVisualRow(e.destinationRow);if(null!==i){const r=this.hot.getCellMeta(i,e.destinationColumn);"init"!==t&&r.readOnly===e.readOnly||(r.readOnly=e.readOnly,r.className="columnSummaryResult")}if((!0===e.roundFloat||Number.isInteger(e.roundFloat))&&!isNaN(e.result)){const t=e.roundFloat;let r=0;Number.isInteger(t)&&(r=Math.min(Math.max(0,t),100)),e.result=e.result.toFixed(r)}r?this.hot.setDataAtCell(n,e.destinationColumn,e.result,"ColumnSummary.set"):this.cellsToSetCache.push([n,e.destinationColumn,e.result]),e.alterRowOffset=void 0,e.alterColumnOffset=void 0}throwOutOfBoundsWarning(){Object(Fn["b"])("One of the Column Summary plugins' destination points you provided is beyond the table boundaries!")}}var Sa=_a,Ea=r("67a87");function Ma(e){return null===e||void 0===e||isNaN(e)}function Ta(e,t){Ca(e,t),t.add(e)}function Ca(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xa(e,t,r){return t=Aa(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){var t=Na(e,"string");return"symbol"==typeof t?t:t+""}function Na(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Oa(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Ra="columnSummary",La=220;var ka=new WeakSet;class Ia extends er["a"]{constructor(){super(...arguments),Ta(this,ka),xa(this,"endpoints",null)}static get PLUGIN_KEY(){return Ra}static get PLUGIN_PRIORITY(){return La}isEnabled(){return!!this.hot.getSettings()[Ra]}enablePlugin(){var e=this;this.enabled||(this.settings=this.hot.getSettings()[Ra],this.endpoints=new Sa(this,this.settings),this.addHook("afterInit",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Oa(ka,e,Da).call(e,...r)})),this.addHook("afterChange",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Oa(ka,e,Pa).call(e,...r)})),this.addHook("beforeCreateRow",(e,t,r)=>this.endpoints.resetSetupBeforeStructureAlteration("insert_row",e,t,null,r)),this.addHook("beforeCreateCol",(e,t,r)=>this.endpoints.resetSetupBeforeStructureAlteration("insert_col",e,t,null,r)),this.addHook("beforeRemoveRow",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.endpoints.resetSetupBeforeStructureAlteration("remove_row",...r)})),this.addHook("beforeRemoveCol",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.endpoints.resetSetupBeforeStructureAlteration("remove_col",...r)})),this.addHook("afterCreateRow",(e,t,r)=>this.endpoints.resetSetupAfterStructureAlteration("insert_row",e,t,null,r)),this.addHook("afterCreateCol",(e,t,r)=>this.endpoints.resetSetupAfterStructureAlteration("insert_col",e,t,null,r)),this.addHook("afterRemoveRow",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.endpoints.resetSetupAfterStructureAlteration("remove_row",...r)})),this.addHook("afterRemoveCol",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.endpoints.resetSetupAfterStructureAlteration("remove_col",...r)})),this.addHook("afterRowMove",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Oa(ka,e,ja).call(e,...r)})),super.enablePlugin())}disablePlugin(){this.endpoints=null,this.settings=null,this.currentEndpoint=null,super.disablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.endpoints.initEndpoints(),super.updatePlugin()}calculate(e){switch(e.type.toLowerCase()){case"sum":e.result=this.calculateSum(e);break;case"min":e.result=this.calculateMinMax(e,e.type);break;case"max":e.result=this.calculateMinMax(e,e.type);break;case"count":e.result=this.countEntries(e);break;case"average":e.result=this.calculateAverage(e);break;case"custom":e.result=e.customFunction.call(this,e);break;default:break}}calculateSum(e){let t=0;return Object(o["objectEach"])(e.ranges,r=>{t+=this.getPartialSum(r,e.sourceColumn)}),t}getPartialSum(e,t){let r=0,n=e[1]||e[0],i=null,a=0;do{if(i=this.getCellValue(n,t),i=Ma(i)?null:i,null!==i){const e=((""+i).split(".")[1]||[]).length||1;e>a&&(a=e)}r+=i||0,n-=1}while(n>=e[0]);return Math.round(r*10**a)/10**a}calculateMinMax(e,t){let r=null;return Object(o["objectEach"])(e.ranges,n=>{const i=this.getPartialMinMax(n,e.sourceColumn,t);if(null===r&&null!==i&&(r=i),null!==i)switch(t){case"min":r=Math.min(r,i);break;case"max":r=Math.max(r,i);break;default:break}}),null===r?"Not enough data":r}getPartialMinMax(e,t,r){let n,i=null,a=e[1]||e[0];do{if(n=this.getCellValue(a,t),n=Ma(n)?null:n,null===i)i=n;else if(null!==n)switch(r){case"min":i=Math.min(i,n);break;case"max":i=Math.max(i,n);break;default:break}a-=1}while(a>=e[0]);return i}countEmpty(e,t){let r,n=0,i=e[1]||e[0];do{r=this.getCellValue(i,t),r=Ma(r)?null:r,null===r&&(n+=1),i-=1}while(i>=e[0]);return n}countEntries(e){let t=0;const r=e.ranges;return Object(o["objectEach"])(r,r=>{const n=void 0===r[1]?1:r[1]-r[0]+1,i=this.countEmpty(r,e.sourceColumn);t+=n,t-=i}),t}calculateAverage(e){const t=this.calculateSum(e),r=this.countEntries(e);return t/r}getCellValue(e,t){const r=this.hot.toVisualRow(e),n=this.hot.toVisualColumn(t);let i=this.hot.getSourceDataAtCell(e,t),a="";if(null!==r&&null!==n&&(a=this.hot.getCellMeta(r,n).className||""),a.indexOf("columnSummaryResult")>-1)return null;if(this.endpoints.currentEndpoint.forceNumeric&&("string"===typeof i&&(i=i.replace(/,/,".")),i=parseFloat(i)),isNaN(i)&&!this.endpoints.currentEndpoint.suppressDataTypeErrors)throw new Error(Ea["a"]`ColumnSummary plugin: cell at (${e}, ${t}) is not in a\x20
- numeric format. Cannot do the calculation.`);return i}}function Da(){this.endpoints.initEndpoints()}function Pa(e,t){e&&"ColumnSummary.reset"!==t&&"ColumnSummary.set"!==t&&"loadData"!==t&&this.endpoints.refreshChangedEndpoints(e)}function ja(e,t){this.endpoints.resetSetupBeforeStructureAlteration("move_row",e[0],e.length,e,this.pluginName),this.endpoints.resetSetupAfterStructureAlteration("move_row",t,e.length,e,this.pluginName)}function Fa(e,t,r){return t=Ha(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){var t=Ba(e,"string");return"symbol"==typeof t?t:t+""}function Ba(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ua{static get CLASS_EDITOR_CONTAINER(){return"htCommentsContainer"}static get CLASS_EDITOR(){return"htComments"}static get CLASS_INPUT(){return"htCommentTextArea"}static get CLASS_CELL(){return"htCommentCell"}constructor(e,t){Fa(this,"rootDocument",void 0),Fa(this,"isRtl",!1),Fa(this,"container",null),Fa(this,"editor",void 0),Fa(this,"editorStyle",void 0),Fa(this,"hidden",!0),this.rootDocument=e,this.isRtl=t,this.editor=this.createEditor(),this.editorStyle=this.editor.style,this.hide()}setPosition(e,t){this.editorStyle.left=e+"px",this.editorStyle.top=t+"px"}setSize(e,t){if(e&&t){const r=this.getInputElement();r.style.width=e+"px",r.style.height=t+"px"}}getSize(){return{width:Object(i["outerWidth"])(this.getInputElement()),height:Object(i["outerHeight"])(this.getInputElement())}}resetSize(){const e=this.getInputElement();e.style.width="",e.style.height=""}setReadOnlyState(e){const t=this.getInputElement();t.readOnly=e}show(){this.editorStyle.display="block",this.hidden=!1}hide(){this.hidden||(this.editorStyle.display="none"),this.hidden=!0}isVisible(){return"block"===this.editorStyle.display}setValue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=e||"";this.getInputElement().value=t}getValue(){return this.getInputElement().value}isFocused(){return this.rootDocument.activeElement===this.getInputElement()}focus(){this.getInputElement().focus()}createEditor(){const e=this.rootDocument.createElement("div"),t=this.rootDocument.createElement("textarea");return e.style.display="none",this.container=this.rootDocument.createElement("div"),this.container.setAttribute("dir",this.isRtl?"rtl":"ltr"),Object(i["addClass"])(this.container,Ua.CLASS_EDITOR_CONTAINER),this.rootDocument.body.appendChild(this.container),Object(i["addClass"])(e,Ua.CLASS_EDITOR),Object(i["addClass"])(t,Ua.CLASS_INPUT),t.setAttribute("data-hot-input",!0),e.appendChild(t),this.container.appendChild(e),e}getInputElement(){return this.editor.querySelector("."+Ua.CLASS_INPUT)}destroy(){const e=this.container?this.container.parentNode:null;this.editor.parentNode.removeChild(this.editor),this.editor=null,this.editorStyle=null,e&&e.removeChild(this.container)}}var Va=Ua,Ya=r("7ae0");function za(e,t,r){return t=Wa(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){var t=qa(e,"string");return"symbol"==typeof t?t:t+""}function qa(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const Ga=250,Ka=250;class Xa{constructor(e){za(this,"wasLastActionShow",!0),za(this,"showDebounced",null),za(this,"hidingTimer",null),this.updateDelay(e)}hide(){this.wasLastActionShow=!1,this.hidingTimer=setTimeout(()=>{!1===this.wasLastActionShow&&this.runLocalHooks("hide")},Ka)}show(e){this.wasLastActionShow=!0,this.showDebounced(e)}cancelHiding(){this.wasLastActionShow=!0,clearTimeout(this.hidingTimer),this.hidingTimer=null}updateDelay(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ga;this.showDebounced=Object(si["debounce"])(e=>{this.wasLastActionShow&&this.runLocalHooks("show",e.from.row,e.from.col)},e)}destroy(){this.clearLocalHooks()}}Object(o["mixin"])(Xa,Ya["a"]);var Za=Xa;const $a="---------";function Ja(){return{name:$a}}function Qa(e){return{key:"commentsAddEdit",name(){var t;const r=null===(t=this.getSelectedRangeLast())||void 0===t?void 0:t.highlight;return null!==r&&void 0!==r&&r.isCell()&&e.getCommentAtCell(r.row,r.col)?this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_EDIT_COMMENT"]):this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ADD_COMMENT"])},callback(){const t=this.getSelectedRangeLast();this.deselectCell(),e.setRange(t),e.show(),e.focusEditor()},disabled(){const e=this.getSelectedRangeLast();return!!(!e||e.highlight.isHeader()||this.selection.isEntireRowSelected()&&this.selection.isEntireColumnSelected()||0===this.countRenderedRows()||0===this.countRenderedCols())}}}function eo(e){return{key:"commentsRemove",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_REMOVE_COMMENT"])},callback(){const t=this.getSelectedRangeLast();t.forAll((t,r)=>{t>=0&&r>=0&&e.removeCommentAtCell(t,r,!1)}),this.render()},disabled(){const e=this.getSelectedRangeLast();return!!(!e||e.highlight.isHeader()||this.selection.isEntireRowSelected()&&this.selection.isEntireColumnSelected()||0===this.countRenderedRows()||0===this.countRenderedCols())}}}function to(e,t){if(-1!==e.indexOf(t))return e;const r=e.replace("htTop","").replace("htMiddle","").replace("htBottom","").replace(" ","");return`${r} ${t}`}function ro(e,t){if(-1!==e.indexOf(t))return e;const r=e.replace("htLeft","").replace("htCenter","").replace("htRight","").replace("htJustify","").replace(" ","");return`${r} ${t}`}function no(e,t){const r={};return Object(d["arrayEach"])(e,e=>{e.forAll((e,n)=>{e>=0&&n>=0&&(r[e]||(r[e]=[]),r[e][n]=t(e,n))})}),r}function io(e,t,r,n,i){Object(d["arrayEach"])(e,e=>{e.forAll((e,a)=>{e>=0&&a>=0&&ao(e,a,t,r,n,i)})})}function ao(e,t,r,n,i,a){const o=i(e,t);let s=n;o.className&&(s="vertical"===r?to(o.className,n):ro(o.className,n)),a(e,t,"className",s)}function oo(e){return`<span class="selected">${String.fromCharCode(10003)}</span>${e}`}function so(e,t){let r=!1;return Array.isArray(e)&&Object(d["arrayEach"])(e,e=>(e.forAll((e,n)=>{if(e>=0&&n>=0&&t(e,n))return r=!0,!1}),r)),r}function lo(e,t){const r={top:0,left:0};if(t!==e.ownerDocument){const{frameElement:e}=t.defaultView,{top:n,left:i}=e.getBoundingClientRect();r.top=n,r.left=i}return r}function uo(e){return{key:"commentsReadOnly",name(){const t=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_READ_ONLY_COMMENT"]),r=so(this.getSelectedRange(),(t,r)=>e.getCommentMeta(t,r,To));return r?oo(t):t},callback(){const t=this.getSelectedRangeLast();t.forAll((t,r)=>{if(t>=0&&r>=0){const n=!!e.getCommentMeta(t,r,To);e.updateCommentMeta(t,r,{[To]:!n})}})},disabled(){const t=this.getSelectedRangeLast();return!!(!t||t.highlight.isHeader()||!e.getCommentAtCell(t.highlight.row,t.highlight.col)||this.selection.isEntireRowSelected()&&this.selection.isEntireColumnSelected()||0===this.countRenderedRows()||0===this.countRenderedCols())}}}function co(e,t){po(e,t),t.add(e)}function ho(e,t,r){po(e,t),t.set(e,r)}function po(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fo(e,t,r){return t=mo(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mo(e){var t=go(e,"string");return"symbol"==typeof t?t:t+""}function go(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function vo(e,t,r){return e.set(yo(e,t),r),r}function bo(e,t){return e.get(yo(e,t))}function yo(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const wo="comments",_o=60,So="comment",Eo="value",Mo="style",To="readOnly",Co=wo,xo="plugin:"+wo;var Ao=new WeakMap,No=new WeakMap,Oo=new WeakMap,Ro=new WeakMap,Lo=new WeakMap,ko=new WeakMap,Io=new WeakMap,Do=new WeakSet;class Po extends er["a"]{constructor(){super(...arguments),co(this,Do),fo(this,"range",{}),ho(this,Ao,null),ho(this,No,null),ho(this,Oo,!1),ho(this,Ro,!1),ho(this,Lo,{}),ho(this,ko,null),ho(this,Io,"")}static get PLUGIN_KEY(){return wo}static get PLUGIN_PRIORITY(){return _o}isEnabled(){return!!this.hot.getSettings()[wo]}enablePlugin(){this.enabled||(bo(Ao,this)||vo(Ao,this,new Va(this.hot.rootDocument,this.hot.isRtl())),bo(No,this)||vo(No,this,new Za(this.getDisplayDelaySetting())),this.addHook("afterContextMenuDefaultOptions",e=>this.addToContextMenu(e)),this.addHook("afterRenderer",(e,t,r,n,i,a)=>yo(Do,this,Bo).call(this,e,a)),this.addHook("afterScroll",()=>yo(Do,this,qo).call(this)),this.addHook("afterBeginEditing",()=>this.hide()),this.addHook("afterDocumentKeyDown",e=>yo(Do,this,Wo).call(this,e)),bo(No,this).addLocalHook("hide",()=>this.hide()),bo(No,this).addLocalHook("show",(e,t)=>this.showAtCell(e,t)),this.registerShortcuts(),this.registerListeners(),super.enablePlugin())}updatePlugin(){bo(No,this).updateDelay(this.getDisplayDelaySetting()),super.updatePlugin()}disablePlugin(){this.unregisterShortcuts(),super.disablePlugin()}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("grid"),r=e.addContext(xo);t.addShortcut({keys:[["Control","Alt","M"]],callback:()=>{const t=this.hot.getSelectedRangeLast();vo(Ro,this,!0),this.hot.scrollToFocusedCell(()=>{this.setRange(t),this.show(),this.focusEditor(),e.setActiveContextName(xo),this.hot._registerTimeout(()=>{vo(Ro,this,!1)})})},stopPropagation:!0,runOnlyIf:()=>{var e;return(null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight.isCell())&&!bo(Ao,this).isVisible()},group:Co}),r.addShortcut({keys:[["Escape"]],callback:()=>{bo(Ao,this).setValue(bo(Io,this)),this.hide(),e.setActiveContextName("grid")},runOnlyIf:()=>{var e;return(null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight.isCell())&&bo(Ao,this).isVisible()},group:Co}),r.addShortcut({keys:[["Control/Meta","Enter"]],callback:()=>{this.hide(),e.setActiveContextName("grid")},runOnlyIf:()=>{var e;return(null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight.isCell())&&bo(Ao,this).isVisible()},group:Co})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(Co)}registerListeners(){const{rootDocument:e}=this.hot,t=this.getEditorInputElement();this.eventManager.addEventListener(e,"mouseover",e=>yo(Do,this,Fo).call(this,e)),this.eventManager.addEventListener(e,"mousedown",e=>yo(Do,this,jo).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>yo(Do,this,Ho).call(this)),this.eventManager.addEventListener(t,"focus",()=>yo(Do,this,Vo).call(this)),this.eventManager.addEventListener(t,"blur",()=>yo(Do,this,Uo).call(this)),this.eventManager.addEventListener(t,"mousedown",e=>yo(Do,this,Yo).call(this,e)),this.eventManager.addEventListener(t,"mouseup",e=>yo(Do,this,zo).call(this,e))}setRange(e){this.range=e}clearRange(){this.range={}}targetIsCellWithComment(e){const t=Object(i["closest"])(e.target,"TD","TBODY");return!!(t&&Object(i["hasClass"])(t,"htCommentCell")&&Object(i["closest"])(t,[this.hot.rootElement]))}targetIsCommentTextArea(e){return this.getEditorInputElement()===e.target}setComment(e){if(!this.range.from)throw new Error('Before using this method, first set cell range (hot.getPlugin("comment").setRange())');const t=bo(Ao,this).getValue();let r="";null!==e&&void 0!==e?r=e:null!==t&&void 0!==t&&(r=t);const n=this.range.from.row,i=this.range.from.col;this.updateCommentMeta(n,i,{[Eo]:r}),this.hot.render()}setCommentAtCell(e,t,r){this.setRange({from:this.hot._createCellCoords(e,t)}),this.setComment(r)}removeComment(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.range.from)throw new Error('Before using this method, first set cell range (hot.getPlugin("comment").setRange())');this.hot.setCellMeta(this.range.from.row,this.range.from.col,So),e&&this.hot.render(),this.hide()}removeCommentAtCell(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.setRange({from:this.hot._createCellCoords(e,t)}),this.removeComment(r)}getComment(){const e=this.range.from.row,t=this.range.from.col;return this.getCommentMeta(e,t,Eo)}getCommentAtCell(e,t){return this.getCommentMeta(e,t,Eo)}show(){var e;if(!this.range.from)throw new Error('Before using this method, first set cell range (hot.getPlugin("comment").setRange())');const{from:{row:t,col:r}}=this.range;if(t<0||t>this.hot.countSourceRows()-1||r<0||r>this.hot.countSourceCols()-1)return!1;const n=this.hot.getCellMeta(this.range.from.row,this.range.from.col);return bo(No,this).cancelHiding(),bo(Ao,this).setValue(null!==(e=n[So]?n[So][Eo]:null)&&void 0!==e?e:""),bo(Ao,this).show(),this.refreshEditor(!0),!0}showAtCell(e,t){return this.setRange({from:this.hot._createCellCoords(e,t)}),this.show()}hide(){bo(Ao,this).hide()}refreshEditor(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!r&&(!this.range.from||!bo(Ao,this).isVisible()))return;const{rowIndexMapper:n,columnIndexMapper:a}=this.hot,{row:o,col:s}=this.range.from;let l=n.getRenderableFromVisualIndex(o),u=a.getRenderableFromVisualIndex(s);const c=null===l;bo(Ao,this).setPosition(0,0),null===l&&(l=n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o,-1))),null===u&&(u=a.getRenderableFromVisualIndex(a.getNearestNotHiddenIndex(s,-1)));const d=null===l,h=null===u;l=null!==(e=l)&&void 0!==e?e:0,u=null!==(t=u)&&void 0!==t?t:0;const{rootWindow:p,view:{_wt:f}}=this.hot,{wtTable:m}=f,g=f.getCell({row:l,col:u},!0),v=this.getCommentMeta(o,s,Mo);v?bo(Ao,this).setSize(v.width,v.height):bo(Ao,this).resetSize();const b=h?0:m.getStretchedColumnWidth(u),y=c&&!d?Object(i["outerHeight"])(g):0,{left:w,top:_,width:S,height:E}=g.getBoundingClientRect(),{width:M,height:T}=bo(Ao,this).getSize(),{innerWidth:C,innerHeight:x}=this.hot.rootWindow,A=this.hot.rootDocument.documentElement;let N=w+p.scrollX+b,O=_+p.scrollY+y;this.hot.isRtl()&&(N-=M+b),this.hot.isLtr()&&w+S+M>C?N=w+p.scrollX-M-1:this.hot.isRtl()&&N<-(A.scrollWidth-A.clientWidth)&&(N=w+p.scrollX+b+1),_+T>x&&(O-=T-E+1),bo(Ao,this).setPosition(N,O),bo(Ao,this).setReadOnlyState(this.getCommentMeta(o,s,To))}focusEditor(){bo(Ao,this).focus()}updateCommentMeta(e,t,r){const n=this.hot.getCellMeta(e,t)[So];let i;n?(i=Object(o["deepClone"])(n),Object(o["deepExtend"])(i,r)):i=r,this.hot.setCellMeta(e,t,So,i)}getCommentMeta(e,t,r){const n=this.hot.getCellMeta(e,t);if(n[So])return n[So][r]}addToContextMenu(e){e.items.push({name:$a},Qa(this),eo(this),uo(this))}getDisplayDelaySetting(){const e=this.hot.getSettings()[wo];if(Object(o["isObject"])(e))return e.displayDelay}getEditorInputElement(){return bo(Ao,this).getInputElement()}destroy(){bo(Ao,this)&&bo(Ao,this).destroy(),bo(No,this)&&bo(No,this).destroy(),super.destroy()}}function jo(e){if(this.hot.view&&this.hot.view._wt&&!bo(Oo,this)&&!this.targetIsCommentTextArea(e)){const t=Object(i["closest"])(e.target,"TD","TBODY");let r=null;t&&(r=this.hot.getCoords(t)),(!t||this.range.from&&r&&(this.range.from.row!==r.row||this.range.from.col!==r.col))&&this.hide()}}function Fo(e){const{rootDocument:t}=this.hot;if(!(bo(Oo,this)||bo(Ao,this).isFocused()||Object(i["hasClass"])(e.target,"wtBorder")||bo(ko,this)===e.target)&&bo(Ao,this))if(vo(ko,this,t.elementFromPoint(e.clientX,e.clientY)),this.targetIsCellWithComment(e)){const t=this.hot._createCellRange(this.hot.getCoords(e.target));bo(No,this).show(t)}else Object(i["isChildOf"])(e.target,t)&&!this.targetIsCommentTextArea(e)&&bo(No,this).hide()}function Ho(){vo(Oo,this,!1)}function Bo(e,t){t[So]&&t[So][Eo]&&Object(i["addClass"])(e,t.commentedCellClassName)}function Uo(){vo(Io,this,""),this.hot.getShortcutManager().setActiveContextName("grid"),this.setComment()}function Vo(){vo(Io,this,this.getComment()),this.hot.listen(),this.hot.getShortcutManager().setActiveContextName(xo)}function Yo(e){vo(Lo,this,{width:Object(i["outerWidth"])(e.target),height:Object(i["outerHeight"])(e.target)})}function zo(e){const t=Object(i["outerWidth"])(e.target),r=Object(i["outerHeight"])(e.target);t===bo(Lo,this).width+1&&r===bo(Lo,this).height+2||this.updateCommentMeta(this.range.from.row,this.range.from.col,{[Mo]:{width:t,height:r}})}function Wo(e){bo(Ao,this).isVisible()&&Object(a["stopImmediatePropagation"])(e)}function qo(){bo(Ro,this)||this.hide()}r("956b");function Go(e,t,r){return t=Ko(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ko(e){var t=Xo(e,"string");return"symbol"==typeof t?t:t+""}function Xo(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Zo{constructor(e){Go(this,"hot",void 0),Go(this,"commands",{}),Go(this,"commonCallback",null),this.hot=e}registerCommand(e,t){this.commands[e]=t}setCommonCallback(e){this.commonCallback=e}execute(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];const i=e.split(":"),a=i[0],s=2===i.length?i[1]:null;let l=this.commands[a];if(!l)throw new Error(`Menu command '${a}' not exists.`);if(s&&l.submenu&&(l=$o(s,l.submenu.items)),!0===l.disabled)return;if("function"===typeof l.disabled&&!0===l.disabled.call(this.hot))return;if(Object(o["hasOwnProperty"])(l,"submenu"))return;const u=[];"function"===typeof l.callback&&u.push(l.callback),"function"===typeof this.commonCallback&&u.push(this.commonCallback),r.unshift(i.join(":")),Object(d["arrayEach"])(u,e=>e.apply(this.hot,r))}}function $o(e,t){let r;return Object(d["arrayEach"])(t,t=>{const n=t.key?t.key.split(":"):null;if(Array.isArray(n)&&n[1]===e)return r=t,!1}),r}const Jo="alignment";function Qo(){return{key:Jo,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT"])},disabled(){if(0===this.countRows()||0===this.countCols())return!0;const e=this.getSelectedRangeLast();return!e||(!!e.isSingleHeader()||!(this.getSelectedRange()&&!this.selection.isSelectedByCorner()))},submenu:{items:[{key:Jo+":left",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"]);const t=so(this.getSelectedRange(),(e,t)=>{const r=this.getCellMeta(e,t).className;if(r&&-1!==r.indexOf("htLeft"))return!0});return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=no(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htLeft";this.runHooks("beforeCellAlignment",t,e,r,n),io(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Jo+":center",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"]);const t=so(this.getSelectedRange(),(e,t)=>{const r=this.getCellMeta(e,t).className;if(r&&-1!==r.indexOf("htCenter"))return!0});return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=no(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htCenter";this.runHooks("beforeCellAlignment",t,e,r,n),io(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Jo+":right",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"]);const t=so(this.getSelectedRange(),(e,t)=>{const r=this.getCellMeta(e,t).className;if(r&&-1!==r.indexOf("htRight"))return!0});return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=no(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htRight";this.runHooks("beforeCellAlignment",t,e,r,n),io(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Jo+":justify",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"]);const t=so(this.getSelectedRange(),(e,t)=>{const r=this.getCellMeta(e,t).className;if(r&&-1!==r.indexOf("htJustify"))return!0});return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=no(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htJustify";this.runHooks("beforeCellAlignment",t,e,r,n),io(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{name:$a},{key:Jo+":top",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"]);const t=so(this.getSelectedRange(),(e,t)=>{const r=this.getCellMeta(e,t).className;if(r&&-1!==r.indexOf("htTop"))return!0});return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=no(e,(e,t)=>this.getCellMeta(e,t).className),r="vertical",n="htTop";this.runHooks("beforeCellAlignment",t,e,r,n),io(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Jo+":middle",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"]);const t=so(this.getSelectedRange(),(e,t)=>{const r=this.getCellMeta(e,t).className;if(r&&-1!==r.indexOf("htMiddle"))return!0});return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=no(e,(e,t)=>this.getCellMeta(e,t).className),r="vertical",n="htMiddle";this.runHooks("beforeCellAlignment",t,e,r,n),io(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Jo+":bottom",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"]);const t=so(this.getSelectedRange(),(e,t)=>{const r=this.getCellMeta(e,t).className;if(r&&-1!==r.indexOf("htBottom"))return!0});return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=no(e,(e,t)=>this.getCellMeta(e,t).className),r="vertical",n="htBottom";this.runHooks("beforeCellAlignment",t,e,r,n),io(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1}]}}}const es="clear_column";function ts(){return{key:es,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_CLEAR_COLUMN"])},callback(e,t){const r=t[0].start.col,n=t[0].end.col;this.countRows()&&this.populateFromArray(0,r,[[null]],Math.max(t[0].start.row,t[0].end.row),n,"ContextMenu.clearColumn")},disabled(){const e=this.getSelectedRangeLast();return!e||(!!(e.isSingleHeader()&&e.highlight.col<0)||!this.selection.isSelectedByColumnHeader())}}}const rs="col_left";function ns(){return{key:rs,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_INSERT_LEFT"])},callback(){const e=this.getSelectedRangeLast().getTopLeftCorner(),t=this.isRtl()?"insert_col_end":"insert_col_start";this.alter(t,e.col,1,"ContextMenu.columnLeft")},disabled(){if(!this.isColumnModificationAllowed())return!0;const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader()&&e.highlight.col<0)return!0;if(this.selection.isSelectedByCorner()){const e=this.countCols();return 0===e}return this.selection.isSelectedByRowHeader()||this.countCols()>=this.getSettings().maxCols},hidden(){return!this.getSettings().allowInsertColumn}}}const is="col_right";function as(){return{key:is,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_INSERT_RIGHT"])},callback(){const e=this.getSelectedRangeLast().getTopRightCorner(),t=this.isRtl()?"insert_col_start":"insert_col_end";this.alter(t,e.col,1,"ContextMenu.columnRight")},disabled(){if(!this.isColumnModificationAllowed())return!0;const e=this.getSelectedRangeLast();return!e||(!!(e.isSingleHeader()&&e.highlight.col<0)||!this.selection.isSelectedByCorner()&&(this.selection.isSelectedByRowHeader()||this.countCols()>=this.getSettings().maxCols))},hidden(){return!this.getSettings().allowInsertColumn}}}const os="make_read_only";function ss(){return{key:os,name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_READ_ONLY"]);const t=so(this.getSelectedRange(),(e,t)=>this.getCellMeta(e,t).readOnly);return t&&(e=oo(e)),e},callback(){const e=this.getSelectedRange(),t=so(e,(e,t)=>this.getCellMeta(e,t).readOnly);Object(d["arrayEach"])(e,e=>{e.forAll((e,r)=>{e>=0&&r>=0&&this.setCellMeta(e,r,"readOnly",!t)})}),this.render()},disabled(){const e=this.getSelectedRangeLast();return!e||(!!e.isSingleHeader()||(!!this.selection.isSelectedByCorner()||(0===this.countRows()||0===this.countCols()||(!this.getSelectedRange()||0===this.getSelectedRange().length))))}}}const ls="redo";function us(){return{key:ls,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_REDO"])},callback(){this.redo()},hidden(){const e=this.getPlugin("undoRedo");return!e||!e.isEnabled()},disabled(){return!this.getPlugin("undoRedo").isRedoAvailable()}}}var cs=r("a952");const ds="remove_col";function hs(){return{key:ds,name(){const e=this.getSelected();let t=0;if(e)if(e.length>1)t=1;else{const[,r,,n]=e[0];r-n!==0&&(t=1)}return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_REMOVE_COLUMN"],t)},callback(){this.alter("remove_col",Object(cs["e"])(this),null,"ContextMenu.removeColumn")},disabled(){if(!this.isColumnModificationAllowed())return!0;const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader()&&e.highlight.col<0)return!0;const t=this.countCols();return this.selection.isSelectedByCorner()?0===t:this.selection.isSelectedByRowHeader()||0===t},hidden(){return!this.getSettings().allowRemoveColumn}}}const ps="remove_row";function fs(){return{key:ps,name(){const e=this.getSelected();let t=0;if(e)if(e.length>1)t=1;else{const[r,,n]=e[0];r-n!==0&&(t=1)}return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_REMOVE_ROW"],t)},callback(){this.alter("remove_row",Object(cs["f"])(this),1,"ContextMenu.removeRow")},disabled(){const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader()&&e.highlight.row<0)return!0;const t=this.countRows();return this.selection.isSelectedByCorner()?0===t:this.selection.isSelectedByColumnHeader()||0===t},hidden(){return!this.getSettings().allowRemoveRow}}}const ms="row_above";function gs(){return{key:ms,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ROW_ABOVE"])},callback(){const e=this.getSelectedRangeLast().getTopLeftCorner();this.alter("insert_row_above",e.row,1,"ContextMenu.rowAbove")},disabled(){const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader()&&e.highlight.row<0)return!0;if(this.selection.isSelectedByCorner()){const e=this.countRows();return 0===e}return this.selection.isSelectedByColumnHeader()||this.countRows()>=this.getSettings().maxRows},hidden(){return!this.getSettings().allowInsertRow}}}const vs="row_below";function bs(){return{key:vs,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ROW_BELOW"])},callback(){const e=this.getSelectedRangeLast().getBottomRightCorner();this.alter("insert_row_below",e.row,1,"ContextMenu.rowBelow")},disabled(){const e=this.getSelectedRangeLast();return!e||(!!(e.isSingleHeader()&&e.highlight.row<0)||!this.selection.isSelectedByCorner()&&(this.selection.isSelectedByColumnHeader()||this.countRows()>=this.getSettings().maxRows))},hidden(){return!this.getSettings().allowInsertRow}}}const ys="no_items";function ws(){return{key:ys,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_NO_ITEMS"])},disabled:!0,isCommand:!1}}const _s="undo";function Ss(){return{key:_s,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_UNDO"])},callback(){this.undo()},hidden(){const e=this.getPlugin("undoRedo");return!e||!e.isEnabled()},disabled(){return!this.getPlugin("undoRedo").isUndoAvailable()}}}const Es=[ms,vs,rs,is,es,ps,ds,_s,ls,os,Jo,$a,ys],Ms={[$a]:Ja,[ys]:ws,[ms]:gs,[vs]:bs,[rs]:ns,[is]:as,[es]:ts,[ps]:fs,[ds]:hs,[_s]:Ss,[ls]:us,[os]:ss,[Jo]:Qo};function Ts(){const e={};return Object(o["objectEach"])(Ms,(t,r)=>{e[r]=t()}),e}function Cs(e,t,r){return t=xs(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e){var t=As(e,"string");return"symbol"==typeof t?t:t+""}function As(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ns{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Cs(this,"hot",void 0),Cs(this,"predefinedItems",Ts()),Cs(this,"defaultOrderPattern",void 0),this.hot=e,this.defaultOrderPattern=t}setPredefinedItems(e){const t={};this.defaultOrderPattern.length=0,Object(o["objectEach"])(e,(e,r)=>{let n="";e.name===$a?(t[$a]=e,n=$a):isNaN(parseInt(r,10))?(e.key=void 0===e.key?r:e.key,t[r]=e,n=e.key):(t[e.key]=e,n=e.key),this.defaultOrderPattern.push(n)}),this.predefinedItems=t}getItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Os(e,this.defaultOrderPattern,this.predefinedItems)}}function Os(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=[];let i=e;return i&&i.items?i=i.items:Array.isArray(i)||(i=t),Object(o["isObject"])(i)?Object(o["objectEach"])(i,(e,t)=>{let i=r["string"===typeof e?e:t];i||(i=e),Object(o["isObject"])(e)?Object(o["extend"])(i,e):"string"===typeof i&&(i={name:i}),void 0===i.key&&(i.key=t),n.push(i)}):Object(d["arrayEach"])(i,(e,t)=>{let i=r[e];!i&&Es.indexOf(e)>=0||(i||(i={name:e,key:""+t}),Object(o["isObject"])(e)&&Object(o["extend"])(i,e),void 0===i.key&&(i.key=t),n.push(i))}),n}function Rs(e,t,r){return t=Ls(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){var t=ks(e,"string");return"symbol"==typeof t?t:t+""}function ks(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Is{constructor(e,t){Rs(this,"top",void 0),Rs(this,"topRelative",void 0),Rs(this,"left",void 0),Rs(this,"leftRelative",void 0),Rs(this,"scrollTop",void 0),Rs(this,"scrollLeft",void 0),Rs(this,"cellHeight",void 0),Rs(this,"cellWidth",void 0);const r=t.scrollY,n=t.scrollX;let i,a,o,s,l,u;this.rootWindow=t,this.type=this.getSourceType(e),"literal"===this.type?(i=parseInt(e.top,10),o=parseInt(e.left,10),l=e.height||0,u=e.width||0,a=i,s=o,i+=r,o+=n):"event"===this.type&&(i=parseInt(e.pageY,10),o=parseInt(e.pageX,10),l=e.target.clientHeight,u=e.target.clientWidth,a=i-r,s=o-n),this.top=i,this.topRelative=a,this.left=o,this.leftRelative=s,this.scrollTop=r,this.scrollLeft=n,this.cellHeight=l,this.cellWidth=u}getSourceType(e){let t="literal";return e instanceof Event&&(t="event"),t}fitsAbove(e){return this.topRelative>=e.offsetHeight}fitsBelow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.rootWindow.innerHeight;return this.topRelative+e.offsetHeight<=t}fitsOnRight(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.rootWindow.innerWidth;return this.leftRelative+this.cellWidth+e.offsetWidth<=t}fitsOnLeft(e){return this.leftRelative>=e.offsetWidth}}function Ds(e,t,r){Ps(e,t),t.set(e,r)}function Ps(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function js(e,t){return e.get(Hs(e,t))}function Fs(e,t,r){return e.set(Hs(e,t),r),r}function Hs(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var Bs=new WeakMap,Us=new WeakMap,Vs=new WeakMap,Ys=new WeakMap,zs=new WeakMap;class Ws{constructor(e){Ds(this,Bs,void 0),Ds(this,Us,void 0),Ds(this,Vs,void 0),Ds(this,Ys,!1),Ds(this,zs,{above:0,below:0,left:0,right:0}),Fs(Ys,this,e)}setOffset(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return js(zs,this)[e]=t,this}setElement(e){return Fs(Bs,this,e),this}setParentElement(e){return Fs(Us,this,e),this}updatePosition(e){Fs(Vs,this,new Is(e,js(Bs,this).ownerDocument.defaultView)),js(Ys,this)?(js(Vs,this).fitsBelow(js(Bs,this))?this.setPositionBelowCursor():js(Vs,this).fitsAbove(js(Bs,this))?this.setPositionAboveCursor():this.setPositionBelowCursor(),this.updateHorizontalPosition()):(this.setPositionBelowCursor(),this.setPositionOnRightOfCursor())}updateHorizontalPosition(){"rtl"===js(Bs,this).dir?js(Vs,this).fitsOnLeft(js(Bs,this))?this.setPositionOnLeftOfCursor():this.setPositionOnRightOfCursor():js(Vs,this).fitsOnRight(js(Bs,this))?this.setPositionOnRightOfCursor():this.setPositionOnLeftOfCursor()}setPositionAboveCursor(){let e=js(zs,this).above+js(Vs,this).top-js(Bs,this).offsetHeight;js(Us,this)&&(e=js(Vs,this).top+js(Vs,this).cellHeight-js(Bs,this).offsetHeight+3),js(Bs,this).style.top=e+"px"}setPositionBelowCursor(){let e=js(zs,this).below+js(Vs,this).top+1;js(Us,this)&&(e=js(Vs,this).top-1),js(Bs,this).style.top=e+"px"}setPositionOnRightOfCursor(){let e=js(Vs,this).left;if(js(Us,this)){const{right:t}=js(Us,this).getBoundingClientRect();e+=js(Vs,this).cellWidth+t-(js(Vs,this).left+js(Vs,this).cellWidth)}else e+=js(zs,this).right;js(Bs,this).style.left=e+"px"}setPositionOnLeftOfCursor(){let e=js(zs,this).left+js(Vs,this).left-js(Bs,this).offsetWidth;if(js(Us,this)){const{left:t}=js(Us,this).getBoundingClientRect();e-=js(Vs,this).left-t}js(Bs,this).style.left=e+"px"}}function qs(e){let{initialPage:t=-1,size:r=(()=>0),onItemSelect:n=(()=>{}),onClear:i=(()=>{})}=e;const a=new Set;let o=Object(nt["clamp"])(t,-1,f()-1);function s(e,t){const r=f()-1;if(e<0&&(e=r),e>r&&(e=0),a.has(e))return-1;a.add(e);const i=n(e,!1);return!1===i&&(e=s(1===t?++e:--e,t)),e}function l(e){e>-1&&e<f()&&!1!==n(e,!0)&&(o=e)}function u(){return o}function c(){f()>0&&(a.clear(),o=s(0,1))}function d(){f()>0&&(a.clear(),o=s(f()-1,-1))}function h(){f()>0&&(a.clear(),o=s(++o,1))}function p(){f()>0&&(a.clear(),o=s(--o,-1))}function f(){return Math.max(r(),0)}function m(){a.clear(),o=t,i()}return{setCurrentPage:l,getCurrentPage:u,toFirstItem:c,toLastItem:d,toNextItem:h,toPreviousItem:p,getSize:f,clear:m}}function Gs(e){return Object(d["arrayMap"])(e,e=>({start:e.getTopStartCorner(),end:e.getBottomEndCorner()}))}function Ks(e){return Object(o["hasOwnProperty"])(e,"submenu")}function Xs(e){return new RegExp($a,"i").test(e.name)}function Zs(e,t){return!0===e.disabled||"function"===typeof e.disabled&&!0===e.disabled.call(t)}function $s(e){return Object(o["hasOwnProperty"])(e,"disableSelection")}function Js(e){return Object(i["hasClass"])(e,"htSeparator")}function Qs(e){return Object(i["hasClass"])(e,"htSubmenu")}function el(e){return Object(i["hasClass"])(e,"htDisabled")}function tl(e){return Object(i["hasClass"])(e,"htSelectionDisabled")}function rl(e,t){return!e.hidden||!("function"===typeof e.hidden&&e.hidden.call(t))}function nl(e,t){const r=e.slice(0);for(let n=0;n<r.length;){if(r[n].name!==t)break;r.shift()}return r}function il(e,t){let r=e.slice(0);return r.reverse(),r=nl(r,t),r.reverse(),r}function al(e){const t=[];return Object(d["arrayEach"])(e,(e,r)=>{r>0?t[t.length-1].name!==e.name&&t.push(e):t.push(e)}),t}function ol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$a,r=e.slice(0);return r=nl(r,t),r=il(r,t),r=al(r),r}function sl(e){return qs({size:()=>e.countRows(),onItemSelect(t,r){const n=e.getCell(t,0);if(!n||Js(n)||el(n)||tl(n))return!1;e.selectCell(t,0,...r?[t,0,!1,!1]:[])},onClear(){e.deselectCell()}})}function ll(e){const{hot:t,hotMenu:r}=e;return[{keys:[["Control/Meta","A"]],forwardToContext:t.getShortcutManager().getContext("grid"),callback:()=>e.close(!0)},{keys:[["Tab"],["Shift","Tab"]],callback:(r,n)=>{const i=t.getSettings(),a="function"===typeof i.tabMoves?i.tabMoves(r):i.tabMoves;n.includes("shift")?t.selection.transformStart(-a.row,-a.col):t.selection.transformStart(a.row,a.col),e.close(!0)}},{keys:[["Escape"]],callback:()=>e.close()},{keys:[["ArrowDown"]],callback:()=>e.getNavigator().toNextItem()},{keys:[["ArrowUp"]],callback:()=>e.getNavigator().toPreviousItem()},{keys:[["ArrowRight"]],callback:()=>{const t=r.getSelectedLast();if(t){const r=e.openSubMenu(t[0]);r&&r.getNavigator().toFirstItem()}}},{keys:[["ArrowLeft"]],callback:()=>{const t=r.getSelectedLast();t&&e.isSubMenu()&&(e.close(),e.isSubMenu()&&e.parentMenu.hotMenu.listen())}},{keys:[["Control/Meta","ArrowUp"],["Home"]],callback:()=>e.getNavigator().toFirstItem()},{keys:[["Control/Meta","ArrowDown"],["End"]],callback:()=>e.getNavigator().toLastItem()},{keys:[["Enter"],["Space"]],callback:t=>{const n=r.getSelectedLast();n&&(r.getSourceDataAtRow(n[0]).submenu?e.openSubMenu(n[0]).getNavigator().toFirstItem():(e.executeCommand(t),e.close(!0)))}},{keys:[["PageUp"]],callback:()=>{const t=r.getSelectedLast();t?r.selection.transformStart(-r.countVisibleRows(),0):e.getNavigator().toFirstItem()}},{keys:[["PageDown"]],callback:()=>{const t=r.getSelectedLast();t?r.selection.transformStart(r.countVisibleRows(),0):e.getNavigator().toLastItem()}}]}const ul="menu",cl=ul;function dl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=[];function n(e,t){s(t).addShortcuts(e,{group:ul})}function i(e,t){const i=s(t);e.forEach(e=>{let{keys:t}=e;t.forEach(e=>i.removeShortcutsByKeys(e))}),r.push({shortcuts:e,contextName:t}),n(e,t)}function a(){return[...r]}function o(e){return e?`${cl}:${e}`:cl}function s(t){var r;const n=e.hotMenu.getShortcutManager(),i=o(t);return null!==(r=n.getContext(i))&&void 0!==r?r:n.addContext(i)}function l(t){e.hotMenu.getShortcutManager().setActiveContextName(o(t))}return n(ll(e)),t.forEach(e=>{let{shortcuts:t,contextName:r}=e;i(t,r)}),{addCustomShortcuts:i,getCustomShortcuts:a,getContext:s,listen:l}}function hl(e){return(t,r,n,a,o,s)=>{if(r.hasAttribute("ghost-table"))return;const l=t.getSourceDataAtRow(n),u=e.rootDocument.createElement("div"),c="function"===typeof s?s.call(e):s;if(Object(i["empty"])(r),Object(i["addClass"])(u,"htItemWrapper"),e.getSettings().ariaTags){const t=!Zs(l,e)&&!$s(l)&&!Xs(l);Object(i["setAttribute"])(r,[Object(v["t"])(),Object(v["p"])(c),...t?[Object(v["K"])(-1)]:[],...Zs(l,e)?[Object(v["j"])()]:[],...Ks(l)?[Object(v["k"])(!1)]:[]])}r.className="",r.appendChild(u),Xs(l)?Object(i["addClass"])(r,"htSeparator"):"function"===typeof l.renderer?(Object(i["addClass"])(r,"htCustomMenuRenderer"),r.appendChild(l.renderer(t,u,n,a,o,c))):Object(i["fastInnerHTML"])(u,c),Zs(l,e)?Object(i["addClass"])(r,"htDisabled"):$s(l)?Object(i["addClass"])(r,"htSelectionDisabled"):Ks(l)&&Object(i["addClass"])(r,"htSubmenu")}}function pl(e,t,r){fl(e,t),t.set(e,r)}function fl(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ml(e,t,r){return t=gl(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){var t=vl(e,"string");return"symbol"==typeof t?t:t+""}function vl(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function bl(e,t,r){return e.set(wl(e,t),r),r}function yl(e,t){return e.get(wl(e,t))}function wl(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const _l=215;var Sl=new WeakMap,El=new WeakMap;class Ml{constructor(e,t){var r=this;ml(this,"hot",void 0),ml(this,"options",void 0),ml(this,"eventManager",new Le["a"](this)),ml(this,"container",void 0),ml(this,"positioner",void 0),ml(this,"hotMenu",null),ml(this,"hotSubMenus",{}),ml(this,"parentMenu",void 0),ml(this,"menuItems",null),ml(this,"origOutsideClickDeselects",null),pl(this,Sl,void 0),pl(this,El,void 0),this.hot=e,this.options=t||{parent:null,name:null,className:"",keepInViewport:!0,standalone:!1,minWidth:_l,container:this.hot.rootDocument.documentElement},this.container=this.createContainer(this.options.name),this.positioner=new Ws(this.options.keepInViewport),this.parentMenu=this.options.parent||null,this.registerEvents(),this.isSubMenu()&&this.addLocalHook("afterSelectionChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.parentMenu.runLocalHooks("afterSelectionChange",...t)}))}registerEvents(){let e=this.hot.rootWindow;while(e)this.eventManager.addEventListener(e.document,"mousedown",e=>this.onDocumentMouseDown(e)),this.eventManager.addEventListener(e.document,"contextmenu",e=>this.onDocumentContextMenu(e)),e=Object(i["getParentWindow"])(e)}setMenuItems(e){this.menuItems=e}getNavigator(){return yl(Sl,this)}getKeyboardShortcutsCtrl(){return yl(El,this)}getSelectedItem(){return this.hasSelectedItem()?this.hotMenu.getSourceDataAtRow(this.hotMenu.getSelectedLast()[0]):null}hasSelectedItem(){return Array.isArray(this.hotMenu.getSelectedLast())}isSubMenu(){return null!==this.parentMenu}open(){this.runLocalHooks("beforeOpen"),this.container.removeAttribute("style"),this.container.style.display="block";const e=Object(si["debounce"])(e=>this.openSubMenu(e),300),t=this.options.minWidth||_l;let r=!1,n=Object(d["arrayFilter"])(this.menuItems,e=>(e.key===ys&&(r=!0),rl(e,this.hot)));if(n.length<1&&!r)n.push(Ts()[ys]);else if(0===n.length)return;n=ol(n,$a);let i=!1;const o={data:n,colHeaders:!1,autoColumnSize:!0,autoWrapRow:!1,modifyColWidth(e){return Object(h["isDefined"])(e)&&e<t?t:e},autoRowSize:!1,readOnly:!0,editor:!1,copyPaste:!1,hiddenRows:!0,maxCols:1,columns:[{data:"name",renderer:hl(this.hot)}],renderAllRows:!0,fragmentSelection:!1,outsideClickDeselects:!1,disableVisualSelection:"area",layoutDirection:this.hot.isRtl()?"rtl":"ltr",ariaTags:!1,beforeOnCellMouseOver:(e,t)=>{yl(Sl,this).setCurrentPage(t.row)},afterOnCellMouseOver:(t,r)=>{this.isAllSubMenusClosed()?e(r.row):this.openSubMenu(r.row)},rowHeights:e=>n[e].name===$a?1:23,afterOnCellContextMenu:e=>{e.preventDefault(),Object(m["isWindowsOS"])()&&i&&this.hasSelectedItem()&&this.close(!0)},afterSelection:(e,t,r,n,i)=>{this.hotMenu.view.isMouseDown()&&(i.value=!0),this.runLocalHooks("afterSelectionChange",this.getSelectedItem())},beforeOnCellMouseUp:e=>{this.hasSelectedItem()&&(i=!this.isCommandPassive(this.getSelectedItem()),this.executeCommand(e))},afterOnCellMouseUp:e=>{Object(m["isWindowsOS"])()&&Object(a["isRightClick"])(e)||!i||!this.hasSelectedItem()||(Object(m["isMobileBrowser"])()||Object(m["isIpadOS"])()?this.hot._registerTimeout(()=>this.close(!0),325):this.close(!0))},afterUnlisten:()=>{!this.hasSelectedItem()&&this.isOpened()&&this.hotMenu.listen()}};this.origOutsideClickDeselects=this.hot.getSettings().outsideClickDeselects,this.hot.getSettings().outsideClickDeselects=!1,this.hotMenu=new this.hot.constructor(this.container,o),this.hotMenu.addHook("afterInit",()=>this.onAfterInit()),this.hotMenu.init(),bl(Sl,this,sl(this.hotMenu)),bl(El,this,dl(this)),yl(El,this).listen(),this.focus(),this.isSubMenu()&&this.addLocalHook("afterOpen",()=>this.parentMenu.runLocalHooks("afterSubmenuOpen",this)),this.runLocalHooks("afterOpen",this)}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isOpened())if(e&&this.isSubMenu())this.parentMenu.close();else if(yl(Sl,this).clear(),this.closeAllSubMenus(),this.container.style.display="none",this.hotMenu.destroy(),this.hotMenu=null,this.hot.getSettings().outsideClickDeselects=this.origOutsideClickDeselects,this.runLocalHooks("afterClose"),this.isSubMenu()){if(this.hot.getSettings().ariaTags){const e=this.parentMenu.hotMenu.getSelectedLast();if(e){const t=this.parentMenu.hotMenu.getCell(e[0],0);Object(i["setAttribute"])(t,[Object(v["k"])(!1)])}}this.parentMenu.hotMenu.listen()}}openSubMenu(e){if(!this.hotMenu)return!1;const t=this.hotMenu.getCell(e,0);if(this.closeAllSubMenus(),!t||!Qs(t))return!1;const r=this.hotMenu.getSourceDataAtRow(e),n=new Ml(this.hot,{parent:this,name:r.name,className:this.options.className,keepInViewport:!0,container:this.options.container});return n.setMenuItems(r.submenu.items),n.open(),n.setPosition(t.getBoundingClientRect()),this.hotSubMenus[r.key]=n,this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(t,[Object(v["k"])(!0)]),n}closeSubMenu(e){const t=this.hotMenu.getSourceDataAtRow(e),r=this.hotSubMenus[t.key];if(r){r.destroy(),delete this.hotSubMenus[t.key];const n=this.hotMenu.getCell(e,0);this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(n,[Object(v["k"])(!1)])}}closeAllSubMenus(){Object(d["arrayEach"])(this.hotMenu.getData(),(e,t)=>this.closeSubMenu(t))}isAllSubMenusClosed(){return 0===Object.keys(this.hotSubMenus).length}focus(){this.isOpened()&&(this.hotMenu.rootElement.focus({preventScroll:!0}),this.getKeyboardShortcutsCtrl().listen(),this.hotMenu.listen())}destroy(){const e=this.container.parentNode;this.clearLocalHooks(),this.close(),this.parentMenu=null,this.eventManager.destroy(),e&&e.removeChild(this.container)}isOpened(){return null!==this.hotMenu}executeCommand(e){if(!this.isOpened()||!this.hasSelectedItem())return;const t=this.getSelectedItem();if(this.runLocalHooks("select",t,e),this.isCommandPassive(t))return;const r=this.hot.getSelectedRange(),n=r?Gs(r):[];this.runLocalHooks("executeCommand",t.key,n,e),this.isSubMenu()&&this.parentMenu.runLocalHooks("executeCommand",t.key,n,e)}isCommandPassive(e){return!1===e.isCommand||Xs(e)||Zs(e,this.hot)||Ks(e)}setOffset(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.positioner.setOffset(e,t)}setPosition(e){this.isSubMenu()&&this.positioner.setParentElement(this.parentMenu.container),this.positioner.setElement(this.container).updatePosition(e)}createContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=this.options.container.ownerDocument;let r,n=e;return n&&(Object(si["isFunction"])(n)&&(n=n.call(this.hot),n=null===n||Object(h["isUndefined"])(n)?"":n.toString()),n=n.replace(/[^A-z0-9]/g,"_"),n=`${this.options.className}Sub_${n}`,r=t.querySelector(`.${this.options.className}.${n}`)),r||(r=t.createElement("div"),Object(i["addClass"])(r,"htMenu "+this.options.className),n&&Object(i["addClass"])(r,n),this.options.container.appendChild(r)),r}onAfterInit(){const{wtTable:e}=this.hotMenu.view._wt,t=this.hotMenu.getSettings().data,r=e.hider.style,n=e.holder.style,a=parseInt(r.width,10),o=Object(d["arrayReduce"])(t,(e,t)=>e+(t.name===$a?1:26),0);n.width=a+3+"px",n.height=o+3+"px",r.height=n.height,this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(this.hotMenu.rootElement,[Object(v["s"])(),Object(v["K"])(-1)])}onDocumentMouseDown(e){this.isOpened()&&(this.options.standalone&&this.hotMenu&&!Object(i["isChildOf"])(e.target,this.hotMenu.rootElement)?this.close(!0):!this.isAllSubMenusClosed()&&!this.isSubMenu()||Object(i["isChildOf"])(e.target,".htMenu")||this.close(!0))}onDocumentContextMenu(e){this.isOpened()&&Object(i["hasClass"])(e.target,"htCore")&&Object(i["isChildOf"])(e.target,this.hotMenu.rootElement)&&e.preventDefault()}}function Tl(e,t){Cl(e,t),t.add(e)}function Cl(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xl(e,t,r){return t=Al(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){var t=Nl(e,"string");return"symbol"==typeof t?t:t+""}function Nl(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Ol(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object(o["mixin"])(Ml,Ya["a"]);const Rl="contextMenu",Ll=70,kl=Rl;fe["a"].getSingleton().register("afterContextMenuDefaultOptions"),fe["a"].getSingleton().register("beforeContextMenuShow"),fe["a"].getSingleton().register("afterContextMenuShow"),fe["a"].getSingleton().register("afterContextMenuHide"),fe["a"].getSingleton().register("afterContextMenuExecute");var Il=new WeakSet;class Dl extends er["a"]{constructor(){super(...arguments),Tl(this,Il),xl(this,"commandExecutor",new Zo(this.hot)),xl(this,"itemsFactory",null),xl(this,"menu",null)}static get PLUGIN_KEY(){return Rl}static get PLUGIN_PRIORITY(){return Ll}static get PLUGIN_DEPS(){return["plugin:AutoColumnSize"]}static get DEFAULT_ITEMS(){return[ms,vs,$a,rs,is,$a,ps,ds,$a,_s,ls,$a,os,$a,Jo]}isEnabled(){return!!this.hot.getSettings()[Rl]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[Rl];"function"===typeof t.callback&&this.commandExecutor.setCommonCallback(t.callback),this.menu=new Ml(this.hot,{className:"htContextMenu",keepInViewport:!0,container:t.uiContainer||this.hot.rootDocument.body}),this.menu.addLocalHook("beforeOpen",()=>Ol(Il,this,jl).call(this)),this.menu.addLocalHook("afterOpen",()=>Ol(Il,this,Fl).call(this)),this.menu.addLocalHook("afterClose",()=>Ol(Il,this,Hl).call(this)),this.menu.addLocalHook("executeCommand",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.executeCommand.call(e,...r)})),this.addHook("afterOnCellContextMenu",e=>Ol(Il,this,Pl).call(this,e)),this.registerShortcuts(),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.close(),this.menu&&(this.menu.destroy(),this.menu=null),this.unregisterShortcuts(),super.disablePlugin()}registerShortcuts(){this.hot.getShortcutManager().getContext("grid").addShortcut({keys:[["Control/Meta","Shift","Backslash"],["Shift","F10"]],callback:()=>{const{highlight:e}=this.hot.getSelectedRangeLast();this.hot.scrollToFocusedCell();const t=this.hot.getCell(e.row,e.col,!0).getBoundingClientRect(),r=lo(this.menu.container,this.hot.rootDocument);this.open({left:t.left+r.left,top:t.top+r.top-1+t.height},{left:t.width,above:-t.height}),this.menu.getNavigator().toFirstItem()},runOnlyIf:()=>{var e;const t=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return t&&this.hot.selection.isCellVisible(t)&&!this.menu.isOpened()},group:kl})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(kl)}open(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{above:0,below:0,left:0,right:0};null!==(t=this.menu)&&void 0!==t&&t.isOpened()||(this.prepareMenuItems(),this.menu.open(),Object(o["objectEach"])(r,(e,t)=>{this.menu.setOffset(t,e)}),this.menu.setPosition(e))}close(){var e;null===(e=this.menu)||void 0===e||e.close(),this.itemsFactory=null}executeCommand(e){null===this.itemsFactory&&this.prepareMenuItems();for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.commandExecutor.execute(e,...r)}prepareMenuItems(){this.itemsFactory=new Ns(this.hot,Dl.DEFAULT_ITEMS);const e=this.hot.getSettings()[Rl],t={items:this.itemsFactory.getItems(e)};this.hot.runHooks("afterContextMenuDefaultOptions",t),this.itemsFactory.setPredefinedItems(t.items);const r=this.itemsFactory.getItems(e);this.hot.runHooks("beforeContextMenuSetItems",r),this.menu.setMenuItems(r),Object(d["arrayEach"])(r,e=>this.commandExecutor.registerCommand(e.key,e))}destroy(){this.close(),this.menu&&this.menu.destroy(),super.destroy()}}function Pl(e){const t=this.hot.getSettings(),r=t.rowHeaders,n=t.colHeaders;function a(e){return"TD"===e.nodeName||"TD"===e.parentNode.nodeName}const o=e.target;if(this.close(),Object(i["hasClass"])(o,"handsontableInput"))return;if(e.preventDefault(),e.stopPropagation(),!r&&!n&&!a(o)&&(!Object(i["hasClass"])(o,"current")||!Object(i["hasClass"])(o,"wtBorder")))return;const s=lo(this.menu.container,this.hot.rootDocument);this.open({top:e.clientY+s.top,left:e.clientX+s.left})}function jl(){this.hot.runHooks("beforeContextMenuShow",this)}function Fl(){this.hot.runHooks("afterContextMenuShow",this)}function Hl(){this.hot.listen(),this.hot.runHooks("afterContextMenuHide",this)}Dl.SEPARATOR={name:$a};var Bl=r("3bc4");function Ul(e){return{key:"copy",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_COPY"])},callback(){e.copyCellsOnly()},disabled(){if(0===this.countRows()||0===this.countCols())return!0;const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader())return!0;const t=this.getSelected();return!t||t.length>1},hidden:!1}}function Vl(e){return{key:"copy_column_headers_only",name(){const e=this.getSelectedRangeLast(),t=e?Object(nt["clamp"])(e.getWidth()-1,0,1):0;return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY"],t)},callback(){e.copyColumnHeadersOnly()},disabled(){if(!this.hasColHeaders())return!0;const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader())return!0;const t=this.getSelected();return!t||t.length>1},hidden:!1}}function Yl(e){return{key:"copy_with_column_group_headers",name(){const e=this.getSelectedRangeLast(),t=e?Object(nt["clamp"])(e.getWidth()-1,0,1):0;return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS"],t)},callback(){e.copyWithAllColumnHeaders()},disabled(){if(!this.hasColHeaders()||!this.getSettings().nestedHeaders)return!0;const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader())return!0;const t=this.getSelected();return!t||t.length>1},hidden:!1}}function zl(e){return{key:"copy_with_column_headers",name(){const e=this.getSelectedRangeLast(),t=e?Object(nt["clamp"])(e.getWidth()-1,0,1):0;return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS"],t)},callback(){e.copyWithColumnHeaders()},disabled(){if(!this.hasColHeaders())return!0;const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader())return!0;const t=this.getSelected();return!t||t.length>1},hidden:!1}}function Wl(e){return{key:"cut",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_CUT"])},callback(){e.cut()},disabled(){if(0===this.countRows()||0===this.countCols())return!0;const e=this.getSelectedRangeLast();if(!e)return!0;if(e.isSingleHeader())return!0;const t=this.getSelected();return!t||t.length>1},hidden:!1}}class ql{constructor(){this.data={}}setData(e,t){this.data[e]=t}getData(e){return this.data[e]||void 0}}class Gl{constructor(){this.clipboardData=new ql}}function Kl(e,t){Zl(e,t),t.add(e)}function Xl(e,t,r){Zl(e,t),t.set(e,r)}function Zl(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $l(e,t){return e.get(Ql(e,t))}function Jl(e,t,r){return e.set(Ql(e,t),r),r}function Ql(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var eu=new WeakMap,tu=new WeakMap,ru=new WeakMap,nu=new WeakMap,iu=new WeakMap,au=new WeakMap,ou=new WeakSet;class su{constructor(e){let{countRows:t,countColumns:r,rowsLimit:n,columnsLimit:i,countColumnHeaders:a}=e;Kl(this,ou),Xl(this,eu,void 0),Xl(this,tu,void 0),Xl(this,ru,void 0),Xl(this,nu,void 0),Xl(this,iu,void 0),Xl(this,au,void 0),Jl(tu,this,t),Jl(ru,this,r),Jl(nu,this,n),Jl(iu,this,i),Jl(au,this,a)}setSelectedRange(e){Jl(eu,this,e)}getCellsRange(){if(0===$l(tu,this).call(this)||0===$l(ru,this).call(this))return null;const{row:e,col:t}=$l(eu,this).getTopStartCorner(),{row:r,col:n}=$l(eu,this).getBottomEndCorner(),i=Ql(ou,this,uu).call(this,e,r),a=Ql(ou,this,lu).call(this,t,n),o=r!==i||n!==a;return{isRangeTrimmed:o,startRow:e,startCol:t,endRow:i,endCol:a}}getMostBottomColumnHeadersRange(){if(0===$l(ru,this).call(this)||0===$l(au,this).call(this))return null;const{col:e}=$l(eu,this).getTopStartCorner(),{col:t}=$l(eu,this).getBottomEndCorner(),r=Ql(ou,this,lu).call(this,e,t),n=t!==r;return{isRangeTrimmed:n,startRow:-1,startCol:e,endRow:-1,endCol:r}}getAllColumnHeadersRange(){if(0===$l(ru,this).call(this)||0===$l(au,this).call(this))return null;const{col:e}=$l(eu,this).getTopStartCorner(),{col:t}=$l(eu,this).getBottomEndCorner(),r=Ql(ou,this,lu).call(this,e,t),n=t!==r;return{isRangeTrimmed:n,startRow:-$l(au,this).call(this),startCol:e,endRow:-1,endCol:r}}}function lu(e,t){return Math.min(t,Math.max(e+$l(iu,this).call(this)-1,e))}function uu(e,t){return Math.min(t,Math.max(e+$l(nu,this).call(this)-1,e))}function cu(e){const t=[],r=[];return Object(d["arrayEach"])(e,e=>{const n=Math.min(e.startRow,e.endRow),i=Math.max(e.startRow,e.endRow);Object(nt["rangeEach"])(n,i,e=>{-1===t.indexOf(e)&&t.push(e)});const a=Math.min(e.startCol,e.endCol),o=Math.max(e.startCol,e.endCol);Object(nt["rangeEach"])(a,o,e=>{-1===r.indexOf(e)&&r.push(e)})}),{rows:t,columns:r}}var du=r("a776");function hu(e,t){fu(e,t),t.add(e)}function pu(e,t,r){fu(e,t),t.set(e,r)}function fu(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function mu(e,t,r){return t=gu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){var t=vu(e,"string");return"symbol"==typeof t?t:t+""}function vu(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function bu(e,t){return e.get(wu(e,t))}function yu(e,t,r){return e.set(wu(e,t),r),r}function wu(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("afterCopyLimit"),fe["a"].getSingleton().register("modifyCopyableRange"),fe["a"].getSingleton().register("beforeCut"),fe["a"].getSingleton().register("afterCut"),fe["a"].getSingleton().register("beforePaste"),fe["a"].getSingleton().register("afterPaste"),fe["a"].getSingleton().register("beforeCopy"),fe["a"].getSingleton().register("afterCopy");const _u="copyPaste",Su=80,Eu=["fragmentSelection"],Mu=['<meta name="generator" content="Handsontable"/>','<style type="text/css">td{white-space:normal}br{mso-data-placement:same-cell}</style>'].join("");var Tu=new WeakMap,Cu=new WeakMap,xu=new WeakMap,Au=new WeakMap,Nu=new WeakMap,Ou=new WeakMap,Ru=new WeakMap,Lu=new WeakMap,ku=new WeakSet;class Iu extends er["a"]{constructor(){super(...arguments),hu(this,ku),mu(this,"columnsLimit",1/0),mu(this,"rowsLimit",1/0),mu(this,"pasteMode","overwrite"),mu(this,"uiContainer",this.hot.rootDocument.body),pu(this,Tu,!1),pu(this,Cu,!1),pu(this,xu,!1),pu(this,Au,"cells-only"),pu(this,Nu,!1),pu(this,Ou,!1),pu(this,Ru,new su({countRows:()=>this.hot.countRows(),countColumns:()=>this.hot.countCols(),rowsLimit:()=>this.rowsLimit,columnsLimit:()=>this.columnsLimit,countColumnHeaders:()=>this.hot.view.getColumnHeadersCount()})),pu(this,Lu,!1),mu(this,"copyableRanges",[])}static get PLUGIN_KEY(){return _u}static get SETTING_KEYS(){return[_u,...Eu]}static get PLUGIN_PRIORITY(){return Su}isEnabled(){return!!this.hot.getSettings()[_u]}enablePlugin(){var e=this;if(this.enabled)return;const{[_u]:t}=this.hot.getSettings();var r,n;"object"===typeof t&&(this.pasteMode=null!==(r=t.pasteMode)&&void 0!==r?r:this.pasteMode,this.rowsLimit=isNaN(t.rowsLimit)?this.rowsLimit:t.rowsLimit,this.columnsLimit=isNaN(t.columnsLimit)?this.columnsLimit:t.columnsLimit,yu(Tu,this,!!t.copyColumnHeaders),yu(Cu,this,!!t.copyColumnGroupHeaders),yu(xu,this,!!t.copyColumnHeadersOnly),this.uiContainer=null!==(n=t.uiContainer)&&void 0!==n?n:this.uiContainer);this.addHook("afterContextMenuDefaultOptions",e=>wu(ku,this,Hu).call(this,e)),this.addHook("afterSelection",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return wu(ku,e,Bu).call(e,...r)})),this.addHook("afterSelectionEnd",()=>wu(ku,this,Uu).call(this)),this.eventManager.addEventListener(this.hot.rootDocument,"copy",(function(){return e.onCopy(...arguments)})),this.eventManager.addEventListener(this.hot.rootDocument,"cut",(function(){return e.onCut(...arguments)})),this.eventManager.addEventListener(this.hot.rootDocument,"paste",(function(){return e.onPaste(...arguments)})),Object(m["isSafari"])()&&(this.eventManager.addEventListener(this.hot.rootDocument.body,"mouseenter",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return wu(ku,e,Vu).call(e,...r)})),this.eventManager.addEventListener(this.hot.rootDocument.body,"mouseleave",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return wu(ku,e,Yu).call(e,...r)})),this.addHook("afterSelection",()=>wu(ku,this,zu).call(this))),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){super.disablePlugin()}copy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"cells-only";yu(Au,this,e),yu(Nu,this,!0),wu(ku,this,Du).call(this,"copy")}copyCellsOnly(){this.copy("cells-only")}copyColumnHeadersOnly(){this.copy("column-headers-only")}copyWithAllColumnHeaders(){this.copy("with-column-group-headers")}copyWithColumnHeaders(){this.copy("with-column-headers")}cut(){yu(Ou,this,!0),wu(ku,this,Du).call(this,"cut")}getRangedCopyableData(e){return Object(Bl["b"])(this.getRangedData(e))}getRangedData(e){const t=[],{rows:r,columns:n}=cu(e);return Object(d["arrayEach"])(r,e=>{const r=[];Object(d["arrayEach"])(n,t=>{e<0?r.push(this.hot.getColHeader(t,e)):r.push(this.hot.getCopyableData(e,t))}),t.push(r)}),t}paste(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(!e&&!t)return;const r=new Gl;e&&r.clipboardData.setData("text/plain",e),t&&r.clipboardData.setData("text/html",t),this.onPaste(r)}setCopyableText(){const e=this.hot.getSelectedRangeLast();if(!e)return;if(e.isSingleHeader())return void(this.copyableRanges=[]);bu(Ru,this).setSelectedRange(e);const t=new Map([["headers",null],["cells",null]]);"column-headers-only"===bu(Au,this)?t.set("headers",bu(Ru,this).getMostBottomColumnHeadersRange()):("with-column-headers"===bu(Au,this)?t.set("headers",bu(Ru,this).getMostBottomColumnHeadersRange()):"with-column-group-headers"===bu(Au,this)&&t.set("headers",bu(Ru,this).getAllColumnHeadersRange()),t.set("cells",bu(Ru,this).getCellsRange())),this.copyableRanges=Array.from(t.values()).filter(e=>null!==e).map(e=>{let{startRow:t,startCol:r,endRow:n,endCol:i}=e;return{startRow:t,startCol:r,endRow:n,endCol:i}}),this.copyableRanges=this.hot.runHooks("modifyCopyableRange",this.copyableRanges);const r=t.get("cells");if(null!==r&&r.isRangeTrimmed){const{startRow:e,startCol:t,endRow:n,endCol:i}=r;this.hot.runHooks("afterCopyLimit",n-e+1,i-t+1,this.rowsLimit,this.columnsLimit)}}isEditorOpened(){var e;return null===(e=this.hot.getActiveEditor())||void 0===e?void 0:e.isOpened()}populateValues(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.hot.getSelectedRangeLast();if(!e.length)return;const r=e.length,n=e[0].length,i=[],{row:a,col:o}=t.getTopStartCorner(),{row:s,col:l}=t.getBottomEndCorner();let u=a,c=o,d=a,h=o;while(i.length<r||u<=s){const{skipRowOnPaste:t,visualRow:s}=this.hot.getCellMeta(u,o);if(u=s+1,!0===t)continue;d=s,c=o;const p=[],f=i.length%r;while(p.length<n||c<=l){const{skipColumnOnPaste:t,visualCol:r}=this.hot.getCellMeta(a,c);if(c=r+1,!0===t)continue;h=r;const i=p.length%n;p.push(e[f][i])}i.push(p)}return yu(Lu,this,!0),this.hot.populateFromArray(a,o,i,void 0,void 0,"CopyPaste.paste",this.pasteMode),[a,o,d,h]}onCopy(e){if(!this.hot.isListening()&&!bu(Nu,this)||this.isEditorOpened())return;this.setCopyableText(),yu(Nu,this,!1);const t=this.getRangedData(this.copyableRanges),r=wu(ku,this,Pu).call(this,this.copyableRanges),n=!!this.hot.runHooks("beforeCopy",t,this.copyableRanges,r);if(n){const n=Object(Bl["b"])(t);if(e&&e.clipboardData){const r=Object(du["_dataToHTML"])(t,this.hot.rootDocument);e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",[Mu,r].join(""))}else"undefined"===typeof ClipboardEvent&&this.hot.rootWindow.clipboardData.setData("Text",n);this.hot.runHooks("afterCopy",t,this.copyableRanges,r)}yu(Au,this,"cells-only"),e.preventDefault()}onCut(e){if(!this.hot.isListening()&&!bu(Ou,this)||this.isEditorOpened())return;this.setCopyableText(),yu(Ou,this,!1);const t=this.getRangedData(this.copyableRanges),r=!!this.hot.runHooks("beforeCut",t,this.copyableRanges);if(r){const r=Object(Bl["b"])(t);if(e&&e.clipboardData){const n=Object(du["_dataToHTML"])(t,this.hot.rootDocument);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",[Mu,n].join(""))}else"undefined"===typeof ClipboardEvent&&this.hot.rootWindow.clipboardData.setData("Text",r);this.hot.emptySelectedCells("CopyPaste.cut"),this.hot.runHooks("afterCut",t,this.copyableRanges)}e.preventDefault()}onPaste(e){if(!this.hot.isListening()||this.isEditorOpened()||!this.hot.getSelected())return;let t;if(e&&e.preventDefault&&e.preventDefault(),e&&"undefined"!==typeof e.clipboardData){const r=Object(p["sanitize"])(e.clipboardData.getData("text/html"),{ADD_TAGS:["meta"],ADD_ATTR:["content"],FORCE_BODY:!0});if(r&&/(<table)|(<TABLE)/g.test(r)){const e=Object(du["htmlToGridSettings"])(r,this.hot.rootDocument);t=e.data}else t=e.clipboardData.getData("text/plain")}else"undefined"===typeof ClipboardEvent&&"undefined"!==typeof this.hot.rootWindow.clipboardData&&(t=this.hot.rootWindow.clipboardData.getData("Text"));if("string"===typeof t&&(t=Object(Bl["a"])(t)),void 0===t||t&&0===t.length)return;if(!1===this.hot.runHooks("beforePaste",t,this.copyableRanges))return;const[r,n,i,a]=this.populateValues(t);this.hot.selectCell(r,n,Math.min(this.hot.countRows()-1,i),Math.min(this.hot.countCols()-1,a)),this.hot.runHooks("afterPaste",t,this.copyableRanges)}destroy(){super.destroy()}}function Du(e){if(Object(m["isSafari"])()){const t=this.hot.getSelectedRangeLast();if(t){const{row:r,col:n}=t.highlight,a=this.hot.getCell(r,n,!0);a&&Object(i["runWithSelectedContendEditableElement"])(a,()=>{this.hot.rootDocument.execCommand(e)})}}else this.hot.rootDocument.execCommand(e)}function Pu(e){const{rows:t}=cu(e);let r=0;for(let n=0;n<t.length;n++){if(t[n]>=0)break;r+=1}return{columnHeadersCount:r}}function ju(){if(this.hot.isListening()){const e=this.hot.getSelectedRangeLast();if(e){const{row:t,col:r}=e.highlight,n=this.hot.getCell(t,r,!0);n&&Object(i["makeElementContentEditableAndSelectItsContent"])(n)}}}function Fu(){if(this.hot.isListening()){const e=this.hot.getSelectedRangeLast();if(e){const{row:t,col:r}=e.highlight,n=this.hot.getCell(t,r,!0);null!==n&&void 0!==n&&n.hasAttribute("contenteditable")&&Object(i["removeContentEditableFromElementAndDeselect"])(n)}}}function Hu(e){e.items.push({name:"---------"},Ul(this)),bu(Tu,this)&&e.items.push(zl(this)),bu(Cu,this)&&e.items.push(Yl(this)),bu(xu,this)&&e.items.push(Vl(this)),e.items.push(Wl(this))}function Bu(e,t,r,n,i){bu(Lu,this)&&(i.value=!0),yu(Lu,this,!1)}function Uu(){this.isEditorOpened()||this.hot.getSettings().fragmentSelection||this.setCopyableText()}function Vu(){wu(ku,this,Fu).call(this)}function Yu(){wu(ku,this,ju).call(this)}function zu(){wu(ku,this,Fu).call(this)}function Wu(e,t){return`border_row${e}col${t}`}function qu(){return{width:1,color:"#000"}}function Gu(){return{hide:!0}}function Ku(){return{width:1,color:"#000",cornerVisible:!1}}function Xu(e){var t,r;(Object(h["isDefined"])(e.start)||Object(h["isDefined"])(e.left))&&(e.start=null!==(t=e.start)&&void 0!==t?t:e.left);(Object(h["isDefined"])(e.end)||Object(h["isDefined"])(e.right))&&(e.end=null!==(r=e.end)&&void 0!==r?r:e.right);return delete e.left,delete e.right,e}function Zu(e){return Object(h["isDefined"])(e.start)&&(e.left=e.start),Object(h["isDefined"])(e.end)&&(e.right=e.end),e}function $u(e,t){return{id:Wu(e,t),border:Ku(),row:e,col:t,top:Gu(),bottom:Gu(),start:Gu(),end:Gu()}}function Ju(e,t){return Object(o["hasOwnProperty"])(t,"border")&&t.border&&(e.border=t.border),Object(o["hasOwnProperty"])(t,"top")&&Object(h["isDefined"])(t.top)&&(t.top?(Object(o["isObject"])(t.top)||(t.top=qu()),e.top=t.top):(t.top=Gu(),e.top=t.top)),Object(o["hasOwnProperty"])(t,"bottom")&&Object(h["isDefined"])(t.bottom)&&(t.bottom?(Object(o["isObject"])(t.bottom)||(t.bottom=qu()),e.bottom=t.bottom):(t.bottom=Gu(),e.bottom=t.bottom)),Object(o["hasOwnProperty"])(t,"start")&&Object(h["isDefined"])(t.start)&&(t.start?(Object(o["isObject"])(t.start)||(t.start=qu()),e.start=t.start):(t.start=Gu(),e.start=t.start)),Object(o["hasOwnProperty"])(t,"end")&&Object(h["isDefined"])(t.end)&&(t.end?(Object(o["isObject"])(t.end)||(t.end=qu()),e.end=t.end):(t.end=Gu(),e.end=t.end)),e}function Qu(e,t){let r=!1;return Object(d["arrayEach"])(e.getSelectedRange(),n=>{n.forAll((n,i)=>{if(n<0||i<0)return;const a=e.getCellMeta(n,i).borders;if(a){if(!t)return r=!0,!1;if(!Object(o["hasOwnProperty"])(a[t],"hide")||!1===a[t].hide)return r=!0,!1}})}),r}function ec(e){return`<span class="selected">${String.fromCharCode(10003)}</span>${e}`}function tc(e){return e.some(e=>Object(h["isDefined"])(e.left)||Object(h["isDefined"])(e.right))}function rc(e){return e.some(e=>Object(h["isDefined"])(e.start)||Object(h["isDefined"])(e.end))}const nc=new Map([["left","start"],["right","end"]]);function ic(e){var t;return null!==(t=nc.get(e))&&void 0!==t?t:e}function ac(e){return{key:"borders:top",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_TOP"]);const t=Qu(this,"top");return t&&(e=ec(e)),e},callback(t,r){const n=Qu(this,"top");e.prepareBorder(r,"top",n)}}}function oc(e){const t=e.hot.isRtl()?"start":"end";return{key:"borders:right",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_RIGHT"]);const r=Qu(this,t);return r&&(e=ec(e)),e},callback(r,n){const i=Qu(this,t);e.prepareBorder(n,t,i)}}}function sc(e){return{key:"borders:bottom",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_BOTTOM"]);const t=Qu(this,"bottom");return t&&(e=ec(e)),e},callback(t,r){const n=Qu(this,"bottom");e.prepareBorder(r,"bottom",n)}}}function lc(e){const t=e.hot.isRtl()?"end":"start";return{key:"borders:left",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_LEFT"]);const r=Qu(this,t);return r&&(e=ec(e)),e},callback(r,n){const i=Qu(this,t);e.prepareBorder(n,t,i)}}}function uc(e){return{key:"borders:no_borders",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_REMOVE_BORDERS"])},callback(t,r){e.prepareBorder(r,"noBorders")},disabled(){return!Qu(this)}}}function cc(e,t){dc(e,t),t.add(e)}function dc(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hc(e,t,r){return t=pc(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){var t=fc(e,"string");return"symbol"==typeof t?t:t+""}function fc(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function mc(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const gc="customBorders",vc=90;var bc=new WeakSet;class yc extends er["a"]{constructor(){super(...arguments),cc(this,bc),hc(this,"savedBorders",[])}static get PLUGIN_KEY(){return gc}static get PLUGIN_PRIORITY(){return vc}isEnabled(){return!!this.hot.getSettings()[gc]}enablePlugin(){this.enabled||(this.addHook("afterContextMenuDefaultOptions",e=>mc(bc,this,wc).call(this,e)),this.addHook("init",()=>mc(bc,this,_c).call(this)),super.enablePlugin())}disablePlugin(){this.hideBorders(),super.disablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.changeBorderSettings(),super.updatePlugin()}setBorders(e,t){let r=["top","bottom","start","end"],n=null;t&&(this.checkSettingsCohesion([t]),r=Object.keys(t),n=Xu(t));const i=Object(cs["c"])(e),a=Object(cs["d"])(i,{createCellCoords:this.hot._createCellCoords.bind(this.hot),createCellRange:this.hot._createCellRange.bind(this.hot)});Object(d["arrayEach"])(e,e=>{a(e).forAll((e,t)=>{Object(d["arrayEach"])(r,r=>{this.prepareBorderFromCustomAdded(e,t,n,ic(r))})})}),this.hot.view.render()}getBorders(e){if(!Array.isArray(e))return this.savedBorders;const t=Object(cs["c"])(e),r=Object(cs["d"])(t,{createCellCoords:this.hot._createCellCoords.bind(this.hot),createCellRange:this.hot._createCellRange.bind(this.hot)}),n=[];return Object(d["arrayEach"])(e,e=>{r(e).forAll((e,t)=>{Object(d["arrayEach"])(this.savedBorders,r=>{r.row===e&&r.col===t&&n.push(Zu(r))})})}),n}clearBorders(e){e?this.setBorders(e):(Object(d["arrayEach"])(this.savedBorders,e=>{this.clearBordersFromSelectionSettings(e.id),this.clearNullCellRange(),this.hot.removeCellMeta(e.row,e.col,"borders")}),this.savedBorders.length=0)}insertBorderIntoSettings(e,t){const r=this.checkSavedBorders(e);r||this.savedBorders.push(e);const n=this.hot._createCellRange(this.hot._createCellCoords(e.row,e.col)),i=this.checkCustomSelections(e,n,t);i||this.hot.selection.highlight.addCustomSelection({border:e,visualCellRange:n})}prepareBorderFromCustomAdded(e,t,r,n){const i=this.hot.countRows(),a=this.hot.countCols();if(e>=i||t>=a)return;let o=$u(e,t);r&&(o=Ju(o,r),Object(d["arrayEach"])(this.hot.selection.highlight.customSelections,e=>{if(o.id===e.settings.id)return Object.assign(e.settings,r),o.id=e.settings.id,o.top=e.settings.top,o.bottom=e.settings.bottom,o.start=e.settings.start,o.end=e.settings.end,!1})),this.hot.setCellMeta(e,t,"borders",Zu(o)),this.insertBorderIntoSettings(o,n)}prepareBorderFromCustomAddedRange(e,t){const r=Math.min(e.to.row,this.hot.countRows()-1),n=Math.min(e.to.col,this.hot.countCols()-1);Object(nt["rangeEach"])(e.from.row,r,r=>{Object(nt["rangeEach"])(e.from.col,n,n=>{const i=$u(r,n);let a=0;r===e.from.row&&Object(o["hasOwnProperty"])(t,"top")&&(a+=1,i.top=t.top),r===e.to.row&&Object(o["hasOwnProperty"])(t,"bottom")&&(a+=1,i.bottom=t.bottom),n===e.from.col&&Object(o["hasOwnProperty"])(t,"start")&&(a+=1,i.start=t.start),n===e.to.col&&Object(o["hasOwnProperty"])(t,"end")&&(a+=1,i.end=t.end),a>0&&(this.hot.setCellMeta(r,n,"borders",Zu(i)),this.insertBorderIntoSettings(i))})})}removeAllBorders(e,t){const r=Wu(e,t);this.spliceBorder(r),this.clearBordersFromSelectionSettings(r),this.clearNullCellRange(),this.hot.removeCellMeta(e,t,"borders")}setBorder(e,t,r,n){let i=this.hot.getCellMeta(e,t).borders;if(i=i&&void 0!==i.border?Xu(i):$u(e,t),n){i[r]=Gu();const a=this.countHide(i);if(4===a)this.removeAllBorders(e,t);else{const a=this.checkCustomSelectionsFromContextMenu(i,r,n);a||this.insertBorderIntoSettings(i),this.hot.setCellMeta(e,t,"borders",Zu(i))}}else{i[r]=qu();const a=this.checkCustomSelectionsFromContextMenu(i,r,n);a||this.insertBorderIntoSettings(i),this.hot.setCellMeta(e,t,"borders",Zu(i))}}prepareBorder(e,t,r){Object(d["arrayEach"])(e,e=>{let{start:n,end:i}=e;if(n.row===i.row&&n.col===i.col)"noBorders"===t?this.removeAllBorders(n.row,n.col):this.setBorder(n.row,n.col,t,r);else switch(t){case"noBorders":Object(nt["rangeEach"])(n.col,i.col,e=>{Object(nt["rangeEach"])(n.row,i.row,t=>{this.removeAllBorders(t,e)})});break;case"top":Object(nt["rangeEach"])(n.col,i.col,e=>{this.setBorder(n.row,e,t,r)});break;case"bottom":Object(nt["rangeEach"])(n.col,i.col,e=>{this.setBorder(i.row,e,t,r)});break;case"start":Object(nt["rangeEach"])(n.row,i.row,e=>{this.setBorder(e,n.col,t,r)});break;case"end":Object(nt["rangeEach"])(n.row,i.row,e=>{this.setBorder(e,i.col,t,r)});break;default:break}})}createCustomBorders(e){Object(d["arrayEach"])(e,e=>{const t=Xu(e);e.range?this.prepareBorderFromCustomAddedRange(e.range,t):this.prepareBorderFromCustomAdded(e.row,e.col,t)})}countHide(e){const{top:t,bottom:r,start:n,end:i}=e,a=[t,r,n,i];return Object(d["arrayReduce"])(a,(e,t)=>{let r=e;return t&&t.hide&&(r+=1),r},0)}clearBordersFromSelectionSettings(e){const t=Object(d["arrayMap"])(this.hot.selection.highlight.customSelections,e=>e.settings.id).indexOf(e);t>-1&&this.hot.selection.highlight.customSelections[t].clear()}clearNullCellRange(){Object(d["arrayEach"])(this.hot.selection.highlight.customSelections,(e,t)=>{if(null===e.cellRange)return this.hot.selection.highlight.customSelections[t].destroy(),this.hot.selection.highlight.customSelections.splice(t,1),!1})}hideBorders(){Object(d["arrayEach"])(this.savedBorders,e=>{this.clearBordersFromSelectionSettings(e.id),this.clearNullCellRange()})}spliceBorder(e){const t=Object(d["arrayMap"])(this.savedBorders,e=>e.id).indexOf(e);t>-1&&this.savedBorders.splice(t,1)}checkSavedBorders(e){let t=!1;const r=this.countHide(e);return 4===r?(this.spliceBorder(e.id),t=!0):Object(d["arrayEach"])(this.savedBorders,(r,n)=>{if(e.id===r.id)return this.savedBorders[n]=e,t=!0,!1}),t}checkCustomSelectionsFromContextMenu(e,t,r){let n=!1;return Object(d["arrayEach"])(this.hot.selection.highlight.customSelections,i=>{if(e.id===i.settings.id){const e=this.hot.view._wt.selectionManager.getBorderInstances(i);return Object(d["arrayEach"])(e,e=>{e.toggleHiddenClass(t,r)}),n=!0,!1}}),n}checkCustomSelections(e,t,r){const n=this.countHide(e);let i=!1;return 4===n?(this.removeAllBorders(e.row,e.col),i=!0):Object(d["arrayEach"])(this.hot.selection.highlight.customSelections,n=>{if(e.id===n.settings.id){if(n.visualCellRange=t,n.commit(),r){const t=this.hot.view._wt.selectionManager.getBorderInstances(n);Object(d["arrayEach"])(t,t=>{t.changeBorderStyle(r,e)})}return i=!0,!1}}),i}changeBorderSettings(){const e=this.hot.getSettings()[gc];if(Array.isArray(e)){const t=Object(o["deepClone"])(e);this.checkSettingsCohesion(t),t.length||(this.savedBorders=t),this.createCustomBorders(t)}else void 0!==e&&this.createCustomBorders(this.savedBorders)}checkSettingsCohesion(e){const t=tc(e),r=rc(e);if(t&&r)throw new Error('The "left"/"right" and "start"/"end" options should not be used together. Please use only the option "start"/"end".');if(this.hot.isRtl()&&t)throw new Error('The "left"/"right" properties are not supported for RTL. Please use option "start"/"end".')}destroy(){super.destroy()}}function wc(e){this.hot.getSettings()[gc]&&e.items.push({name:"---------"},{key:"borders",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS"])},disabled(){const e=this.getSelectedRangeLast();return!e||(!!e.isSingleHeader()||this.selection.isSelectedByCorner())},submenu:{items:[ac(this),oc(this),sc(this),lc(this),uc(this)]}})}function _c(){this.changeBorderSettings()}function Sc(e,t){Ec(e,t),t.add(e)}function Ec(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Mc(e,t,r){return t=Tc(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){var t=Cc(e,"string");return"symbol"==typeof t?t:t+""}function Cc(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function xc(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Ac="dragToScroll",Nc=100;var Oc=new WeakSet;class Rc extends er["a"]{constructor(){super(...arguments),Sc(this,Oc),Mc(this,"boundaries",null),Mc(this,"callback",null),Mc(this,"listening",!1)}static get PLUGIN_KEY(){return Ac}static get PLUGIN_PRIORITY(){return Nc}isEnabled(){return!!this.hot.getSettings()[Ac]}enablePlugin(){this.enabled||(this.addHook("afterOnCellMouseDown",e=>xc(Oc,this,Lc).call(this,e)),this.addHook("afterOnCellCornerMouseDown",e=>xc(Oc,this,Lc).call(this,e)),this.registerEvents(),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.unregisterEvents(),super.disablePlugin()}setBoundaries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,right:this.hot.rootWindow.innerWidth,top:0,bottom:this.hot.rootWindow.innerHeight};this.boundaries=e}setCallback(e){this.callback=e}check(e,t){let r=0,n=0;t<this.boundaries.top?n=t-this.boundaries.top:t>this.boundaries.bottom&&(n=t-this.boundaries.bottom),e<this.boundaries.left?r=e-this.boundaries.left:e>this.boundaries.right&&(r=e-this.boundaries.right),this.callback(r,n)}listen(){this.listening=!0}unlisten(){this.listening=!1}isListening(){return this.listening}registerEvents(){const{rootWindow:e}=this.hot;let t=e;while(t)this.eventManager.addEventListener(t.document,"contextmenu",()=>this.unlisten()),this.eventManager.addEventListener(t.document,"mouseup",()=>this.unlisten()),this.eventManager.addEventListener(t.document,"mousemove",e=>this.onMouseMove(e)),t=Object(i["getParentWindow"])(t)}unregisterEvents(){this.eventManager.clear()}onMouseMove(e){this.isListening()&&this.check(e.clientX,e.clientY)}destroy(){super.destroy()}}function Lc(e){if(Object(a["isRightClick"])(e))return;const t=this.hot.view._wt.wtOverlays.topOverlay.mainTableScrollableElement;this.setBoundaries(t!==this.hot.rootWindow?t.getBoundingClientRect():void 0),this.setCallback((e,r)=>{var n,i;const a=null!==(n=t.scrollLeft)&&void 0!==n?n:t.scrollX,o=null!==(i=t.scrollTop)&&void 0!==i?i:t.scrollY;t.scroll(a+50*Math.sign(e),o+20*Math.sign(r))}),this.listen()}function kc(e,t){Dc(e,t),t.add(e)}function Ic(e,t,r){Dc(e,t),t.set(e,r)}function Dc(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Pc(e,t,r){return t=jc(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){var t=Fc(e,"string");return"symbol"==typeof t?t:t+""}function Fc(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Hc(e,t){return e.get(Uc(e,t))}function Bc(e,t,r){return e.set(Uc(e,t),r),r}function Uc(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("afterDropdownMenuDefaultOptions"),fe["a"].getSingleton().register("beforeDropdownMenuShow"),fe["a"].getSingleton().register("afterDropdownMenuShow"),fe["a"].getSingleton().register("afterDropdownMenuHide"),fe["a"].getSingleton().register("afterDropdownMenuExecute");const Vc="dropdownMenu",Yc=230,zc="changeType",Wc=Vc;var qc=new WeakMap,Gc=new WeakSet;class Kc extends er["a"]{static get PLUGIN_KEY(){return Vc}static get PLUGIN_PRIORITY(){return Yc}static get PLUGIN_DEPS(){return["plugin:AutoColumnSize"]}static get DEFAULT_ITEMS(){return[rs,is,$a,ds,$a,es,$a,os,$a,Jo]}constructor(e){super(e),kc(this,Gc),Pc(this,"commandExecutor",new Zo(this.hot)),Pc(this,"itemsFactory",null),Pc(this,"menu",null),Ic(this,qc,!1),this.hot.addHook("afterGetColHeader",(e,t)=>Uc(Gc,this,$c).call(this,e,t))}isEnabled(){return this.hot.getSettings()[Vc]}enablePlugin(){var e=this;if(this.enabled)return;this.itemsFactory=new Ns(this.hot,Kc.DEFAULT_ITEMS),this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Uc(Gc,e,nd).call(e,...r)})),this.addHook("beforeViewportScrollHorizontally",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Uc(Gc,e,rd).call(e,...r)}));const t=this.hot.getSettings()[Vc],r={items:this.itemsFactory.getItems(t)};this.registerEvents(),"function"===typeof t.callback&&this.commandExecutor.setCommonCallback(t.callback),this.registerShortcuts(),super.enablePlugin(),this.callOnPluginsReady(()=>{this.hot.runHooks("afterDropdownMenuDefaultOptions",r),this.itemsFactory.setPredefinedItems(r.items);const n=this.itemsFactory.getItems(t);this.menu&&this.menu.destroy(),this.menu=new Ml(this.hot,{className:"htDropdownMenu",keepInViewport:!0,container:t.uiContainer||this.hot.rootDocument.body}),this.hot.runHooks("beforeDropdownMenuSetItems",n),this.menu.setMenuItems(n),this.menu.addLocalHook("beforeOpen",()=>Uc(Gc,this,Jc).call(this)),this.menu.addLocalHook("afterOpen",()=>Uc(Gc,this,Qc).call(this)),this.menu.addLocalHook("afterSubmenuOpen",e=>Uc(Gc,this,ed).call(this,e)),this.menu.addLocalHook("afterClose",()=>Uc(Gc,this,td).call(this)),this.menu.addLocalHook("executeCommand",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.executeCommand.call(e,...r)})),Object(d["arrayEach"])(n,e=>this.commandExecutor.registerCommand(e.key,e))})}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.close(),this.menu&&this.menu.destroy(),this.unregisterShortcuts(),super.disablePlugin()}registerShortcuts(){const e=this.hot.getShortcutManager().getContext("grid"),t=()=>{const{highlight:e}=this.hot.getSelectedRangeLast();if((e.isHeader()&&-1===e.row||e.isCell())&&e.col>=0){this.hot.selectColumns(e.col,e.col,-1);const{from:t}=this.hot.getSelectedRangeLast(),r=lo(this.menu.container,this.hot.rootDocument),n=this.hot.getCell(-1,t.col,!0),i=n.getBoundingClientRect();this.open({left:i.left+r.left,top:i.top+n.offsetHeight+r.top},{left:i.width}),this.menu.getNavigator().toFirstItem()}};e.addShortcuts([{keys:[["Shift","Alt","ArrowDown"],["Control/Meta","Enter"]],callback:t,runOnlyIf:()=>{var e;const t=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return t&&this.hot.selection.isCellVisible(t)&&t.isHeader()&&!this.menu.isOpened()},captureCtrl:!0,group:Wc},{keys:[["Shift","Alt","ArrowDown"]],callback:t,runOnlyIf:()=>{var e;const t=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return t&&this.hot.selection.isCellVisible(t)&&t.isCell()&&!this.menu.isOpened()},group:Wc}])}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(Wc)}registerEvents(){this.eventManager.addEventListener(this.hot.rootElement,"click",e=>Uc(Gc,this,Zc).call(this,e))}open(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{above:0,below:0,left:0,right:0};null!==(t=this.menu)&&void 0!==t&&t.isOpened()||(this.menu.open(),Object(o["objectEach"])(r,(e,t)=>{this.menu.setOffset(t,e)}),this.menu.setPosition(e))}close(){var e;null===(e=this.menu)||void 0===e||e.close()}executeCommand(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.commandExecutor.execute(e,...r)}setListening(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.menu.isOpened()&&(e?this.menu.hotMenu.listen():this.menu.hotMenu.unlisten())}destroy(){this.close(),this.menu&&this.menu.destroy(),super.destroy()}}function Xc(e){e.getKeyboardShortcutsCtrl().addCustomShortcuts([{keys:[["Control/Meta","A"]],callback:()=>!1}])}function Zc(e){if(Object(i["hasClass"])(e.target,zc)){const t=lo(this.menu.container,this.hot.rootDocument),r=e.target.getBoundingClientRect();e.stopPropagation(),Bc(qc,this,!1),this.open({left:r.left+t.left,top:r.top+e.target.offsetHeight+3+t.top},{left:r.width})}}function $c(e,t){const r=t.parentNode;if(!r)return;const n=r.parentNode.childNodes,a=Array.prototype.indexOf.call(n,r);if(e<0||a!==n.length-1)return;const o=t.querySelector("."+zc);if(this.enabled&&o)return;if(!this.enabled)return void(o&&o.parentNode.removeChild(o));const s=this.hot.rootDocument.createElement("button");s.className=zc,s.type="button",s.tabIndex=-1,this.hot.getSettings().ariaTags&&(Object(i["setAttribute"])(s,[Object(v["n"])(),Object(v["p"])(" ")]),Object(i["setAttribute"])(t,[Object(v["m"])("menu")])),s.onclick=function(){return!1},t.firstChild.insertBefore(s,t.firstChild.firstChild)}function Jc(){this.hot.runHooks("beforeDropdownMenuShow",this)}function Qc(){this.hot.runHooks("afterDropdownMenuShow",this),Uc(Gc,this,Xc).call(this,this.menu)}function ed(e){Uc(Gc,this,Xc).call(this,e)}function td(){this.hot.listen(),this.hot.runHooks("afterDropdownMenuHide",this)}function rd(e){return Hc(qc,this)?null:e}function nd(e){Object(i["hasClass"])(e.target,zc)&&Bc(qc,this,!0)}function id(e,t,r){return t=ad(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ad(e){var t=od(e,"string");return"symbol"==typeof t?t:t+""}function od(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}Kc.SEPARATOR={name:$a};class sd{constructor(e){id(this,"hot",void 0),id(this,"options",{}),this.hot=e}setOptions(e){this.options=e}getData(){const{startRow:e,startCol:t,endRow:r,endCol:n}=this._getDataRange(),i=this.options,a=[];return Object(nt["rangeEach"])(e,r,e=>{const r=[];!i.exportHiddenRows&&this._isHiddenRow(e)||(Object(nt["rangeEach"])(t,n,t=>{!i.exportHiddenColumns&&this._isHiddenColumn(t)||r.push(this.hot.getDataAtCell(e,t))}),a.push(r))}),a}getRowHeaders(){const e=[];if(this.options.rowHeaders){const{startRow:t,endRow:r}=this._getDataRange(),n=this.hot.getRowHeader();Object(nt["rangeEach"])(t,r,t=>{!this.options.exportHiddenRows&&this._isHiddenRow(t)||e.push(n[t])})}return e}getColumnHeaders(){const e=[];if(this.options.columnHeaders){const{startCol:t,endCol:r}=this._getDataRange(),n=this.hot.getColHeader();Object(nt["rangeEach"])(t,r,t=>{!this.options.exportHiddenColumns&&this._isHiddenColumn(t)||e.push(n[t])})}return e}_getDataRange(){const e=this.hot.countCols()-1,t=this.hot.countRows()-1;let[r=0,n=0,i=t,a=e]=this.options.range;return r=Math.max(r,0),n=Math.max(n,0),i=Math.min(i,t),a=Math.min(a,e),{startRow:r,startCol:n,endRow:i,endCol:a}}_isHiddenRow(e){return this.hot.rowIndexMapper.isHidden(this.hot.toPhysicalRow(e))}_isHiddenColumn(e){return this.hot.columnIndexMapper.isHidden(this.hot.toPhysicalColumn(e))}}var ld=sd;function ud(e,t,r){return t=cd(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cd(e){var t=dd(e,"string");return"symbol"==typeof t?t:t+""}function dd(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class hd{static get DEFAULT_OPTIONS(){return{mimeType:"text/plain",fileExtension:"txt",filename:"Handsontable [YYYY]-[MM]-[DD]",encoding:"utf-8",bom:!1,columnHeaders:!1,rowHeaders:!1,exportHiddenColumns:!1,exportHiddenRows:!1,range:[]}}constructor(e,t){ud(this,"dataProvider",void 0),ud(this,"options",void 0),this.dataProvider=e,this.options=this._mergeOptions(t),this.dataProvider.setOptions(this.options)}_mergeOptions(e){let t=Object(o["clone"])(this.constructor.DEFAULT_OPTIONS);const r=new Date;return t=Object(o["extend"])(Object(o["clone"])(hd.DEFAULT_OPTIONS),t),t=Object(o["extend"])(t,e),t.filename=Object(p["substitute"])(t.filename,{YYYY:r.getFullYear(),MM:(""+(r.getMonth()+1)).padStart(2,"0"),DD:(""+r.getDate()).padStart(2,"0")}),t}}var pd=hd;const fd=String.fromCharCode(13),md=String.fromCharCode(34),gd=String.fromCharCode(10);class vd extends pd{static get DEFAULT_OPTIONS(){return{mimeType:"text/csv",fileExtension:"csv",bom:!0,columnDelimiter:",",rowDelimiter:"\r\n"}}export(){const e=this.options,t=this.dataProvider.getData();let r=this.dataProvider.getColumnHeaders();const n=r.length>0,i=this.dataProvider.getRowHeaders(),a=i.length>0;let o=e.bom?String.fromCharCode(65279):"";return n&&(r=Object(d["arrayMap"])(r,e=>this._escapeCell(e,!0)),a&&(o+=e.columnDelimiter),o+=r.join(e.columnDelimiter),o+=e.rowDelimiter),Object(d["arrayEach"])(t,(t,r)=>{r>0&&(o+=e.rowDelimiter),a&&(o+=this._escapeCell(i[r])+e.columnDelimiter),o+=t.map(e=>this._escapeCell(e)).join(e.columnDelimiter)}),o}_escapeCell(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Object(h["stringify"])(e);return""!==r&&(t||r.indexOf(fd)>=0||r.indexOf(md)>=0||r.indexOf(gd)>=0||r.indexOf(this.options.columnDelimiter)>=0)&&(r=r.replace(new RegExp('"',"g"),'""'),r=`"${r}"`),r}}var bd=vd;const yd="csv",wd={[yd]:bd};function _d(e,t,r){return"function"===typeof wd[e]?new wd[e](t,r):null}const Sd="exportFile",Ed=240;class Md extends er["a"]{static get PLUGIN_KEY(){return Sd}static get PLUGIN_PRIORITY(){return Ed}isEnabled(){return!0}exportAsString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._createTypeFormatter(e,t).export()}exportAsBlob(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._createBlob(this._createTypeFormatter(e,t))}downloadFile(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{rootDocument:r,rootWindow:n}=this.hot,i=this._createTypeFormatter(e,t),a=this._createBlob(i),o=n.URL||n.webkitURL,s=r.createElement("a"),l=`${i.options.filename}.${i.options.fileExtension}`;if(void 0!==s.download){const e=o.createObjectURL(a);s.style.display="none",s.setAttribute("href",e),s.setAttribute("download",l),r.body.appendChild(s),s.dispatchEvent(new MouseEvent("click")),r.body.removeChild(s),setTimeout(()=>{o.revokeObjectURL(e)},100)}else navigator.msSaveOrOpenBlob&&navigator.msSaveOrOpenBlob(a,l)}_createTypeFormatter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!wd[e])throw new Error(`Export format type "${e}" is not supported.`);return _d(e,new ld(this.hot),t)}_createBlob(e){let t=null;return"undefined"!==typeof Blob&&(t=new Blob([e.export()],{type:`${e.options.mimeType};charset=${e.options.encoding}`})),t}}r("24b9e");function Td(e,t,r){return t=Cd(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cd(e){var t=xd(e,"string");return"symbol"==typeof t?t:t+""}function xd(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ad{constructor(e,t){let{id:r,stateless:n=!0}=t;Td(this,"hot",void 0),Td(this,"id",void 0),Td(this,"elements",[]),Td(this,"hidden",!1),Td(this,"stateId",""),Td(this,"state",void 0),this.hot=e,this.id=r,this.stateId="Filters.component."+this.id,this.state=n?null:this.hot.columnIndexMapper.registerMap(this.stateId,new ui["a"])}getElements(){return this.elements}reset(){Object(d["arrayEach"])(this.elements,e=>e.reset())}hide(){this.hidden=!0}show(){this.hidden=!1}isHidden(){return null===this.hot||this.hidden}restoreState(e){this.state&&this.setState(this.state.getValueAtIndex(e))}setState(){throw new Error("The state setting logic is not implemented")}saveState(e){this.state&&this.state.setValueAtIndex(e,this.getState())}getState(){throw new Error("The state gathering logic is not implemented")}destroy(){this.hot.columnIndexMapper.unregisterMap(this.stateId),this.clearLocalHooks(),Object(d["arrayEach"])(this.elements,e=>e.destroy()),this.state=null,this.elements=null,this.hot=null}}Object(o["mixin"])(Ad,Ya["a"]);const Nd={};function Od(e,t){if(!Nd[e])throw Error(`Filter condition "${e}" does not exist.`);const{condition:r,descriptor:n}=Nd[e];let i=t;return n.inputValuesDecorator&&(i=n.inputValuesDecorator(i)),function(e){return r.apply(e.meta.instance,[].concat([e],[i]))}}function Rd(e){if(!Nd[e])throw Error(`Filter condition "${e}" does not exist.`);return Nd[e].descriptor}function Ld(e,t,r){r.key=e,Nd[e]={condition:t,descriptor:r}}const kd="none";function Id(){return!0}Ld(kd,Id,{name:Fe["FILTERS_CONDITIONS_NONE"],inputsCount:0,showOperators:!1});const Dd="empty";function Pd(e){return Object(h["isEmpty"])(e.value)}Ld(Dd,Pd,{name:Fe["FILTERS_CONDITIONS_EMPTY"],inputsCount:0,showOperators:!0});const jd="not_empty";function Fd(e,t){return!Od(Dd,t)(e)}Ld(jd,Fd,{name:Fe["FILTERS_CONDITIONS_NOT_EMPTY"],inputsCount:0,showOperators:!0});const Hd="eq";function Bd(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale)===Object(h["stringify"])(r)}Ld(Hd,Bd,{name:Fe["FILTERS_CONDITIONS_EQUAL"],inputsCount:1,showOperators:!0});const Ud="neq";function Vd(e,t){return!Od(Hd,t)(e)}Ld(Ud,Vd,{name:Fe["FILTERS_CONDITIONS_NOT_EQUAL"],inputsCount:1,showOperators:!0});const Yd="gt";function zd(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value>n}Ld(Yd,zd,{name:Fe["FILTERS_CONDITIONS_GREATER_THAN"],inputsCount:1,showOperators:!0});const Wd="gte";function qd(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value>=n}Ld(Wd,qd,{name:Fe["FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL"],inputsCount:1,showOperators:!0});const Gd="lt";function Kd(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value<n}Ld(Gd,Kd,{name:Fe["FILTERS_CONDITIONS_LESS_THAN"],inputsCount:1,showOperators:!0});const Xd="lte";function Zd(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value<=n}Ld(Xd,Zd,{name:Fe["FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL"],inputsCount:1,showOperators:!0});const $d="date_after";function Jd(e,t){let[r]=t;const n=R(e.value,e.meta.dateFormat),i=R(r,e.meta.dateFormat);return!(!n.isValid()||!i.isValid())&&n.diff(i)>=0}Ld($d,Jd,{name:Fe["FILTERS_CONDITIONS_AFTER"],inputsCount:1,showOperators:!0});const Qd="date_before";function eh(e,t){let[r]=t;const n=R(e.value,e.meta.dateFormat),i=R(r,e.meta.dateFormat);return!(!n.isValid()||!i.isValid())&&n.diff(i)<=0}Ld(Qd,eh,{name:Fe["FILTERS_CONDITIONS_BEFORE"],inputsCount:1,showOperators:!0});const th="between";function rh(e,t){let[r,n]=t,i=r,a=n;if("numeric"===e.meta.type){const e=parseFloat(i,10),t=parseFloat(a,10);i=Math.min(e,t),a=Math.max(e,t)}else if("date"===e.meta.type){const t=Od(Qd,[a]),r=Od($d,[i]);return t(e)&&r(e)}return e.value>=i&&e.value<=a}Ld(th,rh,{name:Fe["FILTERS_CONDITIONS_BETWEEN"],inputsCount:2,showOperators:!0});const nh="not_between";function ih(e,t){return!Od(th,t)(e)}Ld(nh,ih,{name:Fe["FILTERS_CONDITIONS_NOT_BETWEEN"],inputsCount:2,showOperators:!0});const ah="begins_with";function oh(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).startsWith(Object(h["stringify"])(r))}Ld(ah,oh,{name:Fe["FILTERS_CONDITIONS_BEGINS_WITH"],inputsCount:1,showOperators:!0});const sh="ends_with";function lh(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).endsWith(Object(h["stringify"])(r))}Ld(sh,lh,{name:Fe["FILTERS_CONDITIONS_ENDS_WITH"],inputsCount:1,showOperators:!0});const uh="contains";function ch(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).indexOf(Object(h["stringify"])(r))>=0}Ld(uh,ch,{name:Fe["FILTERS_CONDITIONS_CONTAINS"],inputsCount:1,showOperators:!0});const dh="not_contains";function hh(e,t){return!Od(uh,t)(e)}Ld(dh,hh,{name:Fe["FILTERS_CONDITIONS_NOT_CONTAIN"],inputsCount:1,showOperators:!0});const ph="date_tomorrow";function fh(e){const t=R(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(R().subtract(-1,"days").startOf("day"),"d")}Ld(ph,fh,{name:Fe["FILTERS_CONDITIONS_TOMORROW"],inputsCount:0});const mh="date_today";function gh(e){const t=R(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(R().startOf("day"),"d")}Ld(mh,gh,{name:Fe["FILTERS_CONDITIONS_TODAY"],inputsCount:0});const vh="date_yesterday";function bh(e){const t=R(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(R().subtract(1,"days").startOf("day"),"d")}Ld(vh,bh,{name:Fe["FILTERS_CONDITIONS_YESTERDAY"],inputsCount:0});const yh="numeric",wh="text",_h="date",Sh={[yh]:[kd,$a,Dd,jd,$a,Hd,Ud,$a,Yd,Wd,Gd,Xd,th,nh],[wh]:[kd,$a,Dd,jd,$a,Hd,Ud,$a,ah,sh,$a,uh,dh],[_h]:[kd,$a,Dd,jd,$a,Hd,Ud,$a,Qd,$d,th,$a,ph,mh,vh]};function Eh(e){const t=[];let r=e;return Sh[r]||(r=wh),Object(d["arrayEach"])(Sh[r],e=>{let r;r=e===$a?{name:$a}:Object(o["clone"])(Rd(e)),t.push(r)}),t}function Mh(e,t,r){return t=Th(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Th(e){var t=Ch(e,"string");return"symbol"==typeof t?t:t+""}function Ch(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const xh="built",Ah="building",Nh=["click","input","keydown","keypress","keyup","focus","blur","change"];class Oh{static get DEFAULTS(){return Object(o["clone"])({className:"",value:"",tagName:"div",children:[],wrapIt:!0})}constructor(e,t){Mh(this,"hot",void 0),Mh(this,"eventManager",new Le["a"](this)),Mh(this,"options",void 0),Mh(this,"_element",void 0),Mh(this,"buildState",void 0),this.hot=e,this.options=Object(o["extend"])(Oh.DEFAULTS,t),this._element=this.hot.rootDocument.createElement(this.options.wrapIt?"div":this.options.tagName)}setValue(e){this.options.value=e,this.update()}getValue(){return this.options.value}get element(){return this.buildState===Ah?this._element:this.buildState===xh?(this.update(),this._element):(this.buildState=Ah,this.build(),this.buildState=xh,this._element)}isBuilt(){return this.buildState===xh}translateIfPossible(e){return"string"===typeof e&&e.startsWith(Fe["FILTERS_NAMESPACE"])?this.hot.getTranslatedPhrase(e):e}build(){const e=(e,t)=>{this.eventManager.addEventListener(e,t,e=>this.runLocalHooks(t,e,this))};if(this.buildState||(this.buildState=Ah),this._element.setAttribute("data-hot-input",!0),void 0!==this.options.tabIndex&&this._element.setAttribute("tabindex",this.options.tabIndex),void 0!==this.options.role&&this._element.setAttribute("role",this.options.role),this.options.className&&Object(i["addClass"])(this._element,this.options.className),this.options.children.length)Object(d["arrayEach"])(this.options.children,e=>this._element.appendChild(e.element));else if(this.options.wrapIt){const t=this.hot.rootDocument.createElement(this.options.tagName);t.setAttribute("data-hot-input",!0),Object(o["objectEach"])(this.options,(e,r)=>{void 0!==t[r]&&"className"!==r&&"tagName"!==r&&"children"!==r&&(t[r]=this.translateIfPossible(e))}),this._element.appendChild(t),Object(d["arrayEach"])(Nh,r=>e(t,r))}else Object(d["arrayEach"])(Nh,t=>e(this._element,t))}update(){}reset(){this.options.value="",this.update()}show(){this.element.style.display=""}hide(){this.element.style.display="none"}focus(){}destroy(){this.eventManager.destroy(),this.eventManager=null,this.hot=null,this._element.parentNode&&this._element.parentNode.removeChild(this._element),this._element=null}}function Rh(e,t){kh(e,t),t.add(e)}function Lh(e,t,r){kh(e,t),t.set(e,r)}function kh(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ih(e,t){return e.get(Ph(e,t))}function Dh(e,t,r){return e.set(Ph(e,t),r),r}function Ph(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object(o["mixin"])(Oh,Ya["a"]);var jh=new WeakMap,Fh=new WeakSet;class Hh extends Oh{static get DEFAULTS(){return Object(o["clone"])({placeholder:"",type:"text",tagName:"input",tabIndex:-1})}constructor(e,t){super(e,Object(o["extend"])(Hh.DEFAULTS,t)),Rh(this,Fh),Lh(this,jh,void 0),this.registerHooks()}registerHooks(){this.addLocalHook("keyup",e=>Ph(Fh,this,Bh).call(this,e))}build(){super.build();const e=this.hot.rootDocument.createElement("div");Dh(jh,this,this._element.firstChild),Object(i["addClass"])(this._element,"htUIInput"),Object(i["addClass"])(e,"htUIInputIcon"),this._element.appendChild(e),this.update()}update(){this.isBuilt()&&(Ih(jh,this).type=this.options.type,Ih(jh,this).placeholder=this.translateIfPossible(this.options.placeholder),Ih(jh,this).value=this.translateIfPossible(this.options.value))}focus(){this.isBuilt()&&Ih(jh,this).focus()}}function Bh(e){this.options.value=e.target.value}function Uh(e,t){Yh(e,t),t.add(e)}function Vh(e,t,r){Yh(e,t),t.set(e,r)}function Yh(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zh(e,t,r){return e.set(qh(e,t),r),r}function Wh(e,t){return e.get(qh(e,t))}function qh(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var Gh=new WeakMap,Kh=new WeakMap,Xh=new WeakMap,Zh=new WeakMap,$h=new WeakMap,Jh=new WeakSet;class Qh extends Oh{static get DEFAULTS(){return Object(o["clone"])({className:"htUISelect",wrapIt:!1,tabIndex:-1})}constructor(e,t){super(e,Object(o["extend"])(Qh.DEFAULTS,t)),Uh(this,Jh),Vh(this,Gh,null),Vh(this,Kh,[]),Vh(this,Xh,void 0),Vh(this,Zh,void 0),Vh(this,$h,void 0),this.registerHooks()}getMenu(){return Wh(Gh,this)}registerHooks(){this.addLocalHook("click",()=>qh(Jh,this,rp).call(this))}setItems(e){zh(Kh,this,this.translateNames(e)),Wh(Gh,this)&&Wh(Gh,this).setMenuItems(Wh(Kh,this))}translateNames(e){return Object(d["arrayEach"])(e,e=>{e.name=this.translateIfPossible(e.name)}),e}build(){super.build(),zh(Gh,this,new Ml(this.hot,{className:"htSelectUI htFiltersConditionsMenu",keepInViewport:!1,standalone:!0,container:this.options.menuContainer})),Wh(Gh,this).setMenuItems(Wh(Kh,this));const e=new Oh(this.hot,{className:"htUISelectCaption"}),t=new Oh(this.hot,{className:"htUISelectDropdown"});zh(Xh,this,e),zh(Zh,this,e.element),zh($h,this,t),this.hot.getSettings().ariaTags&&(Object(i["setAttribute"])(t.element,[Object(v["n"])()]),Object(i["setAttribute"])(this._element,[Object(v["q"])()])),Object(d["arrayEach"])([e,t],e=>this._element.appendChild(e.element)),Wh(Gh,this).addLocalHook("select",e=>qh(Jh,this,ep).call(this,e)),Wh(Gh,this).addLocalHook("afterClose",()=>qh(Jh,this,tp).call(this)),this.update()}update(){if(!this.isBuilt())return;let e;e=this.options.value?this.options.value.name:Wh(Gh,this).hot.getTranslatedPhrase(Fe["FILTERS_CONDITIONS_NONE"]),Wh(Zh,this).textContent=e,super.update()}openOptions(){const e=this.element.getBoundingClientRect();Wh(Gh,this)&&(Wh(Gh,this).open(),Wh(Gh,this).setPosition({left:this.hot.isLtr()?e.left-5:e.left-31,top:e.top-1,width:e.width,height:e.height}),Wh(Gh,this).getNavigator().toFirstItem(),Wh(Gh,this).getKeyboardShortcutsCtrl().addCustomShortcuts([{keys:[["Tab"],["Shift","Tab"]],callback:e=>{this.closeOptions(),this.runLocalHooks("tabKeydown",e)}},{keys:[["Control/Meta","A"]],callback:()=>!1}]))}closeOptions(){Wh(Gh,this)&&Wh(Gh,this).close()}focus(){this.isBuilt()&&this.element.focus()}destroy(){Wh(Gh,this)&&(Wh(Gh,this).destroy(),zh(Gh,this,null)),Wh(Xh,this)&&Wh(Xh,this).destroy(),Wh($h,this)&&Wh($h,this).destroy(),super.destroy()}}function ep(e){e.name!==$a&&(this.options.value=e,this.update(),this.runLocalHooks("select",this.options.value))}function tp(){this.runLocalHooks("afterClose")}function rp(){this.openOptions()}function np(e,t){ip(e,t),t.add(e)}function ip(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ap(e,t,r){return t=op(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function op(e){var t=sp(e,"string");return"symbol"==typeof t?t:t+""}function sp(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function lp(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var up=new WeakSet;class cp extends Ad{constructor(e,t){super(e,{id:t.id,stateless:!1}),np(this,up),ap(this,"name",""),ap(this,"addSeparator",!1),this.name=t.name,this.addSeparator=t.addSeparator,this.elements.push(new Qh(this.hot,{menuContainer:t.menuContainer})),this.elements.push(new Hh(this.hot,{placeholder:Fe["FILTERS_BUTTONS_PLACEHOLDER_VALUE"]})),this.elements.push(new Hh(this.hot,{placeholder:Fe["FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE"]})),this.registerHooks()}registerHooks(){this.getSelectElement().addLocalHook("select",e=>lp(up,this,dp).call(this,e)).addLocalHook("afterClose",()=>this.runLocalHooks("afterClose")).addLocalHook("tabKeydown",e=>this.runLocalHooks("selectTabKeydown",e)),Object(d["arrayEach"])(this.getInputElements(),e=>{e.addLocalHook("keydown",e=>lp(up,this,hp).call(this,e))})}setState(e){if(this.reset(),!e)return;const t=Object(o["clone"])(e.command);t.name.startsWith(Fe["FILTERS_CONDITIONS_NAMESPACE"])&&(t.name=this.hot.getTranslatedPhrase(t.name)),this.getSelectElement().setValue(t),Object(d["arrayEach"])(e.args,(e,r)=>{if(r>t.inputsCount-1)return!1;const n=this.getInputElement(r);n.setValue(e),n[t.inputsCount>r?"show":"hide"](),r||this.hot._registerTimeout(()=>n.focus(),10)})}getState(){const e=this.getSelectElement().getValue()||Rd(kd),t=[];return Object(d["arrayEach"])(this.getInputElements(),(r,n)=>{e.inputsCount>n&&t.push(r.getValue())}),{command:e,args:t}}updateState(e,t){const r=Rd(e?e.name:kd);this.state.setValueAtIndex(t,{command:r,args:e?e.args:[]}),e||Object(d["arrayEach"])(this.getInputElements(),e=>e.setValue(null))}getSelectElement(){return this.elements.filter(e=>e instanceof Qh)[0]}getInputElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.getInputElements()[e]}getInputElements(){return this.elements.filter(e=>e instanceof Hh)}getMenuItemDescriptor(){return{key:this.id,name:this.name,isCommand:!1,disableSelection:!0,hidden:()=>this.isHidden(),renderer:(e,t,r,n,a,o)=>{Object(i["addClass"])(t.parentNode,"htFiltersMenuCondition"),this.addSeparator&&Object(i["addClass"])(t.parentNode,"border");const s=this.hot.rootDocument.createElement("div");return Object(i["addClass"])(s,"htFiltersMenuLabel"),s.textContent=o,t.appendChild(s),Object(d["arrayEach"])(this.elements,e=>t.appendChild(e.element)),t}}}reset(){const e=this.hot.getPlugin("filters").getSelectedColumn();let t=[Rd(kd)];if(null!==e){const{visualIndex:r}=e;t=Eh(this.hot.getDataType(0,r,this.hot.countRows(),r))}Object(d["arrayEach"])(this.getInputElements(),e=>e.hide()),this.getSelectElement().setItems(t),super.reset(),this.getSelectElement().setValue(t[0])}}function dp(e){Object(d["arrayEach"])(this.getInputElements(),(t,r)=>{t[e.inputsCount>r?"show":"hide"](),0===r&&this.hot._registerTimeout(()=>t.focus(),10)}),this.runLocalHooks("change",e)}function hp(e){Object(f["isKey"])(e.keyCode,"ESCAPE")&&(this.runLocalHooks("cancel"),Object(a["stopImmediatePropagation"])(e))}const pp={};function fp(e){if(!pp[e])throw Error(`Operation with id "${e}" does not exist.`);const t=pp[e].func;return function(e,r){return t(e,r)}}function mp(e){return pp[e].name}function gp(e,t,r){pp[e]={name:t,func:r}}const vp="conjunction",bp=Fe["FILTERS_LABELS_CONJUNCTION"];function yp(e,t){return e.every(e=>e.func(t))}gp(vp,bp,yp);const wp="disjunction",_p=Fe["FILTERS_LABELS_DISJUNCTION"];function Sp(e,t){return e.some(e=>e.func(t))}gp(wp,_p,Sp);const Ep="disjunctionWithExtraCondition",Mp=Fe["FILTERS_LABELS_DISJUNCTION"];function Tp(e,t){if(e.length<3)throw Error("Operation doesn't work on less then three conditions.");return e.slice(0,e.length-1).some(e=>e.func(t))&&e[e.length-1].func(t)}function Cp(e,t,r){xp(e,t),t.set(e,r)}function xp(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ap(e,t){return e.get(Op(e,t))}function Np(e,t,r){return e.set(Op(e,t),r),r}function Op(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}gp(Ep,Mp,Tp);var Rp=new WeakMap,Lp=new WeakMap;class kp extends Oh{static get DEFAULTS(){return Object(o["clone"])({type:"radio",tagName:"input",className:"htUIRadio",label:{}})}constructor(e,t){super(e,Object(o["extend"])(kp.DEFAULTS,t)),Cp(this,Rp,void 0),Cp(this,Lp,void 0)}build(){super.build();const e=this.hot.rootDocument.createElement("label");e.textContent=this.translateIfPossible(this.options.label.textContent),e.htmlFor=this.translateIfPossible(this.options.label.htmlFor),Np(Lp,this,e),Np(Rp,this,this._element.firstChild),Ap(Rp,this).checked=this.options.checked,this._element.appendChild(e),this.update()}update(){this.isBuilt()&&(Ap(Lp,this).textContent=this.translateIfPossible(this.options.label.textContent))}isChecked(){return!!this.isBuilt()&&Ap(Rp,this).checked}setChecked(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isBuilt()&&(Ap(Rp,this).checked=e)}focus(){this.isBuilt()&&Ap(Rp,this).focus()}}function Ip(e,t){Dp(e,t),t.add(e)}function Dp(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Pp(e,t,r){return t=jp(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jp(e){var t=Fp(e,"string");return"symbol"==typeof t?t:t+""}function Fp(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Hp(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Bp=0;var Up=new WeakSet;class Vp extends Ad{constructor(e,t){super(e,{id:t.id,stateless:!1}),Ip(this,Up),Pp(this,"name",""),this.name=t.name,this.buildOperatorsElement()}getMenuItemDescriptor(){return{key:this.id,name:this.name,isCommand:!1,disableSelection:!0,hidden:()=>this.isHidden(),renderer:(e,t)=>(Object(i["addClass"])(t.parentNode,"htFiltersMenuOperators"),Object(d["arrayEach"])(this.elements,e=>t.appendChild(e.element)),t)}}buildOperatorsElement(){const e=[vp,wp];Object(d["arrayEach"])(e,t=>{const r=new kp(this.hot,{name:"operator",label:{htmlFor:t,textContent:mp(t)},value:t,checked:t===e[Bp],id:t});r.addLocalHook("change",e=>Hp(Up,this,Yp).call(this,e)),this.elements.push(r)})}setChecked(e){if(this.elements.length<e)throw Error(Ea["a"]`Radio button with index ${e} doesn't exist.`);Object(d["arrayEach"])(this.elements,(t,r)=>{t.setChecked(r===e)})}getActiveOperationId(){const e=this.elements.find(e=>e instanceof kp&&e.isChecked());return e?e.getValue():vp}getState(){return this.getActiveOperationId()}setState(e){this.reset(),e&&this.getActiveOperationId()!==e&&Object(d["arrayEach"])(this.elements,t=>{t.setChecked(t.getValue()===e)})}updateState(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vp,t=arguments.length>1?arguments[1]:void 0,r=e;r===Ep&&(r=wp),this.state.setValueAtIndex(t,r)}reset(){this.setChecked(Bp)}}function Yp(e){this.setState(e.target.value)}Object(tr["getComparisonFunction"])();function zp(e,t){let r=e;return""===r&&(r=`(${t})`),r}const Wp=new Set([1]).has(1),qp=Wp&&"function"===typeof Array.from;function Gp(e){let t=e;return Wp&&(t=new Set(t)),function(e){let r;return r=Wp?t.has(e):!!~t.indexOf(e),r}}function Kp(e){return null===e||void 0===e?"":e}function Xp(e){let t=e;return t=qp?Array.from(new Set(t)):Object(d["arrayUnique"])(t),t=t.sort((e,t)=>"number"===typeof e&&"number"===typeof t?e-t:e===t?0:e>t?1:-1),t}function Zp(e,t,r,n){const i=[],a=e===t;let o;return a||(o=Gp(t)),Object(d["arrayEach"])(e,e=>{let t=!1;(a||o(e))&&(t=!0);const s={checked:t,value:e,visualValue:zp(e,r)};n&&n(s),i.push(s)}),i}var $p=r("480c");function Jp(e,t,r){Qp(e,t),t.set(e,r)}function Qp(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ef(e,t){return e.get(rf(e,t))}function tf(e,t,r){return e.set(rf(e,t),r),r}function rf(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var nf=new WeakMap;class af extends Oh{static get DEFAULTS(){return Object(o["clone"])({href:"#",tagName:"a",tabIndex:-1,role:"button"})}constructor(e,t){super(e,Object(o["extend"])(af.DEFAULTS,t)),Jp(this,nf,void 0)}build(){super.build(),tf(nf,this,this._element.firstChild)}update(){this.isBuilt()&&(ef(nf,this).textContent=this.translateIfPossible(this.options.textContent))}focus(){this.isBuilt()&&ef(nf,this).focus()}activate(){ef(nf,this).click()}}function of(e,t){lf(e,t),t.add(e)}function sf(e,t,r){lf(e,t),t.set(e,r)}function lf(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function uf(e,t){return e.get(df(e,t))}function cf(e,t,r){return e.set(df(e,t),r),r}function df(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const hf="multipleSelect.itemBox";var pf=new WeakMap,ff=new WeakMap,mf=new WeakMap,gf=new WeakMap,vf=new WeakMap,bf=new WeakMap,yf=new WeakSet;class wf extends Oh{static get DEFAULTS(){return Object(o["clone"])({className:"htUIMultipleSelect",value:[]})}constructor(e,t){super(e,Object(o["extend"])(wf.DEFAULTS,t)),of(this,yf),sf(this,pf,[]),sf(this,ff,void 0),sf(this,mf,void 0),sf(this,gf,void 0),sf(this,vf,void 0),sf(this,bf,void 0),cf(gf,this,new Hh(this.hot,{placeholder:Fe["FILTERS_BUTTONS_PLACEHOLDER_SEARCH"],className:"htUIMultipleSelectSearch"})),cf(vf,this,new af(this.hot,{textContent:Fe["FILTERS_BUTTONS_SELECT_ALL"],className:"htUISelectAll"})),cf(bf,this,new af(this.hot,{textContent:Fe["FILTERS_BUTTONS_CLEAR"],className:"htUIClearAll"})),this.registerHooks()}getItemsBox(){return uf(ff,this)}registerHooks(){uf(gf,this).addLocalHook("keydown",e=>df(yf,this,Sf).call(this,e)),uf(gf,this).addLocalHook("input",e=>df(yf,this,_f).call(this,e)),uf(vf,this).addLocalHook("click",e=>df(yf,this,Ef).call(this,e)),uf(bf,this).addLocalHook("click",e=>df(yf,this,Mf).call(this,e))}setItems(e){cf(pf,this,e),uf(ff,this)&&uf(ff,this).loadData(uf(pf,this))}setLocale(e){cf(mf,this,e)}getLocale(){return uf(mf,this)}getItems(){return[...uf(pf,this)]}getValue(){return Cf(uf(pf,this))}getSearchInputElement(){return uf(gf,this)}getSelectAllElement(){return uf(vf,this)}getClearAllElement(){return uf(bf,this)}isSelectedAllValues(){return uf(pf,this).length===this.getValue().length}build(){super.build();const{rootDocument:e}=this.hot,t=e.createElement("div"),r=new Oh(this.hot,{className:"htUISelectionControls",children:[uf(vf,this),uf(bf,this)]});this._element.appendChild(uf(gf,this).element),this._element.appendChild(r.element),this._element.appendChild(t);const n=t=>{if(!this._element)return;uf(ff,this)&&uf(ff,this).destroy(),Object(i["addClass"])(t,"htUIMultipleSelectHot"),cf(ff,this,new this.hot.constructor(t,{data:uf(pf,this),columns:[{data:"checked",type:"checkbox",label:{property:"visualValue",position:"after"}}],beforeRenderer:(e,t,r,n,i,a)=>{e.title=a.instance.getDataAtRowProp(t,a.label.property)},afterListen:()=>{this.runLocalHooks("focus",this)},beforeOnCellMouseUp:()=>{uf(ff,this).listen()},maxCols:1,autoWrapCol:!0,height:110,colWidths:()=>uf(ff,this).container.scrollWidth-Object(i["getScrollbarWidth"])(e),copyPaste:!1,disableVisualSelection:"area",fillHandle:!1,fragmentSelection:"cell",tabMoves:{row:1,col:0},layoutDirection:this.hot.isRtl()?"rtl":"ltr"})),uf(ff,this).init();const r=uf(ff,this).getShortcutManager(),n=r.getContext("grid");n.removeShortcutsByKeys(["Tab"]),n.removeShortcutsByKeys(["Shift","Tab"]),n.addShortcut({keys:[["Escape"]],callback:e=>{this.runLocalHooks("keydown",e,this)},group:hf}),n.addShortcut({keys:[["Tab"],["Shift","Tab"]],callback:e=>{uf(ff,this).deselectCell(),this.runLocalHooks("keydown",e,this),this.runLocalHooks("listTabKeydown",e,this)},group:hf})};n(t),this.hot._registerTimeout(()=>n(t),100)}focus(){this.isBuilt()&&uf(ff,this).listen()}reset(){uf(gf,this).reset(),uf(vf,this).reset(),uf(bf,this).reset()}update(){this.isBuilt()&&(uf(ff,this).loadData(Tf(uf(pf,this),this.options.value)),super.update())}destroy(){uf(ff,this)&&uf(ff,this).destroy(),uf(gf,this).destroy(),uf(bf,this).destroy(),uf(vf,this).destroy(),cf(gf,this,null),cf(bf,this,null),cf(vf,this,null),cf(ff,this,null),cf(pf,this,null),super.destroy()}}function _f(e){const t=e.target.value.toLocaleLowerCase(this.getLocale());let r;r=""===t?[...uf(pf,this)]:Object(d["arrayFilter"])(uf(pf,this),e=>(""+e.value).toLocaleLowerCase(this.getLocale()).indexOf(t)>=0),uf(ff,this).loadData(r)}function Sf(e){this.runLocalHooks("keydown",e,this);const t=Object(si["partial"])(f["isKey"],e.keyCode);t("ARROW_DOWN")&&(e.preventDefault(),Object(a["stopImmediatePropagation"])(e),uf(ff,this).listen(),uf(ff,this).selectCell(0,0))}function Ef(e){const t=[];e.preventDefault(),Object(d["arrayEach"])(uf(ff,this).getSourceData(),(e,r)=>{e.checked=!0,t.push(Object($p["dataRowToChangesArray"])(e,r)[0])}),uf(ff,this).setSourceDataAtCell(t)}function Mf(e){const t=[];e.preventDefault(),Object(d["arrayEach"])(uf(ff,this).getSourceData(),(e,r)=>{e.checked=!1,t.push(Object($p["dataRowToChangesArray"])(e,r)[0])}),uf(ff,this).setSourceDataAtCell(t)}function Tf(e,t){const r=Gp(t);return Object(d["arrayMap"])(e,e=>(e.checked=r(e.value),e))}function Cf(e){const t=[];return Object(d["arrayEach"])(e,e=>{e.checked&&t.push(e.value)}),t}const xf="by_value";function Af(e,t){let[r]=t;return r(e.value)}function Nf(e,t){Of(e,t),t.add(e)}function Of(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Rf(e,t,r){return t=Lf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){var t=kf(e,"string");return"symbol"==typeof t?t:t+""}function kf(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function If(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Ld(xf,Af,{name:"By value",inputsCount:0,inputValuesDecorator(e){let[t]=e;return[Gp(t)]},showOperators:!1});var Df,Pf=new WeakSet;class jf extends Ad{constructor(e,t){super(e,{id:t.id,stateless:!1}),Nf(this,Pf),Rf(this,"name",""),this.name=t.name,this.elements.push(new wf(this.hot)),this.registerHooks()}registerHooks(){this.getMultipleSelectElement().addLocalHook("keydown",e=>If(Pf,this,Ff).call(this,e)).addLocalHook("listTabKeydown",e=>this.runLocalHooks("listTabKeydown",e)),this.hot.addHook("modifyFiltersMultiSelectValue",(e,t)=>If(Pf,this,Bf).call(this,e,t))}getElements(){const e=this.getMultipleSelectElement();return[e.getSearchInputElement(),e.getSelectAllElement(),e.getClearAllElement(),this.getMultipleSelectElement()]}setState(e){if(this.reset(),e&&e.command.key===xf){const t=this.getMultipleSelectElement();t.setItems(e.itemsSnapshot),t.setValue(e.args[0]),t.setLocale(e.locale)}}getState(){const e=this.getMultipleSelectElement(),t=e.getItems();return{command:{key:e.isSelectedAllValues()||!t.length?kd:xf},args:[e.getValue()],itemsSnapshot:t}}updateState(e){const t=(t,r,n,i,a)=>{const[o]=Object(d["arrayFilter"])(r,e=>e.name===xf),s={},l=this.hot.getTranslatedPhrase(Fe["FILTERS_VALUES_BLANK_CELLS"]);if(o){const r=i(t,a),u=Object(d["arrayMap"])(r,e=>e.value),c=new Map(r.map(e=>[e.value,this.hot.getCellMeta(e.meta.visualRow,e.meta.visualCol)])),h=Xp(u);n&&(o.args[0]=n);const p=[],f=Zp(h,o.args[0],l,e=>{e.checked&&p.push(e.value),If(Pf,this,Hf).call(this,e,c)}),m=e.editedConditionStack.column;s.locale=this.hot.getCellMeta(0,m).locale,s.args=[p],s.command=Rd(xf),s.itemsSnapshot=f}else s.args=[],s.command=Rd(kd);this.state.setValueAtIndex(t,s)};t(e.editedConditionStack.column,e.editedConditionStack.conditions,e.conditionArgsChange,e.filteredRowsFactory),e.dependentConditionStacks.length&&t(e.dependentConditionStacks[0].column,e.dependentConditionStacks[0].conditions,e.conditionArgsChange,e.filteredRowsFactory,e.editedConditionStack)}getMultipleSelectElement(){return this.elements.filter(e=>e instanceof wf)[0]}getMenuItemDescriptor(){return{key:this.id,name:this.name,isCommand:!1,disableSelection:!0,hidden:()=>this.isHidden(),renderer:(e,t,r,n,a,o)=>{Object(i["addClass"])(t.parentNode,"htFiltersMenuValue");const s=this.hot.rootDocument.createElement("div");return Object(i["addClass"])(s,"htFiltersMenuLabel"),s.textContent=o,t.appendChild(s),Object(d["arrayEach"])(this.elements,e=>t.appendChild(e.element)),t}}}reset(){const e=this.hot.getTranslatedPhrase(Fe["FILTERS_VALUES_BLANK_CELLS"]),t=this._getColumnVisibleValues(),r=t.map(e=>e.value),n=new Map(t.map(e=>[e.value,e.meta])),i=Xp(r),a=Zp(i,i,e,e=>{If(Pf,this,Hf).call(this,e,n)});this.getMultipleSelectElement().setItems(a),super.reset(),this.getMultipleSelectElement().setValue(i);const o=this.hot.getPlugin("filters").getSelectedColumn();null!==o&&this.getMultipleSelectElement().setLocale(this.hot.getCellMeta(0,o.visualIndex).locale)}_getColumnVisibleValues(){const e=this.hot.getPlugin("filters").getSelectedColumn();return null===e?[]:Object(d["arrayMap"])(this.hot.getDataAtCol(e.visualIndex),(t,r)=>({value:Kp(t),meta:this.hot.getCellMeta(r,e.visualIndex)}))}}function Ff(e){Object(f["isKey"])(e.keyCode,"ESCAPE")&&(this.runLocalHooks("cancel"),Object(a["stopImmediatePropagation"])(e))}function Hf(e,t){this.hot.hasHook("modifyFiltersMultiSelectValue")&&(e.visualValue=this.hot.runHooks("modifyFiltersMultiSelectValue",e.visualValue,t.get(e.value)))}function Bf(e,t){switch(t.type){case"numeric":return at(e,t);default:return e}}function Uf(e,t){Vf(e,t),t.add(e)}function Vf(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Yf(e,t,r){return t=zf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){var t=Wf(e,"string");return"symbol"==typeof t?t:t+""}function Wf(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function qf(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var Gf=new WeakSet;class Kf extends Ad{static get BUTTON_OK(){return"ok"}static get BUTTON_CANCEL(){return"cancel"}constructor(e,t){super(e,{id:t.id,stateless:!0}),Uf(this,Gf),Yf(this,"name",""),this.name=t.name,this.elements.push(new Hh(this.hot,{type:"button",value:Fe["FILTERS_BUTTONS_OK"],className:"htUIButton htUIButtonOK",identifier:Kf.BUTTON_OK})),this.elements.push(new Hh(this.hot,{type:"button",value:Fe["FILTERS_BUTTONS_CANCEL"],className:"htUIButton htUIButtonCancel",identifier:Kf.BUTTON_CANCEL})),this.registerHooks()}registerHooks(){Object(d["arrayEach"])(this.elements,e=>{e.addLocalHook("click",(e,t)=>qf(Gf,this,Xf).call(this,e,t))})}getMenuItemDescriptor(){return{key:this.id,name:this.name,isCommand:!1,disableSelection:!0,hidden:()=>this.isHidden(),renderer:(e,t)=>(Object(i["addClass"])(t.parentNode,"htFiltersMenuActionBar"),Object(d["arrayEach"])(this.elements,e=>t.appendChild(e.element)),t)}}accept(){this.runLocalHooks("accept")}cancel(){this.runLocalHooks("cancel")}}function Xf(e,t){t.options.identifier===Df.BUTTON_OK?this.accept():this.cancel()}function Zf(e,t,r){return t=$f(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){var t=Jf(e,"string");return"symbol"==typeof t?t:t+""}function Jf(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}Df=Kf;const Qf="ConditionCollection.filteringStates";class em{constructor(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Zf(this,"hot",void 0),Zf(this,"isMapRegistrable",void 0),Zf(this,"filteringStates",new ui["a"]),this.hot=e,this.isMapRegistrable=t,!0===this.isMapRegistrable?this.hot.columnIndexMapper.registerMap(Qf,this.filteringStates):this.filteringStates.init(this.hot.columnIndexMapper.getNumberOfIndexes())}isEmpty(){return 0===this.getFilteredColumns().length}isMatch(e,t){var r;const n=this.filteringStates.getValueAtIndex(t),i=null!==(r=null===n||void 0===n?void 0:n.conditions)&&void 0!==r?r:[],a=null===n||void 0===n?void 0:n.operation;return this.isMatchInConditions(i,e,a)}isMatchInConditions(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vp;return!e.length||fp(r)(e,t)}addCondition(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vp,n=arguments.length>3?arguments[3]:void 0;const i=this.hot.getCellMeta(0,e).locale,a=Object(d["arrayMap"])(t.args,e=>"string"===typeof e?e.toLocaleLowerCase(i):e),o=t.name||t.command.key;this.runLocalHooks("beforeAdd",e);const s=this.getOperation(e);if(s){if(s!==r)throw Error(Ea["a"]`The column of index ${e} has been already applied with a \`${s}\`\x20
- filter operation. Use \`removeConditions\` to clear the current conditions and then add new ones.\x20
- Mind that you cannot mix different types of operations (for instance, if you use \`conjunction\`,\x20
- use it consequently for a particular column).`)}else if(Object(h["isUndefined"])(pp[r]))throw new Error(Ea["a"]`Unexpected operation named \`${r}\`. Possible ones are\x20
- \`disjunction\` and \`conjunction\`.`);const l=this.getConditions(e);0===l.length?this.filteringStates.setValueAtIndex(e,{operation:r,conditions:[{name:o,args:a,func:Od(o,a)}]},n):l.push({name:o,args:a,func:Od(o,a)}),this.runLocalHooks("afterAdd",e)}getConditions(e){var t,r;return null!==(t=null===(r=this.filteringStates.getValueAtIndex(e))||void 0===r?void 0:r.conditions)&&void 0!==t?t:[]}getOperation(e){var t;return null===(t=this.filteringStates.getValueAtIndex(e))||void 0===t?void 0:t.operation}getFilteredColumns(){return this.filteringStates.getEntries().map(e=>{let[t]=e;return t})}getColumnStackPosition(e){return this.getFilteredColumns().indexOf(e)}exportAllConditions(){return Object(d["arrayReduce"])(this.filteringStates.getEntries(),(e,t)=>{let[r,{operation:n,conditions:i}]=t;return e.push({column:r,operation:n,conditions:Object(d["arrayMap"])(i,e=>{let{name:t,args:r}=e;return{name:t,args:r}})}),e},[])}importAllConditions(e){this.clean(),Object(d["arrayEach"])(e,e=>{Object(d["arrayEach"])(e.conditions,t=>this.addCondition(e.column,t))})}removeConditions(e){this.runLocalHooks("beforeRemove",e),this.filteringStates.clearValue(e),this.runLocalHooks("afterRemove",e)}clean(){this.runLocalHooks("beforeClean"),this.filteringStates.clear(),this.runLocalHooks("afterClean")}hasConditions(e,t){const r=this.getConditions(e);return t?r.some(e=>e.name===t):r.length>0}destroy(){this.isMapRegistrable&&this.hot.columnIndexMapper.unregisterMap(Qf),this.filteringStates=null,this.clearLocalHooks()}}Object(o["mixin"])(em,Ya["a"]);var tm=em;function rm(e,t,r){return t=nm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nm(e){var t=im(e,"string");return"symbol"==typeof t?t:t+""}function im(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class am{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>[];rm(this,"conditionCollection",void 0),rm(this,"columnDataFactory",void 0),this.conditionCollection=e,this.columnDataFactory=t}filter(){let e=[];return Object(d["arrayEach"])(this.conditionCollection.getFilteredColumns(),(t,r)=>{let n=this.columnDataFactory(t);r&&(n=this._getIntersectData(n,e)),e=this.filterByColumn(t,n)}),e}filterByColumn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=[];return Object(d["arrayEach"])(t,t=>{void 0!==t&&this.conditionCollection.isMatch(t,e)&&r.push(t)}),r}_getIntersectData(e,t){const r=[];return Object(d["arrayEach"])(t,t=>{const n=t.meta.visualRow;void 0!==e[n]&&(r[n]=e[n])}),r}}var om=am;function sm(e,t){lm(e,t),t.add(e)}function lm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function um(e,t,r){return t=cm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cm(e){var t=dm(e,"string");return"symbol"==typeof t?t:t+""}function dm(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function hm(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var pm=new WeakSet;class fm{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[];sm(this,pm),um(this,"hot",void 0),um(this,"conditionCollection",void 0),um(this,"columnDataFactory",void 0),um(this,"changes",[]),um(this,"grouping",!1),um(this,"latestEditedColumnPosition",-1),um(this,"latestOrderStack",[]),this.hot=e,this.conditionCollection=t,this.columnDataFactory=r,this.conditionCollection.addLocalHook("beforeRemove",e=>hm(pm,this,mm).call(this,e)),this.conditionCollection.addLocalHook("afterRemove",e=>this.updateStatesAtColumn(e)),this.conditionCollection.addLocalHook("afterAdd",e=>this.updateStatesAtColumn(e)),this.conditionCollection.addLocalHook("beforeClean",()=>hm(pm,this,gm).call(this)),this.conditionCollection.addLocalHook("afterClean",()=>hm(pm,this,vm).call(this))}groupChanges(){this.grouping=!0}flush(){this.grouping=!1,Object(d["arrayEach"])(this.changes,e=>{this.updateStatesAtColumn(e)}),this.changes.length=0}updateStatesAtColumn(e,t){var r=this;if(this.grouping)return void(-1===this.changes.indexOf(e)&&this.changes.push(e));const n=this.conditionCollection.exportAllConditions();let i=this.conditionCollection.getColumnStackPosition(e);-1===i&&(i=this.latestEditedColumnPosition);const a=n.slice(0,i),o=n.slice(i);o.length&&o[0].column===e&&o.shift();const s=Object(si["curry"])((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const i=new tm(r.hot,!1),a=[].concat(e,n);i.importAllConditions(a);const o=r.columnDataFactory(t);let s;s=i.isEmpty()?o:new om(i,e=>r.columnDataFactory(e)).filter(),s=Object(d["arrayMap"])(s,e=>e.meta.visualRow);const l=Gp(s);return i.destroy(),Object(d["arrayFilter"])(o,e=>l(e.meta.visualRow))}))(a),l=[].concat(this.conditionCollection.getConditions(e));this.runLocalHooks("update",{editedConditionStack:{column:e,conditions:l},dependentConditionStacks:o,filteredRowsFactory:s,conditionArgsChange:t})}destroy(){this.clearLocalHooks(),Object(o["objectEach"])(this,(e,t)=>{this[t]=null})}}function mm(e){this.latestEditedColumnPosition=this.conditionCollection.getColumnStackPosition(e)}function gm(){this.latestOrderStack=this.conditionCollection.getFilteredColumns()}function vm(){Object(d["arrayEach"])(this.latestOrderStack,e=>{this.updateStatesAtColumn(e)})}Object(o["mixin"])(fm,Ya["a"]);var bm=fm;function ym(e){const t=qs({initialPage:0,size:()=>e.length,onItemSelect:(t,r)=>{const n=e[t];return n instanceof wf?r:!(n.element&&!Object(i["isVisible"])(n.element))&&void n.focus()}});return t}const wm="filters";function _m(e,t){let r=-1;const n=ym(t),i=r=>()=>{e.isOpened()&&e.getKeyboardShortcutsCtrl().listen(wm),n.setCurrentPage(t.indexOf(r))};function a(i){const a=e.getKeyboardShortcutsCtrl(),o=i.getKeyboardShortcutsCtrl();n.clear(),o.addCustomShortcuts([{keys:[["Tab"],["Shift","Tab"]],forwardToContext:a.getContext(wm),callback:()=>{i.isSubMenu()&&i.close(),a.listen(wm)}}]),i.isSubMenu()||a.addCustomShortcuts([{keys:[["Tab"],["Shift","Tab"]],callback:t=>{const i=e.getNavigator();i.getCurrentPage()>-1&&(r=i.getCurrentPage()),i.clear(),t.shiftKey?n.toPreviousItem():n.toNextItem()}},{keys:[["Escape"]],callback:()=>{e.close()}},{keys:[["Enter"],["Space"]],preventDefault:!1,callback:e=>{const r=t[n.getCurrentPage()];r instanceof Qh&&(r.openOptions(),e.preventDefault()),r instanceof af&&(r.activate(),e.preventDefault()),r instanceof Oh||e.preventDefault()}}],wm)}function o(){e.focus(),e.getKeyboardShortcutsCtrl().listen(wm)}function s(){return r}return t.forEach(e=>{e instanceof Oh&&(e.addLocalHook("click",i(e)),e.addLocalHook("focus",i(e)),e.addLocalHook("afterClose",i(e)))}),e.addLocalHook("afterSelectionChange",e=>{e.key.startsWith("filter_")||n.clear()}),e.addLocalHook("afterSubmenuOpen",a),e.addLocalHook("afterOpen",a),{...n,listen:o,getLastMenuPage:s}}var Sm=r("00fd");function Em(e,t){Tm(e,t),t.add(e)}function Mm(e,t,r){Tm(e,t),t.set(e,r)}function Tm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Cm(e,t,r){return t=xm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xm(e){var t=Am(e,"string");return"symbol"==typeof t?t:t+""}function Am(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Nm(e,t,r){return e.set(Rm(e,t),r),r}function Om(e,t){return e.get(Rm(e,t))}function Rm(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Lm="filters",km=250,Im=Lm;var Dm=new WeakMap,Pm=new WeakSet;class jm extends er["a"]{static get PLUGIN_KEY(){return Lm}static get PLUGIN_PRIORITY(){return km}static get PLUGIN_DEPS(){return["plugin:DropdownMenu","plugin:HiddenRows","cell-type:checkbox"]}constructor(e){super(e),Em(this,Pm),Cm(this,"dropdownMenuPlugin",null),Cm(this,"conditionCollection",null),Cm(this,"conditionUpdateObserver",null),Cm(this,"components",new Map([["filter_by_condition",null],["filter_operators",null],["filter_by_condition2",null],["filter_by_value",null],["filter_action_bar",null]])),Cm(this,"filtersRowsMap",null),Mm(this,Dm,void 0),this.hot.addHook("afterGetColHeader",(e,t)=>Rm(Pm,this,Wm).call(this,e,t))}isEnabled(){return!!this.hot.getSettings()[Lm]}enablePlugin(){if(this.enabled)return;this.filtersRowsMap=this.hot.rowIndexMapper.registerMap(this.pluginName,new Sm["a"]),this.dropdownMenuPlugin=this.hot.getPlugin("dropdownMenu");const e=this.hot.getSettings().dropdownMenu,t=e&&e.uiContainer||this.hot.rootDocument.body,r=e=>(e.addLocalHook("accept",()=>Rm(Pm,this,Vm).call(this,"accept")),e.addLocalHook("cancel",()=>Rm(Pm,this,Vm).call(this,"cancel")),e.addLocalHook("change",t=>Rm(Pm,this,Ym).call(this,e,t)),e),n=()=>this.hot.getTranslatedPhrase(Fe["FILTERS_DIVS_FILTER_BY_CONDITION"])+":",i=()=>this.hot.getTranslatedPhrase(Fe["FILTERS_DIVS_FILTER_BY_VALUE"])+":";if(!this.components.get("filter_by_condition")){const e=new cp(this.hot,{id:"filter_by_condition",name:n,addSeparator:!1,menuContainer:t});e.addLocalHook("afterClose",()=>Rm(Pm,this,zm).call(this)),this.components.set("filter_by_condition",r(e))}if(this.components.get("filter_operators")||this.components.set("filter_operators",new Vp(this.hot,{id:"filter_operators",name:"Operators"})),!this.components.get("filter_by_condition2")){const e=new cp(this.hot,{id:"filter_by_condition2",name:"",addSeparator:!0,menuContainer:t});e.addLocalHook("afterClose",()=>Rm(Pm,this,zm).call(this)),this.components.set("filter_by_condition2",r(e))}if(this.components.get("filter_by_value")||this.components.set("filter_by_value",r(new jf(this.hot,{id:"filter_by_value",name:i}))),this.components.get("filter_action_bar")||this.components.set("filter_action_bar",r(new Kf(this.hot,{id:"filter_action_bar",name:"Action bar"}))),this.conditionCollection||(this.conditionCollection=new tm(this.hot)),this.conditionUpdateObserver||(this.conditionUpdateObserver=new bm(this.hot,this.conditionCollection,e=>this.getDataMapAtColumn(e)),this.conditionUpdateObserver.addLocalHook("update",e=>Rm(Pm,this,qm).call(this,e))),this.components.forEach(e=>e.show()),this.addHook("afterDropdownMenuDefaultOptions",e=>Rm(Pm,this,Um).call(this,e)),this.addHook("afterDropdownMenuShow",()=>Rm(Pm,this,Hm).call(this)),this.addHook("afterDropdownMenuHide",()=>Rm(Pm,this,Bm).call(this)),this.addHook("afterChange",e=>Rm(Pm,this,Fm).call(this,e)),this.hot.getSettings().dropdownMenu&&this.dropdownMenuPlugin&&(this.dropdownMenuPlugin.disablePlugin(),this.dropdownMenuPlugin.enablePlugin()),!Om(Dm,this)&&this.dropdownMenuPlugin.enabled){const e=this.dropdownMenuPlugin.menu,t=[{focus:()=>{const t=e.getNavigator(),r=Om(Dm,this).getLastMenuPage();e.focus(),r>0?t.setCurrentPage(r):t.toFirstItem()}},...Array.from(this.components).map(e=>{let[,t]=e;return t.getElements()}).flat()];Nm(Dm,this,_m(e,t));const r=e=>{Om(Dm,this).listen(),e.preventDefault(),Object(f["isKey"])(e.keyCode,"TAB")&&(e.shiftKey?Om(Dm,this).toPreviousItem():Om(Dm,this).toNextItem())};this.components.get("filter_by_value").addLocalHook("listTabKeydown",r),this.components.get("filter_by_condition").addLocalHook("selectTabKeydown",r)}this.registerShortcuts(),super.enablePlugin()}disablePlugin(){var e;this.enabled&&(null!==(e=this.dropdownMenuPlugin)&&void 0!==e&&e.enabled&&this.dropdownMenuPlugin.menu.clearLocalHooks(),this.components.forEach((e,t)=>{e.destroy(),this.components.set(t,null)}),this.conditionCollection.destroy(),this.conditionCollection=null,this.hot.rowIndexMapper.unregisterMap(this.pluginName));this.unregisterShortcuts(),super.disablePlugin()}registerShortcuts(){this.hot.getShortcutManager().getContext("grid").addShortcut({keys:[["Alt","A"]],stopPropagation:!0,callback:()=>{const e=this.hot.getSelected();this.clearConditions(),this.filter(),e&&this.hot.selectCells(e)},group:Im})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(Im)}addCondition(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:vp;const i=this.hot.toPhysicalColumn(e);this.conditionCollection.addCondition(i,{command:{key:t},args:r},n)}removeConditions(e){const t=this.hot.toPhysicalColumn(e);this.conditionCollection.removeConditions(t)}clearConditions(e){if(void 0===e)this.conditionCollection.clean();else{const t=this.hot.toPhysicalColumn(e);this.conditionCollection.removeConditions(t)}}filter(){const{navigableHeaders:e}=this.hot.getSettings(),t=this._createDataFilter(),r=!this.conditionCollection.isEmpty();let n=[];const i=this.conditionCollection.exportAllConditions(),a=this.hot.runHooks("beforeFilter",i);if(!1!==a)if(r){const r=[];this.hot.batchExecution(()=>{this.filtersRowsMap.clear(),n=Object(d["arrayMap"])(t.filter(),e=>e.meta.visualRow);const e=Gp(n);Object(nt["rangeEach"])(this.hot.countSourceRows()-1,t=>{e(t)||r.push(t)}),Object(d["arrayEach"])(r,e=>{this.filtersRowsMap.setValueAtIndex(e,!0)})},!0),e||n.length||this.hot.deselectCell()}else this.filtersRowsMap.clear();this.hot.runHooks("afterFilter",i),this.hot.view.adjustElementsSize(!0),this.hot.render(),this.hot.selection.isSelected()&&this.hot.selectCell(e?-1:0,this.hot.getSelectedRangeLast().highlight.col)}getSelectedColumn(){var e;const t=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return t?{visualIndex:t.col,physicalIndex:this.hot.toPhysicalColumn(t.col)}:null}getDataMapAtColumn(e){const t=this.hot.toVisualColumn(e),r=[];return Object(d["arrayEach"])(this.hot.getSourceDataAtCol(t),(e,n)=>{var i;const{row:a,col:o,visualCol:s,visualRow:l,type:u,instance:c,dateFormat:d,locale:h}=this.hot.getCellMeta(n,t),p=null!==(i=this.hot.getDataAtCell(this.hot.toVisualRow(n),t))&&void 0!==i?i:e;r.push({meta:{row:a,col:o,visualCol:s,visualRow:l,type:u,instance:c,dateFormat:d,locale:h},value:Kp(p)})}),r}updateValueComponentCondition(e){const t=this.hot.getDataAtCol(e),r=Xp(t);this.conditionUpdateObserver.updateStatesAtColumn(e,r)}restoreComponents(e){var t;const r=null===(t=this.getSelectedColumn())||void 0===t?void 0:t.physicalIndex;e.forEach(e=>{e.isHidden()||e.restoreState(r)}),this.updateDependentComponentsVisibility()}getOperationBasedOnArguments(e,t,r,n){let i=e;return i===wp&&t.command.key!==kd&&r.command.key!==kd&&n.command.key!==kd?i=Ep:n.command.key!==kd&&(t.command.key!==kd&&r.command.key!==kd||(i=vp)),i}setListeningDropdownMenu(){this.dropdownMenuPlugin&&this.dropdownMenuPlugin.setListening()}updateDependentComponentsVisibility(){const e=this.components.get("filter_by_condition"),{command:t}=e.getState(),r=[this.components.get("filter_by_condition2"),this.components.get("filter_operators")];t.showOperators?this.showComponents(...r):this.hideComponents(...r)}_createDataFilter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.conditionCollection;return new om(e,e=>this.getDataMapAtColumn(e))}getIndexesOfComponents(){const e=[];if(!this.dropdownMenuPlugin)return e;const t=this.dropdownMenuPlugin.menu;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Object(d["arrayEach"])(n,r=>{Object(d["arrayEach"])(t.menuItems,(t,n)=>{t.key===r.getMenuItemDescriptor().key&&e.push(n)})}),e}changeComponentsVisibility(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.dropdownMenuPlugin)return;const t=this.dropdownMenuPlugin.menu,r=t.hotMenu,n=r.getPlugin("hiddenRows");for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];const s=this.getIndexesOfComponents(...a);e?n.showRows(s):n.hideRows(s),r.render()}hideComponents(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.changeComponentsVisibility(!1,...t)}showComponents(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.changeComponentsVisibility(!0,...t)}destroy(){this.enabled&&(this.components.forEach((e,t)=>{null!==e&&(e.destroy(),this.components.set(t,null))}),this.conditionCollection.destroy(),this.conditionUpdateObserver.destroy(),this.hot.rowIndexMapper.unregisterMap(this.pluginName)),super.destroy()}}function Fm(e){e&&Object(d["arrayEach"])(e,e=>{const[,t]=e,r=this.hot.propToCol(t);this.conditionCollection.hasConditions(r)&&this.updateValueComponentCondition(r)})}function Hm(){this.restoreComponents(Array.from(this.components.values()))}function Bm(){this.components.get("filter_by_condition").getSelectElement().closeOptions(),this.components.get("filter_by_condition2").getSelectElement().closeOptions()}function Um(e){e.items.push({name:$a}),this.components.forEach(t=>{e.items.push(t.getMenuItemDescriptor())})}function Vm(e){var t;if("accept"===e){const e=this.getSelectedColumn();var r;if(null===e)return void(null===(r=this.dropdownMenuPlugin)||void 0===r||r.close());const{physicalIndex:t}=e,n=this.components.get("filter_by_condition").getState(),i=this.components.get("filter_by_condition2").getState(),a=this.components.get("filter_by_value").getState(),o=this.getOperationBasedOnArguments(this.components.get("filter_operators").getActiveOperationId(),n,i,a);this.conditionUpdateObserver.groupChanges();let s=this.conditionCollection.getColumnStackPosition(t);-1===s&&(s=void 0),this.conditionCollection.removeConditions(t),n.command.key!==kd&&(this.conditionCollection.addCondition(t,n,o,s),i.command.key!==kd&&this.conditionCollection.addCondition(t,i,o,s)),a.command.key!==kd&&this.conditionCollection.addCondition(t,a,o,s),this.conditionUpdateObserver.flush(),this.components.forEach(e=>e.saveState(t)),this.filtersRowsMap.clear(),this.filter()}null===(t=this.dropdownMenuPlugin)||void 0===t||t.close()}function Ym(e,t){this.updateDependentComponentsVisibility(),e.constructor!==cp||t.inputsCount||this.setListeningDropdownMenu()}function zm(){this.setListeningDropdownMenu()}function Wm(e,t){const r=this.hot.toPhysicalColumn(e);this.enabled&&this.conditionCollection.hasConditions(r)?Object(i["addClass"])(t,"htFiltersActive"):Object(i["removeClass"])(t,"htFiltersActive")}function qm(e){var t;if(null===(t=this.dropdownMenuPlugin)||void 0===t||!t.enabled)return;const{editedConditionStack:{conditions:r,column:n}}=e,i=r.filter(e=>e.name===xf),a=r.filter(e=>e.name!==xf);if(i.length>=2||a.length>=3)Object(Fn["b"])(Ea["a"]`The filter conditions have been applied properly, but couldn’t be displayed visually.\x20
- The overall amount of conditions exceed the capability of the dropdown menu.\x20
- For more details see the documentation.`);else{const t=this.conditionCollection.getOperation(n);this.components.get("filter_by_condition").updateState(a[0],n),this.components.get("filter_by_condition2").updateState(a[1],n),this.components.get("filter_operators").updateState(t,n),this.components.get("filter_by_value").updateState(e)}}r("5b82");const Gm="internal-use-in-handsontable",Km={licenseKey:Gm,useArrayArithmetic:!0,useColumnIndex:!1,useStats:!1,evaluateNullToZero:!0,precisionEpsilon:1e-13,precisionRounding:14,smartRounding:!0,leapYear1900:!1,nullDate:{year:1899,month:12,day:30},nullYear:30,dateFormats:["DD/MM/YYYY","DD/MM/YY"],timeFormats:["hh:mm","hh:mm:ss.sss"],matchWholeCell:!0,useRegularExpressions:!1,useWildcards:!0,functionArgSeparator:",",thousandSeparator:"",decimalSeparator:".",language:"enGB"};function Xm(e){var t;return{maxColumns:e.maxColumns,maxRows:e.maxRows,language:null===(t=e[ov])||void 0===t||null===(t=t.language)||void 0===t?void 0:t.langCode}}function Zm(e){return Object.keys(e).reduce((t,r)=>("hyperformula"!==r&&(t[r]=e[r]),t),{})}function $m(e){var t;const r=e[ov],n=Zm(null!==r&&void 0!==r&&null!==(t=r.engine)&&void 0!==t&&t.hyperformula?r.engine:{}),i=Xm(e);return{...Km,...n,...i}}function Jm(e){var t;const r=e[ov],n=Zm(null!==r&&void 0!==r&&null!==(t=r.engine)&&void 0!==t&&t.hyperformula?r.engine:{}),i=Xm(e);return{...n,...i}}function Qm(e,t){return Object.keys(t).some(r=>void 0!==t[r]&&t[r]!==e[r])}function eg(){const e="engine_relationship",t=Object(Gi["a"])(ov);return t.hasItem(e)||t.register(e,new Map),t.getItem(e)}function tg(){const e="shared_engine_usage",t=Object(Gi["a"])(ov);return t.hasItem(e)||t.register(e,new Map),t.getItem(e)}function rg(e){const t=e.getSettings(),r=t[ov],n=null===r||void 0===r?void 0:r.engine;if(!0===r)return null;if(Object(h["isUndefined"])(n))return null;var i;if("function"===typeof n.hyperformula||"function"===typeof n)return ng(null!==(i=n.hyperformula)&&void 0!==i?i:n,t,e);if("object"===typeof n&&Object(h["isUndefined"])(n.hyperformula)){const t=eg(),r=tg().get(n);return t.has(n)||t.set(n,[]),t.get(n).push(e),r&&r.push(e.guid),n.getConfig().licenseKey||n.updateConfig({licenseKey:Gm}),n.getConfig().leapYear1900===Km.leapYear1900&&!1!==Object(o["isObjectEqual"])(n.getConfig().nullDate,Km.nullDate)||Object(Fn["b"])(Ea["a"]`If you use HyperFormula with Handsontable, keep the default \`leapYear1900\` and \`nullDate\`
- settings. Otherwise, HyperFormula's dates may not sync correctly with Handsontable's dates.`),n}return null}function ng(e,t,r){const n=t[ov],i=$m(t),a=eg(),o=tg();og(e,n.functions),sg(e,n.language);const s=e.buildEmpty(i);return a.set(s,[r]),o.set(s,[r.guid]),lg(s,n.namedExpressions),s.on("sheetAdded",()=>{s.rebuildAndRecalculate()}),s.on("sheetRemoved",()=>{s.rebuildAndRecalculate()}),s}function ig(e){var t;const r=eg(),n=0===r.size?[]:Array.from(null!==(t=r.get(e))&&void 0!==t?t:[]);return new Map(n.map(e=>[e.getPlugin("formulas").sheetId,e]))}function ag(e,t){if(e){const r=eg(),n=r.get(e),i=tg(),a=i.get(e);n&&n.includes(t)&&(n.splice(n.indexOf(t),1),0===n.length&&r.delete(e)),a&&a.includes(t.guid)&&(a.splice(a.indexOf(t.guid),1),0===a.length&&(i.delete(e),e.destroy()))}}function og(e,t){t&&t.forEach(t=>{const{name:r,plugin:n,translations:i}=t;try{e.registerFunction(r,n,i)}catch(a){Object(Fn["b"])(a.message)}})}function sg(e,t){if(t){const{langCode:n}=t;try{e.registerLanguage(n,t)}catch(r){Object(Fn["b"])(r.message)}}}function lg(e,t){t&&(e.suspendEvaluation(),t.forEach(t=>{const{name:r,expression:n,scope:i,options:a}=t;try{e.addNamedExpression(r,n,i,a)}catch(o){Object(Fn["b"])(o.message)}}),e.resumeEvaluation())}function ug(e,t){return!Object(h["isUndefined"])(t)&&e.doesSheetExist(t)||(t=e.addSheet(t)),t}const cg="DD/MM/YYYY";function dg(e){return"string"===typeof e&&"'"===e.charAt(0)&&"="===e.charAt(1)}function hg(e){return dg(e)?e.substr(1):e}function pg(e){return"string"===typeof e&&e.startsWith("=")}function fg(e,t){return"string"===typeof e&&"date"===t}function mg(e,t){return R(e,t,!0).isValid()}function gg(e,t){return R(e,t,!0).format(cg)}function vg(e,t){return R(e,cg,!0).format(t)}function bg(e,t){const r=-1,n=new Date(Date.UTC(0,0,e+r));return R(n).format(t)}function yg(e,t,r){const n=Array.from(Array(r).keys()).filter(t=>!1===e.includes(t));var i;return 0===t?null!==(i=n[t])&&void 0!==i?i:0:n[t-1]+1}function wg(e,t){const r=[];return e.forEach(e=>{const n={from:e,to:t};r.forEach(e=>{const t=e.from>e.to,r=e.to<=n.from,i=e.from>n.from;i&&r&&t&&(n.from+=1)}),n.from>=t&&(t+=1),r.push(n)}),r}function _g(e){return e.forEach((t,r)=>{const n=e.slice(r+1);n.forEach(e=>{const r=e.from<e.to;e.from>t.from&&r&&(e.from-=1)})}),e}function Sg(e,t,r){const n=wg(e,yg(e,t,r));return _g(n)}function Eg(e,t,r){Mg(e,t),t.set(e,r)}function Mg(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Tg(e,t){return e.get(xg(e,t))}function Cg(e,t,r){return e.set(xg(e,t),r),r}function xg(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var Ag=new WeakMap,Ng=new WeakMap,Og=new WeakMap,Rg=new WeakMap,Lg=new WeakMap,kg=new WeakMap,Ig=new WeakMap;class Dg{constructor(e,t,r){Eg(this,Ag,void 0),Eg(this,Ng,void 0),Eg(this,Og,void 0),Eg(this,Rg,[]),Eg(this,Lg,[]),Eg(this,kg,void 0),Eg(this,Ig,[]),Cg(Ag,this,e),Cg(Ng,this,t),Cg(Og,this,r)}setRemovedHfIndexes(e){return Cg(Ig,this,e.map(e=>{const t=Tg(Ng,this).getVisualFromPhysicalIndex(e);return this.getHfIndexFromVisualIndex(t)})),Tg(Ig,this)}getRemovedHfIndexes(){return Tg(Ig,this)}getHfIndexFromVisualIndex(e){const t=Tg(Ng,this).getIndexesSequence(),r=Tg(Ng,this).getNotTrimmedIndexes();return t.indexOf(r[e])}syncMoves(e){const t=1,r=`move${Object(p["toUpperCaseFirst"])(Tg(Ag,this))}s`;Tg(Og,this).getEngine().batch(()=>{e.forEach(e=>{const n=e.from!==e.to,i=e.from+1!==e.to;n&&i&&Tg(Og,this).getEngine()[r](Tg(Og,this).getSheetId(),e.from,t,e.to)})})}storeMovesInformation(e,t,r){!1!==r&&(Cg(Lg,this,e.map(e=>this.getHfIndexFromVisualIndex(e))),Cg(kg,this,this.getHfIndexFromVisualIndex(t)))}calculateAndSyncMoves(e,t){if(Tg(Og,this).isPerformingUndoRedo())return;if(!1===e||!1===t)return;const r=Sg(Tg(Lg,this),Tg(kg,this),Tg(Ng,this).getNumberOfIndexes());null===Tg(Og,this).getSheetId()?Tg(Og,this).getPostponeAction(()=>this.syncMoves(r)):this.syncMoves(r)}getIndexesChangeSyncMethod(){const e=`set${Object(p["toUpperCaseFirst"])(Tg(Ag,this))}Order`;return t=>{if(Tg(Og,this).isPerformingUndoRedo())return;const r=Tg(Ng,this).getIndexesSequence();if("update"===t&&r.length>0){const t=Tg(Rg,this).map(e=>r.indexOf(e)),n=Tg(Og,this).getEngine().getSheetDimensions(Tg(Og,this).getSheetId());let i;i="row"===Tg(Ag,this)?n.height:n.width;const a=t.length;for(let e=a;e<i;e+=1)t.push(e);Tg(Og,this).getEngine()[e](Tg(Og,this).getSheetId(),t)}Cg(Rg,this,r)}}init(){Cg(Rg,this,Tg(Ng,this).getIndexesSequence())}}var Pg=Dg;function jg(e,t,r){Fg(e,t),t.set(e,r)}function Fg(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hg(e,t){return e.get(Ug(e,t))}function Bg(e,t,r){return e.set(Ug(e,t),r),r}function Ug(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var Vg=new WeakMap,Yg=new WeakMap,zg=new WeakMap,Wg=new WeakMap,qg=new WeakMap,Gg=new WeakMap,Kg=new WeakMap;class Xg{constructor(e,t,r){jg(this,Vg,void 0),jg(this,Yg,void 0),jg(this,zg,void 0),jg(this,Wg,!1),jg(this,qg,!1),jg(this,Gg,null),jg(this,Kg,null),Bg(Vg,this,new Pg("row",e,this)),Bg(Yg,this,new Pg("column",t,this)),Bg(zg,this,r)}getForAxis(e){return Hg("row"===e?Vg:Yg,this)}setPerformUndo(e){Bg(Wg,this,e)}setPerformRedo(e){Bg(qg,this,e)}isPerformingUndoRedo(){return Hg(Wg,this)||Hg(qg,this)}getSheetId(){return Hg(Kg,this)}getEngine(){return Hg(Gg,this)}getPostponeAction(){return Hg(zg,this)}setupSyncEndpoint(e,t){Bg(Gg,this,e),Bg(Kg,this,t),Hg(Vg,this).init(),Hg(Yg,this).init()}}var Zg=Xg;function $g(e,t){rv(e,t),t.add(e)}function Jg(e,t,r){return t=Qg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qg(e){var t=ev(e,"string");return"symbol"==typeof t?t:t+""}function ev(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function tv(e,t,r){rv(e,t),t.set(e,r)}function rv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function nv(e,t,r){return e.set(av(e,t),r),r}function iv(e,t){return e.get(av(e,t))}function av(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const ov="formulas",sv=["maxRows","maxColumns","language"],lv=260;fe["a"].getSingleton().register("afterNamedExpressionAdded"),fe["a"].getSingleton().register("afterNamedExpressionRemoved"),fe["a"].getSingleton().register("afterSheetAdded"),fe["a"].getSingleton().register("afterSheetRemoved"),fe["a"].getSingleton().register("afterSheetRenamed"),fe["a"].getSingleton().register("afterFormulasValuesUpdate");const uv=e=>"UndoRedo.undo"===e||"UndoRedo.redo"===e||"auto"===e;var cv=new WeakMap,dv=new WeakMap,hv=new WeakMap,pv=new WeakSet;class fv extends er["a"]{constructor(){var e;super(...arguments),e=this,$g(this,pv),tv(this,cv,!1),tv(this,dv,!1),tv(this,hv,[["valuesUpdated",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return av(pv,e,kv).call(e,...r)}],["namedExpressionAdded",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return av(pv,e,Iv).call(e,...r)}],["namedExpressionRemoved",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return av(pv,e,Dv).call(e,...r)}],["sheetAdded",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return av(pv,e,Pv).call(e,...r)}],["sheetRenamed",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return av(pv,e,jv).call(e,...r)}],["sheetRemoved",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return av(pv,e,Fv).call(e,...r)}]]),Jg(this,"staticRegister",Object(Gi["a"])("formulas")),Jg(this,"engine",null),Jg(this,"sheetName",null),Jg(this,"indexSyncer",null),Jg(this,"rowAxisSyncer",null),Jg(this,"columnAxisSyncer",null)}static get PLUGIN_KEY(){return ov}static get PLUGIN_PRIORITY(){return lv}static get SETTING_KEYS(){return[ov,...sv]}get sheetId(){return null===this.sheetName?null:this.engine.getSheetId(this.sheetName)}isEnabled(){return!!this.hot.getSettings()[ov]}enablePlugin(){var e,t=this;if(!this.enabled)if(this.engine=null!==(e=rg(this.hot))&&void 0!==e?e:this.engine,this.engine){if(null!==this.sheetName&&!this.engine.doesSheetExist(this.sheetName)){const e=this.addSheet(this.sheetName,this.hot.getSourceDataArray());!1!==e&&(this.sheetName=e)}this.addHook("beforeLoadData",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,vv).call(t,...r)})),this.addHook("afterLoadData",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,yv).call(t,...r)})),this.addHook("beforeUpdateData",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,vv).call(t,...r)})),this.addHook("afterUpdateData",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,yv).call(t,...r)})),this.addHook("modifyData",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,wv).call(t,...r)})),this.addHook("modifySourceData",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,_v).call(t,...r)})),this.addHook("beforeValidate",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,mv).call(t,...r)})),this.addHook("afterSetSourceDataAtCell",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Ev).call(t,...r)})),this.addHook("afterSetDataAtCell",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Sv).call(t,...r)})),this.addHook("afterSetDataAtRowProp",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Sv).call(t,...r)})),this.addHook("beforeCreateRow",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Mv).call(t,...r)})),this.addHook("beforeCreateCol",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Tv).call(t,...r)})),this.addHook("afterCreateRow",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Av).call(t,...r)})),this.addHook("afterCreateCol",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Nv).call(t,...r)})),this.addHook("beforeRemoveRow",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Cv).call(t,...r)})),this.addHook("beforeRemoveCol",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,xv).call(t,...r)})),this.addHook("afterRemoveRow",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Ov).call(t,...r)})),this.addHook("afterRemoveCol",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Rv).call(t,...r)})),this.indexSyncer=new Zg(this.hot.rowIndexMapper,this.hot.columnIndexMapper,e=>{this.hot.addHookOnce("init",()=>{e()})}),this.rowAxisSyncer=this.indexSyncer.getForAxis("row"),this.columnAxisSyncer=this.indexSyncer.getForAxis("column"),this.hot.addHook("afterRowSequenceChange",this.rowAxisSyncer.getIndexesChangeSyncMethod()),this.hot.addHook("afterColumnSequenceChange",this.columnAxisSyncer.getIndexesChangeSyncMethod()),this.hot.addHook("beforeRowMove",(e,t,r,n)=>{this.rowAxisSyncer.storeMovesInformation(e,t,n)}),this.hot.addHook("beforeColumnMove",(e,t,r,n)=>{this.columnAxisSyncer.storeMovesInformation(e,t,n)}),this.hot.addHook("afterRowMove",(e,t,r,n,i)=>{this.rowAxisSyncer.calculateAndSyncMoves(n,i)}),this.hot.addHook("afterColumnMove",(e,t,r,n,i)=>{this.columnAxisSyncer.calculateAndSyncMoves(n,i)}),this.hot.addHook("beforeColumnFreeze",(e,t)=>{this.columnAxisSyncer.storeMovesInformation([e],this.hot.getSettings().fixedColumnsStart,t)}),this.hot.addHook("afterColumnFreeze",(e,t)=>{this.columnAxisSyncer.calculateAndSyncMoves(t,t)}),this.hot.addHook("beforeColumnUnfreeze",(e,t)=>{this.columnAxisSyncer.storeMovesInformation([e],this.hot.getSettings().fixedColumnsStart-1,t)}),this.hot.addHook("afterColumnUnfreeze",(e,t)=>{this.columnAxisSyncer.calculateAndSyncMoves(t,t)}),this.addHook("afterCellMetaReset",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,bv).call(t,...r)})),this.addHook("beforeUndo",()=>{this.indexSyncer.setPerformUndo(!0),this.engine.undo()}),this.addHook("beforeRedo",()=>{this.indexSyncer.setPerformRedo(!0),this.engine.redo()}),this.addHook("afterUndo",()=>{this.indexSyncer.setPerformUndo(!1)}),this.addHook("afterUndo",()=>{this.indexSyncer.setPerformRedo(!1)}),this.addHook("afterDetachChild",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,Lv).call(t,...r)})),this.addHook("beforeAutofill",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return av(pv,t,gv).call(t,...r)})),iv(hv,this).forEach(e=>{let[t,r]=e;return this.engine.on(t,r)}),super.enablePlugin()}else Object(Fn["b"])("Missing the required `engine` key in the Formulas settings. Please fill it with either an engine class or an engine instance.")}disablePlugin(){iv(hv,this).forEach(e=>{let[t,r]=e;return this.engine.off(t,r)}),ag(this.engine,this.hot),this.engine=null,super.disablePlugin()}updatePlugin(e){const t=Jm(this.hot.getSettings());Qm(this.engine.getConfig(),t)&&this.engine.updateConfig(t);const r=this.hot.getSettings()[ov];if(Object(h["isDefined"])(r)&&Object(h["isDefined"])(r.sheetName)&&r.sheetName!==this.sheetName&&this.switchSheet(r.sheetName),!e.data&&null===this.sheetName){const e=this.hot.getSettings()[ov].sheetName;e&&this.engine.doesSheetExist(e)?this.switchSheet(this.sheetName):this.sheetName=this.addSheet(null!==e&&void 0!==e?e:void 0,this.hot.getSourceDataArray())}super.updatePlugin(e)}destroy(){iv(hv,this).forEach(e=>{var t;let[r,n]=e;return null===(t=this.engine)||void 0===t?void 0:t.off(r,n)}),nv(hv,this,null),ag(this.engine,this.hot),this.engine=null,super.destroy()}addSheet(e,t){if(Object(h["isDefined"])(t)&&!Object($p["isArrayOfArrays"])(t))return Object(Fn["b"])("The provided data should be an array of arrays."),!1;if(void 0!==e&&null!==e&&this.engine.doesSheetExist(e))return Object(Fn["b"])("Sheet with the provided name already exists."),!1;try{const r=this.engine.addSheet(null!==e&&void 0!==e?e:void 0);return t&&this.engine.setSheetContent(this.engine.getSheetId(r),t),r}catch(r){return Object(Fn["b"])(r.message),!1}}switchSheet(e){if(!this.engine.doesSheetExist(e))return void Object(Fn["a"])(`The sheet named \`${e}\` does not exist, switch aborted.`);this.sheetName=e;const t=this.engine.getSheetSerialized(this.sheetId);t.length>0&&this.hot.loadData(t,Object(p["toUpperCaseFirst"])(ov)+".switchSheet")}getCellType(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.sheetId;const n=this.hot.toPhysicalRow(e),i=this.hot.toPhysicalColumn(t);return null!==n&&null!==i?this.engine.getCellType({sheet:r,row:this.rowAxisSyncer.getHfIndexFromVisualIndex(e),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t)}):"EMPTY"}isFormulaCellType(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.sheetId;return this.engine.doesCellHaveFormula({sheet:r,row:this.rowAxisSyncer.getHfIndexFromVisualIndex(e),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t)})}renderDependentSheets(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=new Set;e.forEach(e=>{var t;const n=null===e||void 0===e||null===(t=e.address)||void 0===t?void 0:t.sheet;void 0!==n&&(r.has(n)||r.add(n))}),ig(this.engine).forEach((e,n)=>{var i;(t||n!==this.sheetId)&&r.has(n)&&(e.render(),null===(i=e.view)||void 0===i||i.adjustElementsSize())})}validateDependentCells(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=e=>{var t;const{row:r,col:n,sheet:i}=null!==(t=null===e||void 0===e?void 0:e.address)&&void 0!==t?t:{};return Object(h["isDefined"])(i)?`${i}:${r}x${n}`:""},n=new Set(t.map(e=>r(e)));e.forEach(e=>{var t,i;const{row:a,col:o}=null!==(t=e.address)&&void 0!==t?t:{};if(!1===Object(h["isDefined"])(a)||!1===Object(h["isDefined"])(o)||a>=this.hot.countRows()||o>=this.hot.countCols())return;const s=null===e||void 0===e||null===(i=e.address)||void 0===i?void 0:i.sheet,l=r(e);if(void 0!==s&&!n.has(l)){const e=ig(this.engine).get(s);if(!e)return;e.validateCell(e.getDataAtCell(a,o),e.getCellMeta(a,o),()=>{})}})}syncChangeWithEngine(e,t,r){const n={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(e),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t),sheet:this.sheetId};if(!this.engine.isItPossibleToSetCellContents(n))return void Object(Fn["b"])("Not possible to set cell data at "+JSON.stringify(n));const i=this.hot.getCellMeta(e,t);return fg(r,i.type)&&(mg(r,i.dateFormat)?r=gg(r,i.dateFormat):!1===pg(r)&&(r="'"+r)),this.engine.setCellContents(n,r)}}function mv(e,t,r){const n=this.hot.propToCol(r);if(this.isFormulaCellType(t,n)){const e={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(t),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(n),sheet:this.sheetId},r=this.hot.getCellMeta(t,n);let i=this.engine.getCellValue(e);return"date"===r.type&&Object(nt["isNumeric"])(i)&&(i=bg(i,r.dateFormat)),"object"===typeof i&&null!==i?i.value:i}return e}function gv(e,t,r){const{row:n,col:i}=t.getTopStartCorner(),{row:a,col:o}=t.getBottomEndCorner(),{row:s,col:l}=r.getTopStartCorner(),{row:u,col:c}=r.getBottomEndCorner(),d={start:{row:this.rowAxisSyncer.getHfIndexFromVisualIndex(n),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(i),sheet:this.sheetId},end:{row:this.rowAxisSyncer.getHfIndexFromVisualIndex(a),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(o),sheet:this.sheetId}},h={start:{row:this.rowAxisSyncer.getHfIndexFromVisualIndex(s),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(l),sheet:this.sheetId},end:{row:this.rowAxisSyncer.getHfIndexFromVisualIndex(u),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(c),sheet:this.sheetId}};if(!1===this.engine.isItPossibleToSetCellContents(h))return!1;const p=this.engine.getFillRangeData(d,h),{row:f,col:m}=d.start,{row:g,col:v}=d.end,b=g-f+1,y=v-m+1;for(let w=0;w<p.length;w+=1)for(let e=0;e<p[w].length;e+=1){const t=p[w][e],r=w%b,n=e%y,i=this.hot.getCellMeta(r,n);fg(t,i.type)&&(t.startsWith("'")?p[w][e]=t.slice(1):!1===this.isFormulaCellType(r,n,this.sheetId)&&(p[w][e]=vg(t,i.dateFormat)))}return p}function vv(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";r.includes(Object(p["toUpperCaseFirst"])(ov))||nv(dv,this,Object(h["isUndefined"])(this.hot.getSettings().data))}function bv(){const e=this.hot.getSourceDataArray();let t=!1;e.forEach((r,n)=>{r.forEach((r,i)=>{const a=this.hot.getCellMeta(n,i),o=a.dateFormat;fg(r,a.type)&&(t=!0,mg(r,o)?e[n][i]=gg(r,o):!1===this.isFormulaCellType(n,i)&&(e[n][i]="'"+r))})}),!0===t&&(nv(cv,this,!0),this.engine.setSheetContent(this.sheetId,e),nv(cv,this,!1))}function yv(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!r.includes(Object(p["toUpperCaseFirst"])(ov)))if(this.sheetName=ug(this.engine,this.hot.getSettings()[ov].sheetName),iv(dv,this))this.switchSheet(this.sheetName);else{const e=this.hot.getSourceDataArray();if(this.engine.isItPossibleToReplaceSheetContent(this.sheetId,e)){nv(cv,this,!0);const t=this.engine.setSheetContent(this.sheetId,e);this.indexSyncer.setupSyncEndpoint(this.engine,this.sheetId),this.renderDependentSheets(t),nv(cv,this,!1)}}}function wv(e,t,r,n){if("get"!==n||iv(cv,this)||null===this.sheetName||!this.engine.doesSheetExist(this.sheetName))return;const i=this.hot.toVisualRow(e);if(null===i||null===t)return;const a=this.isFormulaCellType(i,t);if(!a){const e=this.getCellType(i,t);if("ARRAY"!==e)return void(dg(r.value)&&(r.value=hg(r.value)))}const o={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(i),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t),sheet:this.sheetId};let s=this.engine.getCellValue(o),l=this.hot.getCellsMeta().find(e=>e.visualRow===i&&e.visualCol===t);void 0===l&&(l={}),"date"===l.type&&Object(nt["isNumeric"])(s)&&(s=bg(s,l.dateFormat));const u="object"===typeof s&&null!==s?s.value:s;r.value=u}function _v(e,t,r,n){if("get"!==n||iv(cv,this)||null===this.sheetName||!this.engine.doesSheetExist(this.sheetName))return;const i=this.hot.toVisualRow(e),a=this.hot.propToCol(t);if(null===i||null===a)return;const o=this.isFormulaCellType(i,a);if(!o){const e=this.getCellType(i,a);if("ARRAY"!==e)return}const s=this.engine.getSheetDimensions(this.engine.getSheetId(this.sheetName));if(0===s.width&&0===s.height)return;const l={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(i),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(a),sheet:this.sheetId};r.value=this.engine.getCellSerialized(l)}function Sv(e,t){if(uv(t))return;const r=[],n=[],i=this.engine.batch(()=>{e.forEach(e=>{let[t,i,,a]=e;const o=this.hot.propToCol(i),s=this.hot.toPhysicalRow(t),l=this.hot.toPhysicalColumn(o),u={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(t),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(o),sheet:this.sheetId};null!==s&&null!==l?this.syncChangeWithEngine(t,o,a):r.push([t,o,a]),n.push({address:u})})});r.length&&this.hot.addHookOnce("afterChange",()=>{const e=this.engine.batch(()=>{r.forEach(e=>{let[t,r,n]=e;this.syncChangeWithEngine(t,r,n)})});this.renderDependentSheets(e,!0)}),this.renderDependentSheets(i),this.validateDependentCells(i,n)}function Ev(e,t){if(uv(t))return;const r=[],n=[];e.forEach(e=>{let[t,i,,a]=e;const o=this.hot.propToCol(i);if(!Object(nt["isNumeric"])(o))return;const s={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(t),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(o),sheet:this.sheetId};this.engine.isItPossibleToSetCellContents(s)?(n.push({address:s}),r.push(...this.engine.setCellContents(s,a))):Object(Fn["b"])("Not possible to set source cell data at "+JSON.stringify(s))}),this.renderDependentSheets(r),this.validateDependentCells(r,n)}function Mv(e,t){let r=this.rowAxisSyncer.getHfIndexFromVisualIndex(e);if(e>=this.hot.countRows()&&(r=e),null===this.sheetId||!this.engine.doesSheetExist(this.sheetName)||!this.engine.isItPossibleToAddRows(this.sheetId,[r,t]))return!1}function Tv(e,t){let r=this.columnAxisSyncer.getHfIndexFromVisualIndex(e);if(e>=this.hot.countCols()&&(r=e),null===this.sheetId||!this.engine.doesSheetExist(this.sheetName)||!this.engine.isItPossibleToAddColumns(this.sheetId,[r,t]))return!1}function Cv(e,t,r){const n=this.rowAxisSyncer.setRemovedHfIndexes(r),i=n.every(e=>this.engine.isItPossibleToRemoveRows(this.sheetId,[e,1]));return!1!==i&&void 0}function xv(e,t,r){const n=this.columnAxisSyncer.setRemovedHfIndexes(r),i=n.every(e=>this.engine.isItPossibleToRemoveColumns(this.sheetId,[e,1]));return!1!==i&&void 0}function Av(e,t,r){if(uv(r))return;const n=this.engine.addRows(this.sheetId,[this.rowAxisSyncer.getHfIndexFromVisualIndex(e),t]);this.renderDependentSheets(n)}function Nv(e,t,r){if(uv(r))return;const n=this.engine.addColumns(this.sheetId,[this.columnAxisSyncer.getHfIndexFromVisualIndex(e),t]);this.renderDependentSheets(n)}function Ov(e,t,r,n){if(uv(n))return;const i=this.rowAxisSyncer.getRemovedHfIndexes().sort().reverse(),a=this.engine.batch(()=>{i.forEach(e=>{this.engine.removeRows(this.sheetId,[e,1])})});this.renderDependentSheets(a)}function Rv(e,t,r,n){if(uv(n))return;const i=this.columnAxisSyncer.getRemovedHfIndexes().sort().reverse(),a=this.engine.batch(()=>{i.forEach(e=>{this.engine.removeColumns(this.sheetId,[e,1])})});this.renderDependentSheets(a)}function Lv(e,t,r){var n;nv(cv,this,!0);const i=this.hot.getSourceDataArray(r,0,r+((null===(n=t.__children)||void 0===n?void 0:n.length)||0),this.hot.countSourceCols());nv(cv,this,!1),i.forEach((e,t)=>{e.forEach((e,n)=>{this.engine.setCellContents({col:n,row:r+t,sheet:this.sheetId},[[e]])})})}function kv(e){this.hot.runHooks("afterFormulasValuesUpdate",e)}function Iv(e,t){this.hot.runHooks("afterNamedExpressionAdded",e,t)}function Dv(e,t){this.hot.runHooks("afterNamedExpressionRemoved",e,t)}function Pv(e){this.hot.runHooks("afterSheetAdded",e)}function jv(e,t){this.sheetName=t,this.hot.runHooks("afterSheetRenamed",e,t)}function Fv(e,t){this.hot.runHooks("afterSheetRemoved",e,t)}function Hv(e){return{key:"hidden_columns_hide",name(){const e=this.getSelectedLast();let t=0;if(Array.isArray(e)){const[,r,,n]=e;r-n!==0&&(t=1)}return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_HIDE_COLUMN"],t)},callback(){const{from:t,to:r}=this.getSelectedRangeLast(),n=Math.max(Math.min(t.col,r.col),0),i=Math.max(t.col,r.col),a=[];for(let e=n;e<=i;e+=1)a.push(e);e.hideColumns(a);const o=a[a.length-1],s=this.columnIndexMapper.getNearestNotHiddenIndex(o,1,!0);Number.isInteger(s)&&s>=0?this.selectColumns(s):this.deselectCell(),this.render(),this.view.adjustElementsSize(!0)},disabled:!1,hidden(){return!(this.selection.isSelectedByColumnHeader()||this.selection.isSelectedByCorner())}}}function Bv(e){const t=[];return{key:"hidden_columns_show",name(){const e=t.length>1?1:0;return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_SHOW_COLUMN"],e)},callback(){var r,n;if(0===t.length)return;let i=t[0],a=t[t.length-1];i=null!==(r=this.columnIndexMapper.getNearestNotHiddenIndex(i-1,-1))&&void 0!==r?r:0,a=null!==(n=this.columnIndexMapper.getNearestNotHiddenIndex(a+1,1))&&void 0!==n?n:this.countCols()-1,e.showColumns(t),this.render(),this.view.adjustElementsSize(!0);const o=a-i+1===this.countCols();o||this.selectColumns(i,a)},disabled:!1,hidden(){const r=Object(d["arrayMap"])(e.getHiddenColumns(),e=>this.toPhysicalColumn(e));if(!this.selection.isSelectedByColumnHeader()&&!this.selection.isSelectedByCorner()||r.length<1)return!0;t.length=0;const n=this.getSelectedRangeLast(),i=n.getTopStartCorner().col,a=n.getBottomEndCorner().col,o=this.columnIndexMapper,s=o.getRenderableFromVisualIndex(i),l=o.getRenderableFromVisualIndex(a),u=o.getNotTrimmedIndexes(),c=[];if(i!==a){const e=a-i+1,t=l-s+1;if(e>t){const e=u.slice(i,a+1);c.push(...e.filter(e=>r.includes(e)))}}else if(0===s&&s<i)c.push(...u.slice(0,i));else if(null===s)c.push(...u.slice(0,this.countCols()));else{const e=this.countCols()-1,t=o.getRenderableFromVisualIndex(o.getNearestNotHiddenIndex(e,-1));l===t&&e>a&&c.push(...u.slice(a+1))}return Object(d["arrayEach"])(c,e=>{t.push(this.toVisualColumn(e))}),0===t.length}}}var Uv=r("cef7");function Vv(e,t){zv(e,t),t.add(e)}function Yv(e,t,r){zv(e,t),t.set(e,r)}function zv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wv(e,t){return e.get(Gv(e,t))}function qv(e,t,r){return e.set(Gv(e,t),r),r}function Gv(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("beforeHideColumns"),fe["a"].getSingleton().register("afterHideColumns"),fe["a"].getSingleton().register("beforeUnhideColumns"),fe["a"].getSingleton().register("afterUnhideColumns");const Kv="hiddenColumns",Xv=310;var Zv=new WeakMap,$v=new WeakMap,Jv=new WeakSet;class Qv extends er["a"]{constructor(){super(...arguments),Vv(this,Jv),Yv(this,Zv,{}),Yv(this,$v,null)}static get PLUGIN_KEY(){return Kv}static get PLUGIN_PRIORITY(){return Xv}isEnabled(){return!!this.hot.getSettings()[Kv]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[Kv];Object(o["isObject"])(t)&&(qv(Zv,this,t),Object(h["isUndefined"])(t.copyPasteEnabled)&&(t.copyPasteEnabled=!0)),qv($v,this,new Uv["a"]),Wv($v,this).addLocalHook("init",()=>Gv(Jv,this,ab).call(this)),this.hot.columnIndexMapper.registerMap(this.pluginName,Wv($v,this)),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Gv(Jv,e,ib).call(e,...r)})),this.addHook("afterGetCellMeta",(e,t,r)=>Gv(Jv,this,tb).call(this,e,t,r)),this.addHook("modifyColWidth",(e,t)=>Gv(Jv,this,eb).call(this,e,t)),this.addHook("afterGetColHeader",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Gv(Jv,e,nb).call(e,...r)})),this.addHook("modifyCopyableRange",e=>Gv(Jv,this,rb).call(this,e)),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.hot.columnIndexMapper.unregisterMap(this.pluginName),qv(Zv,this,{}),super.disablePlugin(),this.resetCellsMeta()}showColumns(e){const t=this.getHiddenColumns(),r=this.isValidConfig(e);let n=t;const i=Wv($v,this).getValues().slice(),a=e.length>0;if(r&&a){const t=e.map(e=>this.hot.toPhysicalColumn(e));Object(d["arrayEach"])(t,e=>{i[e]=!1}),n=Object(d["arrayReduce"])(i,(e,t,r)=>(t&&e.push(this.hot.toVisualColumn(r)),e),[])}const o=this.hot.runHooks("beforeUnhideColumns",t,n,r&&a);!1!==o&&(r&&a&&Wv($v,this).setValues(i),this.hot.view.adjustElementsSize(),this.hot.runHooks("afterUnhideColumns",t,n,r&&a,r&&n.length<t.length))}showColumn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.showColumns(t)}hideColumns(e){const t=this.getHiddenColumns(),r=this.isValidConfig(e);let n=t;r&&(n=Array.from(new Set(t.concat(e))));const i=this.hot.runHooks("beforeHideColumns",t,n,r);!1!==i&&(r&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{Wv($v,this).setValueAtIndex(this.hot.toPhysicalColumn(e),!0)})},!0),this.hot.runHooks("afterHideColumns",t,n,r,r&&n.length>t.length))}hideColumn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.hideColumns(t)}getHiddenColumns(){return Object(d["arrayMap"])(Wv($v,this).getHiddenIndexes(),e=>this.hot.toVisualColumn(e))}isHidden(e){return Wv($v,this).getValueAtIndex(this.hot.toPhysicalColumn(e))||!1}isValidConfig(e){const t=this.hot.countCols();return!!(Array.isArray(e)&&e.length>0)&&e.every(e=>Number.isInteger(e)&&e>=0&&e<t)}resetCellsMeta(){Object(d["arrayEach"])(this.hot.getCellsMeta(),e=>{e&&(e.skipColumnOnPaste=!1)})}destroy(){qv(Zv,this,null),qv($v,this,null),super.destroy()}}function eb(e,t){return this.isHidden(t)?0:Wv(Zv,this).indicators&&(this.isHidden(t+1)||this.isHidden(t-1))&&"number"===typeof e&&this.hot.hasColHeaders()?e+15:void 0}function tb(e,t,r){if(!1===Wv(Zv,this).copyPasteEnabled&&this.isHidden(t)&&(r.skipColumnOnPaste=!0),this.isHidden(t-1))r.className=r.className||"",-1===r.className.indexOf("afterHiddenColumn")&&(r.className+=" afterHiddenColumn");else if(r.className){const e=r.className.split(" ");if(e.length>0){const t=e.indexOf("afterHiddenColumn");t>-1&&e.splice(t,1),r.className=e.join(" ")}}}function rb(e){if(Wv(Zv,this).copyPasteEnabled)return e;const t=[],r=(e,r,n,i)=>{t.push({startRow:e,endRow:r,startCol:n,endCol:i})};return Object(d["arrayEach"])(e,e=>{let t=!0,n=0;Object(nt["rangeEach"])(e.startCol,e.endCol,i=>{this.isHidden(i)?(t||r(e.startRow,e.endRow,n,i-1),t=!0):(t&&(n=i),i===e.endCol&&r(e.startRow,e.endRow,n,i),t=!1)})}),t}function nb(e,t){if(!Wv(Zv,this).indicators||e<0)return;const r=[];e>=1&&this.isHidden(e-1)&&r.push("afterHiddenColumn"),e<this.hot.countCols()-1&&this.isHidden(e+1)&&r.push("beforeHiddenColumn"),Object(i["addClass"])(t,r)}function ib(e){e.items.push({name:$a},Hv(this),Bv(this))}function ab(){Array.isArray(Wv(Zv,this).columns)&&this.hideColumns(Wv(Zv,this).columns)}function ob(e){return{key:"hidden_rows_hide",name(){const e=this.getSelectedLast();let t=0;if(Array.isArray(e)){const[r,,n]=e;r-n!==0&&(t=1)}return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_HIDE_ROW"],t)},callback(){const{from:t,to:r}=this.getSelectedRangeLast(),n=Math.max(Math.min(t.row,r.row),0),i=Math.max(t.row,r.row),a=[];for(let e=n;e<=i;e+=1)a.push(e);e.hideRows(a);const o=a[a.length-1],s=this.rowIndexMapper.getNearestNotHiddenIndex(o,1,!0);Number.isInteger(s)&&s>=0?this.selectRows(s):this.deselectCell(),this.render(),this.view.adjustElementsSize(!0)},disabled:!1,hidden(){return!(this.selection.isSelectedByRowHeader()||this.selection.isSelectedByCorner())}}}function sb(e){const t=[];return{key:"hidden_rows_show",name(){const e=t.length>1?1:0;return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_SHOW_ROW"],e)},callback(){var r,n;if(0===t.length)return;let i=t[0],a=t[t.length-1];i=null!==(r=this.rowIndexMapper.getNearestNotHiddenIndex(i-1,-1))&&void 0!==r?r:0,a=null!==(n=this.rowIndexMapper.getNearestNotHiddenIndex(a+1,1))&&void 0!==n?n:this.countRows()-1,e.showRows(t),this.render(),this.view.adjustElementsSize(!0);const o=a-i+1===this.countRows();o||this.selectRows(i,a)},disabled:!1,hidden(){const r=Object(d["arrayMap"])(e.getHiddenRows(),e=>this.toPhysicalRow(e));if(!this.selection.isSelectedByRowHeader()&&!this.selection.isSelectedByCorner()||r.length<1)return!0;t.length=0;const n=this.getSelectedRangeLast(),i=n.getTopStartCorner().row,a=n.getBottomEndCorner().row,o=this.rowIndexMapper,s=o.getRenderableFromVisualIndex(i),l=o.getRenderableFromVisualIndex(a),u=o.getNotTrimmedIndexes(),c=[];if(i!==a){const e=a-i+1,t=l-s+1;if(e>t){const e=u.slice(i,a+1);c.push(...e.filter(e=>r.includes(e)))}}else if(0===s&&s<i)c.push(...u.slice(0,i));else if(null===s)c.push(...u.slice(0,this.countRows()));else{const e=this.countRows()-1,t=o.getRenderableFromVisualIndex(o.getNearestNotHiddenIndex(e,-1));l===t&&e>a&&c.push(...u.slice(a+1))}return Object(d["arrayEach"])(c,e=>{t.push(this.toVisualRow(e))}),0===t.length}}}function lb(e,t){cb(e,t),t.add(e)}function ub(e,t,r){cb(e,t),t.set(e,r)}function cb(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function db(e,t){return e.get(pb(e,t))}function hb(e,t,r){return e.set(pb(e,t),r),r}function pb(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("beforeHideRows"),fe["a"].getSingleton().register("afterHideRows"),fe["a"].getSingleton().register("beforeUnhideRows"),fe["a"].getSingleton().register("afterUnhideRows");const fb="hiddenRows",mb=320;var gb=new WeakMap,vb=new WeakMap,bb=new WeakSet;class yb extends er["a"]{constructor(){super(...arguments),lb(this,bb),ub(this,gb,{}),ub(this,vb,null)}static get PLUGIN_KEY(){return fb}static get PLUGIN_PRIORITY(){return mb}isEnabled(){return!!this.hot.getSettings()[fb]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[fb];Object(o["isObject"])(t)&&(hb(gb,this,t),Object(h["isUndefined"])(t.copyPasteEnabled)&&(t.copyPasteEnabled=!0)),hb(vb,this,new Uv["a"]),db(vb,this).addLocalHook("init",()=>pb(bb,this,Tb).call(this)),this.hot.rowIndexMapper.registerMap(this.pluginName,db(vb,this)),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return pb(bb,e,Mb).call(e,...r)})),this.addHook("afterGetCellMeta",(e,t,r)=>pb(bb,this,_b).call(this,e,t,r)),this.addHook("modifyRowHeight",(e,t)=>pb(bb,this,wb).call(this,e,t)),this.addHook("afterGetRowHeader",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return pb(bb,e,Eb).call(e,...r)})),this.addHook("modifyCopyableRange",e=>pb(bb,this,Sb).call(this,e)),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.hot.rowIndexMapper.unregisterMap(this.pluginName),hb(gb,this,{}),super.disablePlugin(),this.resetCellsMeta()}showRows(e){const t=this.getHiddenRows(),r=this.isValidConfig(e);let n=t;const i=db(vb,this).getValues().slice(),a=e.length>0;if(r&&a){const t=e.map(e=>this.hot.toPhysicalRow(e));Object(d["arrayEach"])(t,e=>{i[e]=!1}),n=Object(d["arrayReduce"])(i,(e,t,r)=>(t&&e.push(this.hot.toVisualRow(r)),e),[])}const o=this.hot.runHooks("beforeUnhideRows",t,n,r&&a);!1!==o&&(r&&a&&db(vb,this).setValues(i),this.hot.runHooks("afterUnhideRows",t,n,r&&a,r&&n.length<t.length))}showRow(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.showRows(t)}hideRows(e){const t=this.getHiddenRows(),r=this.isValidConfig(e);let n=t;r&&(n=Array.from(new Set(t.concat(e))));const i=this.hot.runHooks("beforeHideRows",t,n,r);!1!==i&&(r&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{db(vb,this).setValueAtIndex(this.hot.toPhysicalRow(e),!0)})},!0),this.hot.runHooks("afterHideRows",t,n,r,r&&n.length>t.length))}hideRow(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.hideRows(t)}getHiddenRows(){return Object(d["arrayMap"])(db(vb,this).getHiddenIndexes(),e=>this.hot.toVisualRow(e))}isHidden(e){return db(vb,this).getValueAtIndex(this.hot.toPhysicalRow(e))||!1}isValidConfig(e){const t=this.hot.countRows();return!!(Array.isArray(e)&&e.length>0)&&e.every(e=>Number.isInteger(e)&&e>=0&&e<t)}resetCellsMeta(){Object(d["arrayEach"])(this.hot.getCellsMeta(),e=>{e&&(e.skipRowOnPaste=!1)})}destroy(){hb(gb,this,null),hb(vb,this,null),super.destroy()}}function wb(e,t){return this.isHidden(t)?0:e}function _b(e,t,r){if(!1===db(gb,this).copyPasteEnabled&&this.isHidden(e)&&(r.skipRowOnPaste=!0),this.isHidden(e-1))r.className=r.className||"",-1===r.className.indexOf("afterHiddenRow")&&(r.className+=" afterHiddenRow");else if(r.className){const e=r.className.split(" ");if(e.length>0){const t=e.indexOf("afterHiddenRow");t>-1&&e.splice(t,1),r.className=e.join(" ")}}}function Sb(e){if(db(gb,this).copyPasteEnabled)return e;const t=[],r=(e,r,n,i)=>{t.push({startRow:e,endRow:r,startCol:n,endCol:i})};return Object(d["arrayEach"])(e,e=>{let t=!0,n=0;Object(nt["rangeEach"])(e.startRow,e.endRow,i=>{this.isHidden(i)?(t||r(n,i-1,e.startCol,e.endCol),t=!0):(t&&(n=i),i===e.endRow&&r(n,i,e.startCol,e.endCol),t=!1)})}),t}function Eb(e,t){if(!db(gb,this).indicators||e<0)return;const r=[];e>=1&&this.isHidden(e-1)&&r.push("afterHiddenRow"),e<this.hot.countRows()-1&&this.isHidden(e+1)&&r.push("beforeHiddenRow"),Object(i["addClass"])(t,r)}function Mb(e){e.items.push({name:$a},ob(this),sb(this))}function Tb(){Array.isArray(db(gb,this).rows)&&this.hideRows(db(gb,this).rows)}function Cb(e){return{key:"freeze_column",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_FREEZE_COLUMN"])},callback(t,r){const[{start:{col:n}}]=r;e.freezeColumn(n),this.render(),this.view.adjustElementsSize(!0)},hidden(){const e=this.getSelectedRange();let t=!1;return(void 0===e||e.length>1||e[0].from.col!==e[0].to.col||e[0].from.col<=this.getSettings().fixedColumnsStart-1)&&(t=!0),t}}}function xb(e){return{key:"unfreeze_column",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_UNFREEZE_COLUMN"])},callback(t,r){const[{start:{col:n}}]=r;e.unfreezeColumn(n),this.render(),this.view.adjustElementsSize(!0)},hidden(){const e=this.getSelectedRange();let t=!1;return(void 0===e||e.length>1||e[0].from.col!==e[0].to.col||e[0].from.col>=this.getSettings().fixedColumnsStart)&&(t=!0),t}}}function Ab(e,t){Ob(e,t),t.add(e)}function Nb(e,t,r){Ob(e,t),t.set(e,r)}function Ob(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Rb(e,t){return e.get(kb(e,t))}function Lb(e,t,r){return e.set(kb(e,t),r),r}function kb(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("beforeColumnFreeze"),fe["a"].getSingleton().register("afterColumnFreeze"),fe["a"].getSingleton().register("beforeColumnUnfreeze"),fe["a"].getSingleton().register("afterColumnUnfreeze");const Ib="manualColumnFreeze",Db=110;var Pb=new WeakMap,jb=new WeakSet;class Fb extends er["a"]{constructor(){super(...arguments),Ab(this,jb),Nb(this,Pb,!1)}static get PLUGIN_KEY(){return Ib}static get PLUGIN_PRIORITY(){return Db}isEnabled(){return!!this.hot.getSettings()[Ib]}enablePlugin(){this.enabled||(this.addHook("afterContextMenuDefaultOptions",e=>kb(jb,this,Hb).call(this,e)),this.addHook("beforeColumnMove",(e,t)=>kb(jb,this,Bb).call(this,e,t)),super.enablePlugin())}disablePlugin(){Lb(Pb,this,!1),super.disablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}freezeColumn(e){const t=this.hot.getSettings(),r=t.fixedColumnsStart<this.hot.countCols()&&e>t.fixedColumnsStart-1;Rb(Pb,this)||Lb(Pb,this,!0);const n=this.hot.runHooks("beforeColumnFreeze",e,r);!1!==n&&(r&&(this.hot.columnIndexMapper.moveIndexes(e,t.fixedColumnsStart),t._fixedColumnsStart+=1),this.hot.runHooks("afterColumnFreeze",e,r))}unfreezeColumn(e){const t=this.hot.getSettings(),r=t.fixedColumnsStart>0&&e<=t.fixedColumnsStart-1;Rb(Pb,this)||Lb(Pb,this,!0);const n=this.hot.runHooks("beforeColumnUnfreeze",e,r);!1!==n&&(r&&(t._fixedColumnsStart-=1,this.hot.columnIndexMapper.moveIndexes(e,t.fixedColumnsStart)),this.hot.runHooks("afterColumnUnfreeze",e,r))}}function Hb(e){e.items.push({name:"---------"},Cb(this),xb(this))}function Bb(e,t){if(Rb(Pb,this)){const r=this.hot.getSettings().fixedColumnsStart;if(t<r)return!1;if(e.some(e=>e<r))return!1}}function Ub(e,t,r){return t=Vb(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vb(e){var t=Yb(e,"string");return"symbol"==typeof t?t:t+""}function Yb(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const zb=0,Wb=1,qb=2,Gb="px";class Kb{constructor(e){Ub(this,"hot",void 0),Ub(this,"_element",null),Ub(this,"state",zb),Ub(this,"inlineProperty",void 0),this.hot=e,this.inlineProperty=e.isRtl()?"right":"left"}appendTo(e){e.appendChild(this._element),this.state=qb}build(){this.state===zb&&(this._element=this.hot.rootDocument.createElement("div"),this.state=Wb)}destroy(){this.isAppended()&&this._element.parentElement.removeChild(this._element),this._element=null,this.state=zb}isAppended(){return this.state===qb}isBuilt(){return this.state>=Wb}setPosition(e,t){Object(nt["isNumeric"])(e)&&(this._element.style.top=e+Gb),Object(nt["isNumeric"])(t)&&(this._element.style[this.inlineProperty]=t+Gb)}getPosition(){const e=this._element.style;return{top:e.top?parseInt(e.top,10):0,start:e[this.inlineProperty]?parseInt(e[this.inlineProperty],10):0}}setSize(e,t){Object(nt["isNumeric"])(e)&&(this._element.style.width=e+Gb),Object(nt["isNumeric"])(t)&&(this._element.style.height=t+Gb)}getSize(){return{width:this._element.style.width?parseInt(this._element.style.width,10):0,height:this._element.style.height?parseInt(this._element.style.height,10):0}}setOffset(e,t){Object(nt["isNumeric"])(e)&&(this._element.style.marginTop=e+Gb),Object(nt["isNumeric"])(t)&&(this._element.style["margin"+Object(p["toUpperCaseFirst"])(this.inlineProperty)]=t+Gb)}getOffset(){const e=this._element.style,t="margin"+Object(p["toUpperCaseFirst"])(this.inlineProperty);return{top:e.marginTop?parseInt(e.marginTop,10):0,start:e[t]?parseInt(e[t],10):0}}}var Xb=Kb;const Zb="ht__manualColumnMove--backlight";class $b extends Xb{build(){super.build(),Object(i["addClass"])(this._element,Zb)}}var Jb=$b;const Qb="ht__manualColumnMove--guideline";class ey extends Xb{build(){super.build(),Object(i["addClass"])(this._element,Qb)}}var ty=ey;function ry(e,t){iy(e,t),t.add(e)}function ny(e,t,r){iy(e,t),t.set(e,r)}function iy(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ay(e,t,r){return e.set(sy(e,t),r),r}function oy(e,t){return e.get(sy(e,t))}function sy(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("beforeColumnMove"),fe["a"].getSingleton().register("afterColumnMove");const ly="manualColumnMove",uy=120,cy="ht__manualColumnMove",dy="show-ui",hy="on-moving--columns",py="after-selection--columns";var fy=new WeakMap,my=new WeakMap,gy=new WeakMap,vy=new WeakMap,by=new WeakMap,yy=new WeakMap,wy=new WeakMap,_y=new WeakMap,Sy=new WeakMap,Ey=new WeakMap,My=new WeakMap,Ty=new WeakSet;class Cy extends er["a"]{constructor(){super(...arguments),ry(this,Ty),ny(this,fy,new Jb(this.hot)),ny(this,my,new ty(this.hot)),ny(this,gy,[]),ny(this,vy,0),ny(this,by,!1),ny(this,yy,{}),ny(this,wy,void 0),ny(this,_y,void 0),ny(this,Sy,void 0),ny(this,Ey,void 0),ny(this,My,void 0)}static get PLUGIN_KEY(){return ly}static get PLUGIN_PRIORITY(){return uy}isEnabled(){return!!this.hot.getSettings()[ly]}enablePlugin(){var e=this;this.enabled||(this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return sy(Ty,e,xy).call(e,...r)})),this.addHook("beforeOnCellMouseOver",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return sy(Ty,e,Ny).call(e,...r)})),this.addHook("afterScrollVertically",()=>sy(Ty,this,Ry).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return sy(Ty,e,Ly).call(e,...r)})),this.buildPluginUI(),this.registerEvents(),Object(i["addClass"])(this.hot.rootElement,cy),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.moveBySettingsOrLoad(),super.updatePlugin()}disablePlugin(){Object(i["removeClass"])(this.hot.rootElement,cy),this.unregisterEvents(),oy(fy,this).destroy(),oy(my,this).destroy(),super.disablePlugin()}moveColumn(e,t){return this.moveColumns([e],t)}moveColumns(e,t){const r=oy(wy,this),n=this.isMovePossible(e,t),i=this.hot.runHooks("beforeColumnMove",e,t,r,n);if(ay(wy,this,void 0),!1===i)return;n&&this.hot.columnIndexMapper.moveIndexes(e,t);const a=n&&this.isColumnOrderChanged(e,t);return this.hot.runHooks("afterColumnMove",e,t,r,n,a),a}dragColumn(e,t){return this.dragColumns([e],t)}dragColumns(e,t){const r=this.countFinalIndex(e,t);return ay(wy,this,t),this.moveColumns(e,r)}isMovePossible(e,t){const r=this.hot.columnIndexMapper.getNotTrimmedIndexesLength(),n=e.length+t>r,i=t<0,a=e.some(e=>e<0),o=e.some(e=>e>=r);return!(n||i||a||o)}isColumnOrderChanged(e,t){return e.some((e,r)=>e-r!==t)}countFinalIndex(e,t){const r=Object(d["arrayReduce"])(e,(e,r)=>(r<t&&(e+=1),e),0);return t-r}getColumnsWidth(e,t){const r=this.hot.columnIndexMapper;let n=0;for(let i=e;i<=t;i+=1){const e=r.getRenderableFromVisualIndex(i);i<0?n+=this.hot.view._wt.wtViewport.getRowHeaderWidth()||0:null!==e&&(n+=this.hot.view._wt.wtTable.getStretchedColumnWidth(e)||0)}return n}moveBySettingsOrLoad(){const e=this.hot.getSettings()[ly];if(Array.isArray(e))this.moveColumns(e,0);else if(void 0!==e){const e=this.persistentStateLoad();e.length&&this.moveColumns(e,0)}}isFixedColumnsStart(e){return e<this.hot.getSettings().fixedColumnsStart}persistentStateSave(){this.hot.runHooks("persistentStateSave","manualColumnMove",this.hot.columnIndexMapper.getIndexesSequence())}persistentStateLoad(){const e={};return this.hot.runHooks("persistentStateLoad","manualColumnMove",e),e.value?e.value:[]}prepareColumnsToMoving(e,t){const r=[];return Object(nt["rangeEach"])(e,t,e=>{r.push(e)}),r}refreshPositions(){const e=this.hot.view.getFirstFullyVisibleColumn();this.isFixedColumnsStart(oy(_y,this))&&e>0&&this.hot.scrollViewportTo({col:this.hot.columnIndexMapper.getNearestNotHiddenIndex(e-1,-1)});const t=this.hot.view._wt.wtTable,r=this.hot.view._wt.wtOverlays.scrollableElement,n="number"===typeof r.scrollX?r.scrollX:r.scrollLeft;let a=this.hot.view.THEAD.offsetLeft+this.getColumnsWidth(0,oy(_y,this)-1);const o=t.hider.offsetWidth,s=t.TBODY.offsetLeft,l=oy(fy,this).getOffset().start,u=oy(fy,this).getSize().width;let c=0,d=0;if(this.hot.isRtl()){const e=this.hot.rootWindow,t=Object(i["outerWidth"])(this.hot.rootElement),a=e.innerWidth-oy(Sy,this)-t;d=e.innerWidth-oy(yy,this).eventPageX-a-(void 0===r.scrollX?n:0)}else d=oy(yy,this).eventPageX-(oy(Sy,this)-(void 0===r.scrollX?n:0));if(oy(Ey,this)&&(c=this.hot.view._wt.wtOverlays.inlineStartOverlay.clone.wtTable.getColumnHeader(-1).offsetWidth),this.isFixedColumnsStart(oy(_y,this))&&(a+=n),a+=c,oy(_y,this)<0)oy(My,this)>0?oy(yy,this).col=0:oy(yy,this).col=e>0?e-1:e;else if(oy(yy,this).TD.offsetWidth/2+a<=d){const e=oy(_y,this)>=oy(vy,this)?oy(vy,this)-1:oy(_y,this);oy(yy,this).col=e+1,a+=oy(yy,this).TD.offsetWidth}else oy(yy,this).col=oy(_y,this);let h=d,p=a;d+u+l>=o?h=o-u-l:d+l<s+c&&(h=s+c+Math.abs(l)),a>=o-1?p=o-1:0===p?p=1:void 0!==r.scrollX&&oy(_y,this)<oy(My,this)&&(p-=oy(Sy,this)<=r.scrollX?oy(Sy,this):0),oy(fy,this).setPosition(null,h),oy(my,this).setPosition(null,p)}registerEvents(){const{documentElement:e}=this.hot.rootDocument;this.eventManager.addEventListener(e,"mousemove",e=>sy(Ty,this,Ay).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>sy(Ty,this,Oy).call(this))}unregisterEvents(){this.eventManager.clear()}buildPluginUI(){oy(fy,this).build(),oy(my,this).build()}destroy(){oy(fy,this).destroy(),oy(my,this).destroy(),super.destroy()}}function xy(e,t,r,n){const o=this.hot.view._wt.wtTable,s=this.hot.selection.isSelectedByColumnHeader(),l=this.hot.getSelectedRangeLast(),u=Object(i["hasClass"])(e.target,"sortAction");if(!l||!s||oy(by,this)||0!==e.button||u)return ay(by,this,!1),oy(gy,this).length=0,void Object(i["removeClass"])(this.hot.rootElement,[hy,dy]);const c=oy(my,this).isBuilt()&&!oy(my,this).isAppended(),d=oy(fy,this).isBuilt()&&!oy(fy,this).isAppended();c&&d&&(oy(my,this).appendTo(o.hider),oy(fy,this).appendTo(o.hider));const{from:h,to:p}=l,f=Math.min(h.col,p.col),m=Math.max(h.col,p.col);if(t.row<0&&t.col>=f&&t.col<=m){n.column=!0,ay(by,this,!0);const s=r.firstChild?Object(a["offsetRelativeTo"])(e,r.firstChild).x:e.offsetX;oy(yy,this).eventPageX=e.pageX,ay(_y,this,t.col),oy(yy,this).TD=r,oy(yy,this).col=t.col,ay(gy,this,this.prepareColumnsToMoving(f,m)),ay(Ey,this,!!this.hot.getSettings().rowHeaders),ay(vy,this,this.hot.countCols()),ay(My,this,this.hot.getSettings().fixedColumnsStart),ay(Sy,this,Object(i["offset"])(this.hot.rootElement).left);const l=oy(Ey,this)?-1:0,u=o.holder.scrollTop+o.getColumnHeaderHeight(0)+1,c=t.col<oy(My,this),d=this.hot.view._wt.wtOverlays.inlineStartOverlay.getOverlayOffset(),h=Math.abs(s-(this.hot.isRtl()?r.offsetWidth:0)),p=this.getColumnsWidth(f,t.col-1)+h,g=this.getColumnsWidth(l,f-1)+(c?d:0)+p;oy(fy,this).setPosition(u,g),oy(fy,this).setSize(this.getColumnsWidth(f,m),o.hider.offsetHeight-u),oy(fy,this).setOffset(null,-p),Object(i["addClass"])(this.hot.rootElement,hy)}else Object(i["removeClass"])(this.hot.rootElement,py),ay(by,this,!1),oy(gy,this).length=0}function Ay(e){oy(by,this)&&(oy(yy,this).eventPageX=e.pageX,this.refreshPositions())}function Ny(e,t,r,n){const a=this.hot.getSelectedRangeLast();a&&oy(by,this)&&(oy(gy,this).indexOf(t.col)>-1?Object(i["removeClass"])(this.hot.rootElement,dy):Object(i["addClass"])(this.hot.rootElement,dy),n.row=!0,n.column=!0,n.cell=!0,ay(_y,this,t.col),oy(yy,this).TD=r)}function Oy(){const e=oy(yy,this).col,t=oy(gy,this).length;if(ay(_y,this,void 0),ay(by,this,!1),Object(i["removeClass"])(this.hot.rootElement,[hy,dy,py]),this.hot.selection.isSelectedByColumnHeader()&&Object(i["addClass"])(this.hot.rootElement,py),t<1||void 0===e)return;const r=oy(gy,this)[0],n=this.hot.toPhysicalColumn(r),a=this.dragColumns(oy(gy,this),e);if(oy(gy,this).length=0,!0===a){this.persistentStateSave(),this.hot.render(),this.hot.view.adjustElementsSize(!0);const e=this.hot.toVisualColumn(n),r=e+t-1;this.hot.selectColumns(e,r)}}function Ry(){const e=this.hot.view._wt.wtTable,t=e.getColumnHeaderHeight(0)+1,r=e.holder.scrollTop,n=t+r;oy(fy,this).setPosition(n),oy(fy,this).setSize(null,e.hider.offsetHeight-n)}function Ly(){this.moveBySettingsOrLoad()}function ky(e,t){Dy(e,t),t.add(e)}function Iy(e,t,r){Dy(e,t),t.set(e,r)}function Dy(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Py(e,t,r){return e.set(Fy(e,t),r),r}function jy(e,t){return e.get(Fy(e,t))}function Fy(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Hy="manualColumnResize",By=130,Uy="manualColumnWidths";var Vy=new WeakMap,Yy=new WeakMap,zy=new WeakMap,Wy=new WeakMap,qy=new WeakMap,Gy=new WeakMap,Ky=new WeakMap,Xy=new WeakMap,Zy=new WeakMap,$y=new WeakMap,Jy=new WeakMap,Qy=new WeakMap,ew=new WeakMap,tw=new WeakMap,rw=new WeakMap,nw=new WeakMap,iw=new WeakSet;class aw extends er["a"]{static get PLUGIN_KEY(){return Hy}static get PLUGIN_PRIORITY(){return By}constructor(e){super(e),ky(this,iw),Iy(this,Vy,null),Iy(this,Yy,null),Iy(this,zy,[]),Iy(this,Wy,null),Iy(this,qy,null),Iy(this,Gy,null),Iy(this,Ky,null),Iy(this,Xy,null),Iy(this,Zy,this.hot.rootDocument.createElement("DIV")),Iy(this,$y,this.hot.rootDocument.createElement("DIV")),Iy(this,Jy,null),Iy(this,Qy,!1),Iy(this,ew,0),Iy(this,tw,null),Iy(this,rw,void 0),Iy(this,nw,void 0),Object(i["addClass"])(jy(Zy,this),"manualColumnResizer"),Object(i["addClass"])(jy($y,this),"manualColumnResizerGuide")}get inlineDir(){return this.hot.isRtl()?"right":"left"}isEnabled(){return this.hot.getSettings()[Hy]}enablePlugin(){this.enabled||(Py(rw,this,new ur["a"]),jy(rw,this).addLocalHook("init",()=>Fy(iw,this,ow).call(this)),this.hot.columnIndexMapper.registerMap(this.pluginName,jy(rw,this)),this.addHook("modifyColWidth",(e,t)=>Fy(iw,this,hw).call(this,e,t)),this.addHook("beforeStretchingColumnWidth",(e,t)=>Fy(iw,this,pw).call(this,e,t)),this.addHook("beforeColumnResize",(e,t,r)=>Fy(iw,this,fw).call(this,e,t,r)),this.bindEvents(),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){Py(nw,this,jy(rw,this).getValues()),this.hot.columnIndexMapper.unregisterMap(this.pluginName),super.disablePlugin()}saveManualColumnWidths(){this.hot.runHooks("persistentStateSave",Uy,jy(rw,this).getValues())}loadManualColumnWidths(){const e={};return this.hot.runHooks("persistentStateLoad",Uy,e),e.value}setManualSize(e,t){const r=Math.max(t,20),n=this.hot.toPhysicalColumn(e);return jy(rw,this).setValueAtIndex(n,r),r}clearManualSize(e){const t=this.hot.toPhysicalColumn(e);jy(rw,this).setValueAtIndex(t,null)}setupHandlePosition(e){if(!e.parentNode)return;Py(Vy,this,e);const{_wt:t}=this.hot.view,r=t.wtTable.getCoords(jy(Vy,this)),n=r.col;if(n<0)return;const a=Object(i["outerHeight"])(jy(Vy,this)),o=jy(Vy,this).getBoundingClientRect(),s=n<t.getSetting("fixedColumnsStart");let l;s&&(l=t.wtOverlays.topInlineStartCornerOverlay.getRelativeCellPosition(jy(Vy,this),r.row,r.col)),l||(l=t.wtOverlays.topOverlay.getRelativeCellPosition(jy(Vy,this),r.row,r.col)),Py(Yy,this,this.hot.columnIndexMapper.getVisualFromRenderableIndex(n)),Py(zy,this,[]);const u=this.hot.selection.isSelectedByCorner()||this.hot.selection.isSelectedByColumnHeader();if(this.hot.selection.isSelected()&&u){const e=this.hot.getSelectedRange();Object(d["arrayEach"])(e,e=>{const t=e.getTopStartCorner().col,r=e.getBottomEndCorner().col;Object(nt["rangeEach"])(t,r,e=>{jy(zy,this).includes(e)||jy(zy,this).push(e)})})}jy(zy,this).includes(jy(Yy,this))||Py(zy,this,[jy(Yy,this)]),Py(Xy,this,l.start-6),Py(Ky,this,parseInt(o.width,10)),jy(Zy,this).style.top=l.top+"px",jy(Zy,this).style[this.inlineDir]=jy(Xy,this)+jy(Ky,this)+"px",jy(Zy,this).style.height=a+"px",this.hot.rootElement.appendChild(jy(Zy,this))}refreshHandlePosition(){jy(Zy,this).style[this.inlineDir]=jy(Xy,this)+jy(Wy,this)+"px"}setupGuidePosition(){const e=parseInt(Object(i["outerHeight"])(jy(Zy,this)),10),t=parseInt(jy(Zy,this).style.top,10)+e,r=parseInt(this.hot.view.maximumVisibleElementHeight(0),10);Object(i["addClass"])(jy(Zy,this),"active"),Object(i["addClass"])(jy($y,this),"active"),jy($y,this).style.top=t+"px",this.refreshGuidePosition(),jy($y,this).style.height=r-e+"px",this.hot.rootElement.appendChild(jy($y,this))}refreshGuidePosition(){jy($y,this).style[this.inlineDir]=jy(Zy,this).style[this.inlineDir]}hideHandleAndGuide(){Object(i["removeClass"])(jy(Zy,this),"active"),Object(i["removeClass"])(jy($y,this),"active")}checkIfColumnHeader(e){const t=Object(i["closest"])(e,["THEAD"],this.hot.rootElement),{topOverlay:r,topInlineStartCornerOverlay:n}=this.hot.view._wt.wtOverlays;return[r.clone.wtTable.THEAD,n.clone.wtTable.THEAD].includes(t)}getClosestTHParent(e){return"TABLE"!==e.tagName?"TH"===e.tagName?e:this.getClosestTHParent(e.parentNode):null}afterMouseDownTimeout(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize(!0)},t=(t,r)=>{const n=this.hot.runHooks("beforeColumnResize",jy(qy,this),t,!0);void 0!==n&&Py(qy,this,n),"all"===this.hot.getSettings().stretchH?this.clearManualSize(t):this.setManualSize(t,jy(qy,this)),this.saveManualColumnWidths(),this.hot.runHooks("afterColumnResize",jy(qy,this),t,!0),r&&e()};if(jy(ew,this)>=2){const r=jy(zy,this).length;r>1?(Object(d["arrayEach"])(jy(zy,this),e=>{t(e)}),e()):Object(d["arrayEach"])(jy(zy,this),e=>{t(e,!0)})}Py(ew,this,0),Py(tw,this,null)}bindEvents(){const{rootWindow:e,rootElement:t}=this.hot;this.eventManager.addEventListener(t,"mouseover",e=>Fy(iw,this,sw).call(this,e)),this.eventManager.addEventListener(t,"mousedown",e=>Fy(iw,this,lw).call(this,e)),this.eventManager.addEventListener(e,"mousemove",e=>Fy(iw,this,uw).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>Fy(iw,this,cw).call(this)),this.eventManager.addEventListener(jy(Zy,this),"contextmenu",()=>Fy(iw,this,dw).call(this))}destroy(){super.destroy()}}function ow(){const e=this.hot.getSettings()[Hy],t=this.loadManualColumnWidths();"undefined"!==typeof t?this.hot.batchExecution(()=>{t.forEach((e,t)=>{jy(rw,this).setValueAtIndex(t,e)})},!0):Array.isArray(e)?(this.hot.batchExecution(()=>{e.forEach((e,t)=>{jy(rw,this).setValueAtIndex(t,e)})},!0),Py(nw,this,e)):!0===e&&Array.isArray(jy(nw,this))&&this.hot.batchExecution(()=>{jy(nw,this).forEach((e,t)=>{jy(rw,this).setValueAtIndex(t,e)})},!0)}function sw(e){if(!Object(i["isDetached"])(e.target)&&!0!==jy(Qy,this)&&this.checkIfColumnHeader(e.target)){const t=this.getClosestTHParent(e.target);if(!t)return;const r=t.getAttribute("colspan");!t||null!==r&&"1"!==r||jy(Jy,this)||this.setupHandlePosition(t)}}function lw(e){e.target.parentNode===this.hot.rootElement&&Object(i["hasClass"])(e.target,"manualColumnResizer")&&(this.setupHandlePosition(jy(Vy,this)),this.setupGuidePosition(),Py(Jy,this,!0),null===jy(tw,this)&&(Py(tw,this,setTimeout(()=>this.afterMouseDownTimeout(),500)),this.hot._registerTimeout(jy(tw,this))),Py(ew,this,jy(ew,this)+1),this.startX=e.pageX,Py(qy,this,jy(Ky,this)))}function uw(e){if(jy(Jy,this)){const t=(e.pageX-this.startX)*this.hot.getDirectionFactor();Py(Wy,this,jy(Ky,this)+t),Object(d["arrayEach"])(jy(zy,this),e=>{Py(qy,this,this.setManualSize(e,jy(Wy,this)))}),this.refreshHandlePosition(),this.refreshGuidePosition()}}function cw(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize(!0)},t=(t,r)=>{this.hot.runHooks("beforeColumnResize",jy(qy,this),t,!1),r&&e(),this.saveManualColumnWidths(),this.hot.runHooks("afterColumnResize",jy(qy,this),t,!1)};if(jy(Jy,this)){if(this.hideHandleAndGuide(),Py(Jy,this,!1),jy(qy,this)!==jy(Ky,this)){const r=jy(zy,this).length;r>1?(Object(d["arrayEach"])(jy(zy,this),e=>{t(e)}),e()):Object(d["arrayEach"])(jy(zy,this),e=>{t(e,!0)})}this.setupHandlePosition(jy(Vy,this))}}function dw(){this.hideHandleAndGuide(),this.hot.rootElement.removeChild(jy(Zy,this)),this.hot.rootElement.removeChild(jy($y,this)),Py(Jy,this,!1),Py(Qy,this,!0),this.hot._registerImmediate(()=>{Py(Qy,this,!1)})}function hw(e,t){let r=e;if(this.enabled){const e=this.hot.toPhysicalColumn(t),n=jy(rw,this).getValueAtIndex(e);this.hot.getSettings()[Hy]&&n&&(r=n)}return r}function pw(e,t){let r=jy(rw,this).getValueAtIndex(t);return null===r&&(r=e),r}function fw(){this.hot.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked()}function mw(e,t,r){return t=gw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gw(e){var t=vw(e,"string");return"symbol"==typeof t?t:t+""}function vw(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const bw=0,yw=1,ww=2,_w="px";class Sw{constructor(e){mw(this,"hot",void 0),mw(this,"_element",null),mw(this,"state",bw),this.hot=e}appendTo(e){e.appendChild(this._element),this.state=ww}build(){this.state===bw&&(this._element=this.hot.rootDocument.createElement("div"),this.state=yw)}destroy(){this.isAppended()&&this._element.parentElement.removeChild(this._element),this._element=null,this.state=bw}isAppended(){return this.state===ww}isBuilt(){return this.state>=yw}setPosition(e,t){void 0!==e&&(this._element.style.top=e+_w),void 0!==t&&(this._element.style.left=t+_w)}getPosition(){return{top:this._element.style.top?parseInt(this._element.style.top,10):0,left:this._element.style.left?parseInt(this._element.style.left,10):0}}setSize(e,t){e&&(this._element.style.width=e+_w),t&&(this._element.style.height=t+_w)}getSize(){return{width:this._element.style.width?parseInt(this._element.style.width,10):0,height:this._element.style.height?parseInt(this._element.style.height,10):0}}setOffset(e,t){e&&(this._element.style.marginTop=e+_w),t&&(this._element.style.marginLeft=t+_w)}getOffset(){return{top:this._element.style.marginTop?parseInt(this._element.style.marginTop,10):0,left:this._element.style.marginLeft?parseInt(this._element.style.marginLeft,10):0}}}var Ew=Sw;const Mw="ht__manualRowMove--backlight";class Tw extends Ew{build(){super.build(),Object(i["addClass"])(this._element,Mw)}}var Cw=Tw;const xw="ht__manualRowMove--guideline";class Aw extends Ew{build(){super.build(),Object(i["addClass"])(this._element,xw)}}var Nw=Aw;function Ow(e,t){Lw(e,t),t.add(e)}function Rw(e,t,r){Lw(e,t),t.set(e,r)}function Lw(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function kw(e,t,r){return e.set(Dw(e,t),r),r}function Iw(e,t){return e.get(Dw(e,t))}function Dw(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("beforeRowMove"),fe["a"].getSingleton().register("afterRowMove");const Pw="manualRowMove",jw=140,Fw="ht__manualRowMove",Hw="show-ui",Bw="on-moving--rows",Uw="after-selection--rows";var Vw=new WeakMap,Yw=new WeakMap,zw=new WeakMap,Ww=new WeakMap,qw=new WeakMap,Gw=new WeakMap,Kw=new WeakSet;class Xw extends er["a"]{constructor(){super(...arguments),Ow(this,Kw),Rw(this,Vw,new Cw(this.hot)),Rw(this,Yw,new Nw(this.hot)),Rw(this,zw,[]),Rw(this,Ww,void 0),Rw(this,qw,{}),Rw(this,Gw,void 0)}static get PLUGIN_KEY(){return Pw}static get PLUGIN_PRIORITY(){return jw}isEnabled(){return!!this.hot.getSettings()[Pw]}enablePlugin(){var e=this;this.enabled||(this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Dw(Kw,e,Zw).call(e,...r)})),this.addHook("beforeOnCellMouseOver",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Dw(Kw,e,Jw).call(e,...r)})),this.addHook("afterScrollHorizontally",()=>Dw(Kw,this,e_).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Dw(Kw,e,t_).call(e,...r)})),this.buildPluginUI(),this.registerEvents(),Object(i["addClass"])(this.hot.rootElement,Fw),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.moveBySettingsOrLoad(),super.updatePlugin()}disablePlugin(){Object(i["removeClass"])(this.hot.rootElement,Fw),this.unregisterEvents(),Iw(Vw,this).destroy(),Iw(Yw,this).destroy(),super.disablePlugin()}moveRow(e,t){return this.moveRows([e],t)}moveRows(e,t){const r=Iw(Gw,this),n=this.isMovePossible(e,t),i=this.hot.runHooks("beforeRowMove",e,t,r,n);if(kw(Gw,this,void 0),!1===i)return;n&&this.hot.rowIndexMapper.moveIndexes(e,t);const a=n&&this.isRowOrderChanged(e,t);return this.hot.runHooks("afterRowMove",e,t,r,n,a),a}dragRow(e,t){return this.dragRows([e],t)}dragRows(e,t){const r=this.countFinalIndex(e,t);return kw(Gw,this,t),this.moveRows(e,r)}isMovePossible(e,t){const r=this.hot.rowIndexMapper.getNotTrimmedIndexesLength(),n=e.length+t>r,i=t<0,a=e.some(e=>e<0),o=e.some(e=>e>=r);return!(n||i||a||o)}isRowOrderChanged(e,t){return e.some((e,r)=>e-r!==t)}countFinalIndex(e,t){const r=Object(d["arrayReduce"])(e,(e,r)=>(r<t&&(e+=1),e),0);return t-r}getRowsHeight(e,t){const r=this.hot.rowIndexMapper;let n=0;for(let i=e;i<=t;i++){const e=r.getRenderableFromVisualIndex(i);null!==e&&(n+=this.hot.view._wt.wtTable.getRowHeight(e)||23)}return n}moveBySettingsOrLoad(){const e=this.hot.getSettings()[Pw];if(Array.isArray(e))this.moveRows(e,0);else if(void 0!==e){const e=this.persistentStateLoad();e.length&&this.moveRows(e,0)}}isFixedRowTop(e){return e<this.hot.getSettings().fixedRowsTop}isFixedRowBottom(e){return e>this.hot.countRows()-1-this.hot.getSettings().fixedRowsBottom}persistentStateSave(){this.hot.runHooks("persistentStateSave","manualRowMove",this.hot.rowIndexMapper.getIndexesSequence())}persistentStateLoad(){const e={};return this.hot.runHooks("persistentStateLoad","manualRowMove",e),e.value?e.value:[]}prepareRowsToMoving(){const e=this.hot.getSelectedRangeLast(),t=[];if(!e)return t;const{from:r,to:n}=e,i=Math.min(r.row,n.row),a=Math.max(r.row,n.row);return Object(nt["rangeEach"])(i,a,e=>{t.push(e)}),t}refreshPositions(){const e=Iw(qw,this).coords,t=this.hot.view.getFirstFullyVisibleRow(),r=this.hot.view.getLastFullyVisibleRow(),n=this.hot.countRows();this.isFixedRowTop(e.row)&&t>0&&this.hot.scrollViewportTo(this.hot.rowIndexMapper.getNearestNotHiddenIndex(t-1,-1)),this.isFixedRowBottom(e.row)&&r<n&&this.hot.scrollViewportTo(this.hot.rowIndexMapper.getNearestNotHiddenIndex(r+1,1),void 0,!0);const a=this.hot.view._wt.wtTable,o=Iw(qw,this).TD,s=this.hot.rootElement,l=Object(i["offset"])(s),u=Object(i["getTrimmingContainer"])(s),c=a.holder.scrollTop,d=this.hot.rootWindow!==u?u.scrollTop:0,h=l.top-d,p=Iw(qw,this).eventPageY-h+c,f=a.hider.offsetHeight,m=a.TBODY.offsetTop,g=Iw(Vw,this).getOffset().top,v=Iw(Vw,this).getSize().height,b=o.offsetHeight/2,y=o.offsetHeight;let w=this.hot.view.THEAD.offsetHeight+this.getRowsHeight(0,e.row-1);const _=p>=w+b;this.isFixedRowTop(e.row)&&(w+=this.hot.view._wt.wtOverlays.topOverlay.getOverlayOffset()),e.row<0?Iw(qw,this).row=t>0?t-1:t:_?(Iw(qw,this).row=e.row+1,w+=0===e.row?y-1:y):Iw(qw,this).row=e.row;let S=p,E=w;p+v+g>=f?S=f-v-g:p+g<m&&(S=m+Math.abs(g)),w>=f-1&&(E=f-1),Iw(Vw,this).setPosition(S),Iw(Yw,this).setPosition(E)}registerEvents(){const{documentElement:e}=this.hot.rootDocument;this.eventManager.addEventListener(e,"mousemove",e=>Dw(Kw,this,$w).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>Dw(Kw,this,Qw).call(this))}unregisterEvents(){this.eventManager.clear()}buildPluginUI(){Iw(Vw,this).build(),Iw(Yw,this).build()}destroy(){Iw(Vw,this).destroy(),Iw(Yw,this).destroy(),super.destroy()}}function Zw(e,t,r,n){const{wtTable:a,wtViewport:o}=this.hot.view._wt,s=this.hot.selection.isSelectedByRowHeader(),l=this.hot.getSelectedRangeLast();if(!l||!s||Iw(Ww,this)||0!==e.button)return kw(Ww,this,!1),Iw(zw,this).length=0,void Object(i["removeClass"])(this.hot.rootElement,[Bw,Hw]);const u=Iw(Yw,this).isBuilt()&&!Iw(Yw,this).isAppended(),c=Iw(Vw,this).isBuilt()&&!Iw(Vw,this).isAppended();u&&c&&(Iw(Yw,this).appendTo(a.hider),Iw(Vw,this).appendTo(a.hider));const{from:d,to:h}=l,p=Math.min(d.row,h.row),f=Math.max(d.row,h.row);if(t.col<0&&t.row>=p&&t.row<=f){n.row=!0,kw(Ww,this,!0),Iw(qw,this).eventPageY=e.pageY,Iw(qw,this).coords=t,Iw(qw,this).TD=r,kw(zw,this,this.prepareRowsToMoving());const s=a.holder.scrollLeft+o.getRowHeaderWidth(),l=this.getRowsHeight(p,t.row-1)+e.offsetY;Iw(Vw,this).setPosition(null,s),Iw(Vw,this).setSize(a.hider.offsetWidth-s,this.getRowsHeight(p,f)),Iw(Vw,this).setOffset(-l,null),Object(i["addClass"])(this.hot.rootElement,Bw),this.refreshPositions()}else Object(i["removeClass"])(this.hot.rootElement,Uw),kw(Ww,this,!1),Iw(zw,this).length=0}function $w(e){Iw(Ww,this)&&(Iw(qw,this).eventPageY=e.pageY,this.refreshPositions())}function Jw(e,t,r,n){const a=this.hot.getSelectedRangeLast();a&&Iw(Ww,this)&&(Iw(zw,this).indexOf(t.row)>-1?Object(i["removeClass"])(this.hot.rootElement,Hw):Object(i["addClass"])(this.hot.rootElement,Hw),n.row=!0,n.column=!0,n.cell=!0,Iw(qw,this).coords=t,Iw(qw,this).TD=r)}function Qw(){const e=Iw(qw,this).row,t=Iw(zw,this).length;if(kw(Ww,this,!1),Object(i["removeClass"])(this.hot.rootElement,[Bw,Hw,Uw]),this.hot.selection.isSelectedByRowHeader()&&Object(i["addClass"])(this.hot.rootElement,Uw),t<1||void 0===e)return;const r=Iw(zw,this)[0],n=this.hot.toPhysicalRow(r),a=this.dragRows(Iw(zw,this),e);if(Iw(zw,this).length=0,!0===a){this.persistentStateSave(),this.hot.render(),this.hot.view.adjustElementsSize(!0);const e=this.hot.toVisualRow(n),r=e+t-1;this.hot.selectRows(e,r)}}function e_(){const e=this.hot.view._wt.wtTable,t=this.hot.view._wt.wtViewport.getRowHeaderWidth(),r=e.holder.scrollLeft,n=t+r;Iw(Vw,this).setPosition(null,n),Iw(Vw,this).setSize(e.hider.offsetWidth-n)}function t_(){this.moveBySettingsOrLoad()}var r_=r("eb36");function n_(e,t){a_(e,t),t.add(e)}function i_(e,t,r){a_(e,t),t.set(e,r)}function a_(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o_(e,t,r){return e.set(l_(e,t),r),r}function s_(e,t){return e.get(l_(e,t))}function l_(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const u_="manualRowResize",c_=30,d_="manualRowHeights";var h_=new WeakMap,p_=new WeakMap,f_=new WeakMap,m_=new WeakMap,g_=new WeakMap,v_=new WeakMap,b_=new WeakMap,y_=new WeakMap,w_=new WeakMap,__=new WeakMap,S_=new WeakMap,E_=new WeakMap,M_=new WeakMap,T_=new WeakMap,C_=new WeakMap,x_=new WeakMap,A_=new WeakSet;class N_ extends er["a"]{static get PLUGIN_KEY(){return u_}static get PLUGIN_PRIORITY(){return c_}constructor(e){super(e),n_(this,A_),i_(this,h_,null),i_(this,p_,null),i_(this,f_,[]),i_(this,m_,null),i_(this,g_,null),i_(this,v_,null),i_(this,b_,null),i_(this,y_,null),i_(this,w_,this.hot.rootDocument.createElement("DIV")),i_(this,__,this.hot.rootDocument.createElement("DIV")),i_(this,S_,!1),i_(this,E_,!1),i_(this,M_,0),i_(this,T_,null),i_(this,C_,void 0),i_(this,x_,void 0),Object(i["addClass"])(s_(w_,this),"manualRowResizer"),Object(i["addClass"])(s_(__,this),"manualRowResizerGuide")}get inlineDir(){return this.hot.isRtl()?"right":"left"}isEnabled(){return this.hot.getSettings()[u_]}enablePlugin(){this.enabled||(o_(C_,this,new ur["a"]),s_(C_,this).addLocalHook("init",()=>l_(A_,this,P_).call(this)),this.hot.rowIndexMapper.registerMap(this.pluginName,s_(C_,this)),this.addHook("modifyRowHeight",(e,t)=>l_(A_,this,D_).call(this,e,t)),this.bindEvents(),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){o_(x_,this,s_(C_,this).getValues()),this.hot.rowIndexMapper.unregisterMap(this.pluginName),super.disablePlugin()}saveManualRowHeights(){this.hot.runHooks("persistentStateSave",d_,s_(C_,this).getValues())}loadManualRowHeights(){const e={};return this.hot.runHooks("persistentStateLoad",d_,e),e.value}setManualSize(e,t){const r=this.hot.toPhysicalRow(e),n=Math.max(t,r_["a"].DEFAULT_HEIGHT);return s_(C_,this).setValueAtIndex(r,n),n}setupHandlePosition(e){o_(h_,this,e);const{view:t}=this.hot,{_wt:r}=t,n=r.wtTable.getCoords(s_(h_,this)),a=n.row;if(a<0)return;const o=Object(i["outerWidth"])(s_(h_,this)),s=s_(h_,this).getBoundingClientRect(),l=a<r.getSetting("fixedRowsTop"),u=a>=t.countNotHiddenRowIndexes(0,1)-r.getSetting("fixedRowsBottom");let c;l?c=r.wtOverlays.topInlineStartCornerOverlay.getRelativeCellPosition(s_(h_,this),n.row,n.col):u&&(c=r.wtOverlays.bottomInlineStartCornerOverlay.getRelativeCellPosition(s_(h_,this),n.row,n.col)),c||(c=r.wtOverlays.inlineStartOverlay.getRelativeCellPosition(s_(h_,this),n.row,n.col)),o_(p_,this,this.hot.rowIndexMapper.getVisualFromRenderableIndex(a)),o_(f_,this,[]);const h=this.hot.selection.isSelectedByCorner()||this.hot.selection.isSelectedByRowHeader();if(this.hot.selection.isSelected()&&h){const e=this.hot.getSelectedRange();Object(d["arrayEach"])(e,e=>{const t=e.getTopStartCorner().row,r=e.getBottomStartCorner().row;Object(nt["rangeEach"])(t,r,e=>{s_(f_,this).includes(e)||s_(f_,this).push(e)})})}s_(f_,this).includes(s_(p_,this))||o_(f_,this,[s_(p_,this)]),o_(y_,this,c.top-6),o_(b_,this,parseInt(s.height,10)),s_(w_,this).style.top=s_(y_,this)+s_(b_,this)+"px",s_(w_,this).style[this.inlineDir]=c.start+"px",s_(w_,this).style.width=o+"px",this.hot.rootElement.appendChild(s_(w_,this))}refreshHandlePosition(){s_(w_,this).style.top=s_(y_,this)+s_(m_,this)+"px"}setupGuidePosition(){const e=parseInt(Object(i["outerWidth"])(s_(w_,this)),10),t=parseInt(s_(w_,this).style[this.inlineDir],10)+e,r=parseInt(this.hot.view.maximumVisibleElementWidth(0),10);Object(i["addClass"])(s_(w_,this),"active"),Object(i["addClass"])(s_(__,this),"active"),s_(__,this).style.top=s_(w_,this).style.top,s_(__,this).style[this.inlineDir]=t+"px",s_(__,this).style.width=r-e+"px",this.hot.rootElement.appendChild(s_(__,this))}refreshGuidePosition(){s_(__,this).style.top=s_(w_,this).style.top}hideHandleAndGuide(){Object(i["removeClass"])(s_(w_,this),"active"),Object(i["removeClass"])(s_(__,this),"active")}checkIfRowHeader(e){const t=Object(i["closest"])(e,["TBODY"],this.hot.rootElement),{inlineStartOverlay:r,topInlineStartCornerOverlay:n,bottomInlineStartCornerOverlay:a}=this.hot.view._wt.wtOverlays;return[r.clone.wtTable.TBODY,n.clone.wtTable.TBODY,a.clone.wtTable.TBODY].includes(t)}getClosestTHParent(e){return"TABLE"!==e.tagName?"TH"===e.tagName?e:this.getClosestTHParent(e.parentNode):null}getActualRowHeight(e){const t=this.hot.view._wt.wtTable.getRowHeight(e);return void 0!==t&&s_(g_,this)<t?t:s_(g_,this)}afterMouseDownTimeout(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize(!0)},t=(t,r)=>{const n=this.hot.runHooks("beforeRowResize",this.getActualRowHeight(t),t,!0);void 0!==n&&o_(g_,this,n),this.setManualSize(t,s_(g_,this)),this.hot.runHooks("afterRowResize",this.getActualRowHeight(t),t,!0),r&&e()};if(s_(M_,this)>=2){const r=s_(f_,this).length;r>1?(Object(d["arrayEach"])(s_(f_,this),e=>{t(e)}),e()):Object(d["arrayEach"])(s_(f_,this),e=>{t(e,!0)})}o_(M_,this,0),o_(T_,this,null)}bindEvents(){const{rootElement:e,rootWindow:t}=this.hot;this.eventManager.addEventListener(e,"mouseover",e=>l_(A_,this,O_).call(this,e)),this.eventManager.addEventListener(e,"mousedown",e=>l_(A_,this,R_).call(this,e)),this.eventManager.addEventListener(t,"mousemove",e=>l_(A_,this,L_).call(this,e)),this.eventManager.addEventListener(t,"mouseup",()=>l_(A_,this,k_).call(this)),this.eventManager.addEventListener(s_(w_,this),"contextmenu",()=>l_(A_,this,I_).call(this))}destroy(){super.destroy()}}function O_(e){if(!Object(i["isDetached"])(e.target)&&!0!==s_(E_,this)&&this.checkIfRowHeader(e.target)){const t=this.getClosestTHParent(e.target);t&&(s_(S_,this)||this.setupHandlePosition(t))}}function R_(e){Object(i["hasClass"])(e.target,"manualRowResizer")&&(this.setupHandlePosition(s_(h_,this)),this.setupGuidePosition(),o_(S_,this,!0),null===s_(T_,this)&&(o_(T_,this,setTimeout(()=>this.afterMouseDownTimeout(),500)),this.hot._registerTimeout(s_(T_,this))),o_(M_,this,s_(M_,this)+1),o_(v_,this,e.pageY),o_(g_,this,s_(b_,this)))}function L_(e){s_(S_,this)&&(o_(m_,this,s_(b_,this)+(e.pageY-s_(v_,this))),Object(d["arrayEach"])(s_(f_,this),e=>{o_(g_,this,this.setManualSize(e,s_(m_,this)))}),this.refreshHandlePosition(),this.refreshGuidePosition())}function k_(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize(!0)},t=(t,r)=>{this.hot.runHooks("beforeRowResize",this.getActualRowHeight(t),t,!1),r&&e(),this.saveManualRowHeights(),this.hot.runHooks("afterRowResize",this.getActualRowHeight(t),t,!1)};if(s_(S_,this)){if(this.hideHandleAndGuide(),o_(S_,this,!1),s_(g_,this)!==s_(b_,this)){const r=s_(f_,this).length;r>1?(Object(d["arrayEach"])(s_(f_,this),e=>{t(e)}),e()):Object(d["arrayEach"])(s_(f_,this),e=>{t(e,!0)})}this.setupHandlePosition(s_(h_,this))}}function I_(){this.hideHandleAndGuide(),this.hot.rootElement.removeChild(s_(w_,this)),this.hot.rootElement.removeChild(s_(__,this)),o_(S_,this,!1),o_(E_,this,!0),this.hot._registerImmediate(()=>{o_(E_,this,!1)})}function D_(e,t){let r=e;if(this.enabled){const e=this.hot.toPhysicalRow(t),n=s_(C_,this).getValueAtIndex(e);this.hot.getSettings()[u_]&&n&&(r=n)}return r}function P_(){const e=this.hot.getSettings()[u_],t=this.loadManualRowHeights();this.hot.batchExecution(()=>{"undefined"!==typeof t?t.forEach((e,t)=>{s_(C_,this).setValueAtIndex(t,e)}):Array.isArray(e)?(e.forEach((e,t)=>{s_(C_,this).setValueAtIndex(t,e)}),o_(x_,this,e)):!0===e&&Array.isArray(s_(x_,this))&&s_(x_,this).forEach((e,t)=>{s_(C_,this).setValueAtIndex(t,e)})},!0)}r("4cd6");function j_(e,t,r){return t=F_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e){var t=H_(e,"string");return"symbol"==typeof t?t:t+""}function H_(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class B_{constructor(e,t,r,n,i,a){j_(this,"row",void 0),j_(this,"col",void 0),j_(this,"rowspan",void 0),j_(this,"colspan",void 0),j_(this,"removed",!1),j_(this,"cellCoordsFactory",void 0),j_(this,"cellRangeFactory",void 0),this.row=e,this.col=t,this.rowspan=r,this.colspan=n,this.cellCoordsFactory=i,this.cellRangeFactory=a}static NEGATIVE_VALUES_WARNING(e){return Ea["a"]`The merged cell declared with {row: ${e.row}, col: ${e.col},\x20
- rowspan: ${e.rowspan}, colspan: ${e.colspan}} contains negative values, which is\x20
- not supported. It will not be added to the collection.`}static IS_OUT_OF_BOUNDS_WARNING(e){return Ea["a"]`The merged cell declared at [${e.row}, ${e.col}] is positioned\x20
- (or positioned partially) outside of the table range. It was not added to the table, please fix your setup.`}static IS_SINGLE_CELL(e){return Ea["a"]`The merged cell declared at [${e.row}, ${e.col}] has both "rowspan"\x20
- and "colspan" declared as "1", which makes it a single cell. It cannot be added to the collection.`}static ZERO_SPAN_WARNING(e){return Ea["a"]`The merged cell declared at [${e.row}, ${e.col}] has "rowspan"\x20
- or "colspan" declared as "0", which is not supported. It cannot be added to the collection.`}static containsNegativeValues(e){return e.row<0||e.col<0||e.rowspan<0||e.colspan<0}static isSingleCell(e){return 1===e.colspan&&1===e.rowspan}static containsZeroSpan(e){return 0===e.colspan||0===e.rowspan}static isOutOfBounds(e,t,r){return e.row<0||e.col<0||e.row>=t||e.row+e.rowspan-1>=t||e.col>=r||e.col+e.colspan-1>=r}normalize(e){const t=e.countRows(),r=e.countCols();this.row<0?this.row=0:this.row>t-1&&(this.row=t-1),this.col<0?this.col=0:this.col>r-1&&(this.col=r-1),this.row+this.rowspan>t-1&&(this.rowspan=t-this.row),this.col+this.colspan>r-1&&(this.colspan=r-this.col)}includes(e,t){return this.row<=e&&this.col<=t&&this.row+this.rowspan-1>=e&&this.col+this.colspan-1>=t}includesHorizontally(e){return this.col<=e&&this.col+this.colspan-1>=e}includesVertically(e){return this.row<=e&&this.row+this.rowspan-1>=e}shift(e,t){const r=e[0]||e[1],n=t+Math.abs(e[0]||e[1])-1,i=e[0]?"colspan":"rowspan",a=e[0]?"col":"row",o=Math.min(t,n),s=Math.max(t,n),l=this[a],u=this[a]+this[i]-1;if(l>=t&&(this[a]+=r),r>0)t<=u&&t>l&&(this[i]+=r);else if(r<0){if(o<=l&&s>=u)return this.removed=!0,!1;if(l>=o&&l<=s){const e=s-l+1,t=Math.abs(r)-e;this[a]-=t+r,this[i]-=e}else if(l<=o&&u>=s)this[i]+=r;else if(l<=o&&u>=o&&u<s){const e=u-o+1;this[i]-=e}}return!0}isFarther(e,t){return!e||("down"===t?e.row+e.rowspan-1<this.row+this.rowspan-1:"up"===t?e.row>this.row:"right"===t?e.col+e.colspan-1<this.col+this.colspan-1:"left"===t?e.col>this.col:null)}getLastRow(){return this.row+this.rowspan-1}getLastColumn(){return this.col+this.colspan-1}getRange(){return this.cellRangeFactory(this.cellCoordsFactory(this.row,this.col),this.cellCoordsFactory(this.row,this.col),this.cellCoordsFactory(this.getLastRow(),this.getLastColumn()))}}var U_=B_;function V_(e,t,r,n){t?t.row===r&&t.col===n?(e.setAttribute("rowspan",t.rowspan.toString()),e.setAttribute("colspan",t.colspan.toString())):(e.removeAttribute("rowspan"),e.removeAttribute("colspan"),e.style.display="none"):(e.removeAttribute("rowspan"),e.removeAttribute("colspan"),e.style.display="")}function Y_(e,t){z_(e,t),t.add(e)}function z_(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function W_(e,t,r){return t=q_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q_(e){var t=G_(e,"string");return"symbol"==typeof t?t:t+""}function G_(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function K_(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var X_=new WeakSet;class Z_{constructor(e){Y_(this,X_),W_(this,"plugin",void 0),W_(this,"mergedCells",[]),W_(this,"hot",void 0),this.plugin=e,this.hot=e.hot}static IS_OVERLAPPING_WARNING(e){return Ea["a"]`The merged cell declared at [${e.row}, ${e.col}], overlaps\x20
- with the other declared merged cell. The overlapping merged cell was not added to the table, please\x20
- fix your setup.`}get(e,t){const r=this.mergedCells;let n=!1;return Object(d["arrayEach"])(r,r=>!(r.row<=e&&r.row+r.rowspan-1>=e&&r.col<=t&&r.col+r.colspan-1>=t)||(n=r,!1)),n}getByRange(e){const t=this.mergedCells;let r=!1;return Object(d["arrayEach"])(t,t=>!(t.row<=e.from.row&&t.row+t.rowspan-1>=e.to.row&&t.col<=e.from.col&&t.col+t.colspan-1>=e.to.col)||(r=t,r)),r}getWithinRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=this.mergedCells,n=[];let i=e;if(!i.includesRange){const e=this.hot._createCellCoords(i.from.row,i.from.col),t=this.hot._createCellCoords(i.to.row,i.to.col);i=this.hot._createCellRange(e,e,t)}return Object(d["arrayEach"])(r,e=>{const r=this.hot._createCellCoords(e.row,e.col),a=this.hot._createCellCoords(e.row+e.rowspan-1,e.col+e.colspan-1),o=this.hot._createCellRange(r,r,a);t?i.overlaps(o)&&n.push(e):i.includesRange(o)&&n.push(e)}),!!n.length&&n}add(e){const t=this.mergedCells,r=e.row,n=e.col,i=e.rowspan,a=e.colspan,o=new U_(r,n,i,a,this.hot._createCellCoords,this.hot._createCellRange),s=this.get(r,n),l=this.isOverlapping(o);return s||l?(Object(Fn["b"])(Z_.IS_OVERLAPPING_WARNING(o)),!1):(this.hot&&o.normalize(this.hot),t.push(o),o)}remove(e,t){const r=this.mergedCells,n=this.get(e,t),i=n?this.mergedCells.indexOf(n):-1;return!(!n||-1===i)&&(r.splice(i,1),n)}clear(){const e=this.mergedCells,t=[],r=[];Object(d["arrayEach"])(e,e=>{const r=this.hot.getCell(e.row,e.col);r&&t.push([r,this.get(e.row,e.col),e.row,e.col])}),this.mergedCells.length=0,Object(d["arrayEach"])(t,(e,n)=>{Object(nt["rangeEach"])(0,e.rowspan-1,t=>{Object(nt["rangeEach"])(0,e.colspan-1,n=>{if(0!==n||0!==t){const i=this.hot.getCell(e.row+t,e.col+n);i&&r.push([i,null,null,null])}})}),t[n][1]=null}),Object(d["arrayEach"])(t,e=>{V_(...e)}),Object(d["arrayEach"])(r,e=>{V_(...e)})}isOverlapping(e){const t=this.hot._createCellRange(this.hot._createCellCoords(0,0),this.hot._createCellCoords(e.row,e.col),this.hot._createCellCoords(e.row+e.rowspan-1,e.col+e.colspan-1));let r=!1;return Object(d["arrayEach"])(this.mergedCells,e=>{const n=this.hot._createCellRange(this.hot._createCellCoords(0,0),this.hot._createCellCoords(e.row,e.col),this.hot._createCellCoords(e.row+e.rowspan-1,e.col+e.colspan-1));return!n.overlaps(t)||(r=!0,!1)}),r}isFirstRenderableMergedCell(e,t){const r=this.get(e,t);return r&&this.hot.rowIndexMapper.getNearestNotHiddenIndex(r.row,1)===e&&this.hot.columnIndexMapper.getNearestNotHiddenIndex(r.col,1)===t}getFirstRenderableCoords(e,t){const r=this.get(e,t);if(!r||this.isFirstRenderableMergedCell(e,t))return this.hot._createCellCoords(e,t);const n=this.hot.rowIndexMapper.getNearestNotHiddenIndex(r.row,1),i=this.hot.columnIndexMapper.getNearestNotHiddenIndex(r.col,1);return this.hot._createCellCoords(n,i)}getStartMostColumnIndex(e,t){const r=K_(X_,this,$_).call(this,e,"col",-1);let n=t;for(let i=0;i<r.length;i++)if(r[i]<=t){n=r[i];break}return n}getEndMostColumnIndex(e,t){const r=K_(X_,this,$_).call(this,e,"col",1);let n=t;for(let i=0;i<r.length;i++)if(r[i]>=t){n=r[i];break}return n}getTopMostRowIndex(e,t){const r=K_(X_,this,$_).call(this,e,"row",-1);let n=t;for(let i=0;i<r.length;i++)if(r[i]<=t){n=r[i];break}return n}getBottomMostRowIndex(e,t){const r=K_(X_,this,$_).call(this,e,"row",1);let n=t;for(let i=0;i<r.length;i++)if(r[i]>=t){n=r[i];break}return n}shiftCollections(e,t,r){const n=[0,0];switch(e){case"right":n[0]+=r;break;case"left":n[0]-=r;break;case"down":n[1]+=r;break;case"up":n[1]-=r;break;default:}Object(d["arrayEach"])(this.mergedCells,e=>{e.shift(n,t)}),Object(nt["rangeEachReverse"])(this.mergedCells.length-1,0,e=>{const t=this.mergedCells[e];t&&t.removed&&this.mergedCells.splice(this.mergedCells.indexOf(t),1)})}}function $_(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const n=new Map,i=1===r?e.getTopStartCorner():e.getBottomEndCorner(),a=1===r?e.getBottomEndCorner():e.getTopStartCorner();for(let o=i.row;1===r?o<=a.row:o>=a.row;o+=r)for(let e=i.col;1===r?e<=a.col:e>=a.col;e+=r){const i="row"===t?o:e,a=this.get(o,e);let s=i;a&&(s=1===r?a[t]+a[t+"span"]-1:a[t]),n.has(i)||n.set(i,new Set),n.get(i).add(s)}return Array.from(new Set(Array.from(n.entries()).filter(e=>{let[,t]=e;return 1===t.size}).flatMap(e=>{let[,t]=e;return Array.from(t)})))}var J_=Z_;function Q_(e,t,r){return t=eS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eS(e){var t=tS(e,"string");return"symbol"==typeof t?t:t+""}function tS(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class rS{constructor(e){Q_(this,"plugin",void 0),Q_(this,"mergedCellsCollection",void 0),Q_(this,"currentFillData",null),this.plugin=e,this.mergedCellsCollection=this.plugin.mergedCellsCollection}correctSelectionAreaSize(e){if(e[0]===e[2]&&e[1]===e[3]){const t=this.mergedCellsCollection.get(e[0],e[1]);t&&(e[2]=e[0]+t.rowspan-1,e[3]=e[1]+t.colspan-1)}}getDirection(e,t){let r=null;return r=t[0]===e[0]&&t[1]===e[1]&&t[3]===e[3]?"down":t[2]===e[2]&&t[1]===e[1]&&t[3]===e[3]?"up":t[1]===e[1]&&t[2]===e[2]?"right":"left",r}snapDragArea(e,t,r,n){const i=t.slice(0),a=this.getAutofillSize(e,t,r),[o,s,l,u]=e,c=["up","down"].indexOf(r)>-1,d=c?l-o+1:u-s+1,h=Math.floor(a/d)*d,p=a-h,f=this.getFarthestCollection(e,t,r,n);if(f)if("down"===r){const e=f.row+f.rowspan-o-p,t=i[2]+e;t>=this.plugin.hot.countRows()?i[2]-=p:i[2]+=p?e:0}else if("right"===r){const e=f.col+f.colspan-s-p,t=i[3]+e;t>=this.plugin.hot.countCols()?i[3]-=p:i[3]+=p?e:0}else if("up"===r){const e=l-p-f.row+1,t=i[0]+e;t<0?i[0]+=p:i[0]-=p?e:0}else if("left"===r){const e=u-p-f.col+1,t=i[1]+e;t<0?i[1]+=p:i[1]-=p?e:0}return this.updateCurrentFillCache({baseArea:e,dragDirection:r,foundMergedCells:n,fillSize:a,dragArea:i,cycleLength:d}),i}updateCurrentFillCache(e){this.currentFillData||(this.currentFillData={}),Object(o["extend"])(this.currentFillData,e)}getAutofillSize(e,t,r){const[n,i,a,o]=e,[s,l,u,c]=t;switch(r){case"up":return n-s;case"down":return u-a;case"left":return i-l;case"right":return c-o;default:return null}}getDragArea(e,t,r){const[n,i,a,o]=e,[s,l,u,c]=t;switch(r){case"up":return[s,l,n-1,o];case"down":return[a+1,i,u,o];case"left":return[s,l,a,i-1];case"right":return[n,o+1,u,c];default:return null}}getFarthestCollection(e,t,r,n){const[i,a,o,s]=e,l=["up","down"].indexOf(r)>-1,u=l?o:s,c=l?i:a,h=this.getAutofillSize(e,t,r),p=l?o-i+1:s-a+1,f=Math.floor(h/p)*p,m=h-f;let g=null,v=null,b=null;switch(r){case"up":g="includesVertically",b=u-m+1;break;case"left":g="includesHorizontally",b=u-m+1;break;case"down":g="includesVertically",b=c+m-1;break;case"right":g="includesHorizontally",b=c+m-1;break;default:}return Object(d["arrayEach"])(n,e=>{e[g](b)&&e.isFarther(v,r)&&(v=e)}),v}recreateAfterDataPopulation(e){if(!this.currentFillData)return;const t=this.getRangeFromChanges(e),r=this.currentFillData.foundMergedCells,n=this.currentFillData.dragDirection,i=(e,r)=>{switch(n){case"up":return e.row-r>=t.from.row;case"down":return e.row+e.rowspan-1+r<=t.to.row;case"left":return e.col-r>=t.from.column;case"right":return e.col+e.colspan-1+r<=t.to.column;default:return null}};let a=0,o=null,s=1;do{for(let e=0;e<r.length;e+=1){if(o=r[e],a=s*this.currentFillData.cycleLength,i(o,a))switch(n){case"up":this.plugin.mergedCellsCollection.add({row:o.row-a,rowspan:o.rowspan,col:o.col,colspan:o.colspan});break;case"down":this.plugin.mergedCellsCollection.add({row:o.row+a,rowspan:o.rowspan,col:o.col,colspan:o.colspan});break;case"left":this.plugin.mergedCellsCollection.add({row:o.row,rowspan:o.rowspan,col:o.col-a,colspan:o.colspan});break;case"right":this.plugin.mergedCellsCollection.add({row:o.row,rowspan:o.rowspan,col:o.col+a,colspan:o.colspan});break;default:}e===r.length-1&&(s+=1)}}while(i(o,a));this.currentFillData=null,this.plugin.hot.render(),r.length>0&&this.plugin.ifChromeForceRepaint()}getRangeFromChanges(e){const t={min:null,max:null},r={min:null,max:null};return Object(d["arrayEach"])(e,e=>{const n=e[0],i=this.plugin.hot.propToCol(e[1]);(null===t.min||n<t.min)&&(t.min=n),(null===t.max||n>t.max)&&(t.max=n),(null===r.min||i<r.min)&&(r.min=i),(null===r.max||i>r.max)&&(r.max=i)}),{from:{row:t.min,column:r.min},to:{row:t.max,column:r.max}}}dragAreaOverlapsCollections(e,t,r){const n=this.getDragArea(e,t,r),[i,a,o,s]=n,l=this.plugin.hot._createCellCoords(i,a),u=this.plugin.hot._createCellCoords(o,s),c=this.plugin.hot._createCellRange(l,l,u);return!!this.mergedCellsCollection.getWithinRange(c,!0)}}var nS=rS;function iS(e,t,r){return t=aS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aS(e){var t=oS(e,"string");return"symbol"==typeof t?t:t+""}function oS(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class sS{constructor(e){iS(this,"plugin",void 0),iS(this,"hot",void 0),iS(this,"fullySelectedMergedCellClassName","fullySelectedMergedCell"),this.plugin=e,this.hot=e.hot}getSelectedMergedCellClassName(e,t,r,n){const i=Math.min(r[0],r[2]),a=Math.min(r[1],r[3]),o=Math.max(r[0],r[2]),s=Math.max(r[1],r[3]);if(void 0===n)return;const l=this.plugin.mergedCellsCollection.isFirstRenderableMergedCell(e,t);if(!l)return;const u=this.plugin.mergedCellsCollection.get(e,t);if(!u)return;const c=u.getLastRow(),d=u.getLastColumn(),h=i<=u.row&&a<=u.col&&o>=c&&s>=d;return h?`${this.fullySelectedMergedCellClassName}-${n}`:this.isMergeCellFullySelected(u,this.plugin.hot.getSelectedRange())?this.fullySelectedMergedCellClassName+"-multiple":void 0}isMergeCellFullySelected(e,t){const r=[];if(!t||!e)return!1;for(let n=0;n<e.rowspan;n+=1)for(let t=0;t<e.colspan;t+=1)r.push(this.hot._createCellCoords(e.row+n,e.col+t));for(let n=0;n<r.length;n+=1){const e=[];for(let i=0;i<t.length;i+=1)e[i]=t[i].includes(r[n]);if(!e.includes(!0))return!1}return!0}getSelectedMergedCellClassNameToRemove(){const e=[];for(let t=0;t<=7;t+=1)e.push(`${this.fullySelectedMergedCellClassName}-${t}`);return e.push(this.fullySelectedMergedCellClassName+"-multiple"),e}}var lS=sS;function uS(e){return{key:"mergeCells",name(){const t=this.getSelectedLast();if(t){const r=e.mergedCellsCollection.get(t[0],t[1]);if(r.row===t[0]&&r.col===t[1]&&r.row+r.rowspan-1===t[2]&&r.col+r.colspan-1===t[3])return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_UNMERGE_CELLS"])}return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_MERGE_CELLS"])},callback(){const t=this.getSelectedRangeLast();if(!t)return;t.setDirection(this.isRtl()?"NE-SW":"NW-SE");const{from:r,to:n}=t;e.toggleMerge(t),this.selectCell(r.row,r.col,n.row,n.col,!1)},disabled(){const e=this.getSelectedLast();if(!e)return!0;const t=U_.isSingleCell({row:e[0],col:e[1],rowspan:e[2]-e[0]+1,colspan:e[3]-e[1]+1});return t||this.selection.isSelectedByCorner()},hidden:!1}}function cS(e,t,r){return t=dS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dS(e){var t=hS(e,"string");return"symbol"==typeof t?t:t+""}function hS(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class pS{constructor(e){cS(this,"data",void 0),cS(this,"next",null),cS(this,"prev",null),this.data=e}}class fS{constructor(){cS(this,"first",null),cS(this,"last",null)}push(e){const t=new pS(e);if(null===this.first)this.first=t,this.last=t;else{const e=this.last;this.last=t,t.prev=e,e.next=t}return t}unshift(e){const t=new pS(e);if(null===this.first)this.first=t,this.last=t;else{const e=this.first;this.first=t,t.next=e,e.prev=t}}inorder(e){let t=this.first;while(t){const r=e(t);if(t===this.last||!0===r)break;t=t.next}}remove(e){if(null===this.first)return!1;let t,r,n=this.first;while(n){if(n.data===e)return t=n.next,r=n.prev,t&&(t.prev=r),r&&(r.next=t),n===this.first&&(this.first=t),n===this.last&&(this.last=r),!0;n=n.next}return!1}hasCycle(){let e=this.first,t=this.first;while(1){if(null===e)return!1;if(e=e.next,null===e)return!1;if(e=e.next,t=t.next,e===t)return!0}}pop(){if(null===this.last)return null;const e=this.last;return this.last=this.last.prev,e}shift(){if(null===this.first)return null;const e=this.first;return this.first=this.first.next,e}recursiveReverse(){function e(t,r){r&&(e(r,r.next),r.next=t)}if(!this.first)return;e(this.first,this.first.next),this.first.next=null;const t=this.first;this.first=this.last,this.last=t}reverse(){if(!this.first||!this.first.next)return;let e,t=this.first.next,r=this.first;while(t)e=t.next,t.next=r,r.prev=t,r=t,t=e;this.first.next=null,this.last.prev=null,e=this.first,this.first=r,this.last=e}}var mS=fS;function gS(e,t){bS(e,t),t.add(e)}function vS(e,t,r){bS(e,t),t.set(e,r)}function bS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function yS(e,t){return e.get(_S(e,t))}function wS(e,t,r){return e.set(_S(e,t),r),r}function _S(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var SS=new WeakMap,ES=new WeakMap,MS=new WeakMap,TS=new WeakMap,CS=new WeakMap,xS=new WeakMap,AS=new WeakMap,NS=new WeakSet;class OS{constructor(e){let{mergedCellsGetter:t,rowIndexMapper:r,columnIndexMapper:n}=e;gS(this,NS),vS(this,SS,new mS),vS(this,ES,new mS),vS(this,MS,null),vS(this,TS,null),vS(this,CS,null),vS(this,xS,null),vS(this,AS,null),wS(CS,this,t),wS(xS,this,r),wS(AS,this,n)}getCurrentVerticalNode(){return yS(TS,this).data}getFirstVerticalNode(){return yS(ES,this).first.data}getNextVerticalNode(){return yS(TS,this).next.data}getPrevVerticalNode(){return yS(TS,this).prev.data}getCurrentHorizontalNode(){return yS(MS,this).data}getFirstHorizontalNode(){return yS(SS,this).first.data}getNextHorizontalNode(){return yS(MS,this).next.data}getPrevHorizontalNode(){return yS(MS,this).prev.data}setPrevNodeAsActive(){wS(TS,this,yS(TS,this).prev),wS(MS,this,yS(MS,this).prev)}setNextNodeAsActive(){wS(TS,this,yS(TS,this).next),wS(MS,this,yS(MS,this).next)}buildFocusOrder(e){const t=e.getTopStartCorner(),r=e.getBottomEndCorner(),n=new WeakSet;wS(SS,this,new mS);for(let a=t.row;a<=r.row;a++)if(!yS(xS,this).isHidden(a))for(let i=t.col;i<=r.col;i++){if(yS(AS,this).isHidden(i))continue;const t=_S(NS,this,RS).call(this,e,yS(SS,this),n,a,i);t&&wS(MS,this,t)}yS(SS,this).first&&(yS(SS,this).first.prev=yS(SS,this).last,yS(SS,this).last.next=yS(SS,this).first);const i=new WeakSet;wS(ES,this,new mS);for(let a=t.col;a<=r.col;a++)if(!yS(AS,this).isHidden(a))for(let n=t.row;n<=r.row;n++){if(yS(xS,this).isHidden(n))continue;const t=_S(NS,this,RS).call(this,e,yS(ES,this),i,n,a);t&&wS(TS,this,t)}yS(ES,this).first&&(yS(ES,this).first.prev=yS(ES,this).last,yS(ES,this).last.next=yS(ES,this).first)}setActiveNode(e,t){return yS(SS,this).inorder(r=>{const{rowStart:n,rowEnd:i,colStart:a,colEnd:o}=r.data;if(e>=n&&e<=i&&t>=a&&t<=o)return wS(MS,this,r),!1}),yS(ES,this).inorder(r=>{const{rowStart:n,rowEnd:i,colStart:a,colEnd:o}=r.data;if(e>=n&&e<=i&&t>=a&&t<=o)return wS(TS,this,r),!1}),this}}function RS(e,t,r,n,i){const a=e.getTopStartCorner(),o=e.getBottomEndCorner(),s=e.highlight.clone().normalize(),l=yS(CS,this).call(this,n,i);if(l&&r.has(l))return null;const u={colStart:i,colEnd:i,rowStart:n,rowEnd:n};if(l){if(r.add(l),l.row<a.row||l.row+l.rowspan-1>o.row||l.col<a.col||l.col+l.colspan-1>o.col)return null;u.colStart=l.col,u.colEnd=l.col+l.colspan-1,u.rowStart=l.row,u.rowEnd=l.row+l.rowspan-1}const c=t.push(u);return n===s.row&&i===s.col||l&&s.row>=l.row&&s.row<=l.row+l.rowspan-1&&s.col>=l.col&&s.col<=l.col+l.colspan-1?c:null}function LS(e,t){IS(e,t),t.add(e)}function kS(e,t,r){IS(e,t),t.set(e,r)}function IS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function DS(e,t,r){return t=PS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PS(e){var t=jS(e,"string");return"symbol"==typeof t?t:t+""}function jS(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function FS(e,t,r){return e.set(BS(e,t),r),r}function HS(e,t){return e.get(BS(e,t))}function BS(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("beforeMergeCells"),fe["a"].getSingleton().register("afterMergeCells"),fe["a"].getSingleton().register("beforeUnmergeCells"),fe["a"].getSingleton().register("afterUnmergeCells");const US="mergeCells",VS=150,YS=US;var zS=new WeakMap,WS=new WeakMap,qS=new WeakMap,GS=new WeakSet;class KS extends er["a"]{constructor(){super(...arguments),LS(this,GS),DS(this,"mergedCellsCollection",null),DS(this,"autofillCalculations",null),DS(this,"selectionCalculations",null),kS(this,zS,null),kS(this,WS,{row:0,col:0}),kS(this,qS,new OS({mergedCellsGetter:(e,t)=>this.mergedCellsCollection.get(e,t),rowIndexMapper:this.hot.rowIndexMapper,columnIndexMapper:this.hot.columnIndexMapper}))}static get PLUGIN_KEY(){return US}static get PLUGIN_PRIORITY(){return VS}isEnabled(){return!!this.hot.getSettings()[US]}enablePlugin(){var e=this;this.enabled||(this.mergedCellsCollection=new J_(this),this.autofillCalculations=new nS(this),this.selectionCalculations=new lS(this),this.addHook("afterInit",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,XS).call(e,...r)})),this.addHook("modifyTransformFocus",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,$S).call(e,...r)})),this.addHook("modifyTransformStart",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,JS).call(e,...r)})),this.addHook("modifyTransformEnd",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,QS).call(e,...r)})),this.addHook("beforeSelectionHighlightSet",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,eE).call(e,...r)})),this.addHook("beforeSetRangeStart",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,iE).call(e,...r)})),this.addHook("beforeSetRangeStartOnly",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,iE).call(e,...r)})),this.addHook("beforeSelectionFocusSet",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,aE).call(e,...r)})),this.addHook("afterSelectionFocusSet",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,oE).call(e,...r)})),this.addHook("afterSelectionEnd",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,sE).call(e,...r)})),this.addHook("modifyGetCellCoords",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,tE).call(e,...r)})),this.addHook("afterIsMultipleSelection",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,ZS).call(e,...r)})),this.addHook("afterRenderer",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,nE).call(e,...r)})),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,rE).call(e,...r)})),this.addHook("afterGetCellMeta",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,lE).call(e,...r)})),this.addHook("afterViewportRowCalculatorOverride",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,uE).call(e,...r)})),this.addHook("afterViewportColumnCalculatorOverride",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,cE).call(e,...r)})),this.addHook("modifyAutofillRange",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,dE).call(e,...r)})),this.addHook("afterCreateCol",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,hE).call(e,...r)})),this.addHook("afterRemoveCol",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,pE).call(e,...r)})),this.addHook("afterCreateRow",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,fE).call(e,...r)})),this.addHook("afterRemoveRow",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,mE).call(e,...r)})),this.addHook("afterChange",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,gE).call(e,...r)})),this.addHook("beforeDrawBorders",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,vE).call(e,...r)})),this.addHook("afterDrawSelection",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,bE).call(e,...r)})),this.addHook("beforeRemoveCellClassNames",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,yE).call(e,...r)})),this.addHook("beforeBeginEditing",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return BS(GS,e,wE).call(e,...r)})),this.addHook("beforeUndoStackChange",(e,t)=>{if("MergeCells"===t)return!1}),this.registerShortcuts(),super.enablePlugin())}disablePlugin(){this.clearCollections(),this.unregisterShortcuts(),this.hot.render(),super.disablePlugin()}updatePlugin(){const e=this.hot.getSettings()[US];this.disablePlugin(),this.enablePlugin(),this.generateFromSettings(e),super.updatePlugin()}ifChromeForceRepaint(){if(!Object(m["isChrome"])())return;const e=[];let t=[];this.mergedCellsCollection.mergedCells.forEach(e=>{const{row:r,rowspan:n}=e;for(let i=r+1;i<r+n;i++)t.push(i)}),t=[...new Set(t)],t.forEach(t=>{const r=this.hot.rowIndexMapper.getRenderableFromVisualIndex(t);this.hot.view._wt.wtOverlays.getOverlays(!0).map(e=>"master"===(null===e||void 0===e?void 0:e.name)?e:e.clone.wtTable).forEach(t=>{const n=t.getRow(r);n&&(n.style.background=Object(i["getStyle"])(n,"backgroundColor").replace(")",", 0.99)"),e.push(n))})}),this.hot._registerTimeout(()=>{e.forEach(e=>{e.style.background=Object(i["getStyle"])(e,"backgroundColor").replace(", 0.99)",")")})},1)}validateSetting(e){let t=!0;return!!e&&(U_.containsNegativeValues(e)?(Object(Fn["b"])(U_.NEGATIVE_VALUES_WARNING(e)),t=!1):U_.isOutOfBounds(e,this.hot.countRows(),this.hot.countCols())?(Object(Fn["b"])(U_.IS_OUT_OF_BOUNDS_WARNING(e)),t=!1):U_.isSingleCell(e)?(Object(Fn["b"])(U_.IS_SINGLE_CELL(e)),t=!1):U_.containsZeroSpan(e)&&(Object(Fn["b"])(U_.ZERO_SPAN_WARNING(e)),t=!1),t)}generateFromSettings(e){if(Array.isArray(e)){const t=[];if(Object(d["arrayEach"])(e,e=>{if(!this.validateSetting(e))return;const r=this.hot._createCellCoords(e.row,e.col),n=this.hot._createCellCoords(e.row+e.rowspan-1,e.col+e.colspan-1),i=this.hot._createCellRange(r,r,n);this.mergeRange(i,!0,!0),Object(nt["rangeEach"])(e.row,e.row+e.rowspan-1,r=>{Object(nt["rangeEach"])(e.col,e.col+e.colspan-1,n=>{!1===(r===e.row&&n===e.col)&&t.push([r,n,null])})})}),0===t.length)return;this.hot.setDataAtCell(t,void 0,void 0,this.pluginName)}}clearCollections(){this.mergedCellsCollection.clear()}canMergeRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!!t||this.validateSetting(e)}mergeSelection(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hot.getSelectedRangeLast();if(!e)return;e.setDirection(this.hot.isRtl()?"NE-SW":"NW-SE");const{from:t,to:r}=e;this.unmergeRange(e,!0),this.mergeRange(e),this.hot.selectCell(t.row,t.col,r.row,r.col,!1)}unmergeSelection(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hot.getSelectedRangeLast();if(!e)return;const{from:t,to:r}=e;this.unmergeRange(e,!0),this.hot.selectCell(t.row,t.col,r.row,r.col,!1)}mergeRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=e.getTopStartCorner(),i=e.getBottomEndCorner(),a={row:n.row,col:n.col,rowspan:i.row-n.row+1,colspan:i.col-n.col+1},o=[];let s=null;if(!this.canMergeRange(a,t))return!1;this.hot.runHooks("beforeMergeCells",e,t),Object(nt["rangeEach"])(0,a.rowspan-1,e=>{Object(nt["rangeEach"])(0,a.colspan-1,t=>{let r=null;o[e]||(o[e]=[]),0===e&&0===t?r=this.hot.getSourceDataAtCell(this.hot.toPhysicalRow(a.row),this.hot.toPhysicalColumn(a.col)):this.hot.setCellMeta(a.row+e,a.col+t,"hidden",!0),o[e][t]=r})}),this.hot.setCellMeta(a.row,a.col,"spanned",!0);const l=this.mergedCellsCollection.add(a);return!l||(r?s=[a.row,a.col,o]:this.hot.populateFromArray(a.row,a.col,o,void 0,void 0,this.pluginName),t||this.ifChromeForceRepaint(),this.hot.runHooks("afterMergeCells",e,a,t),s)}unmergeRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=this.mergedCellsCollection.getWithinRange(e);r&&(this.hot.runHooks("beforeUnmergeCells",e,t),Object(d["arrayEach"])(r,e=>{this.mergedCellsCollection.remove(e.row,e.col),Object(nt["rangeEach"])(0,e.rowspan-1,t=>{Object(nt["rangeEach"])(0,e.colspan-1,r=>{this.hot.removeCellMeta(e.row+t,e.col+r,"hidden"),this.hot.removeCellMeta(e.row+t,e.col+r,"copyable")})}),this.hot.removeCellMeta(e.row,e.col,"spanned")}),this.hot.runHooks("afterUnmergeCells",e,t),this.hot.render())}toggleMerge(e){const t=this.mergedCellsCollection.get(e.from.row,e.from.col),r=t.row===e.from.row&&t.col===e.from.col&&t.row+t.rowspan-1===e.to.row&&t.col+t.colspan-1===e.to.col;r?this.unmergeRange(e):this.mergeSelection(e)}merge(e,t,r,n){const i=this.hot._createCellCoords(e,t),a=this.hot._createCellCoords(r,n);this.mergeRange(this.hot._createCellRange(i,i,a))}unmerge(e,t,r,n){const i=this.hot._createCellCoords(e,t),a=this.hot._createCellCoords(r,n);this.unmergeRange(this.hot._createCellRange(i,i,a))}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("grid");t.addShortcut({keys:[["Control","m"]],callback:()=>{const e=this.hot.getSelectedRangeLast();e&&!e.isSingleHeader()&&(this.toggleMerge(e),this.hot.render())},runOnlyIf:e=>!e.altKey,group:YS})}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("grid");t.removeShortcutsByGroup(YS)}modifyViewportRowStart(e,t){const r=this.hot.rowIndexMapper,n=r.getVisualFromRenderableIndex(e.startRow);for(let i=0;i<t;i+=1){const a=this.mergedCellsCollection.get(n,i);if(Object(o["isObject"])(a)){const n=r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(a.row,1));if(n<e.startRow)return e.startRow=n,void this.modifyViewportRowStart(e,t)}}}modifyViewportRowEnd(e,t){const r=this.hot.rowIndexMapper,n=r.getVisualFromRenderableIndex(e.endRow);for(let i=0;i<t;i+=1){const a=this.mergedCellsCollection.get(n,i);if(Object(o["isObject"])(a)){const n=a.row+a.rowspan-1,i=r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(n,-1));if(i>e.endRow)return e.endRow=i,void this.modifyViewportRowEnd(e,t)}}}modifyViewportColumnStart(e,t){const r=this.hot.columnIndexMapper,n=r.getVisualFromRenderableIndex(e.startColumn);for(let i=0;i<t;i+=1){const a=this.mergedCellsCollection.get(i,n);if(Object(o["isObject"])(a)){const n=r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(a.col,1));if(n<e.startColumn)return e.startColumn=n,void this.modifyViewportColumnStart(e,t)}}}modifyViewportColumnEnd(e,t){const r=this.hot.columnIndexMapper,n=r.getVisualFromRenderableIndex(e.endColumn);for(let i=0;i<t;i+=1){const a=this.mergedCellsCollection.get(i,n);if(Object(o["isObject"])(a)){const n=a.col+a.colspan-1,i=r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(n,-1));if(i>e.endColumn)return e.endColumn=i,void this.modifyViewportColumnEnd(e,t)}}}translateMergedCellToRenderable(e,t,r,n){const{rowIndexMapper:i,columnIndexMapper:a}=this.hot;let o,s;o=0===t?i.getNearestNotHiddenIndex(e,1):i.getNearestNotHiddenIndex(e+t-1,-1),s=0===n?a.getNearestNotHiddenIndex(r,1):a.getNearestNotHiddenIndex(r+n-1,-1);const l=e>=0?i.getRenderableFromVisualIndex(o):e,u=r>=0?a.getRenderableFromVisualIndex(s):r;return[l,u]}}function XS(){this.generateFromSettings(this.hot.getSettings()[US]),this.hot.render()}function ZS(e){if(e){const e=this.mergedCellsCollection.mergedCells,t=this.hot.getSelectedRangeLast(),r=t.getTopStartCorner(),n=t.getBottomEndCorner();for(let i=0;i<e.length;i+=1)if(r.row===e[i].row&&r.col===e[i].col&&n.row===e[i].row+e[i].rowspan-1&&n.col===e[i].col+e[i].colspan-1)return!1}return e}function $S(e){HS(WS,this).row=e.row,HS(WS,this).col=e.col}function JS(e){const t=this.hot.getSelectedRangeLast(),{highlight:r}=t,{columnIndexMapper:n,rowIndexMapper:i}=this.hot;HS(zS,this)&&(null!==i.getRenderableFromVisualIndex(HS(zS,this).row)&&(r.row=HS(zS,this).row),null!==n.getRenderableFromVisualIndex(HS(zS,this).col)&&(r.col=HS(zS,this).col),FS(zS,this,null));const a=this.mergedCellsCollection.get(r.row,r.col);if(!a)return;const o=a.col,s=a.col+a.colspan-1;if(e.col<0){const t=r.col>=o&&r.col<=s?o-1:s,i=n.getNearestNotHiddenIndex(t,-1);e.col=null===i?-this.hot.view.countRenderableColumnsInRange(0,r.col):-Math.max(this.hot.view.countRenderableColumnsInRange(i,r.col)-1,1)}else if(e.col>0){const t=r.col>=o&&r.col<=s?s+1:o,i=n.getNearestNotHiddenIndex(t,1);e.col=null===i?this.hot.view.countRenderableColumnsInRange(r.col,this.hot.countCols()):Math.max(this.hot.view.countRenderableColumnsInRange(r.col,i)-1,1)}const l=a.row,u=a.row+a.rowspan-1;if(e.row<0){const t=r.row>=l&&r.row<=u?l-1:u,n=i.getNearestNotHiddenIndex(t,-1);e.row=null===n?-this.hot.view.countRenderableRowsInRange(0,r.row):-Math.max(this.hot.view.countRenderableRowsInRange(n,r.row)-1,1)}else if(e.row>0){const t=r.row>=l&&r.row<=u?u+1:l,n=i.getNearestNotHiddenIndex(t,1);e.row=null===n?this.hot.view.countRenderableRowsInRange(r.row,this.hot.countRows()):Math.max(this.hot.view.countRenderableRowsInRange(r.row,n)-1,1)}}function QS(e){const t=this.hot.getSelectedRangeLast(),r=t.clone(),{to:n}=t,{columnIndexMapper:i,rowIndexMapper:a}=this.hot,o=(e,t)=>{r.expand(this.hot._createCellCoords(e,t));for(let n=0;n<this.mergedCellsCollection.mergedCells.length;n+=1)r.expandByRange(this.mergedCellsCollection.mergedCells[n].getRange())};if(e.col<0){let a=this.mergedCellsCollection.getStartMostColumnIndex(t,n.col)+e.col;o(n.row,a),"E-W"===t.getHorizontalDirection()&&"E-W"===r.getHorizontalDirection()&&(a=r.getTopStartCorner().col);const s=i.getNearestNotHiddenIndex(a,1);null!==s&&(e.col=-Math.max(this.hot.view.countRenderableColumnsInRange(s,n.col)-1,1))}else if(e.col>0){let a=this.mergedCellsCollection.getEndMostColumnIndex(t,n.col)+e.col;o(n.row,a),"W-E"===t.getHorizontalDirection()&&"W-E"===r.getHorizontalDirection()&&(a=r.getBottomEndCorner().col);const s=i.getNearestNotHiddenIndex(a,-1);null!==s&&(e.col=Math.max(this.hot.view.countRenderableColumnsInRange(n.col,s)-1,1))}if(e.row<0){let i=this.mergedCellsCollection.getTopMostRowIndex(t,n.row)+e.row;o(i,n.col),"S-N"===t.getVerticalDirection()&&"S-N"===r.getVerticalDirection()&&(i=r.getTopStartCorner().row);const s=a.getNearestNotHiddenIndex(i,1);null!==s&&(e.row=-Math.max(this.hot.view.countRenderableRowsInRange(s,n.row)-1,1))}else if(e.row>0){let i=this.mergedCellsCollection.getBottomMostRowIndex(t,n.row)+e.row;o(i,n.col),"N-S"===t.getVerticalDirection()&&"N-S"===r.getVerticalDirection()&&(i=r.getBottomStartCorner().row);const s=a.getNearestNotHiddenIndex(i,-1);null!==s&&(e.row=Math.max(this.hot.view.countRenderableRowsInRange(n.row,s)-1,1))}}function eE(){const e=this.hot.getSelectedRangeLast(),{highlight:t}=e;if(this.hot.selection.isSelectedByColumnHeader()||this.hot.selection.isSelectedByRowHeader())return void FS(zS,this,t.clone());for(let n=0;n<this.mergedCellsCollection.mergedCells.length;n+=1)e.expandByRange(this.mergedCellsCollection.mergedCells[n].getRange(),!1);for(let n=0;n<this.mergedCellsCollection.mergedCells.length;n+=1)e.expandByRange(this.mergedCellsCollection.mergedCells[n].getRange(),!1);const r=this.mergedCellsCollection.get(t.row,t.col);FS(zS,this,t.clone()),r&&t.assign(r)}function tE(e,t){if(e<0||t<0)return;const r=this.mergedCellsCollection.get(e,t);if(!r)return;const{row:n,col:i,colspan:a,rowspan:o}=r;return[n,i,n+o-1,i+a-1]}function rE(e){e.items.push({name:"---------"},uS(this))}function nE(e,t,r){const n=this.mergedCellsCollection.get(t,r),i=Object(o["isObject"])(n)?Object(o["clone"])(n):void 0;if(Object(o["isObject"])(i)){const{rowIndexMapper:e,columnIndexMapper:n}=this.hot,{row:a,col:o,colspan:s,rowspan:l}=i,[u,c]=this.translateMergedCellToRenderable(a,l,o,s),d=e.getRenderableFromVisualIndex(t),h=n.getRenderableFromVisualIndex(r),p=u-d+1,f=c-h+1;i.row=e.getNearestNotHiddenIndex(i.row,1),i.col=n.getNearestNotHiddenIndex(i.col,1),i.rowspan=Math.min(i.rowspan,p),i.colspan=Math.min(i.colspan,f)}V_(e,i,t,r)}function iE(){FS(zS,this,null)}function aE(){if(HS(zS,this).isCell())return;const e=this.hot.getSelectedRangeLast(),t=e.getVerticalDirection(),r=e.getHorizontalDirection(),n=HS(zS,this).clone().normalize();HS(qS,this).setActiveNode(n.row,n.col),HS(WS,this).row>0||HS(WS,this).col>0?HS(qS,this).setPrevNodeAsActive():("E-W"===r&&HS(WS,this).col<0||"S-N"===t&&HS(WS,this).row<0)&&HS(qS,this).setNextNodeAsActive()}function oE(e,t){const r=this.hot.getSelectedRangeLast(),{columnIndexMapper:n,rowIndexMapper:i}=this.hot;let a=null,o=null;if(HS(WS,this).col<0){const{rowEnd:e,colEnd:t}=HS(qS,this).getPrevHorizontalNode();o=n.getNearestNotHiddenIndex(t,-1),a=i.getNearestNotHiddenIndex(e,-1)}else if(HS(WS,this).col>0){const{rowStart:e,colStart:t}=HS(qS,this).getNextHorizontalNode();o=n.getNearestNotHiddenIndex(t,1),a=i.getNearestNotHiddenIndex(e,1)}else if(HS(WS,this).row<0){const{rowEnd:e,colEnd:t}=HS(qS,this).getPrevVerticalNode();o=n.getNearestNotHiddenIndex(t,-1),a=i.getNearestNotHiddenIndex(e,-1)}else if(HS(WS,this).row>0){const{rowStart:e,colStart:t}=HS(qS,this).getNextVerticalNode();o=n.getNearestNotHiddenIndex(t,1),a=i.getNearestNotHiddenIndex(e,1)}if(null!==a||null!==o){const n=this.hot._createCellCoords(a,o),i=this.mergedCellsCollection.get(n.row,n.col),s=this.hot.selection.highlight.getFocus();e=n.row,t=n.col,i?r.highlight.assign({row:this.hot.rowIndexMapper.getNearestNotHiddenIndex(i.row,1),col:this.hot.columnIndexMapper.getNearestNotHiddenIndex(i.col,1)}):r.highlight.assign(n),s.clear(),s.add(n).commit()}HS(qS,this).setActiveNode(e,t),FS(WS,this,{row:0,col:0})}function sE(){const e=this.hot.getSelectedRangeLast();e.isHeader()||HS(qS,this).buildFocusOrder(this.hot.getSelectedRangeLast())}function lE(e,t,r){const n=this.mergedCellsCollection.get(e,t);n&&(n.row!==e||n.col!==t?r.copyable=!1:(r.rowspan=n.rowspan,r.colspan=n.colspan))}function uE(e){const t=this.hot.countCols();this.modifyViewportRowStart(e,t),this.modifyViewportRowEnd(e,t)}function cE(e){const t=this.hot.countRows();this.modifyViewportColumnStart(e,t),this.modifyViewportColumnEnd(e,t)}function dE(e,t){this.autofillCalculations.correctSelectionAreaSize(t);const r=this.autofillCalculations.getDirection(t,e);let n=e;if(this.autofillCalculations.dragAreaOverlapsCollections(t,n,r))return n=t,n;const i=this.mergedCellsCollection.getWithinRange({from:{row:t[0],col:t[1]},to:{row:t[2],col:t[3]}});return i?(n=this.autofillCalculations.snapDragArea(t,n,r,i),n):n}function hE(e,t){this.mergedCellsCollection.shiftCollections("right",e,t)}function pE(e,t){this.mergedCellsCollection.shiftCollections("left",e,t)}function fE(e,t,r){"auto"!==r&&this.mergedCellsCollection.shiftCollections("down",e,t)}function mE(e,t){this.mergedCellsCollection.shiftCollections("up",e,t)}function gE(e,t){"Autofill.fill"===t&&this.autofillCalculations.recreateAfterDataPopulation(e)}function vE(e,t){if(t&&"area"===t){const t=this.hot.getSelectedRangeLast(),r=this.mergedCellsCollection.getWithinRange(t);Object(d["arrayEach"])(r,r=>{t.getBottomEndCorner().row===r.getLastRow()&&t.getBottomEndCorner().col===r.getLastColumn()&&(e[2]=r.row,e[3]=r.col)})}}function bE(e,t,r,n){if(r)return this.selectionCalculations.getSelectedMergedCellClassName(e,t,r,n)}function yE(){return this.selectionCalculations.getSelectedMergedCellClassNameToRemove()}function wE(e,t,r,n){if(!(n instanceof MouseEvent))return;const i=this.hot.getSelectedRangeLast(),a=this.mergedCellsCollection.getByRange(i);if(!a)return;const o=this.hot._createCellCoords(a.row,a.col),s=this.hot._createCellCoords(a.row+a.rowspan-1,a.col+a.colspan-1);return 0===this.hot.selection.getLayerLevel()&&i.isEqual(this.hot._createCellRange(o,o,s))}function _E(e,t){return function(r,n){const[,...i]=r,[,...a]=n;return function r(n){const o=e[n],s=t[n],l=i[n],u=a[n],c=s.multiColumnSorting,d=c.compareFunctionFactory?c.compareFunctionFactory:Qi(s.type),h=d(o,s,c)(l,u);if(h===Di){const e=n+1;if("undefined"!==typeof t[e])return r(e)}return h}(0)}}function SE(){Object(Fn["b"])(Ea["a"]`Plugins \`columnSorting\` and \`multiColumnSorting\` should not be enabled simultaneously.
- Only \`multiColumnSorting\` will work.`)}const EE="sort";function ME(e,t,r){const n=[];return!1===r||e.isColumnSorted(t)&&e.getNumberOfSortedColumns()>1&&n.push(`${EE}-${e.getIndexOfColumnInSortQueue(t)+1}`),n}function TE(e){const t=e.className.split(" "),r=new RegExp(`^${EE}-[0-9]{1,2}$`);return t.filter(e=>r.test(e))}function CE(e,t,r){return t=xE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xE(e){var t=AE(e,"string");return"symbol"==typeof t?t:t+""}function AE(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const NE="multiColumnSorting",OE=170,RE="columnSorting",LE=NE;$i(NE,_E);class kE extends pa{constructor(){super(...arguments),CE(this,"pluginKey",NE)}static get PLUGIN_KEY(){return NE}static get PLUGIN_PRIORITY(){return OE}isEnabled(){return super.isEnabled()}enablePlugin(){!this.enabled&&this.hot.getSettings()[this.pluginKey]&&this.hot.getSettings()[RE]&&SE(),super.enablePlugin()}disablePlugin(){super.disablePlugin()}registerShortcuts(){super.registerShortcuts(),this.hot.getShortcutManager().getContext("grid").addShortcut({keys:[["Shift","Enter"]],callback:()=>{const{highlight:e}=this.hot.getSelectedRangeLast();return-1===e.row&&e.col>=0&&this.sort(this.getNextSortConfig(e.col,ua)),!1},runOnlyIf:()=>{var e,t;const r=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return r&&(null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.isSingle())&&this.hot.selection.isCellVisible(r)&&r.isHeader()},relativeToGroup:je["a"],position:"before",group:LE})}unregisterShortcuts(){super.unregisterShortcuts(),this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(LE)}sort(e){super.sort(e)}clearSort(){super.clearSort()}isSorted(){return super.isSorted()}getSortConfig(e){return super.getSortConfig(e)}setSortConfig(e){super.setSortConfig(e)}getNormalizedSortConfigs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:[e]}updateHeaderClasses(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];super.updateHeaderClasses(e,...r),Object(i["removeClass"])(e,TE(e)),!1!==this.enabled&&Object(i["addClass"])(e,ME(...r))}onUpdateSettings(e){this.hot.getSettings()[this.pluginKey]&&this.hot.getSettings()[RE]&&SE(),super.onUpdateSettings(e)}onAfterOnCellMouseDown(e,t){!1!==Ci(t.row,t.col,e)&&this.wasClickableHeaderClicked(e,t.col)&&(this.hot.getShortcutManager().isCtrlPressed()?(this.hot.deselectCell(),this.hot.selectColumns(t.col),this.sort(this.getNextSortConfig(t.col,ua))):this.sort(this.getColumnNextConfig(t.col)))}}function IE(e,t,r){return t=DE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DE(e){var t=PE(e,"string");return"symbol"==typeof t?t:t+""}function PE(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const jE="multipleSelectionHandles",FE=160;class HE extends er["a"]{constructor(){super(...arguments),IE(this,"dragged",[]),IE(this,"lastSetCell",null)}static get PLUGIN_KEY(){return jE}static get PLUGIN_PRIORITY(){return FE}isEnabled(){return Object(m["isMobileBrowser"])()}enablePlugin(){this.enabled||(this.registerListeners(),super.enablePlugin())}registerListeners(){const e=this,{rootElement:t}=this.hot;function r(t){if(1===e.dragged.length)return e.dragged.splice(0,e.dragged.length),!0;const r=e.dragged.indexOf(t);if(-1===r)return!1;0===r?e.dragged=e.dragged.slice(0,1):1===r&&(e.dragged=e.dragged.slice(-1))}this.eventManager.addEventListener(t,"touchstart",t=>{let r;return Object(i["hasClass"])(t.target,"topSelectionHandle-HitArea")?(r=e.hot.getSelectedRangeLast(),e.dragged.push("top"),e.touchStartRange={width:r.getWidth(),height:r.getHeight(),direction:r.getDirection()},t.preventDefault(),!1):Object(i["hasClass"])(t.target,"bottomSelectionHandle-HitArea")?(r=e.hot.getSelectedRangeLast(),e.dragged.push("bottom"),e.touchStartRange={width:r.getWidth(),height:r.getHeight(),direction:r.getDirection()},t.preventDefault(),!1):void 0}),this.eventManager.addEventListener(t,"touchend",t=>Object(i["hasClass"])(t.target,"topSelectionHandle-HitArea")?(r.call(e,"top"),e.touchStartRange=void 0,t.preventDefault(),!1):Object(i["hasClass"])(t.target,"bottomSelectionHandle-HitArea")?(r.call(e,"bottom"),e.touchStartRange=void 0,t.preventDefault(),!1):void 0),this.eventManager.addEventListener(t,"touchmove",t=>{const{rootDocument:r}=this.hot;let n,i,a,o,s,l;if(0===e.dragged.length)return;const u=r.elementFromPoint(t.touches[0].clientX,t.touches[0].clientY);u&&u!==e.lastSetCell&&("TD"!==u.nodeName&&"TH"!==u.nodeName||(n=e.hot.getCoords(u),-1===n.col&&(n.col=0),i=e.hot.getSelectedRangeLast(),a=i.getWidth(),o=i.getHeight(),s=i.getDirection(),1===a&&1===o&&e.hot.selection.setRangeEnd(n),l=e.getCurrentRangeCoords(i,n,e.touchStartRange.direction,s,e.dragged[0]),null!==l.start&&e.hot.selection.setRangeStart(l.start),e.hot.selection.setRangeEnd(l.end),e.lastSetCell=u),t.preventDefault())})}getCurrentRangeCoords(e,t,r,n,i){const a=e.getTopStartCorner(),o=e.getBottomEndCorner(),s=e.getBottomStartCorner(),l=e.getTopEndCorner();let u={start:null,end:null};switch(r){case"NE-SW":switch(n){case"NE-SW":case"NW-SE":u="top"===i?{start:this.hot._createCellCoords(t.row,e.highlight.col),end:this.hot._createCellCoords(s.row,t.col)}:{start:this.hot._createCellCoords(e.highlight.row,t.col),end:this.hot._createCellCoords(t.row,a.col)};break;case"SE-NW":"bottom"===i&&(u={start:this.hot._createCellCoords(o.row,t.col),end:this.hot._createCellCoords(t.row,a.col)});break;default:break}break;case"NW-SE":switch(n){case"NE-SW":"top"===i?u={start:t,end:s}:u.end=t;break;case"NW-SE":"top"===i?u={start:t,end:o}:u.end=t;break;case"SE-NW":"top"===i?u={start:t,end:a}:u.end=t;break;case"SW-NE":"top"===i?u={start:t,end:l}:u.end=t;break;default:break}break;case"SW-NE":switch(n){case"NW-SE":u="bottom"===i?{start:this.hot._createCellCoords(t.row,a.col),end:this.hot._createCellCoords(s.row,t.col)}:{start:this.hot._createCellCoords(a.row,t.col),end:this.hot._createCellCoords(t.row,o.col)};break;case"SW-NE":u="top"===i?{start:this.hot._createCellCoords(e.highlight.row,t.col),end:this.hot._createCellCoords(t.row,o.col)}:{start:this.hot._createCellCoords(t.row,a.col),end:this.hot._createCellCoords(a.row,t.col)};break;case"SE-NW":"bottom"===i?u={start:this.hot._createCellCoords(t.row,l.col),end:this.hot._createCellCoords(a.row,t.col)}:"top"===i&&(u={start:s,end:t});break;default:break}break;case"SE-NW":switch(n){case"NW-SE":case"NE-SW":case"SW-NE":"top"===i&&(u.end=t);break;case"SE-NW":"top"===i?u.end=t:u={start:t,end:a};break;default:break}break;default:break}return u}isDragged(){return this.dragged.length>0}}var BE=r("a309");function UE(){let{label:e="",colspan:t=1,origColspan:r=1,collapsible:n=!1,crossHiddenColumns:i=[],isCollapsed:a=!1,isHidden:o=!1,isRoot:s=!1,isPlaceholder:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{label:e,colspan:t,origColspan:r,collapsible:n,isCollapsed:a,crossHiddenColumns:i,isHidden:o,isRoot:s,isPlaceholder:l}}function VE(){return{label:"",isPlaceholder:!0}}function YE(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;const r=[];if(0===t)return r;Object(d["arrayEach"])(e,e=>{const n=[];let i=0;r.push(n),Object(d["arrayEach"])(e,e=>{const r=UE();if(Object(o["isObject"])(e)){const{label:t,colspan:n}=e;r.label=Object(h["stringify"])(t),"number"===typeof n&&n>1&&(r.colspan=n,r.origColspan=n)}else r.label=Object(h["stringify"])(e);i+=r.origColspan;let a=!1;if(i>=t&&(r.colspan=r.origColspan-(i-t),r.origColspan=r.colspan,a=!0),n.push(r),r.colspan>1)for(let t=0;t<r.colspan-1;t++)n.push(VE());return!a})});const n=Math.max(...Object(d["arrayMap"])(r,e=>e.length));return Object(d["arrayEach"])(r,e=>{if(e.length<n){const t=Object(d["arrayMap"])(new Array(n-e.length),()=>UE());e.splice(e.length,0,...t)}}),r}function zE(e,t,r){WE(e,t),t.set(e,r)}function WE(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function qE(e,t){return e.get(KE(e,t))}function GE(e,t,r){return e.set(KE(e,t),r),r}function KE(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const XE=["label","collapsible"];var ZE=new WeakMap,$E=new WeakMap,JE=new WeakMap;class QE{constructor(){zE(this,ZE,[]),zE(this,$E,0),zE(this,JE,1/0)}setColumnsLimit(e){GE(JE,this,e)}setData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];GE(ZE,this,YE(e,qE(JE,this))),GE($E,this,qE(ZE,this).length)}getData(){return qE(ZE,this)}mergeWith(e){Object(d["arrayEach"])(e,e=>{let{row:t,col:r,...n}=e;const i=this.getHeaderSettings(t,r);null!==i&&Object(o["extend"])(i,n,XE)})}map(e){Object(d["arrayEach"])(qE(ZE,this),t=>{Object(d["arrayEach"])(t,t=>{const r=e({...t});Object(o["isObject"])(r)&&Object(o["extend"])(t,r,XE)})})}getHeaderSettings(e,t){var r;if(e>=qE($E,this)||e<0)return null;const n=qE(ZE,this)[e];return!1===Array.isArray(n)||t>=n.length?null:null!==(r=n[t])&&void 0!==r?r:null}getHeadersSettings(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const n=[];if(e>=qE($E,this)||e<0)return n;const i=qE(ZE,this)[e];let a=0;for(let o=t;o<i.length;o++){const e=i[o];if(e.isPlaceholder)throw new Error("The first column settings cannot overlap the other header layers");if(a+=e.colspan,n.push(e),e.colspan>1&&(o+=e.colspan-1),a===r)break;if(a>r)throw new Error("The last column settings cannot overlap the other header layers")}return n}getLayersCount(){return qE($E,this)}getColumnsCount(){return qE($E,this)>0?qE(ZE,this)[0].length:0}clear(){GE(ZE,this,[]),GE($E,this,0)}}function eM(e,t,r){return t=tM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tM(e){var t=rM(e,"string");return"symbol"==typeof t?t:t+""}function rM(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const nM="DF-pre-order";function iM(e,t){let r=e.call(t,this);for(let n=0;n<this.childs.length;n++){if(!1===r)return!1;r=iM.call(this.childs[n],e,t)}return r}const aM="DF-post-order";function oM(e,t){for(let r=0;r<this.childs.length;r++){const n=oM.call(this.childs[r],e,t);if(!1===n)return!1}return e.call(t,this)}const sM="BF";function lM(e,t){const r=[this];function n(){if(0===r.length)return;const i=r.shift();r.push(...i.childs),!1!==e.call(t,i)&&n()}n()}const uM=sM,cM=new Map([[nM,iM],[aM,oM],[sM,lM]]);class dM{constructor(e){eM(this,"data",{}),eM(this,"parent",null),eM(this,"childs",[]),this.data=e}addChild(e){e.parent=this,this.childs.push(e)}cloneTree(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this;const t=new dM({...e.data});for(let r=0;r<e.childs.length;r++)t.addChild(this.cloneTree(e.childs[r]));return t}replaceTreeWith(e){this.data={...e.data},this.childs=[];for(let t=0;t<e.childs.length;t++)this.addChild(e.childs[t])}walkDown(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:uM;if(!cM.has(t))throw new Error(`Traversal strategy "${t}" does not exist`);cM.get(t).call(this,e,this)}walkUp(e){const t=this,r=n=>{const i=e.call(t,n);!1!==i&&null!==n.parent&&r(n.parent)};r(this)}}function hM(e,t,r){pM(e,t),t.set(e,r)}function pM(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fM(e,t){return e.get(gM(e,t))}function mM(e,t,r){return e.set(gM(e,t),r),r}function gM(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var vM=new WeakMap,bM=new WeakMap,yM=new WeakMap;class wM{constructor(e){hM(this,vM,new Map),hM(this,bM,new Map),hM(this,yM,null),mM(yM,this,e)}getRoots(){return Array.from(fM(vM,this).values())}getRootByColumn(e){let t;return fM(bM,this).has(e)&&(t=fM(vM,this).get(fM(bM,this).get(e))),t}getNode(e,t){const r=this.getRootByColumn(t);if(!r)return;const n=t-fM(bM,this).get(t);let i,a=0;return r.walkDown(r=>{const{data:{origColspan:o,headerLevel:s}}=r;if(e===s){if(n>=a&&n<=a+o-1)return i=r,i.data.isRoot=t===i.data.columnIndex,!1;a+=o}}),i}rebuildTreeIndex(){let e=0;fM(bM,this).clear(),Object(d["arrayEach"])(fM(vM,this),t=>{let[,{data:{colspan:r}}]=t;for(let n=e;n<e+r;n++)fM(bM,this).set(n,e);e+=r})}buildTree(){this.clear();const e=fM(yM,this).getColumnsCount();let t=0;while(t<e){const e=fM(yM,this).getHeaderSettings(0,t),r=new dM;fM(vM,this).set(t,r),this.buildLeaves(r,t,0,e.origColspan),t+=e.origColspan}this.rebuildTreeIndex()}buildLeaves(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const i=fM(yM,this).getHeadersSettings(r,t,n);r+=1,Object(d["arrayEach"])(i,n=>{const i={...n,headerLevel:r-1,columnIndex:t};let a;1===r?(e.data=i,a=e):(a=new dM(i),e.addChild(a)),r<fM(yM,this).getLayersCount()&&this.buildLeaves(a,t,r,n.origColspan),t+=n.origColspan})}clear(){fM(vM,this).clear(),fM(bM,this).clear()}}function _M(e,t){e.walkDown(e=>{let{data:r,childs:n}=e;if(!r.isHidden&&(t(r.columnIndex),0===n.length))for(let i=1;i<r.colspan;i++)t(r.columnIndex+i)})}function SM(e,t){let{childs:r}=e;if(0!==r.length)return r[0].data[t]}function EM(e){return SM(e,"origColspan")===e.data.origColspan}function MM(e){const{data:t,childs:r}=e;if(!t.isCollapsed||t.isHidden||t.origColspan<=1)return{rollbackModification:()=>{},affectedColumns:[],colspanCompensation:0};const n=EM(e);if(n)return MM(r[0]);t.isCollapsed=!1;const i=r.slice(1),a=new Set;let o=0;if(i.length>0)Object(d["arrayEach"])(i,e=>{e.replaceTreeWith(e.data.clonedTree),e.data.clonedTree=null;const t=e.data;o+=t.colspan,_M(e,e=>{a.add(e)})});else{const{colspan:e,origColspan:r,columnIndex:n}=t;o=r-e;for(let t=1;t<r;t++)a.add(n+t)}return e.walkUp(e=>{const{data:t}=e;t.colspan+=o,t.colspan>=t.origColspan?(t.colspan=t.origColspan,t.isCollapsed=!1):EM(e)&&(t.isCollapsed=SM(e,"isCollapsed"))}),{rollbackModification:()=>TM(e),affectedColumns:Array.from(a),colspanCompensation:o}}function TM(e){var t;const{data:r,childs:n}=e;if(r.isCollapsed||r.isHidden||r.origColspan<=1)return{rollbackModification:()=>{},affectedColumns:[],colspanCompensation:0};const i=EM(e);if(i)return TM(n[0]);r.isCollapsed=!0;const a=n.slice(1),o=new Set;if(a.length>0)Object(d["arrayEach"])(a,e=>{_M(e,e=>{o.add(e)}),e.data.clonedTree=e.cloneTree(),e.walkDown(e=>{let{data:t}=e;t.isHidden=!0})});else{const{origColspan:e,columnIndex:t}=r;for(let r=1;r<e;r++){const e=t+r;o.add(e)}}const s=r.colspan-(null!==(t=SM(e,"colspan"))&&void 0!==t?t:1);return e.walkUp(e=>{const{data:t}=e;t.colspan-=s,t.colspan<=1?(t.colspan=1,t.isCollapsed=!0):EM(e)&&(t.isCollapsed=SM(e,"isCollapsed"))}),{rollbackModification:()=>MM(e),affectedColumns:Array.from(o),colspanCompensation:s}}function CM(e,t){if(!Number.isInteger(t))throw new Error("The passed gridColumnIndex argument has invalid type.");if(e.childs.length>0)throw new Error(Ea["a"]`The passed node is not the last node on the tree. Only for\x20
- the last node, the hide column modification can be applied.`);const{crossHiddenColumns:r}=e.data;if(r.includes(t))return;let n=!1;e.walkUp(e=>{const{data:{collapsible:t}}=e;if(t)return n=!0,!1}),n||e.walkUp(e=>{const{data:r}=e;r.crossHiddenColumns.push(t),r.colspan>1?r.colspan-=1:r.isHidden=!0})}function xM(e,t){if(!Number.isInteger(t))throw new Error("The passed gridColumnIndex argument has invalid type.");if(e.childs.length>0)throw new Error(Ea["a"]`The passed node is not the last node on the tree. Only for\x20
- the last node, the show column modification can be applied.`);const{crossHiddenColumns:r}=e.data;if(!r.includes(t))return;let n=!1;e.walkUp(e=>{const{data:{collapsible:t}}=e;if(t)return n=!0,!1}),n||e.walkUp(e=>{const{data:r}=e;r.crossHiddenColumns.splice(r.crossHiddenColumns.indexOf(t),1),!r.isHidden&&r.colspan<r.origColspan&&(r.colspan+=1),r.isHidden=!1})}const AM=new Map([["collapse",TM],["expand",MM],["hide-column",CM],["show-column",xM]]);function NM(e,t,r){if(!AM.has(e))throw new Error(`The node modifier action ("${e}") does not exist.`);return AM.get(e)(t,r)}function OM(e){const t=[];return Object(d["arrayEach"])(e,e=>{e.walkDown(e=>{const r=e.data,{origColspan:n,columnIndex:i,headerLevel:a,crossHiddenColumns:o}=r,s=LM(t,a);let l=!1;for(let t=i;t<i+n;t++){const e=o.includes(t);if(e||l)s.push(VE(r));else{const e=RM(r);e.isRoot=!0,s.push(e),l=!0}}})}),t}function RM(e){const{crossHiddenColumns:t,...r}=UE(e);return r}function LM(e,t){let r;return Array.isArray(e[t])?r=e[t]:(r=[],e[t]=r),r}function kM(e,t,r){IM(e,t),t.set(e,r)}function IM(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function DM(e,t,r){return e.set(jM(e,t),r),r}function PM(e,t){return e.get(jM(e,t))}function jM(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var FM=new WeakMap,HM=new WeakMap,BM=new WeakMap;class UM{constructor(){kM(this,FM,new QE),kM(this,HM,new wM(PM(FM,this))),kM(this,BM,[[]])}setState(e){PM(FM,this).setData(e);let t=!1;try{PM(HM,this).buildTree()}catch(r){PM(HM,this).clear(),PM(FM,this).clear(),t=!0}return DM(BM,this,OM(PM(HM,this).getRoots())),t}setColumnsLimit(e){PM(FM,this).setColumnsLimit(e)}mergeStateWith(e){const t=Object(d["arrayMap"])(e,e=>{let{row:t,...r}=e;return{row:t<0?this.rowCoordsToLevel(t):t,...r}});PM(FM,this).mergeWith(t),PM(HM,this).buildTree(),DM(BM,this,OM(PM(HM,this).getRoots()))}mapState(e){PM(FM,this).map(e),PM(HM,this).buildTree(),DM(BM,this,OM(PM(HM,this).getRoots()))}mapNodes(e){return Object(d["arrayReduce"])(PM(HM,this).getRoots(),(t,r)=>(r.walkDown(r=>{const n=e(r.data);void 0!==n&&t.push(n)}),t),[])}triggerNodeModification(e,t,r){t<0&&(t=this.rowCoordsToLevel(t));const n=PM(HM,this).getNode(t,r);let i;return n&&(i=NM(e,n,r),DM(BM,this,OM(PM(HM,this).getRoots()))),i}triggerColumnModification(e,t){return this.triggerNodeModification(e,-1,t)}rowCoordsToLevel(e){if(e>=0)return null;const t=e+Math.max(this.getLayersCount(),1);return t<0?null:t}levelToRowCoords(e){if(e<0)return null;const t=e-Math.max(this.getLayersCount(),1);return t>=0?null:t}getHeaderSettings(e,t){var r,n;return e<0&&(e=this.rowCoordsToLevel(e)),null===e||e>=this.getLayersCount()?null:null!==(r=null===(n=PM(BM,this)[e])||void 0===n?void 0:n[t])&&void 0!==r?r:null}getHeaderTreeNodeData(e,t){const r=this.getHeaderTreeNode(e,t);return r?{...r.data}:null}getHeaderTreeNode(e,t){if(e<0&&(e=this.rowCoordsToLevel(e)),null===e||e>=this.getLayersCount())return null;const r=PM(HM,this).getNode(e,t);return r||null}findTopMostEntireHeaderLevel(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const n=r-e+1;let i=!1,a=null;for(let o=e;o<=r;o++){const t=PM(HM,this).getRootByColumn(o);if(!t)break;i=!0,t.walkDown(t=>{const{columnIndex:i,headerLevel:o,origColspan:s,isHidden:l}=t.data;l||s<=n&&i>=e&&i+s-1<=r&&(null===a||o<a)&&(a=o)},nM)}return i&&null===a?-1:this.levelToRowCoords(null!==(t=a)&&void 0!==t?t:0)}findLeftMostColumnIndex(e,t){var r;const{isRoot:n}=null!==(r=this.getHeaderSettings(e,t))&&void 0!==r?r:{isRoot:!0};if(n)return t;let i=t-1;while(i>=0){var a;const{isRoot:t}=null!==(a=this.getHeaderSettings(e,i))&&void 0!==a?a:{isRoot:!0};if(t)break;i-=1}return i}findRightMostColumnIndex(e,t){var r;const{isRoot:n,origColspan:i}=null!==(r=this.getHeaderSettings(e,t))&&void 0!==r?r:{isRoot:!0,origColspan:1};if(n)return t+i-1;let a=t+1;while(a<this.getColumnsCount()){var o;const{isRoot:t}=null!==(o=this.getHeaderSettings(e,a))&&void 0!==o?o:{isRoot:!0};if(t)break;a+=1}return a-1}getLayersCount(){return PM(FM,this).getLayersCount()}getColumnsCount(){return PM(FM,this).getColumnsCount()}clear(){DM(BM,this,[]),PM(FM,this).clear(),PM(HM,this).clear()}}function VM(e,t,r){return t=YM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YM(e){var t=zM(e,"string");return"symbol"==typeof t?t:t+""}function zM(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class WM{constructor(e,t){VM(this,"hot",void 0),VM(this,"nestedHeaderSettingsGetter",void 0),VM(this,"layersCount",0),VM(this,"container",void 0),VM(this,"widthsMap",void 0),this.hot=e,this.nestedHeaderSettingsGetter=t,this.widthsMap=this.hot.columnIndexMapper.createAndRegisterIndexMap("nestedHeaders.widthsMap","physicalIndexToValue")}setLayersCount(e){return this.layersCount=e,this}getWidth(e){return this.widthsMap.getValueAtIndex(this.hot.toPhysicalColumn(e))}buildWidthsMap(){this.container=this.hot.rootDocument.createElement("div"),this.container.classList.add("handsontable","htGhostTable","htAutoSize"),this._buildGhostTable(this.container),this.hot.rootDocument.body.appendChild(this.container);const e=this.container.querySelectorAll("tr:last-of-type th"),t=e.length;this.widthsMap.clear();for(let r=0;r<t;r++){const t=this.hot.columnIndexMapper.getVisualFromRenderableIndex(r),n=this.hot.toPhysicalColumn(t);this.widthsMap.setValueAtIndex(n,e[r].offsetWidth)}this.container.parentNode.removeChild(this.container),this.container=null}_buildGhostTable(e){const{rootDocument:t,columnIndexMapper:r}=this.hot,n=t.createDocumentFragment(),a=t.createElement("table"),o=!!this.hot.getSettings().dropdownMenu,s=r.getRenderableIndexesLength();for(let l=0;l<this.layersCount;l++){const e=t.createElement("tr");for(let n=0;n<s;n++){let a=r.getVisualFromRenderableIndex(n);null===a&&(a=n);const s=t.createElement("th"),u=this.nestedHeaderSettingsGetter(l,a);if(u&&(!u.isPlaceholder||u.isHidden)){let t=u.label;o&&(t+='<button class="changeType"></button>'),Object(i["fastInnerHTML"])(s,t),s.colSpan=u.colspan,e.appendChild(s)}}a.appendChild(e)}n.appendChild(a),e.appendChild(n)}clear(){this.widthsMap.clear(),this.container=null}}var qM=WM;function GM(e,t){JM(e,t),t.add(e)}function KM(e,t,r){return t=XM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XM(e){var t=ZM(e,"string");return"symbol"==typeof t?t:t+""}function ZM(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function $M(e,t,r){JM(e,t),t.set(e,r)}function JM(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function QM(e,t,r){return e.set(tT(e,t),r),r}function eT(e,t){return e.get(tT(e,t))}function tT(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const rT="nestedHeaders",nT=280;var iT=new WeakMap,aT=new WeakMap,oT=new WeakMap,sT=new WeakMap,lT=new WeakSet;class uT extends er["a"]{constructor(){super(...arguments),GM(this,lT),$M(this,iT,new UM),$M(this,aT,null),$M(this,oT,null),$M(this,sT,!1),KM(this,"ghostTable",new qM(this.hot,(e,t)=>this.getHeaderSettings(e,t))),KM(this,"detectedOverlappedHeaders",!1)}static get PLUGIN_KEY(){return rT}static get PLUGIN_PRIORITY(){return nT}isEnabled(){return!!this.hot.getSettings()[rT]}enablePlugin(){var e=this;if(this.enabled)return;const{nestedHeaders:t}=this.hot.getSettings();Array.isArray(t)&&Array.isArray(t[0])||Object(Fn["b"])(Ea["a"]`Your Nested Headers plugin configuration is invalid. The settings has to be\x20
- passed as an array of arrays e.q. [['A1', { label: 'A2', colspan: 2 }]]`),this.addHook("init",()=>tT(lT,this,CT).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,xT).call(e,...r)})),this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,fT).call(e,...r)})),this.addHook("afterOnCellMouseDown",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,mT).call(e,...r)})),this.addHook("beforeOnCellMouseOver",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,gT).call(e,...r)})),this.addHook("beforeOnCellMouseUp",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,vT).call(e,...r)})),this.addHook("beforeSelectionHighlightSet",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,bT).call(e,...r)})),this.addHook("modifyTransformStart",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,yT).call(e,...r)})),this.addHook("afterSelection",()=>tT(lT,this,cT).call(this)),this.addHook("afterSelectionFocusSet",()=>tT(lT,this,cT).call(this)),this.addHook("beforeViewportScrollHorizontally",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,dT).call(e,...r)})),this.addHook("afterGetColumnHeaderRenderers",e=>tT(lT,this,_T).call(this,e)),this.addHook("modifyColWidth",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,ET).call(e,...r)})),this.addHook("modifyColumnHeaderValue",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,MT).call(e,...r)})),this.addHook("beforeHighlightingColumnHeader",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,hT).call(e,...r)})),this.addHook("beforeCopy",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,pT).call(e,...r)})),this.addHook("beforeSelectColumns",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,wT).call(e,...r)})),this.addHook("afterViewportColumnCalculatorOverride",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,ST).call(e,...r)})),this.addHook("modifyFocusedElement",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tT(lT,e,TT).call(e,...r)})),this.hot.columnIndexMapper.addLocalHook("cacheUpdated",()=>tT(lT,this,cT).call(this)),this.hot.rowIndexMapper.addLocalHook("cacheUpdated",()=>tT(lT,this,cT).call(this)),super.enablePlugin(),this.updatePlugin()}updatePlugin(){if(!this.hot.view)return;const{nestedHeaders:e}=this.hot.getSettings();eT(iT,this).setColumnsLimit(this.hot.countCols()),Array.isArray(e)&&(this.detectedOverlappedHeaders=eT(iT,this).setState(e)),this.detectedOverlappedHeaders&&Object(Fn["b"])(Ea["a"]`Your Nested Headers plugin setup contains overlapping headers. This kind of configuration\x20
- is currently not supported.`),this.enabled&&this.hot.columnIndexMapper.hidingMapsCollection.getMergedValues().forEach((e,t)=>{const r=!0===e?"hide-column":"show-column";eT(iT,this).triggerColumnModification(r,t)}),!eT(aT,this)&&this.enabled&&QM(aT,this,this.hot.columnIndexMapper.createChangesObserver("hiding").subscribe(e=>{e.forEach(e=>{let{op:t,index:r,newValue:n}=e;if("replace"===t){const e=!0===n?"hide-column":"show-column";eT(iT,this).triggerColumnModification(e,r)}}),this.ghostTable.buildWidthsMap()})),this.ghostTable.setLayersCount(this.getLayersCount()).buildWidthsMap(),super.updatePlugin()}disablePlugin(){this.clearColspans(),eT(iT,this).clear(),eT(aT,this).unsubscribe(),QM(aT,this,null),this.ghostTable.clear(),super.disablePlugin()}getStateManager(){return eT(iT,this)}getLayersCount(){return eT(iT,this).getLayersCount()}getHeaderSettings(e,t){return eT(iT,this).getHeaderSettings(e,t)}clearColspans(){if(!this.hot.view)return;const{_wt:e}=this.hot.view,t=e.getSetting("columnHeaders").length,r=e.wtTable.THEAD,n=e.wtOverlays.topOverlay.clone.wtTable.THEAD,a=e.wtOverlays.topInlineStartCornerOverlay?e.wtOverlays.topInlineStartCornerOverlay.clone.wtTable.THEAD:null;for(let o=0;o<t;o++){const e=r.childNodes[o];if(!e)break;const t=n.childNodes[o],s=a?a.childNodes[o]:null;for(let r=0,n=e.childNodes.length;r<n;r++)e.childNodes[r].removeAttribute("colspan"),Object(i["removeClass"])(e.childNodes[r],"hiddenHeader"),t&&t.childNodes[r]&&(t.childNodes[r].removeAttribute("colspan"),Object(i["removeClass"])(t.childNodes[r],"hiddenHeader")),a&&s&&s.childNodes[r]&&(s.childNodes[r].removeAttribute("colspan"),Object(i["removeClass"])(s.childNodes[r],"hiddenHeader"))}}headerRendererFactory(e){var t=this;const r=this.hot.view._wt.getSetting("fixedColumnsStart");return(n,a)=>{var o;const{columnIndexMapper:s,view:l}=this.hot;let u=s.getVisualFromRenderableIndex(n);null===u&&(u=n),a.removeAttribute("colspan"),Object(i["removeClass"])(a,"hiddenHeader");const{colspan:c,isHidden:d,isPlaceholder:h}=null!==(o=eT(iT,this).getHeaderSettings(e,u))&&void 0!==o?o:{label:""};if(h||d)Object(i["addClass"])(a,"hiddenHeader");else if(c>1){var p,f;const{wtOverlays:e}=l._wt,t=null===(p=e.topInlineStartCornerOverlay)||void 0===p?void 0:p.clone.wtTable.THEAD.contains(a),i=null===(f=e.inlineStartOverlay)||void 0===f?void 0:f.clone.wtTable.THEAD.contains(a),o=t||i?Math.min(c,r-n):c;o>1&&a.setAttribute("colspan",o)}this.hot.view.appendColHeader(u,a,(function(){return t.getColumnHeaderValue(...arguments)}),e)}}getColumnHeaderValue(e,t){var r;const{isHidden:n,isPlaceholder:i}=null!==(r=eT(iT,this).getHeaderSettings(t,e))&&void 0!==r?r:{};return i||n?"":this.hot.getColHeader(e,t)}destroy(){QM(iT,this,null),null!==eT(aT,this)&&(eT(aT,this).unsubscribe(),QM(aT,this,null)),super.destroy()}_getHeaderTreeNodeDataByCoords(e){if(!(e.row>=0||e.col<0))return eT(iT,this).getHeaderTreeNodeData(e.row,e.col)}}function cT(){var e;const t=null===(e=this.hot)||void 0===e?void 0:e.getSelectedRangeLast();if(!t)return;const{highlight:r}=t,n=r.isHeader()&&r.col>=0;if(n){const e=eT(iT,this).findLeftMostColumnIndex(r.row,r.col),t=this.hot.selection.highlight.getFocus();t.visualCellRange.highlight.col=e,t.visualCellRange.from.col=e,t.visualCellRange.to.col=e,t.commit()}}function dT(e){const t=this.hot.getSelectedRangeLast();if(!t)return e;const{highlight:r}=t,n=r.isHeader()&&r.col>=0;if(!n)return e;const i=this.hot.view.getFirstFullyVisibleColumn(),a=this.hot.view.getLastFullyVisibleColumn(),o=eT(iT,this).findLeftMostColumnIndex(r.row,r.col),s=eT(iT,this).findRightMostColumnIndex(r.row,r.col);return o<i&&s>a?e:o<i?o:s}function hT(e,t,r){const n=eT(iT,this).getHeaderTreeNodeData(t,e);if(!n)return e;const{columnCursor:i,selectionType:a,selectionWidth:o}=r,{isRoot:s,colspan:l}=eT(iT,this).getHeaderSettings(t,e);if(a===BE["g"]){if(!s)return n.columnIndex}else if(a===BE["a"]&&(l>o-i||!s))return null;return e}function pT(e,t,r){let{columnHeadersCount:n}=r;if(0!==n)for(let a=0;a<t.length;a++){const{startRow:r,startCol:n,endRow:o,endCol:s}=t[a],l=o-r+1,u=n-s+1;if(r>=0||1===u)break;for(let t=n;t<=s;t++)for(let a=r;a<=o;a++){var i;const r=l+a,o=t-n;if(0===o)continue;const s=null===(i=eT(iT,this).getHeaderTreeNodeData(a,t))||void 0===i?void 0:i.isRoot;!1===s&&(e[r][o]="")}}}function fT(e,t,r,n){const i=this._getHeaderTreeNodeDataByCoords(t);i&&(n.column=!0)}function mT(e,t){const r=this._getHeaderTreeNodeDataByCoords(t);if(!r)return;QM(oT,this,t.clone()),QM(sT,this,!0);const{selection:n}=this.hot,i=n.isSelected()?n.getSelectedRange().current():null,o=[],{columnIndex:s,origColspan:l}=r,u=!n.inInSelection(t);e.shiftKey&&i?t.col<i.from.col?o.push(i.getTopEndCorner().col,s,t.row):t.col>i.from.col?o.push(i.getTopStartCorner().col,s+l-1,t.row):o.push(s,s+l-1,t.row):(Object(a["isLeftClick"])(e)||Object(a["isRightClick"])(e)&&u)&&o.push(s,s+l-1,t.row),n.selectColumns(...o)}function gT(e,t,r,n){if(!this.hot.view.isMouseDown())return;const i=this._getHeaderTreeNodeDataByCoords(t);if(!i)return;const{columnIndex:a,origColspan:o}=i,s=this.hot.getSelectedRangeLast(),l=s.getTopStartCorner(),u=s.getBottomEndCorner(),{from:c}=s;n.column=!0,n.cell=!0;const d=[],h=Object(nt["clamp"])(t.row,-1/0,-1);t.col<c.col?d.push(u.col,a,h):t.col>c.col?d.push(l.col,a+o-1,h):d.push(a,a+o-1,h),this.hot.selection.selectColumns(...d)}function vT(){QM(sT,this,!1)}function bT(){const{navigableHeaders:e}=this.hot.getSettings();if(!this.hot.view.isMouseDown()||!eT(sT,this)||!e)return;const t=this.hot.getSelectedRangeLast(),r=t.getTopStartCorner().col,n=t.getBottomEndCorner().col,{columnIndex:i,origColspan:a}=eT(iT,this).getHeaderTreeNodeData(eT(oT,this).row,eT(oT,this).col);if(t.setHighlight(eT(oT,this)),a>t.getWidth()||i<r||i+a-1>n){const e=eT(iT,this).findTopMostEntireHeaderLevel(Object(nt["clamp"])(r,i,i+a-1),Object(nt["clamp"])(n,i,i+a-1));t.highlight.row=e,t.highlight.col=t.from.col}}function yT(e){const{highlight:t}=this.hot.getSelectedRangeLast(),r=this.hot._createCellCoords(t.row+e.row,t.col+e.col),n=r.isHeader()&&r.col>=0;if(!n)return;const i=eT(iT,this).findLeftMostColumnIndex(r.row,r.col),a=eT(iT,this).findRightMostColumnIndex(r.row,r.col);if(e.col<0){const r=t.col>=i&&t.col<=a?i-1:a,n=this.hot.columnIndexMapper.getNearestNotHiddenIndex(r,-1);e.col=null===n?-this.hot.view.countRenderableColumnsInRange(0,t.col):-Math.max(this.hot.view.countRenderableColumnsInRange(n,t.col)-1,1)}else if(e.col>0){const r=t.col>=i&&t.col<=a?a+1:i,n=this.hot.columnIndexMapper.getNearestNotHiddenIndex(r,1);e.col=null===n?this.hot.view.countRenderableColumnsInRange(t.col,this.hot.countCols()):Math.max(this.hot.view.countRenderableColumnsInRange(t.col,n)-1,1)}}function wT(e,t){const r=e.row,n=this._getHeaderTreeNodeDataByCoords({row:r,col:e.col}),i=this._getHeaderTreeNodeDataByCoords({row:r,col:t.col});t.col<e.col?(n&&(e.col=n.columnIndex+n.origColspan-1),i&&(t.col=i.columnIndex)):t.col>=e.col&&(n&&(e.col=n.columnIndex),i&&(t.col=i.columnIndex+i.origColspan-1))}function _T(e){e.length=0;for(let t=0;t<eT(iT,this).getLayersCount();t++)e.push(this.headerRendererFactory(t))}function ST(e){const t=eT(iT,this).getLayersCount();let r=e.startColumn,n=!!t;for(let i=0;i<t;i++){const t=eT(iT,this).findLeftMostColumnIndex(i,e.startColumn),a=this.hot.columnIndexMapper.getRenderableFromVisualIndex(t);if(t>=0&&(n=!1),Object(nt["isNumeric"])(a)&&a<e.startColumn){r=a;break}}e.startColumn=n?eT(iT,this).getHeaderTreeNodeData(0,r).columnIndex:r}function ET(e,t){const r=this.ghostTable.getWidth(t);return e>r?e:r}function MT(e,t,r){var n;const{label:i}=null!==(n=eT(iT,this).getHeaderTreeNodeData(r,t))&&void 0!==n?n:{label:""};return i}function TT(e,t){if(e<0)return this.hot.getCell(e,eT(iT,this).findLeftMostColumnIndex(e,t),!0)}function CT(){this.updatePlugin()}function xT(e,t){t||this.updatePlugin()}function AT(e,t,r){return t=NT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NT(e){var t=OT(e,"string");return"symbol"==typeof t?t:t+""}function OT(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class RT{constructor(e,t){AT(this,"hot",void 0),AT(this,"data",null),AT(this,"plugin",void 0),AT(this,"parentReference",new WeakMap),AT(this,"cache",{levels:[],levelCount:0,rows:[],nodeInfo:new WeakMap}),this.hot=t,this.plugin=e}setData(e){this.data=e}getData(){return this.data}getRawSourceData(){let e=null;return this.plugin.disableCoreAPIModifiers(),e=this.hot.getSourceData(),this.plugin.enableCoreAPIModifiers(),e}updateWithData(e){this.setData(e),this.rewriteCache()}rewriteCache(){this.cache={levels:[],levelCount:0,rows:[],nodeInfo:new WeakMap},Object(nt["rangeEach"])(0,this.data.length-1,e=>{this.cacheNode(this.data[e],0,null)})}cacheNode(e,t,r){this.cache.levels[t]||(this.cache.levels[t]=[],this.cache.levelCount+=1),this.cache.levels[t].push(e),this.cache.rows.push(e),this.cache.nodeInfo.set(e,{parent:r,row:this.cache.rows.length-1,level:t}),this.hasChildren(e)&&Object(d["arrayEach"])(e.__children,r=>{this.cacheNode(r,t+1,e)})}getDataObject(e){return null===e||void 0===e?null:this.cache.rows[e]}readTreeNodes(e,t,r,n){let i=!1,a=t;if(isNaN(a)&&a.end)return a;let o=e;return o||(o={__children:this.data},i=!0,a-=1),null!==r&&void 0!==r&&a===r?{result:o,end:!0}:null!==n&&void 0!==n&&o===n?{result:a,end:!0}:(a+=1,o.__children&&Object(d["arrayEach"])(o.__children,e=>{if(this.parentReference.set(e,i?null:o),a=this.readTreeNodes(e,a,r,n),isNaN(a)&&a.end)return!1}),a)}mockParent(){const e=this.mockNode();return e.__children=this.data,e}mockNode(){const e={};return Object(o["objectEach"])(this.data[0],(t,r)=>{e[r]=null}),e}getRowIndex(e){return null===e||void 0===e?null:this.cache.nodeInfo.get(e).row}getRowIndexWithinParent(e){let t=null;t=isNaN(e)?e:this.getDataObject(e);const r=this.getRowParent(e);return null===r||void 0===r?this.data.indexOf(t):r.__children.indexOf(t)}countAllRows(){const e={__children:this.data};return this.countChildren(e)}countChildren(e){let t=0,r=e;return isNaN(r)||(r=this.getDataObject(r)),r&&r.__children?(Object(d["arrayEach"])(r.__children,e=>{t+=1,e.__children&&(t+=this.countChildren(e))}),t):0}getRowParent(e){let t;return t=isNaN(e)?e:this.getDataObject(e),this.getRowObjectParent(t)}getRowObjectParent(e){return e&&"object"===typeof e?this.cache.nodeInfo.get(e).parent:null}getRowLevel(e){let t=null;return t=isNaN(e)?e:this.getDataObject(e),t?this.getRowObjectLevel(t):null}getRowObjectLevel(e){return null===e||void 0===e?null:this.cache.nodeInfo.get(e).level}hasChildren(e){let t=e;return isNaN(t)||(t=this.getDataObject(t)),!(!t.__children||!t.__children.length)}isChild(e){return null!==this.getRowParent(e)}getChild(e,t){var r;return(null===(r=e.__children)||void 0===r?void 0:r[t])||null}isRowHighestLevel(e){return!this.isChild(e)}isParent(e){var t;let r=e;return isNaN(r)||(r=this.getDataObject(r)),r&&!!r.__children&&0!==(null===(t=r.__children)||void 0===t?void 0:t.length)}addChild(e,t){let r=t;this.hot.runHooks("beforeAddChild",e,r);let n=null;e&&(n=this.getRowIndex(e)),this.hot.runHooks("beforeCreateRow",n+this.countChildren(e)+1,1);let i=e;e||(i=this.mockParent()),i.__children||(i.__children=[]),r||(r=this.mockNode()),i.__children.push(r),this.rewriteCache();const a=this.getRowIndex(r);this.hot.rowIndexMapper.insertIndexes(a,1),this.hot.runHooks("afterCreateRow",a,1),this.hot.runHooks("afterAddChild",e,r)}addChildAtIndex(e,t,r){let n,i=r;if(i||(i=this.mockNode()),this.hot.runHooks("beforeAddChild",e,i,t),e){const r=this.getRowIndex(e),a=r+t+1;this.hot.runHooks("beforeCreateRow",a,1),e.__children.splice(t,null,i),this.rewriteCache(),this.plugin.disableCoreAPIModifiers(),this.hot.setSourceDataAtCell(this.getRowIndexWithinParent(e),"__children",e.__children,"NestedRows.addChildAtIndex"),this.hot.rowIndexMapper.insertIndexes(a,1),this.plugin.enableCoreAPIModifiers(),this.hot.runHooks("afterCreateRow",a,1),n=a}else this.plugin.disableCoreAPIModifiers(),this.hot.alter("insert_row_above",t,1,"NestedRows.addChildAtIndex"),this.plugin.enableCoreAPIModifiers(),n=this.getRowIndex(this.data[t]);i=this.getDataObject(n),this.hot.runHooks("afterAddChild",e,i,t)}addSibling(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"below";const r=this.translateTrimmedRow(e),n=this.getRowParent(r),i=this.getRowIndexWithinParent(r);switch(t){case"below":this.addChildAtIndex(n,i+1,null);break;case"above":this.addChildAtIndex(n,i,null);break;default:break}}detachFromParent(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=null;const n=[];Array.isArray(e)?(Object(nt["rangeEach"])(e[0],e[2],e=>{const t=this.translateTrimmedRow(e);n.push(this.getDataObject(t))}),Object(nt["rangeEach"])(0,n.length-2,e=>{this.detachFromParent(n[e],!1)}),r=n[n.length-1]):r=e;const i=this.getRowIndex(r),a=this.countChildren(r),o=this.getRowIndexWithinParent(r),s=this.getRowParent(r),l=this.getRowParent(s),u=this.getRowIndex(l);let c=null;if(this.hot.runHooks("beforeDetachChild",s,r),null!==o&&void 0!==o){const e=Array.from(new Array(i+a+1).keys()).splice(-1*(a+1));if(this.hot.runHooks("beforeRemoveRow",i,a+1,e,this.plugin.pluginName),s.__children.splice(o,1),this.rewriteCache(),this.hot.runHooks("afterRemoveRow",i,a+1,e,this.plugin.pluginName),l){c=u+this.countChildren(l);const e=this.getChild(l,this.countChildren(l)-1),t=this.getRowIndex(e);this.hot.runHooks("beforeCreateRow",t+1,a+1,this.plugin.pluginName),l.__children.push(r)}else c=this.hot.countRows()+1,this.hot.runHooks("beforeCreateRow",c-2,a+1,this.plugin.pluginName),this.data.push(r)}this.rewriteCache(),this.hot.runHooks("afterCreateRow",c-2,a+1,this.plugin.pluginName),this.hot.runHooks("afterDetachChild",s,r,this.getRowIndex(r)),t&&this.hot.render()}filterData(e,t,r){const n=[];Object(d["arrayEach"])(r,e=>{n.push(this.getDataObject(e))}),Object(d["arrayEach"])(n,e=>{const t=this.getRowIndexWithinParent(e),r=this.getRowParent(e);null===r?this.data.splice(t,1):r.__children.splice(t,1)}),this.rewriteCache()}spliceData(e,t,r){const n=this.getDataObject(e-1);let i=null,a=e;n&&n.__children&&0===n.__children.length?(i=n,a=0):e<this.countAllRows()&&(i=this.getRowParent(e),a=this.getRowIndexWithinParent(e)),i?r?i.__children.splice(a,t,...r):i.__children.splice(a,t):r?this.data.splice(a,t,...r):this.data.splice(a,t),this.rewriteCache()}syncRowWithRawSource(e){let t=e,r=null;do{r=this.getRowParent(r),null!==r&&(t=r)}while(null!==r);this.plugin.disableCoreAPIModifiers(),this.hot.setSourceDataAtCell(this.getRowIndex(t),"__children",t.__children,"NestedRows.syncRowWithRawSource"),this.plugin.enableCoreAPIModifiers()}moveRow(e,t,r,n){const i=t===this.hot.countRows(),a=this.getRowParent(e),o=this.getRowIndexWithinParent(e),s=a.__children.slice(o,o+1),l=e>t;let u=i?this.getRowParent(t-1):this.getRowParent(t);null!==u&&void 0!==u||(u=this.getRowParent(t-1)),null!==u&&void 0!==u||(u=this.getDataObject(t-1)),u?u.__children||(u.__children=[]):(u=this.getDataObject(t),u.__children=[]);const c=i||r||n?u.__children.length:this.getRowIndexWithinParent(t),d=a===u;u.__children.splice(c,0,s[0]),a.__children.splice(o+(l&&d?1:0),1),this.syncRowWithRawSource(a),d||this.syncRowWithRawSource(u)}translateTrimmedRow(e){return this.plugin.collapsingUI?this.plugin.collapsingUI.translateTrimmedRow(e):e}untranslateTrimmedRow(e){return this.plugin.collapsingUI?this.plugin.collapsingUI.untranslateTrimmedRow(e):e}}var LT=RT;function kT(e,t,r){return t=IT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IT(e){var t=DT(e,"string");return"symbol"==typeof t?t:t+""}function DT(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class PT{constructor(e,t){kT(this,"hot",void 0),kT(this,"plugin",void 0),this.hot=t,this.plugin=e}}var jT=PT;class FT extends jT{static get CSS_CLASSES(){return{indicatorContainer:"ht_nestingLevels",parent:"ht_nestingParent",indicator:"ht_nestingLevel",emptyIndicator:"ht_nestingLevel_empty",button:"ht_nestingButton",expandButton:"ht_nestingExpand",collapseButton:"ht_nestingCollapse"}}constructor(e,t){super(e,t),this.dataManager=this.plugin.dataManager,this.collapsingUI=this.plugin.collapsingUI,this.rowHeaderWidthCache=null}appendLevelIndicators(e,t){const r=this.hot.toPhysicalRow(e),n=this.dataManager.getRowLevel(r),a=this.dataManager.getDataObject(r),o=t.getElementsByTagName("DIV")[0],s=o.querySelector("span.rowHeader"),l=o.querySelectorAll('[class^="ht_nesting"]'),u=this.hot.getSettings().ariaTags;if(Object(d["arrayEach"])(l,e=>{e&&o.removeChild(e)}),Object(i["addClass"])(t,FT.CSS_CLASSES.indicatorContainer),n){const{rootDocument:e}=this.hot,t=s.cloneNode(!0);o.innerHTML="",Object(nt["rangeEach"])(0,n-1,()=>{const t=e.createElement("SPAN");Object(i["addClass"])(t,FT.CSS_CLASSES.emptyIndicator),o.appendChild(t)}),o.appendChild(t)}if(this.dataManager.hasChildren(a)){const e=this.hot.rootDocument.createElement("DIV");u&&Object(i["setAttribute"])(e,[Object(v["n"])()]),Object(i["addClass"])(t,FT.CSS_CLASSES.parent),this.collapsingUI.areChildrenCollapsed(r)?(Object(i["addClass"])(e,`${FT.CSS_CLASSES.button} ${FT.CSS_CLASSES.expandButton}`),u&&Object(i["setAttribute"])(t,[Object(v["k"])(!1)])):(Object(i["addClass"])(e,`${FT.CSS_CLASSES.button} ${FT.CSS_CLASSES.collapseButton}`),u&&Object(i["setAttribute"])(t,[Object(v["k"])(!0)])),o.appendChild(e)}}updateRowHeaderWidth(e){let t=e;t||(t=this.dataManager.cache.levelCount),this.rowHeaderWidthCache=Math.max(50,11+10*t+25),this.hot.render()}}var HT=FT;class BT extends jT{constructor(e,t){var r;super(e,t),r=this,this.dataManager=this.plugin.dataManager,this.collapsedRows=[],this.collapsedRowsStash={stash:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];r.lastCollapsedRows=r.collapsedRows.slice(0),r.expandMultipleChildren(r.lastCollapsedRows,e)},shiftStash:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;null!==t&&void 0!==t||(t=1/0),Object(d["arrayEach"])(r.lastCollapsedRows,(i,a)=>{i>=e&&i<t&&(r.lastCollapsedRows[a]=i+n)})},applyStash:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];r.collapseMultipleChildren(r.lastCollapsedRows,e),r.lastCollapsedRows=void 0},trimStash:(e,t)=>{Object(nt["rangeEach"])(e,e+t-1,e=>{const t=this.lastCollapsedRows.indexOf(e);t>-1&&this.lastCollapsedRows.splice(t,1)})}}}collapseChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=[];let i=null,a=null,o=null;return isNaN(e)?(i=e,a=this.dataManager.getRowIndex(i)):(i=this.dataManager.getDataObject(e),a=e),this.dataManager.hasChildren(i)&&Object(d["arrayEach"])(i.__children,e=>{n.push(this.dataManager.getRowIndex(e))}),o=this.collapseRows(n,!0,!1),r&&this.trimRows(o),t&&this.renderAndAdjust(),-1===this.collapsedRows.indexOf(a)&&this.collapsedRows.push(a),o}collapseMultipleChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=[];Object(d["arrayEach"])(e,e=>{n.push(...this.collapseChildren(e,!1,!1))}),r&&this.trimRows(n),t&&this.renderAndAdjust()}collapseRow(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.collapseRows([e],t)}collapseRows(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=[];return Object(d["arrayEach"])(e,e=>{n.push(e),t&&this.collapseChildRows(e,n)}),r&&this.trimRows(n),n}collapseChildRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.dataManager.hasChildren(e)){const r=this.dataManager.getDataObject(e);Object(d["arrayEach"])(r.__children,e=>{const r=this.dataManager.getRowIndex(e);t.push(r),this.collapseChildRows(r,t)})}r&&this.trimRows(t)}expandRow(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.expandRows([e],t)}expandRows(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=[];return Object(d["arrayEach"])(e,e=>{n.push(e),t&&this.expandChildRows(e,n)}),r&&this.untrimRows(n),n}expandChildRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.dataManager.hasChildren(e)){const r=this.dataManager.getDataObject(e);Object(d["arrayEach"])(r.__children,e=>{if(!this.isAnyParentCollapsed(e)){const r=this.dataManager.getRowIndex(e);t.push(r),this.expandChildRows(r,t)}})}r&&this.untrimRows(t)}expandChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=[];let i=null,a=null,o=null;return isNaN(e)?(i=e,a=this.dataManager.getRowIndex(e)):(i=this.dataManager.getDataObject(e),a=e),this.collapsedRows.splice(this.collapsedRows.indexOf(a),1),this.dataManager.hasChildren(i)&&Object(d["arrayEach"])(i.__children,e=>{const t=this.dataManager.getRowIndex(e);n.push(t)}),o=this.expandRows(n,!0,!1),r&&this.untrimRows(o),t&&this.renderAndAdjust(),o}expandMultipleChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=[];Object(d["arrayEach"])(e,e=>{n.push(...this.expandChildren(e,!1,!1))}),r&&this.untrimRows(n),t&&this.renderAndAdjust()}collapseAll(){const e=this.dataManager.getData(),t=[];Object(d["arrayEach"])(e,e=>{this.dataManager.hasChildren(e)&&t.push(e)}),this.collapseMultipleChildren(t),this.renderAndAdjust()}expandAll(){const e=this.dataManager.getData(),t=[];Object(d["arrayEach"])(e,e=>{this.dataManager.hasChildren(e)&&t.push(e)}),this.expandMultipleChildren(t),this.renderAndAdjust()}trimRows(e){this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.plugin.collapsedRowsMap.setValueAtIndex(e,!0)})},!0)}untrimRows(e){this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.plugin.collapsedRowsMap.setValueAtIndex(e,!1)})},!0)}areChildrenCollapsed(e){let t=isNaN(e)?e:this.dataManager.getDataObject(e),r=!0;return null===t&&(t={__children:this.dataManager.data}),this.dataManager.hasChildren(t)&&Object(d["arrayEach"])(t.__children,e=>{const t=this.dataManager.getRowIndex(e);if(!this.plugin.collapsedRowsMap.getValueAtIndex(t))return r=!1,!1}),r}isAnyParentCollapsed(e){let t=e;while(null!==t){t=this.dataManager.getRowParent(t);const e=this.dataManager.getRowIndex(t);if(this.collapsedRows.indexOf(e)>-1)return!0}return!1}toggleState(e,t){if(t.col>=0)return;const r=this.translateTrimmedRow(t.row);Object(i["hasClass"])(e.target,HT.CSS_CLASSES.button)&&(this.areChildrenCollapsed(r)?this.expandChildren(r):this.collapseChildren(r),Object(a["stopImmediatePropagation"])(e))}translateTrimmedRow(e){return this.hot.toPhysicalRow(e)}untranslateTrimmedRow(e){return this.hot.toVisualRow(e)}renderAndAdjust(){this.hot.render(),this.hot.view.adjustElementsSize()}}var UT=BT;function VT(e,t,r){YT(e,t),t.set(e,r)}function YT(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zT(e,t,r){return t=WT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function WT(e){var t=qT(e,"string");return"symbol"==typeof t?t:t+""}function qT(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function GT(e,t){return e.get(KT(e,t))}function KT(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var XT=new WeakMap;class ZT extends jT{constructor(){super(...arguments),zT(this,"dataManager",this.plugin.dataManager),VT(this,XT,{row_above:(e,t)=>{const r=t[t.length-1];this.dataManager.addSibling(r.start.row,"above")},row_below:(e,t)=>{const r=t[t.length-1];this.dataManager.addSibling(r.start.row,"below")}})}appendOptions(e){const t=[{key:"add_child",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD"])},callback:()=>{const e=this.dataManager.translateTrimmedRow(this.hot.getSelectedLast()[0]),t=this.dataManager.getDataObject(e);this.dataManager.addChild(t)},disabled:()=>{const e=this.hot.getSelectedLast();return!e||e[0]<0||this.hot.selection.isSelectedByColumnHeader()||this.hot.countRows()>=this.hot.getSettings().maxRows}},{key:"detach_from_parent",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD"])},callback:()=>{this.dataManager.detachFromParent(this.hot.getSelectedLast())},disabled:()=>{const e=this.hot.getSelectedLast(),t=this.dataManager.translateTrimmedRow(e[0]),r=this.dataManager.getRowParent(t);return!r||!e||e[0]<0||this.hot.selection.isSelectedByColumnHeader()||this.hot.countRows()>=this.hot.getSettings().maxRows}},{name:"---------"}];return Object(nt["rangeEach"])(0,e.items.length-1,r=>{if(0===r)return Object(d["arrayEach"])(t,(t,n)=>{e.items.splice(r+n,0,t)}),!1}),this.modifyRowInsertingOptions(e)}modifyRowInsertingOptions(e){return Object(nt["rangeEach"])(0,e.items.length-1,t=>{const r=GT(XT,this)[e.items[t].key];null!==r&&void 0!==r&&(e.items[t].callback=r)}),e}}var $T=ZT;function JT(e,t,r){return t=QT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QT(e){var t=eC(e,"string");return"symbol"==typeof t?t:t+""}function eC(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class tC{constructor(e){JT(this,"plugin",void 0),JT(this,"hot",void 0),JT(this,"dataManager",void 0),JT(this,"collapsingUI",void 0),this.plugin=e,this.hot=e.hot,this.dataManager=e.dataManager,this.collapsingUI=e.collapsingUI}onBeforeRowMove(e,t,r,n){const i=this.displayAPICompatibilityWarning({rows:e,finalIndex:t,dropIndex:r,movePossible:n});if(i)return!1;this.movedToCollapsed=!1;const a=r===this.hot.countRows(),o=a?this.hot.countSourceRows():this.dataManager.translateTrimmedRow(r);let s=!0;const l=e.map(e=>{if(!s)return!1;const t=this.dataManager.translateTrimmedRow(e);return s=this.shouldAllowMoving(t,o),t}),u=-1===l.indexOf(o);if(!s||!u)return!1;const c=this.getBaseParent(l),d=this.getTargetParent(a,o),h=c===d;return this.movedToCollapsed=this.collapsingUI.areChildrenCollapsed(d),this.collapsingUI.collapsedRowsStash.stash(),this.shiftCollapsibleParentsLocations(l,o,h),this.moveRows(l,o,d),this.dataManager.rewriteCache(),this.moveCellsMeta(l,o),this.collapsingUI.collapsedRowsStash.applyStash(!1),this.hot.runHooks("afterRowMove",e,t,r,n,n&&this.isRowOrderChanged(e,t)),this.hot.render(),this.selectCells(e,r),!1}displayAPICompatibilityWarning(e){const{rows:t,finalIndex:r,dropIndex:n,movePossible:i}=e;let a=!1;return Object(h["isUndefined"])(n)&&(Object(Fn["b"])(Ea["a"]`Since version 8.0.0 of the Handsontable the 'moveRows' method isn't used for moving rows\x20
- when the NestedRows plugin is enabled. Please use the 'dragRows' method instead.`),this.hot.runHooks("afterRowMove",t,r,n,i,!1),a=!0),a}shouldAllowMoving(e,t){return!(this.dataManager.isParent(e)||this.dataManager.isRowHighestLevel(e)||e===t||0===t)}getBaseParent(e){return this.dataManager.getRowParent(e[0])}getTargetParent(e,t){let r=this.dataManager.getRowParent(e?t-1:t);return null!==r&&void 0!==r||(r=this.dataManager.getRowParent(t-1)),r}shiftCollapsibleParentsLocations(e,t,r){r||(Math.max(...e)<=t?this.collapsingUI.collapsedRowsStash.shiftStash(e[0],t,-1*e.length):this.collapsingUI.collapsedRowsStash.shiftStash(t,e[0],e.length))}moveRows(e,t,r){const n=t===this.dataManager.getRowIndex(r)+this.dataManager.countChildren(r)+1;this.hot.batchRender(()=>{e.forEach(e=>{this.dataManager.moveRow(e,t,this.movedToCollapsed,n)})})}moveCellsMeta(e,t){const r=[],n=Math.max(...e)<t;e.forEach(e=>{r.push(this.hot.getCellMetaAtRow(e))}),this.hot.spliceCellsMeta(e[0],e.length),this.hot.spliceCellsMeta(t-(n?r.length:0),0,...r)}selectCells(e,t){const r=e.length;let n=0,i=0,a=null,o=null;if(this.movedToCollapsed){let a=null;a=e[r-1]<t?this.dataManager.translateTrimmedRow(t-r):this.dataManager.translateTrimmedRow(t);const o=this.dataManager.getRowParent(null===a?this.hot.countSourceRows()-1:a-1),s=this.dataManager.getRowIndex(o);n=this.dataManager.untranslateTrimmedRow(s),i=n}else e[r-1]<t?(i=t-1,n=i-r+1):(n=t,i=n+r-1);a=this.hot.selection,o=this.hot.countCols()-1,a.setRangeStart(this.hot._createCellCoords(n,0)),a.setRangeEnd(this.hot._createCellCoords(i,o),!0)}isRowOrderChanged(e,t){return e.some((e,r)=>e-r!==t)}}function rC(e,t){iC(e,t),t.add(e)}function nC(e,t,r){iC(e,t),t.set(e,r)}function iC(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function aC(e,t,r){return t=oC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oC(e){var t=sC(e,"string");return"symbol"==typeof t?t:t+""}function sC(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function lC(e,t){return e.get(cC(e,t))}function uC(e,t,r){return e.set(cC(e,t),r),r}function cC(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const dC="nestedRows",hC=300,pC=dC,fC="The Nested Rows plugin requires an Array of Objects as a dataset to be provided. The plugin has been disabled.";var mC=new WeakMap,gC=new WeakMap,vC=new WeakSet;class bC extends er["a"]{constructor(){super(...arguments),rC(this,vC),aC(this,"dataManager",null),aC(this,"headersUI",null),aC(this,"collapsedRowsMap",null),nC(this,mC,!1),nC(this,gC,!1)}static get PLUGIN_KEY(){return dC}static get PLUGIN_PRIORITY(){return hC}isEnabled(){return!!this.hot.getSettings()[dC]}enablePlugin(){var e=this;this.enabled||(this.collapsedRowsMap=this.hot.rowIndexMapper.registerMap("nestedRows",new Sm["a"]),this.dataManager=new LT(this,this.hot),this.collapsingUI=new UT(this,this.hot),this.headersUI=new HT(this,this.hot),this.contextMenuUI=new $T(this,this.hot),this.rowMoveController=new tC(this),this.addHook("afterInit",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,LC).call(e,...r)})),this.addHook("beforeViewRender",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,kC).call(e,...r)})),this.addHook("modifyRowData",(function(){return e.onModifyRowData(...arguments)})),this.addHook("modifySourceLength",(function(){return e.onModifySourceLength(...arguments)})),this.addHook("beforeDataSplice",(function(){return e.onBeforeDataSplice(...arguments)})),this.addHook("filterData",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,_C).call(e,...r)})),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,SC).call(e,...r)})),this.addHook("afterGetRowHeader",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,EC).call(e,...r)})),this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,wC).call(e,...r)})),this.addHook("beforeRemoveRow",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,CC).call(e,...r)})),this.addHook("afterRemoveRow",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,TC).call(e,...r)})),this.addHook("beforeAddChild",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,xC).call(e,...r)})),this.addHook("afterAddChild",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,AC).call(e,...r)})),this.addHook("beforeDetachChild",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,NC).call(e,...r)})),this.addHook("afterDetachChild",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,OC).call(e,...r)})),this.addHook("modifyRowHeaderWidth",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,MC).call(e,...r)})),this.addHook("afterCreateRow",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,RC).call(e,...r)})),this.addHook("beforeRowMove",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return cC(vC,e,yC).call(e,...r)})),this.addHook("beforeLoadData",e=>cC(vC,this,IC).call(this,e)),this.addHook("beforeUpdateData",e=>cC(vC,this,IC).call(this,e)),this.registerShortcuts(),super.enablePlugin())}disablePlugin(){this.hot.rowIndexMapper.unregisterMap("nestedRows"),this.unregisterShortcuts(),super.disablePlugin()}updatePlugin(){this.disablePlugin();const e=this.dataManager.getData();this.enablePlugin(),this.dataManager.updateWithData(e),super.updatePlugin()}registerShortcuts(){this.hot.getShortcutManager().getContext("grid").addShortcut({keys:[["Enter"]],callback:()=>{const{highlight:e}=this.hot.getSelectedRangeLast(),t=this.collapsingUI.translateTrimmedRow(e.row);return this.collapsingUI.areChildrenCollapsed(t)?this.collapsingUI.expandChildren(t):this.collapsingUI.collapseChildren(t),!1},runOnlyIf:()=>{var e,t;const r=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return r&&(null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.isSingle())&&this.hot.selection.isCellVisible(r)&&-1===r.col&&r.row>=0},group:pC,relativeToGroup:je["a"],position:"before"})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(pC)}disableCoreAPIModifiers(){uC(gC,this,!0)}enableCoreAPIModifiers(){uC(gC,this,!1)}onModifyRowData(e){if(!lC(gC,this))return this.dataManager.getDataObject(e)}onModifySourceLength(){if(!lC(gC,this))return this.dataManager.countAllRows()}onBeforeDataSplice(e,t,r){return!(!lC(gC,this)&&!this.dataManager.isRowHighestLevel(e))||(this.dataManager.spliceData(e,t,r),!1)}destroy(){super.destroy()}}function yC(e,t,r,n){return this.rowMoveController.onBeforeRowMove(e,t,r,n)}function wC(e,t,r){this.collapsingUI.toggleState(e,t,r)}function _C(e,t,r){return this.collapsingUI.collapsedRowsStash.stash(),this.collapsingUI.collapsedRowsStash.trimStash(r[0],t),this.collapsingUI.collapsedRowsStash.shiftStash(r[0],null,-1*t),this.dataManager.filterData(e,t,r),uC(mC,this,!0),this.dataManager.getData().slice()}function SC(e){return this.contextMenuUI.appendOptions(e)}function EC(e,t){this.headersUI.appendLevelIndicators(e,t)}function MC(e){return Math.max(this.headersUI.rowHeaderWidthCache,e)}function TC(e,t,r,n){n!==this.pluginName&&this.hot._registerTimeout(()=>{uC(mC,this,!1),this.headersUI.updateRowHeaderWidth(),this.collapsingUI.collapsedRowsStash.applyStash()})}function CC(e,t,r){const n=Array.from(r.reduce((e,t)=>{if(this.dataManager.isParent(t)){const r=this.dataManager.getDataObject(t).__children;return e.add(t),Array.isArray(r)&&r.forEach(t=>e.add(this.dataManager.getRowIndex(t))),e}return e.add(t)},new Set));r.length=0,r.push(...n)}function xC(){this.collapsingUI.collapsedRowsStash.stash()}function AC(e,t){this.collapsingUI.collapsedRowsStash.shiftStash(this.dataManager.getRowIndex(t)),this.collapsingUI.collapsedRowsStash.applyStash(),this.headersUI.updateRowHeaderWidth()}function NC(){this.collapsingUI.collapsedRowsStash.stash()}function OC(e,t,r){this.collapsingUI.collapsedRowsStash.shiftStash(r,null,-1),this.collapsingUI.collapsedRowsStash.applyStash(),this.headersUI.updateRowHeaderWidth()}function RC(){this.dataManager.rewriteCache()}function LC(){this.headersUI.updateRowHeaderWidth()}function kC(e,t){lC(mC,this)&&(t.skipRender=!0)}function IC(e){if(!Object($p["isArrayOfObjects"])(e))return Object(Fn["a"])(fC),this.hot.getSettings()[dC]=!1,void this.disablePlugin();this.dataManager.setData(e),this.dataManager.rewriteCache()}function DC(e,t,r){return t=PC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PC(e){var t=jC(e,"string");return"symbol"==typeof t?t:t+""}function jC(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class FC{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;DC(this,"rootWindow",void 0),DC(this,"prefix",void 0),DC(this,"savedKeys",[]),this.rootWindow=t,this.prefix=e,this.loadSavedKeys()}saveValue(e,t){this.rootWindow.localStorage.setItem(`${this.prefix}_${e}`,JSON.stringify(t)),-1===this.savedKeys.indexOf(e)&&(this.savedKeys.push(e),this.saveSavedKeys())}loadValue(e,t){const r="undefined"===typeof e?t:e,n=this.rootWindow.localStorage.getItem(`${this.prefix}_${r}`);return null===n?void 0:JSON.parse(n)}reset(e){this.rootWindow.localStorage.removeItem(`${this.prefix}_${e}`)}resetAll(){Object(d["arrayEach"])(this.savedKeys,(e,t)=>{this.rootWindow.localStorage.removeItem(`${this.prefix}_${this.savedKeys[t]}`)}),this.clearSavedKeys()}loadSavedKeys(){const e=this.rootWindow.localStorage.getItem(this.prefix+"__persistentStateKeys"),t="string"===typeof e?JSON.parse(e):void 0;this.savedKeys=t||[]}saveSavedKeys(){this.rootWindow.localStorage.setItem(this.prefix+"__persistentStateKeys",JSON.stringify(this.savedKeys))}clearSavedKeys(){this.savedKeys.length=0,this.saveSavedKeys()}}var HC=FC;function BC(e,t,r){return t=UC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function UC(e){var t=VC(e,"string");return"symbol"==typeof t?t:t+""}function VC(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}fe["a"].getSingleton().register("persistentStateSave"),fe["a"].getSingleton().register("persistentStateLoad"),fe["a"].getSingleton().register("persistentStateReset");const YC="persistentState",zC=0;class WC extends er["a"]{constructor(){super(...arguments),BC(this,"storage",void 0)}static get PLUGIN_KEY(){return YC}static get PLUGIN_PRIORITY(){return zC}isEnabled(){return!!this.hot.getSettings()[YC]}enablePlugin(){this.enabled||(this.storage||(this.storage=new HC(this.hot.rootElement.id,this.hot.rootWindow)),this.addHook("persistentStateSave",(e,t)=>this.saveValue(e,t)),this.addHook("persistentStateLoad",(e,t)=>this.loadValue(e,t)),this.addHook("persistentStateReset",()=>this.resetValue()),super.enablePlugin())}disablePlugin(){this.storage=void 0,super.disablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}loadValue(e,t){t.value=this.storage.loadValue(e)}saveValue(e,t){this.storage.saveValue(e,t)}resetValue(e){"undefined"===typeof e?this.storage.resetAll():this.storage.reset(e)}destroy(){super.destroy()}}function qC(e,t){GC(e,t),t.add(e)}function GC(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function KC(e,t,r){return t=XC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XC(e){var t=ZC(e,"string");return"symbol"==typeof t?t:t+""}function ZC(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function $C(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const JC="search",QC=190,ex="htSearchResult",tx=function(e,t,r,n,i){e.getCellMeta(t,r).isSearchResult=i},rx=function(e,t,r){return!(Object(h["isUndefined"])(e)||null===e||!e.toLocaleLowerCase||0===e.length)&&(!Object(h["isUndefined"])(t)&&null!==t&&-1!==t.toString().toLocaleLowerCase(r.locale).indexOf(e.toLocaleLowerCase(r.locale)))};var nx=new WeakSet;class ix extends er["a"]{constructor(){super(...arguments),qC(this,nx),KC(this,"callback",tx),KC(this,"queryMethod",rx),KC(this,"searchResultClass",ex)}static get PLUGIN_KEY(){return JC}static get PLUGIN_PRIORITY(){return QC}isEnabled(){return this.hot.getSettings()[JC]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[JC];this.updatePluginSettings(t),this.addHook("beforeRenderer",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $C(nx,e,ax).call(e,...r)})),super.enablePlugin()}disablePlugin(){var e=this;const t=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return $C(nx,e,ax).call(e,...r)};this.hot.addHook("beforeRenderer",t),this.hot.addHookOnce("afterViewRender",()=>{this.hot.removeHook("beforeRenderer",t)}),super.disablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}query(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getCallback(),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getQueryMethod();const n=this.hot.countRows(),i=this.hot.countCols(),a=[],o=this.hot;return Object(nt["rangeEach"])(0,n-1,n=>{Object(nt["rangeEach"])(0,i-1,i=>{const s=this.hot.getDataAtCell(n,i),l=this.hot.getCellMeta(n,i),u=l.search.callback||t,c=l.search.queryMethod||r,d=c(e,s,l);if(d){const e={row:n,col:i,data:s};a.push(e)}u&&u(o,n,i,s,d)})}),a}getCallback(){return this.callback}setCallback(e){this.callback=e}getQueryMethod(){return this.queryMethod}setQueryMethod(e){this.queryMethod=e}getSearchResultClass(){return this.searchResultClass}setSearchResultClass(e){this.searchResultClass=e}updatePluginSettings(e){Object(o["isObject"])(e)&&(e.searchResultClass&&this.setSearchResultClass(e.searchResultClass),e.queryMethod&&this.setQueryMethod(e.queryMethod),e.callback&&this.setCallback(e.callback))}destroy(){super.destroy()}}function ax(e,t,r,n,i,a){const o=a.className||[];let s=[];"string"===typeof o?s=o.split(" "):s.push(...o),this.isEnabled()&&a.isSearchResult?s.includes(this.searchResultClass)||s.push(""+this.searchResultClass):s.includes(this.searchResultClass)&&s.splice(s.indexOf(this.searchResultClass),1),a.className=s.join(" ")}function ox(e,t){sx(e,t),t.add(e)}function sx(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function lx(e,t,r){return t=ux(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ux(e){var t=cx(e,"string");return"symbol"==typeof t?t:t+""}function cx(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function dx(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const hx="touchScroll",px=200;var fx=new WeakSet;class mx extends er["a"]{constructor(){super(...arguments),ox(this,fx),lx(this,"scrollbars",[]),lx(this,"clones",[]),lx(this,"lockedCollection",!1),lx(this,"freezeOverlays",!1)}static get PLUGIN_KEY(){return hx}static get PLUGIN_PRIORITY(){return px}static get SETTING_KEYS(){return!0}isEnabled(){return Object(tr["isTouchSupported"])()}enablePlugin(){this.enabled||(this.addHook("afterViewRender",()=>dx(fx,this,gx).call(this)),this.registerEvents(),super.enablePlugin())}updatePlugin(){this.lockedCollection=!1,super.updatePlugin()}disablePlugin(){super.disablePlugin()}registerEvents(){this.addHook("beforeTouchScroll",()=>dx(fx,this,vx).call(this)),this.addHook("afterMomentumScroll",()=>dx(fx,this,bx).call(this))}}function gx(){if(this.lockedCollection)return;const{topOverlay:e,bottomOverlay:t,inlineStartOverlay:r,topInlineStartCornerOverlay:n,bottomInlineStartCornerOverlay:i}=this.hot.view._wt.wtOverlays;this.lockedCollection=!0,this.scrollbars.length=0,this.scrollbars.push(e),t.clone&&this.scrollbars.push(t),this.scrollbars.push(r),n&&this.scrollbars.push(n),i&&i.clone&&this.scrollbars.push(i),this.clones=[],e.needFullRender&&this.clones.push(e.clone.wtTable.holder.parentNode),t.needFullRender&&this.clones.push(t.clone.wtTable.holder.parentNode),r.needFullRender&&this.clones.push(r.clone.wtTable.holder.parentNode),n&&this.clones.push(n.clone.wtTable.holder.parentNode),i&&i.clone&&this.clones.push(i.clone.wtTable.holder.parentNode)}function vx(){this.freezeOverlays=!0,Object(d["arrayEach"])(this.clones,e=>{Object(i["addClass"])(e,"hide-tween")})}function bx(){this.freezeOverlays=!1,Object(d["arrayEach"])(this.clones,e=>{Object(i["removeClass"])(e,"hide-tween"),Object(i["addClass"])(e,"show-tween")}),this.hot._registerTimeout(()=>{Object(d["arrayEach"])(this.clones,e=>{Object(i["removeClass"])(e,"show-tween")})},400),Object(d["arrayEach"])(this.scrollbars,e=>{e.refresh(),e.resetFixedPosition()}),this.hot.view._wt.wtOverlays.syncScrollWithMaster()}function yx(e,t){wx(e,t),t.add(e)}function wx(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _x(e,t,r){return t=Sx(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sx(e){var t=Ex(e,"string");return"symbol"==typeof t?t:t+""}function Ex(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Mx(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const Tx="trimRows",Cx=330;var xx=new WeakSet;class Ax extends er["a"]{constructor(){super(...arguments),yx(this,xx),_x(this,"trimmedRowsMap",null)}static get PLUGIN_KEY(){return Tx}static get PLUGIN_PRIORITY(){return Cx}isEnabled(){return!!this.hot.getSettings()[Tx]}enablePlugin(){this.enabled||(this.trimmedRowsMap=this.hot.rowIndexMapper.registerMap("trimRows",new Sm["a"]),this.trimmedRowsMap.addLocalHook("init",()=>Mx(xx,this,Nx).call(this)),super.enablePlugin())}updatePlugin(){const e=this.hot.getSettings()[Tx];Array.isArray(e)&&this.hot.batchExecution(()=>{this.trimmedRowsMap.clear(),Object(d["arrayEach"])(e,e=>{this.trimmedRowsMap.setValueAtIndex(e,!0)})},!0),super.updatePlugin()}disablePlugin(){this.hot.rowIndexMapper.unregisterMap("trimRows"),super.disablePlugin()}getTrimmedRows(){return this.trimmedRowsMap.getTrimmedIndexes()}trimRows(e){const t=this.getTrimmedRows(),r=this.isValidConfig(e);let n=t;r&&(n=Array.from(new Set(t.concat(e))));const i=this.hot.runHooks("beforeTrimRow",t,n,r);!1!==i&&(r&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.trimmedRowsMap.setValueAtIndex(e,!0)})},!0),this.hot.runHooks("afterTrimRow",t,n,r,r&&n.length>t.length))}trimRow(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.trimRows(t)}untrimRows(e){const t=this.getTrimmedRows(),r=this.isValidConfig(e);let n=t;const i=this.trimmedRowsMap.getValues().slice(),a=e.length>0;r&&a&&(Object(d["arrayEach"])(e,e=>{i[e]=!1}),n=Object(d["arrayReduce"])(i,(e,t,r)=>(t&&e.push(r),e),[]));const o=this.hot.runHooks("beforeUntrimRow",t,n,r&&a);!1!==o&&(r&&a&&this.trimmedRowsMap.setValues(i),this.hot.runHooks("afterUntrimRow",t,n,r&&a,r&&n.length<t.length))}untrimRow(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.untrimRows(t)}isTrimmed(e){return this.trimmedRowsMap.getValueAtIndex(e)||!1}untrimAll(){this.untrimRows(this.getTrimmedRows())}isValidConfig(e){const t=this.hot.countSourceRows();return e.every(e=>Number.isInteger(e)&&e>=0&&e<t)}destroy(){super.destroy()}}function Nx(){const e=this.hot.getSettings()[Tx];Array.isArray(e)&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.trimmedRowsMap.setValueAtIndex(e,!0)})},!0)}r("8e39");const Ox="undoRedo",Rx="undoRedo";function Lx(e){const t=this;this.instance=e,this.doneActions=[],this.undoneActions=[],this.ignoreNewActions=!1,this.enabled=!1,e.addHook("afterChange",(function(r,n){const i=r&&r.length;if(!i)return;const a=r.find(e=>{const[,,t,r]=e;return t!==r});if(!a)return;const o=()=>{const t=r.reduce((e,t)=>(e.push([...t]),e),[]);Object(d["arrayEach"])(t,t=>{t[1]=e.propToCol(t[1])});const n=i>1?this.getSelected():[[t[0][0],t[0][1]]];return new Lx.ChangeAction(t,n)};t.done(o,n)})),e.addHook("afterCreateRow",(e,r,n)=>{t.done(()=>new Lx.CreateRowAction(e,r),n)});const r=(t,r,n,i)=>{const a=["visualRow","visualCol","row","col","prop"],o=a.length,s=[];return Object(nt["rangeEach"])(n,i,n=>{Object(nt["rangeEach"])(t,r,t=>{const r=e.getCellMeta(t,n);if(Object.keys(r).length!==o){const e=Object.fromEntries(Object.entries(r).filter(e=>{let[t]=e;return!1===a.includes(t)}));s.push([r.visualRow,r.visualCol,e])}})}),s};e.addHook("beforeRemoveRow",(n,i,a,s)=>{const l=()=>{const a=e.toPhysicalRow(n),s=a+i-1,l=Object(o["deepClone"])(t.instance.getSourceData(a,0,a+i-1,t.instance.countSourceCols()-1));return new Lx.RemoveRowAction(a,l,e.getSettings().fixedRowsBottom,e.getSettings().fixedRowsTop,e.rowIndexMapper.getIndexesSequence(),r(a,s,0,e.countCols()-1))};t.done(l,s)}),e.addHook("afterCreateCol",(e,r,n)=>{t.done(()=>new Lx.CreateColumnAction(e,r),n)}),e.addHook("beforeRemoveCol",(n,i,a,o)=>{const s=()=>{const a=t.instance.getSourceDataArray(),o=(t.instance.countCols()+n)%t.instance.countCols(),s=o+i-1,l=[],u=[],c=[];Object(nt["rangeEach"])(a.length-1,t=>{const r=[],n=a[t];Object(nt["rangeEach"])(o,s,t=>{r.push(n[e.toPhysicalColumn(t)])}),l.push(r)}),Object(nt["rangeEach"])(i-1,t=>{c.push(e.toPhysicalColumn(o+t))}),Array.isArray(e.getSettings().colHeaders)&&Object(nt["rangeEach"])(i-1,t=>{u.push(e.getSettings().colHeaders[e.toPhysicalColumn(o+t)]||null)});const d=e.columnIndexMapper.getIndexesSequence(),h=e.rowIndexMapper.getIndexesSequence();return new Lx.RemoveColumnAction(o,c,l,u,d,h,e.getSettings().fixedColumnsStart,r(0,e.countRows(),o,s))};t.done(s,o)}),e.addHook("beforeCellAlignment",(e,r,n,i)=>{t.done(()=>new Lx.CellAlignmentAction(e,r,n,i))}),e.addHook("beforeFilter",e=>{t.done(()=>new Lx.FiltersAction(e))}),e.addHook("beforeRowMove",(e,r)=>{!1!==e&&t.done(()=>new Lx.RowMoveAction(e,r))}),e.addHook("beforeColumnMove",(e,r)=>{!1!==e&&t.done(()=>new Lx.ColumnMoveAction(e,r))}),e.addHook("beforeMergeCells",(r,n)=>{n||t.done(()=>new Lx.MergeCellsAction(e,r))}),e.addHook("afterUnmergeCells",(r,n)=>{n||t.done(()=>new Lx.UnmergeCellsAction(e,r))}),e.addHook("afterInit",()=>{t.init()})}Lx.prototype.done=function(e,t){if(this.ignoreNewActions)return;const r="UndoRedo.undo"===t||"UndoRedo.redo"===t||"auto"===t;if(r)return;const n=this.doneActions.slice(),i=this.instance.runHooks("beforeUndoStackChange",n,t);if(!1===i)return;const a=e(),o=this.undoneActions.slice();this.doneActions.push(a),this.instance.runHooks("afterUndoStackChange",n,this.doneActions.slice()),this.instance.runHooks("beforeRedoStackChange",o),this.undoneActions.length=0,this.instance.runHooks("afterRedoStackChange",o,this.undoneActions.slice())},Lx.prototype.undo=function(){if(this.isUndoAvailable()){const e=this.doneActions.slice();this.instance.runHooks("beforeUndoStackChange",e);const t=this.doneActions.pop();this.instance.runHooks("afterUndoStackChange",e,this.doneActions.slice());const r=Object(o["deepClone"])(t),n=this.instance.runHooks("beforeUndo",r);if(!1===n)return;this.ignoreNewActions=!0;const i=this,a=this.undoneActions.slice();this.instance.runHooks("beforeRedoStackChange",a),t.undo(this.instance,()=>{i.ignoreNewActions=!1,i.undoneActions.push(t)}),this.instance.runHooks("afterRedoStackChange",a,this.undoneActions.slice()),this.instance.runHooks("afterUndo",r)}},Lx.prototype.redo=function(){if(this.isRedoAvailable()){const e=this.undoneActions.slice();this.instance.runHooks("beforeRedoStackChange",e);const t=this.undoneActions.pop();this.instance.runHooks("afterRedoStackChange",e,this.undoneActions.slice());const r=Object(o["deepClone"])(t),n=this.instance.runHooks("beforeRedo",r);if(!1===n)return;this.ignoreNewActions=!0;const i=this,a=this.doneActions.slice();this.instance.runHooks("beforeUndoStackChange",a),t.redo(this.instance,()=>{i.ignoreNewActions=!1,i.doneActions.push(t)}),this.instance.runHooks("afterUndoStackChange",a,this.doneActions.slice()),this.instance.runHooks("afterRedo",r)}},Lx.prototype.isUndoAvailable=function(){return this.doneActions.length>0},Lx.prototype.isRedoAvailable=function(){return this.undoneActions.length>0},Lx.prototype.clear=function(){this.doneActions.length=0,this.undoneActions.length=0},Lx.prototype.isEnabled=function(){return this.enabled},Lx.prototype.enable=function(){if(this.isEnabled())return;const e=this.instance;this.enabled=!0,Px(e),this.registerShortcuts(),e.addHook("afterChange",Dx)},Lx.prototype.disable=function(){if(!this.isEnabled())return;const e=this.instance;this.enabled=!1,jx(e),this.unregisterShortcuts(),e.removeHook("afterChange",Dx)},Lx.prototype.destroy=function(){this.clear(),this.instance=null,this.doneActions=null,this.undoneActions=null},Lx.Action=function(){},Lx.Action.prototype.undo=function(){},Lx.Action.prototype.redo=function(){},Lx.ChangeAction=function(e,t){this.changes=e,this.selected=t,this.actionType="change"},Object(o["inherit"])(Lx.ChangeAction,Lx.Action),Lx.ChangeAction.prototype.undo=function(e,t){const r=Object(o["deepClone"])(this.changes),n=e.countEmptyRows(!0),i=e.countEmptyCols(!0);for(let o=0,s=r.length;o<s;o++)r[o].splice(3,1);e.addHookOnce("afterChange",t),e.setDataAtCell(r,null,null,"UndoRedo.undo");for(let o=0,s=r.length;o<s;o++){const[t,a]=r[o];e.getSettings().minSpareRows&&t+1+e.getSettings().minSpareRows===e.countRows()&&n===e.getSettings().minSpareRows&&(e.alter("remove_row",parseInt(t+1,10),e.getSettings().minSpareRows),e.undoRedo.doneActions.pop()),e.getSettings().minSpareCols&&a+1+e.getSettings().minSpareCols===e.countCols()&&i===e.getSettings().minSpareCols&&(e.alter("remove_col",parseInt(a+1,10),e.getSettings().minSpareCols),e.undoRedo.doneActions.pop())}const a=e.getSelectedLast();if(void 0!==a){const[t,n]=r[0],[i,o]=a,s=e.view.getFirstFullyVisibleRow(),l=e.view.getFirstFullyVisibleColumn(),u=t>=s,c=n>=l,d=u&&c,h=i!==t||o!==n;if(!1===d&&!0===h){const r={row:t,col:n};!1===u&&(r.verticalSnap="top"),!1===c&&(r.horizontalSnap="start"),e.scrollViewportTo(r)}}e.selectCells(this.selected,!1,!1)},Lx.ChangeAction.prototype.redo=function(e,t){const r=Object(o["deepClone"])(this.changes);for(let n=0,i=r.length;n<i;n++)r[n].splice(2,1);e.addHookOnce("afterChange",t),e.setDataAtCell(r,null,null,"UndoRedo.redo"),this.selected&&e.selectCells(this.selected,!1,!1)},Lx.CreateRowAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_row"},Object(o["inherit"])(Lx.CreateRowAction,Lx.Action),Lx.CreateRowAction.prototype.undo=function(e,t){const r=e.countRows(),n=e.getSettings().minSpareRows;this.index>=r&&this.index-n<r&&(this.index-=n),e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.amount,"UndoRedo.undo")},Lx.CreateRowAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateRow",t),e.alter("insert_row_above",this.index,this.amount,"UndoRedo.redo")},Lx.RemoveRowAction=function(e,t,r,n,i,a){this.index=e,this.data=t,this.actionType="remove_row",this.fixedRowsBottom=r,this.fixedRowsTop=n,this.rowIndexesSequence=i,this.removedCellMetas=a},Object(o["inherit"])(Lx.RemoveRowAction,Lx.Action),Lx.RemoveRowAction.prototype.undo=function(e,t){const r=e.getSettings(),n=[];r.fixedRowsBottom=this.fixedRowsBottom,r.fixedRowsTop=this.fixedRowsTop,this.data.forEach((e,t)=>{Object.keys(e).forEach(r=>{const i=parseInt(r,10);n.push([this.index+t,isNaN(i)?r:i,e[r]])})}),e.alter("insert_row_above",this.index,this.data.length,"UndoRedo.undo"),this.removedCellMetas.forEach(t=>{let[r,n,i]=t;e.setCellMetaObject(r,n,i)}),e.addHookOnce("afterViewRender",t),e.setSourceDataAtCell(n,null,null,"UndoRedo.undo"),e.rowIndexMapper.setIndexesSequence(this.rowIndexesSequence)},Lx.RemoveRowAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.data.length,"UndoRedo.redo")},Lx.CreateColumnAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_col"},Object(o["inherit"])(Lx.CreateColumnAction,Lx.Action),Lx.CreateColumnAction.prototype.undo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.undo")},Lx.CreateColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateCol",t),e.alter("insert_col_start",this.index,this.amount,"UndoRedo.redo")},Lx.RemoveColumnAction=function(e,t,r,n,i,a,o,s){this.index=e,this.indexes=t,this.data=r,this.amount=this.data[0].length,this.headers=n,this.columnPositions=i.slice(0),this.rowPositions=a.slice(0),this.actionType="remove_col",this.fixedColumnsStart=o,this.removedCellMetas=s},Object(o["inherit"])(Lx.RemoveColumnAction,Lx.Action),Lx.RemoveColumnAction.prototype.undo=function(e,t){const r=e.getSettings();r.fixedColumnsStart=this.fixedColumnsStart;const n=this.indexes.slice(0).sort(),i=(e,t,r)=>r[this.indexes.indexOf(n[t])],a=this.data.length,o=[];for(let u=0;u<a;u++)o.push(Object(d["arrayMap"])(this.data[u],i));const s=Object(d["arrayMap"])(this.headers,i),l=[];e.alter("insert_col_start",this.indexes[0],this.indexes.length,"UndoRedo.undo"),Object(d["arrayEach"])(e.getSourceDataArray(),(e,t)=>{Object(d["arrayEach"])(n,(r,n)=>{e[r]=o[t][n],l.push([t,r,e[r]])})}),e.setSourceDataAtCell(l,void 0,void 0,"UndoRedo.undo"),"undefined"!==typeof this.headers&&Object(d["arrayEach"])(s,(t,r)=>{e.getSettings().colHeaders[n[r]]=t}),this.removedCellMetas.forEach(t=>{let[r,n,i]=t;e.setCellMetaObject(r,n,i)}),e.batchExecution(()=>{e.rowIndexMapper.setIndexesSequence(this.rowPositions),e.columnIndexMapper.setIndexesSequence(this.columnPositions)},!0),e.addHookOnce("afterViewRender",t),e.render()},Lx.RemoveColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.redo")},Lx.CellAlignmentAction=function(e,t,r,n){this.stateBefore=e,this.range=t,this.type=r,this.alignment=n},Lx.CellAlignmentAction.prototype.undo=function(e,t){Object(d["arrayEach"])(this.range,t=>{t.forAll((t,r)=>{t>=0&&r>=0&&e.setCellMeta(t,r,"className",this.stateBefore[t][r]||" htLeft")})}),e.addHookOnce("afterViewRender",t),e.render()},Lx.CellAlignmentAction.prototype.redo=function(e,t){io(this.range,this.type,this.alignment,(t,r)=>e.getCellMeta(t,r),(t,r,n,i)=>e.setCellMeta(t,r,n,i)),e.addHookOnce("afterViewRender",t),e.render()},Lx.FiltersAction=function(e){this.conditionsStack=e,this.actionType="filter"},Object(o["inherit"])(Lx.FiltersAction,Lx.Action),Lx.FiltersAction.prototype.undo=function(e,t){const r=e.getPlugin("filters");e.addHookOnce("afterViewRender",t),r.conditionCollection.importAllConditions(this.conditionsStack.slice(0,this.conditionsStack.length-1)),r.filter()},Lx.FiltersAction.prototype.redo=function(e,t){const r=e.getPlugin("filters");e.addHookOnce("afterViewRender",t),r.conditionCollection.importAllConditions(this.conditionsStack),r.filter()};class kx extends Lx.Action{constructor(e,t){super(),this.cellRange=t;const r=this.cellRange.getTopStartCorner(),n=this.cellRange.getBottomEndCorner();this.rangeData=e.getData(r.row,r.col,n.row,n.col)}undo(e,t){const r=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),r.unmergeRange(this.cellRange,!0);const n=this.cellRange.getTopStartCorner();e.populateFromArray(n.row,n.col,this.rangeData,void 0,void 0,"MergeCells")}redo(e,t){const r=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),r.mergeRange(this.cellRange)}}Lx.MergeCellsAction=kx;class Ix extends Lx.Action{constructor(e,t){super(),this.cellRange=t}undo(e,t){const r=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),r.mergeRange(this.cellRange,!0)}redo(e,t){const r=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),r.unmergeRange(this.cellRange,!0),e.render()}}function Dx(e,t){const r=this;if("loadData"===t)return r.undoRedo.clear()}function Px(e){e.undo=function(){return e.undoRedo.undo()},e.redo=function(){return e.undoRedo.redo()},e.isUndoAvailable=function(){return e.undoRedo.isUndoAvailable()},e.isRedoAvailable=function(){return e.undoRedo.isRedoAvailable()},e.clearUndo=function(){return e.undoRedo.clear()}}function jx(e){delete e.undo,delete e.redo,delete e.isUndoAvailable,delete e.isRedoAvailable,delete e.clearUndo}Lx.UnmergeCellsAction=Ix,Lx.RowMoveAction=function(e,t){this.rows=e.slice(),this.finalRowIndex=t,this.actionType="row_move"},Object(o["inherit"])(Lx.RowMoveAction,Lx.Action),Lx.RowMoveAction.prototype.undo=function(e,t){const r=e.getPlugin("manualRowMove");e.addHookOnce("afterViewRender",t);const n=Sg(this.rows,this.finalRowIndex,e.rowIndexMapper.getNumberOfIndexes());n.reverse().forEach(e=>{let{from:t,to:n}=e;t<n&&(n-=1),r.moveRow(n,t)}),e.render(),e.deselectCell(),e.selectRows(this.rows[0],this.rows[0]+this.rows.length-1)},Lx.RowMoveAction.prototype.redo=function(e,t){const r=e.getPlugin("manualRowMove");e.addHookOnce("afterViewRender",t),r.moveRows(this.rows.slice(),this.finalRowIndex),e.render(),e.deselectCell(),e.selectRows(this.finalRowIndex,this.finalRowIndex+this.rows.length-1)},Lx.ColumnMoveAction=function(e,t){this.columns=e.slice(),this.finalColumnIndex=t,this.actionType="col_move"},Object(o["inherit"])(Lx.ColumnMoveAction,Lx.Action),Lx.ColumnMoveAction.prototype.undo=function(e,t){const r=e.getPlugin("manualColumnMove");e.addHookOnce("afterViewRender",t);const n=Sg(this.columns,this.finalColumnIndex,e.columnIndexMapper.getNumberOfIndexes());n.reverse().forEach(e=>{let{from:t,to:n}=e;t<n&&(n-=1),r.moveColumn(n,t)}),e.render(),e.deselectCell(),e.selectColumns(this.columns[0],this.columns[0]+this.columns.length-1)},Lx.ColumnMoveAction.prototype.redo=function(e,t){const r=e.getPlugin("manualColumnMove");e.addHookOnce("afterViewRender",t),r.moveColumns(this.columns.slice(),this.finalColumnIndex),e.render(),e.deselectCell(),e.selectColumns(this.finalColumnIndex,this.finalColumnIndex+this.columns.length-1)},Lx.prototype.init=function(){const e=this.instance.getSettings().undo,t="undefined"===typeof e||e;this.instance.undoRedo||(this.instance.undoRedo=this),t?this.instance.undoRedo.enable():this.instance.undoRedo.disable()},Lx.prototype.registerShortcuts=function(){const e=this.instance.getShortcutManager(),t=e.getContext("grid"),r=e=>!e.altKey,n={runOnlyIf:r,group:Ox};t.addShortcuts([{keys:[["Control/Meta","z"]],callback:()=>{this.undo()}},{keys:[["Control/Meta","y"],["Control/Meta","Shift","z"]],callback:()=>{this.redo()}}],n)},Lx.prototype.unregisterShortcuts=function(){const e=this.instance.getShortcutManager(),t=e.getContext("grid");t.removeShortcutsByGroup(Ox)};const Fx=fe["a"].getSingleton();Fx.add("afterUpdateSettings",(function(){var e;null===(e=this.getPlugin("undoRedo"))||void 0===e||e.init()})),Fx.register("beforeUndo"),Fx.register("afterUndo"),Fx.register("beforeRedo"),Fx.register("afterRedo"),Lx.PLUGIN_KEY=Rx,Lx.SETTING_KEYS=!0;var Hx=Lx,Bx=r("24b5");function Ux(){Object(Bx["d"])(Mr),Object(Bx["d"])(qr),Object(Bx["d"])(un),Object(Bx["d"])(Pn),Object(Bx["d"])(ri),Object(Bx["d"])(pa),Object(Bx["d"])(Ia),Object(Bx["d"])(Po),Object(Bx["d"])(Dl),Object(Bx["d"])(Iu),Object(Bx["d"])(yc),Object(Bx["d"])(Rc),Object(Bx["d"])(Kc),Object(Bx["d"])(Md),Object(Bx["d"])(jm),Object(Bx["d"])(fv),Object(Bx["d"])(Qv),Object(Bx["d"])(yb),Object(Bx["d"])(Fb),Object(Bx["d"])(Cy),Object(Bx["d"])(aw),Object(Bx["d"])(Xw),Object(Bx["d"])(N_),Object(Bx["d"])(KS),Object(Bx["d"])(kE),Object(Bx["d"])(HE),Object(Bx["d"])(uT),Object(Bx["d"])(bC),Object(Bx["d"])(WC),Object(Bx["d"])(ix),Object(Bx["d"])(mx),Object(Bx["d"])(Ax),Object(Bx["d"])(Hx)}function Vx(){Ae(),ft(),Ot(),Qt(),Ux()}},"8c8a":function(e,t,r){(function(t){e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),a=0;a<n;++a)i[a]=e[a]^r[a];return i}}).call(this,r("b639").Buffer)},"8d23":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("ff74"),i=r("42e9"),a=r("ad99");class o extends a.BaseWriter{serialize(e,t){const r=n.applyDefaults(t,{format:"object",wellFormed:!1,noDoubleEncoding:!1,group:!1});return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(e,r.wellFormed,r.noDoubleEncoding),this._process(this._currentList,r)}_process(e,t){if(0===e.length)return{};const r={};let a=!1,o=0,s=0,l=0,u=0;for(let n=0;n<e.length;n++){const t=e[n],i=Object.keys(t)[0];switch(i){case"@":continue;case"#":o++;break;case"!":s++;break;case"?":l++;break;case"$":u++;break;default:r[i]?a=!0:r[i]=!0;break}}const c=this._getAttrKey(),d=this._getNodeKey(i.NodeType.Text),h=this._getNodeKey(i.NodeType.Comment),p=this._getNodeKey(i.NodeType.ProcessingInstruction),f=this._getNodeKey(i.NodeType.CData);if(1===o&&1===e.length&&n.isString(e[0]["#"]))return e[0]["#"];if(a){const r=[],i={[d]:r};for(let a=0;a<e.length;a++){const i=e[a],o=Object.keys(i)[0];switch(o){case"@":const e=i["@"],a=Object.keys(e);1===a.length?r.push({[c+a[0]]:e[a[0]]}):r.push({[c]:i["@"]});break;case"#":r.push({[d]:i["#"]});break;case"!":r.push({[h]:i["!"]});break;case"?":r.push({[p]:i["?"]});break;case"$":r.push({[f]:i["$"]});break;default:const s=i;if(0!==s[o].length&&n.isArray(s[o][0])){const e=[],n=s[o];for(let r=0;r<n.length;r++)e.push(this._process(n[r],t));r.push({[o]:e})}else r.push({[o]:this._process(s[o],t)});break}}return i}{let r=1,i=1,a=1,m=1;const g={};for(let v=0;v<e.length;v++){const b=e[v],y=Object.keys(b)[0];switch(y){case"@":const e=b["@"],v=Object.keys(e);if(t.group&&1!==v.length)g[c]=e;else for(const t in e)g[c+t]=e[t];break;case"#":r=this._processSpecItem(b["#"],g,t.group,d,o,r);break;case"!":i=this._processSpecItem(b["!"],g,t.group,h,s,i);break;case"?":a=this._processSpecItem(b["?"],g,t.group,p,l,a);break;case"$":m=this._processSpecItem(b["$"],g,t.group,f,u,m);break;default:const w=b;if(0!==w[y].length&&n.isArray(w[y][0])){const e=[],r=w[y];for(let n=0;n<r.length;n++)e.push(this._process(r[n],t));g[y]=e}else g[y]=this._process(w[y],t);break}}return g}}_processSpecItem(e,t,r,i,a,o){if(!r&&n.isArray(e)&&a+e.length>2)for(const n of e){const e=i+(o++).toString();t[e]=n}else{const r=a>1?i+(o++).toString():i;t[r]=e}return o}beginElement(e){const t=[];if(0===this._currentList.length)this._currentList.push({[e]:t});else{const r=this._currentList[this._currentList.length-1];if(this._isElementNode(r,e))if(0!==r[e].length&&n.isArray(r[e][0])){const n=r[e];n.push(t)}else r[e]=[r[e],t];else this._currentList.push({[e]:t})}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=t:this._listRegister.push(t),this._currentList=t}endElement(){this._currentList=this._listRegister[--this._currentIndex]}attribute(e,t){if(0===this._currentList.length)this._currentList.push({"@":{[e]:t}});else{const r=this._currentList[this._currentList.length-1];this._isAttrNode(r)?r["@"][e]=t:this._currentList.push({"@":{[e]:t}})}}comment(e){if(0===this._currentList.length)this._currentList.push({"!":e});else{const t=this._currentList[this._currentList.length-1];this._isCommentNode(t)?n.isArray(t["!"])?t["!"].push(e):t["!"]=[t["!"],e]:this._currentList.push({"!":e})}}text(e){if(0===this._currentList.length)this._currentList.push({"#":e});else{const t=this._currentList[this._currentList.length-1];this._isTextNode(t)?n.isArray(t["#"])?t["#"].push(e):t["#"]=[t["#"],e]:this._currentList.push({"#":e})}}instruction(e,t){const r=""===t?e:e+" "+t;if(0===this._currentList.length)this._currentList.push({"?":r});else{const e=this._currentList[this._currentList.length-1];this._isInstructionNode(e)?n.isArray(e["?"])?e["?"].push(r):e["?"]=[e["?"],r]:this._currentList.push({"?":r})}}cdata(e){if(0===this._currentList.length)this._currentList.push({$:e});else{const t=this._currentList[this._currentList.length-1];this._isCDATANode(t)?n.isArray(t["$"])?t["$"].push(e):t["$"]=[t["$"],e]:this._currentList.push({$:e})}}_isAttrNode(e){return"@"in e}_isTextNode(e){return"#"in e}_isCommentNode(e){return"!"in e}_isInstructionNode(e){return"?"in e}_isCDATANode(e){return"$"in e}_isElementNode(e,t){return t in e}_getAttrKey(){return this._builderOptions.convert.att}_getNodeKey(e){switch(e){case i.NodeType.Comment:return this._builderOptions.convert.comment;case i.NodeType.Text:return this._builderOptions.convert.text;case i.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case i.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}}}t.ObjectWriter=o},"8d2e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("a45a"),a=r("9688"),o=r("68d5");class s{constructor(e){this._associatedDocument=e||n.dom.window.document}createDocumentType(e,t,r){return a.namespace_validate(e),a.create_documentType(this._associatedDocument,e,t,r)}createDocument(e,t,r=null){const n=a.create_xmlDocument();let o=null;return t&&(o=a.document_internalCreateElementNS(n,e,t)),r&&n.appendChild(r),o&&n.appendChild(o),n._origin=this._associatedDocument._origin,e===i.namespace.HTML?n._contentType="application/xhtml+xml":e===i.namespace.SVG?n._contentType="image/svg+xml":n._contentType="application/xml",n}createHTMLDocument(e){const t=a.create_document();t._type="html",t._contentType="text/html",t.appendChild(a.create_documentType(t,"html","",""));const r=a.element_createAnElement(t,"html",i.namespace.HTML);t.appendChild(r);const n=a.element_createAnElement(t,"head",i.namespace.HTML);if(r.appendChild(n),void 0!==e){const r=a.element_createAnElement(t,"title",i.namespace.HTML);n.appendChild(r);const o=a.create_text(t,e);r.appendChild(o)}const o=a.element_createAnElement(t,"body",i.namespace.HTML);return r.appendChild(o),t._origin=this._associatedDocument._origin,t}hasFeature(){return!0}static _create(e){return new s(e)}}t.DOMImplementationImpl=s,o.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},"8d47":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var r=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,r){return e>11?r?"μμ":"ΜΜ":r?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,r){var n=this._calendarEl[e],i=r&&r.hours();return t(n)&&(n=n.apply(r)),n.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return r}))},"8d57":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function a(e,t,r){var n=e+" ";switch(r){case"ss":return n+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(i(e)?"godziny":"godzin");case"ww":return n+(i(e)?"tygodnie":"tygodni");case"MM":return n+(i(e)?"miesiące":"miesięcy");case"yy":return n+(i(e)?"lata":"lat")}}var o=e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?r[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"8df48":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},r={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},n=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,r){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return n}))},"8df7":function(e,t,r){var n=r("3fb5"),i=r("b639").Buffer,a=r("cfbd");function o(e){a.call(this,e),this.enc="pem"}n(o,a),e.exports=o,o.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,l=-1,u=0;u<r.length;u++){var c=r[u].match(o);if(null!==c&&c[2]===n){if(-1!==s){if("END"!==c[1])break;l=u;break}if("BEGIN"!==c[1])break;s=u}}if(-1===s||-1===l)throw new Error("PEM section not found for: "+n);var d=r.slice(s+1,l).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new i(d,"base64");return a.prototype.decode.call(this,h,t)}},"8e39":function(e,t,r){"use strict";var n=r("ac4f"),i=r("d3e6"),a=r("cac7");n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,r){a(t,e,r)}),{AS_ENTRIES:!0}),t}})},"8e73":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,r,a,o){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return r[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},9019:function(e,t,r){"use strict";var n=r("966d");function i(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,e)):n.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(o,r,e)):n.nextTick(o,r,e):t&&t(e)})),this)}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:a}},9043:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,r){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return n}))},9046:function(e,t,r){"use strict";var n=r("939b"),i=r("fd18");e.exports=function(e){if("Function"===n(e))return i(e)}},9056:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));r("7a89");var n=r("1096"),i=r("e90f"),a=r("3d57"),o=r("a73f"),s=r("97b9");function l(e,t,r){return t=u(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e){var t=c(e,"string");return"symbol"==typeof t?t:t+""}function c(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class d extends n["a"]{constructor(){super(...arguments),l(this,"orderOfIndexes",[])}getValues(){return this.orderOfIndexes.map(e=>this.indexedValues[e])}setValues(e){this.orderOfIndexes=[...Array(e.length).keys()],super.setValues(e)}setValueAtIndex(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.orderOfIndexes.length;return e<this.indexedValues.length&&(this.indexedValues[e]=t,!1===this.orderOfIndexes.includes(e)&&this.orderOfIndexes.splice(r,0,e),this.runLocalHooks("change"),!0)}clearValue(e){this.orderOfIndexes=Object(a["b"])(this.orderOfIndexes,[e]),Object(s["isFunction"])(this.initValueOrFn)?super.setValueAtIndex(e,this.initValueOrFn(e)):super.setValueAtIndex(e,this.initValueOrFn)}getLength(){return this.orderOfIndexes.length}setDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.indexedValues.length;this.orderOfIndexes.length=0,super.setDefaultValues(e)}insert(e,t){this.indexedValues=Object(i["a"])(this.indexedValues,e,t,this.initValueOrFn),this.orderOfIndexes=Object(o["b"])(this.orderOfIndexes,t),super.insert(e,t)}remove(e){this.indexedValues=Object(i["b"])(this.indexedValues,e),this.orderOfIndexes=Object(a["b"])(this.orderOfIndexes,e),this.orderOfIndexes=Object(o["a"])(this.orderOfIndexes,e),super.remove(e)}getEntries(){return this.orderOfIndexes.map(e=>[e,this.getValueAtIndex(e)])}}},"90ea":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},9140:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e,t,r,n,i,a,o,s,l){this._type=e,this._target=t,this._addedNodes=r,this._removedNodes=n,this._previousSibling=i,this._nextSibling=a,this._attributeName=o,this._attributeNamespace=s,this._oldValue=l}get type(){return this._type}get target(){return this._target}get addedNodes(){return this._addedNodes}get removedNodes(){return this._removedNodes}get previousSibling(){return this._previousSibling}get nextSibling(){return this._nextSibling}get attributeName(){return this._attributeName}get attributeNamespace(){return this._attributeNamespace}get oldValue(){return this._oldValue}static _create(e,t,r,i,a,o,s,l,u){return new n(e,t,r,i,a,o,s,l,u)}}t.MutationRecordImpl=n},9152:function(e,t){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,p=e[t+d];for(d+=h,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=h,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+d],d+=h,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=u}return(p?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),t+=o+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+p]=255&s,p+=f,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+p]=255&o,p+=f,o/=256,u-=8);e[r+p-f]|=128*m}},9204:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("321f");function i(e,t){null===e._element?e._value=t:n.element_change(e,e._element,t)}t.attr_setAnExistingAttributeValue=i},"925e":function(e,t,r){(function(t,n,i){var a=r("a9f1"),o=r("3fb5"),s=r("c90b"),l=r("3d1b"),u=r("d938"),c=s.IncomingMessage,d=s.readyStates;function h(e,t){return a.fetch&&t?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":a.vbArray&&e?"text:vbarray":"text"}var p=e.exports=function(e){var r,n=this;l.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!a.abortController)i=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!a.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=h(r,i),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};function f(e){try{var t=e.status;return null!==t&&0!==t}catch(r){return!1}}o(p,l.Writable),p.prototype.setHeader=function(e,t){var r=this,n=e.toLowerCase();-1===m.indexOf(n)&&(r._headers[n]={name:e,value:t})},p.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},p.prototype.removeHeader=function(e){var t=this;delete t._headers[e.toLowerCase()]},p.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,o=e._headers,s=null;"GET"!==r.method&&"HEAD"!==r.method&&(s=a.arraybuffer?u(t.concat(e._body)):a.blobConstructor?new n.Blob(e._body.map((function(e){return u(e)})),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());var l=[];if(Object.keys(o).forEach((function(e){var t=o[e].name,r=o[e].value;Array.isArray(r)?r.forEach((function(e){l.push([t,e])})):l.push([t,r])})),"fetch"===e._mode){var c=null;if(a.abortController){var h=new AbortController;c=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:l,body:s||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:c}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var p=e._xhr=new n.XMLHttpRequest;try{p.open(e._opts.method,e._opts.url,!0)}catch(f){return void i.nextTick((function(){e.emit("error",f)}))}"responseType"in p&&(p.responseType=e._mode.split(":")[0]),"withCredentials"in p&&(p.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in p&&p.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(p.timeout=r.requestTimeout,p.ontimeout=function(){e.emit("requestTimeout")}),l.forEach((function(e){p.setRequestHeader(e[0],e[1])})),e._response=null,p.onreadystatechange=function(){switch(p.readyState){case d.LOADING:case d.DONE:e._onXHRProgress();break}},"moz-chunked-arraybuffer"===e._mode&&(p.onprogress=function(){e._onXHRProgress()}),p.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{p.send(s)}catch(f){return void i.nextTick((function(){e.emit("error",f)}))}}}},p.prototype._onXHRProgress=function(){var e=this;f(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},p.prototype._connect=function(){var e=this;e._destroyed||(e._response=new c(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},p.prototype._write=function(e,t,r){var n=this;n._body.push(e),r()},p.prototype.abort=p.prototype.destroy=function(){var e=this;e._destroyed=!0,n.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},p.prototype.end=function(e,t,r){var n=this;"function"===typeof e&&(r=e,e=void 0),l.Writable.prototype.end.call(n,e,t,r)},p.prototype.flushHeaders=function(){},p.prototype.setTimeout=function(){},p.prototype.setNoDelay=function(){},p.prototype.setSocketKeepAlive=function(){};var m=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r("b639").Buffer,r("c8ba"),r("4362"))},9389:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("8d2e"),i=r("507d"),a=r("b246"),o=r("f9a6"),s=r("fc97"),l=r("a19d"),u=r("e85c"),c=r("36f2"),d=r("77f3"),h=r("009c"),p=r("83d2"),f=r("f17c"),m=r("7fbc"),g=r("af0d"),v=r("7723"),b=r("5fbc"),y=r("f91d"),w=r("9873"),_=r("c0a6"),S=r("89ea"),E=r("e07b"),M=r("acd5"),T=r("ec01"),C=r("9140"),x=r("6394");function A(e){return n.DOMImplementationImpl._create(e)}function N(){return i.WindowImpl._create()}function O(){return new a.XMLDocumentImpl}function R(){return new o.DocumentImpl}function L(){return new s.AbortControllerImpl}function k(){return l.AbortSignalImpl._create()}function I(e,t,r,n){return u.DocumentTypeImpl._create(e,t,r,n)}function D(e,t,r,n){return c.ElementImpl._create(e,t,r,n)}function P(e,t,r,n){return c.ElementImpl._create(e,t,r,n)}function j(e,t,r,n){return c.ElementImpl._create(e,t,r,n)}function F(e){return d.DocumentFragmentImpl._create(e)}function H(e,t){return h.ShadowRootImpl._create(e,t)}function B(e,t){return p.AttrImpl._create(e,t)}function U(e,t){return f.TextImpl._create(e,t)}function V(e,t){return m.CDATASectionImpl._create(e,t)}function Y(e,t){return g.CommentImpl._create(e,t)}function z(e,t,r){return v.ProcessingInstructionImpl._create(e,t,r)}function W(e,t=(()=>!0)){return b.HTMLCollectionImpl._create(e,t)}function q(e){return y.NodeListImpl._create(e)}function G(e,t){return w.NodeListStaticImpl._create(e,t)}function K(e){return _.NamedNodeMapImpl._create(e)}function X(e,t){return S.RangeImpl._create(e,t)}function Z(e,t,r){return E.NodeIteratorImpl._create(e,t,r)}function $(e,t){return M.TreeWalkerImpl._create(e,t)}function J(){return T.NodeFilterImpl._create()}function Q(e,t,r,n,i,a,o,s,l){return C.MutationRecordImpl._create(e,t,r,n,i,a,o,s,l)}function ee(e,t){return x.DOMTokenListImpl._create(e,t)}t.create_domImplementation=A,t.create_window=N,t.create_xmlDocument=O,t.create_document=R,t.create_abortController=L,t.create_abortSignal=k,t.create_documentType=I,t.create_element=D,t.create_htmlElement=P,t.create_htmlUnknownElement=j,t.create_documentFragment=F,t.create_shadowRoot=H,t.create_attr=B,t.create_text=U,t.create_cdataSection=V,t.create_comment=Y,t.create_processingInstruction=z,t.create_htmlCollection=W,t.create_nodeList=q,t.create_nodeListStatic=G,t.create_namedNodeMap=K,t.create_range=X,t.create_nodeIterator=Z,t.create_treeWalker=$,t.create_nodeFilter=J,t.create_mutationRecord=Q,t.create_domTokenList=ee},9394:function(e,t,r){"use strict";var n=r("81b7"),i=r("bf78");e.exports=function(e){return n(i(e))}},"939b":function(e,t,r){"use strict";var n=r("fd18"),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},"93e6":function(e,t,r){"use strict";var n=r("8707").Buffer,i=r("d485").Transform,a=r("3fb5");function o(e,t){if(!n.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}function s(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}a(s,i),s.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)},s.prototype.update=function(e,t){if(o(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));var r=this._block,i=0;while(this._blockOffset+e.length-i>=this._blockSize){for(var a=this._blockOffset;a<this._blockSize;)r[a++]=e[i++];this._update(),this._blockOffset=0}while(i<e.length)r[this._blockOffset++]=e[i++];for(var s=0,l=8*e.length;l>0;++s)this._length[s]+=l,l=this._length[s]/4294967296|0,l>0&&(this._length[s]-=4294967296*l);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},s.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=s},"945d":function(e,t,r){"use strict";var n=r("7d92"),i=r("0cbb"),a=r("f3a3"),o=a.assert,s=a.parseBytes,l=r("380f"),u=r("44a3");function c(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=c,c.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),a=this.encodePoint(i),o=this.hashInt(a,r.pubBytes(),e).mul(r.priv()),l=n.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:a})},c.prototype.verify=function(e,t,r){e=s(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),a=this.g.mul(t.S()),o=t.R().add(n.pub().mul(i));return o.eq(a)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return a.intFromLE(e.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},c.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},c.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},c.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},c.prototype.decodePoint=function(e){e=a.parseBytes(e);var t=e.length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!==(128&e[t]),i=a.intFromLE(r);return this.curve.pointFromY(i,n)},c.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(e){return a.intFromLE(e)},c.prototype.isPoint=function(e){return e instanceof this.pointClass}},9490:function(e,t,r){(function(e){var n=r("925e"),i=r("c90b"),a=r("53a8"),o=r("8c05"),s=r("0b16"),l=t;l.request=function(t,r){t="string"===typeof t?s.parse(t):a(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||i,l=t.hostname||t.host,u=t.port,c=t.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),t.url=(l?o+"//"+l:"")+(u?":"+u:"")+c,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var d=new n(t);return r&&d.on("response",r),d},l.get=function(e,t){var r=l.request(e,t);return r.end(),r},l.ClientRequest=n,l.IncomingMessage=i.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=o,l.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r("c8ba"))},"956a":function(e,t,r){var n=r("1e3c"),i=r("fda6"),a=r("bac2"),o=r("0be8"),s=r("ae84");function l(e,t){var r,n;if(e=e.toLowerCase(),a[e])r=a[e].key,n=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var i=s(t,!1,r,n);return c(e,i.key,i.iv)}function u(e,t){var r,n;if(e=e.toLowerCase(),a[e])r=a[e].key,n=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var i=s(t,!1,r,n);return d(e,i.key,i.iv)}function c(e,t,r){if(e=e.toLowerCase(),a[e])return i.createCipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function d(e,t,r){if(e=e.toLowerCase(),a[e])return i.createDecipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function h(){return Object.keys(o).concat(i.getCiphers())}t.createCipher=t.Cipher=l,t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=u,t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=h},"956b":function(e,t,r){"use strict";var n=r("ac4f"),i=r("fc2d"),a=r("7dcf4"),o=r("2349"),s=r("bf80"),l=r("ae20"),u=1!==[].unshift(0),c=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},d=u||!c();n({target:"Array",proto:!0,arity:1,forced:d},{unshift:function(e){var t=i(this),r=a(t),n=arguments.length;if(n){l(r+n);var u=r;while(u--){var c=u+n;u in t?t[c]=t[u]:s(t,c)}for(var d=0;d<n;d++)t[d]=arguments[d]}return o(t,r+n)}})},"957c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t){var r=e.split("_");return t%10===1&&t%100!==11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){var i={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?r?"минута":"минуту":e+" "+t(i[n],+e)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:r,m:r,mm:r,h:"час",hh:r,d:"день",dd:r,w:"неделя",ww:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return i}))},9582:function(e,t,r){"use strict";var n=r("e156"),i=r("2471"),a=r("022b"),o=r("c272"),s=r("80dd"),l=s("iterator");e.exports=function(e){if(!a(e))return i(e,l)||i(e,"@@iterator")||o[n(e)]}},"958b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){switch(r){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var r=e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,r){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return r}))},9609:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},r=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var r=e%10,n=e>=100?100:null;return e+(t[e]||t[r]||t[n])},week:{dow:1,doy:7}});return r}))},"966d":function(e,t,r){"use strict";(function(t){function r(e,r,n,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:a=new Array(s-1),o=0;while(o<a.length)a[o++]=arguments[o];return t.nextTick((function(){e.apply(null,a)}))}}"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:r}:e.exports=t}).call(this,r("4362"))},9671:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,a=r("0f7c");e.exports=a.call(n,i)},9674:function(e,t,r){"use strict";var n=r("fd18");e.exports=n([].slice)},9686:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return n}))},9688:function(e,t,r){"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r("c91e")),n(r("9204")),n(r("c598")),n(r("3d7e")),n(r("9389")),n(r("bcd6")),n(r("b777")),n(r("dc6b")),n(r("b1e1")),n(r("321f")),n(r("3bc6")),n(r("0e57")),n(r("ba82")),n(r("7c81")),n(r("f141")),n(r("51f1")),n(r("750a")),n(r("79b1")),n(r("bf76")),n(r("16cb")),n(r("32ac")),n(r("7ef7")),n(r("2f3c")),n(r("5fb5")),n(r("4b7d")),n(r("12e2")),n(r("68d5")),n(r("1178"))},9718:function(e,t,r){"use strict";var n=r("8793"),i=r("2d2d");e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},"972c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r){var n={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100===0)&&(i=" de "),e+i+n[r]}var r=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return r}))},9797:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,r="",n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?r=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(r=n[t]),e+r},week:{dow:1,doy:4}});return t}))},"97b9":function(e,t,r){"use strict";r.r(t),r.d(t,"isFunction",(function(){return a})),r.d(t,"throttle",(function(){return o})),r.d(t,"throttleAfterHits",(function(){return s})),r.d(t,"debounce",(function(){return l})),r.d(t,"pipe",(function(){return u})),r.d(t,"partial",(function(){return c})),r.d(t,"curry",(function(){return d})),r.d(t,"curryRight",(function(){return h})),r.d(t,"fastCall",(function(){return p}));var n=r("81ea"),i=r("7b9c");function a(e){return"function"===typeof e}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=0;const n={lastCallThrottled:!0};let i=null;function a(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];const l=Date.now();let u=!1;n.lastCallThrottled=!0,r||(r=l,u=!0);const c=t-(l-r);return u?(n.lastCallThrottled=!1,e.apply(this,o)):(i&&clearTimeout(i),i=setTimeout(()=>{n.lastCallThrottled=!1,e.apply(this,o),r=0,i=void 0},c)),n}return a}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const n=o(e,t);let i=r;function a(){i=r}function s(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return i?(i-=1,e.apply(this,r)):n.apply(this,r)}return s.clearHits=a,s}function l(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=null;function i(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n&&clearTimeout(n),n=setTimeout(()=>{t=e.apply(this,a)},r),t}return i}function u(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const[i,...a]=t;return function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Object(n["arrayReduce"])(a,(e,t)=>t(e),i.apply(this,t))}}function c(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.apply(this,r.concat(n))}}function d(e){const t=e.length;function r(n){return function(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];const s=n.concat(a);let l;return l=s.length>=t?e.apply(this,s):r(s),l}}return r([])}function h(e){const t=e.length;function r(n){return function(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];const s=n.concat(a.reverse());let l;return l=s.length>=t?e.apply(this,s):r(s),l}}return r([])}function p(e,t,r,n,a,o,s,l){return Object(i["isDefined"])(l)?e.call(t,r,n,a,o,s,l):Object(i["isDefined"])(s)?e.call(t,r,n,a,o,s):Object(i["isDefined"])(o)?e.call(t,r,n,a,o):Object(i["isDefined"])(a)?e.call(t,r,n,a):Object(i["isDefined"])(n)?e.call(t,r,n):Object(i["isDefined"])(r)?e.call(t,r):e.call(t)}},"97dc":function(e,t,r){"use strict";var n=r("088f");e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},"980c":function(e,t,r){"use strict";var n=r("8707").Buffer,i=r("399f"),a=r("3337").ec,o=r("2aee"),s=r("cd91");function l(e,t,r,a,s){var l=o(r);if("ec"===l.type){if("ecdsa"!==a&&"ecdsa/rsa"!==a)throw new Error("wrong public key type");return u(e,t,l)}if("dsa"===l.type){if("dsa"!==a)throw new Error("wrong public key type");return c(e,t,l)}if("rsa"!==a&&"ecdsa/rsa"!==a)throw new Error("wrong public key type");t=n.concat([s,t]);var d=l.modulus.byteLength(),h=[1],p=0;while(t.length+h.length+2<d)h.push(255),p+=1;h.push(0);var f=-1;while(++f<t.length)h.push(t[f]);h=n.from(h);var m=i.mont(l.modulus);e=new i(e).toRed(m),e=e.redPow(new i(l.publicExponent)),e=n.from(e.fromRed().toArray());var g=p<8?1:0;d=Math.min(e.length,h.length),e.length!==h.length&&(g=1),f=-1;while(++f<d)g|=e[f]^h[f];return 0===g}function u(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new a(n),o=r.data.subjectPrivateKey.data;return i.verify(t,e,o)}function c(e,t,r){var n=r.data.p,a=r.data.q,s=r.data.g,l=r.data.pub_key,u=o.signature.decode(e,"der"),c=u.s,h=u.r;d(c,a),d(h,a);var p=i.mont(n),f=c.invm(a),m=s.toRed(p).redPow(new i(t).mul(f).mod(a)).fromRed().mul(l.toRed(p).redPow(h.mul(f).mod(a)).fromRed()).mod(n).mod(a);return 0===m.cmp(h)}function d(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=0)throw new Error("invalid sig")}e.exports=l},9873:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("69a8");class a{constructor(e){return this._live=!1,this._items=[],this._length=0,this._root=e,this._items=[],this._filter=function(e){return!0},new Proxy(this,this)}get length(){return this._items.length}item(e){return e<0||e>this.length-1?null:this._items[e]}keys(){return{[Symbol.iterator]:function(){let e=0;return{next:function(){return e===this.length?{done:!0,value:null}:{done:!1,value:e++}}.bind(this)}}.bind(this)}}values(){return{[Symbol.iterator]:function(){const e=this[Symbol.iterator]();return{next(){return e.next()}}}.bind(this)}}entries(){return{[Symbol.iterator]:function(){const e=this[Symbol.iterator]();let t=0;return{next(){const r=e.next();return r.done?{done:!0,value:null}:{done:!1,value:[t++,r.value]}}}}.bind(this)}}[Symbol.iterator](){const e=this._items[Symbol.iterator]();return{next(){return e.next()}}}forEach(e,t){void 0===t&&(t=n.dom.window);let r=0;for(const n of this._items)e.call(t,n,r++,this)}get(e,t,r){if(!i.isString(t))return Reflect.get(e,t,r);const n=Number(t);return isNaN(n)?Reflect.get(e,t,r):e._items[n]||void 0}set(e,t,r,n){if(!i.isString(t))return Reflect.set(e,t,r,n);const a=Number(t);return isNaN(a)?Reflect.set(e,t,r,n):a>=0&&a<e._items.length&&(e._items[a]=r,!0)}static _create(e,t){const r=new a(e);return r._items=t,r}}t.NodeListStaticImpl=a},"98e6":function(e,t,r){"use strict";var n=r("3fb5"),i=r("f576"),a=r("b5ca"),o=r("69f2"),s=r("6430");function l(e){s.call(this,"digest"),this._hash=e}n(l,s),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return e=e.toLowerCase(),"md5"===e?new i:"rmd160"===e||"ripemd160"===e?new a:new l(o(e))}},9905:function(e,t,r){var n=r("b639"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},"9a32":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}check(e,t){if(this._items.get(e)===t)return!0;if(this._items.get(t)===e)return!1;const r=Math.random()<.5;if(r?this._items.set(e,t):this._items.set(t,e),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}return r}}t.CompareCache=n},"9acd":function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));const n=new Map;function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"common";n.has(e)||n.set(e,new Map);const t=n.get(e);function r(e,r){t.set(e,r)}function i(e){return t.get(e)}function a(e){return t.has(e)}function o(){return[...t.keys()]}function s(){return[...t.values()]}return{register:r,getItem:i,hasItem:a,getNames:o,getValues:s}}},"9af8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("04be");t.Cast=n.Cast;var i=r("7316");t.Guard=i.Guard;var a=r("dc14");t.EmptySet=a.EmptySet},"9b54":function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=r("f60b").Buffer,a=r(4);function o(e,t,r){e.copy(t,r)}e.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,r=""+t.data;while(t=t.next)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);var t=i.allocUnsafe(e>>>0),r=this.head,n=0;while(r)o(r.data,t,n),n+=r.data.length,r=r.next;return t},e}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e})},"9bc8":function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},"9c76":function(e,t,r){"use strict";var n=r("7b7f");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"9c78":function(e,t,r){"use strict";function n(e){const t=new Uint8Array(4*e.length);let r=0;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i<128)t[r++]=i;else{if(i<2048)t[r++]=i>>6|192;else{if(i>55295&&i<56320){if(++n>=e.length)throw new Error("Incomplete surrogate pair.");const a=e.charCodeAt(n);if(a<56320||a>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&a),t[r++]=i>>18|240,t[r++]=i>>12&63|128}else t[r++]=i>>12|224;t[r++]=i>>6&63|128}t[r++]=63&i|128}}return t.subarray(0,r)}function i(e){let t="",r=0;while(r<e.length){var n=e[r++];if(n>127)if(n>191&&n<224){if(r>=e.length)throw new Error("Incomplete 2-byte sequence.");n=(31&n)<<6|63&e[r++]}else if(n>223&&n<240){if(r+1>=e.length)throw new Error("Incomplete 3-byte sequence.");n=(15&n)<<12|(63&e[r++])<<6|63&e[r++]}else{if(!(n>239&&n<248))throw new Error("Unknown multi-byte start.");if(r+2>=e.length)throw new Error("Incomplete 4-byte sequence.");n=(7&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++]}if(n<=65535)t+=String.fromCharCode(n);else{if(!(n<=1114111))throw new Error("Code point exceeds UTF-16 limit.");n-=65536,t+=String.fromCharCode(n>>10|55296),t+=String.fromCharCode(1023&n|56320)}}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.utf8Encode=n,t.utf8Decode=i},"9ccc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("69a8"),i=r("fc97");t.AbortController=i.AbortControllerImpl;const a=r("a19d");t.AbortSignal=a.AbortSignalImpl;const o=r("7b71");t.AbstractRange=o.AbstractRangeImpl;const s=r("83d2");t.Attr=s.AttrImpl;const l=r("7fbc");t.CDATASection=l.CDATASectionImpl;const u=r("d287");t.CharacterData=u.CharacterDataImpl;const c=r("186a"),d=r("af0d");t.Comment=d.CommentImpl;const h=r("8c5c");t.CustomEvent=h.CustomEventImpl;const p=r("77f3");t.DocumentFragment=p.DocumentFragmentImpl;const f=r("f9a6");t.Document=f.DocumentImpl;const m=r("df7e"),g=r("e85c");t.DocumentType=g.DocumentTypeImpl;const v=r("7a70");t.dom=v.dom;const b=r("8d2e");t.DOMImplementation=b.DOMImplementationImpl;const y=r("6394");t.DOMTokenList=y.DOMTokenListImpl;const w=r("36f2");t.Element=w.ElementImpl;const _=r("802d");t.Event=_.EventImpl;const S=r("58c0");t.EventTarget=S.EventTargetImpl;const E=r("5fbc");t.HTMLCollection=E.HTMLCollectionImpl;const M=r("2c98");t.MutationObserver=M.MutationObserverImpl;const T=r("9140");t.MutationRecord=T.MutationRecordImpl;const C=r("c0a6");t.NamedNodeMap=C.NamedNodeMapImpl;const x=r("ec01");t.NodeFilter=x.NodeFilterImpl;const A=r("32d8");t.Node=A.NodeImpl;const N=r("e07b");t.NodeIterator=N.NodeIteratorImpl;const O=r("f91d");t.NodeList=O.NodeListImpl;const R=r("9873");t.NodeListStatic=R.NodeListStaticImpl;const L=r("c606"),k=r("ff6b"),I=r("5f05"),D=r("7723");t.ProcessingInstruction=D.ProcessingInstructionImpl;const P=r("89ea");t.Range=P.RangeImpl;const j=r("009c");t.ShadowRoot=j.ShadowRootImpl;const F=r("05c6"),H=r("1ef2");t.StaticRange=H.StaticRangeImpl;const B=r("f17c");t.Text=B.TextImpl;const U=r("1fa5");t.Traverser=U.TraverserImpl;const V=r("acd5");t.TreeWalker=V.TreeWalkerImpl;const Y=r("507d");t.Window=Y.WindowImpl;const z=r("b246");t.XMLDocument=z.XMLDocumentImpl,n.applyMixin(w.ElementImpl,c.ChildNodeImpl),n.applyMixin(u.CharacterDataImpl,c.ChildNodeImpl),n.applyMixin(g.DocumentTypeImpl,c.ChildNodeImpl),n.applyMixin(f.DocumentImpl,m.DocumentOrShadowRootImpl),n.applyMixin(j.ShadowRootImpl,m.DocumentOrShadowRootImpl),n.applyMixin(w.ElementImpl,L.NonDocumentTypeChildNodeImpl),n.applyMixin(u.CharacterDataImpl,L.NonDocumentTypeChildNodeImpl),n.applyMixin(f.DocumentImpl,k.NonElementParentNodeImpl),n.applyMixin(p.DocumentFragmentImpl,k.NonElementParentNodeImpl),n.applyMixin(f.DocumentImpl,I.ParentNodeImpl),n.applyMixin(p.DocumentFragmentImpl,I.ParentNodeImpl),n.applyMixin(w.ElementImpl,I.ParentNodeImpl),n.applyMixin(B.TextImpl,F.SlotableImpl),n.applyMixin(w.ElementImpl,F.SlotableImpl)},"9d28":function(e,t,r){"use strict";e.exports=a;var n=r("f1c8"),i=Object.create(r("3a7c"));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r("3fb5"),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},"9e6e":function(e,t,r){"use strict";var n=r("be7f"),i=r("c834"),a=r("eeda"),o=r("7eb1"),s=r("6853"),l=0,u=1,c=2,d=4,h=5,p=6,f=0,m=1,g=2,v=-2,b=-3,y=-4,w=-5,_=8,S=1,E=2,M=3,T=4,C=5,x=6,A=7,N=8,O=9,R=10,L=11,k=12,I=13,D=14,P=15,j=16,F=17,H=18,B=19,U=20,V=21,Y=22,z=23,W=24,q=25,G=26,K=27,X=28,Z=29,$=30,J=31,Q=32,ee=852,te=592,re=15,ne=re;function ie(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ae(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function oe(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=S,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(ee),t.distcode=t.distdyn=new n.Buf32(te),t.sane=1,t.back=-1,f):v}function se(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,oe(e)):v}function le(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?v:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,se(e))):v}function ue(e,t){var r,n;return e?(n=new ae,e.state=n,n.window=null,r=le(e,t),r!==f&&(e.state=null),r):v}function ce(e){return ue(e,ne)}var de,he,pe=!0;function fe(e){if(pe){var t;de=new n.Buf32(512),he=new n.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,de,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}),pe=!1}e.lencode=de,e.lenbits=9,e.distcode=he,e.distbits=5}function me(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),i-=a,i?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}function ge(e,t){var r,ee,te,re,ne,ae,oe,se,le,ue,ce,de,he,pe,ge,ve,be,ye,we,_e,Se,Ee,Me,Te,Ce=0,xe=new n.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 v;r=e.state,r.mode===k&&(r.mode=I),ne=e.next_out,te=e.output,oe=e.avail_out,re=e.next_in,ee=e.input,ae=e.avail_in,se=r.hold,le=r.bits,ue=ae,ce=oe,Ee=f;e:for(;;)switch(r.mode){case S:if(0===r.wrap){r.mode=I;break}while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(2&r.wrap&&35615===se){r.check=0,xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0),se=0,le=0,r.mode=E;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",r.mode=$;break}if((15&se)!==_){e.msg="unknown compression method",r.mode=$;break}if(se>>>=4,le-=4,Se=8+(15&se),0===r.wbits)r.wbits=Se;else if(Se>r.wbits){e.msg="invalid window size",r.mode=$;break}r.dmax=1<<Se,e.adler=r.check=1,r.mode=512&se?R:k,se=0,le=0;break;case E:while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(r.flags=se,(255&r.flags)!==_){e.msg="unknown compression method",r.mode=$;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=$;break}r.head&&(r.head.text=se>>8&1),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0)),se=0,le=0,r.mode=M;case M:while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.head&&(r.head.time=se),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,xe[2]=se>>>16&255,xe[3]=se>>>24&255,r.check=a(r.check,xe,4,0)),se=0,le=0,r.mode=T;case T:while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.head&&(r.head.xflags=255&se,r.head.os=se>>8),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0)),se=0,le=0,r.mode=C;case C:if(1024&r.flags){while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.length=se,r.head&&(r.head.extra_len=se),512&r.flags&&(xe[0]=255&se,xe[1]=se>>>8&255,r.check=a(r.check,xe,2,0)),se=0,le=0}else r.head&&(r.head.extra=null);r.mode=x;case x:if(1024&r.flags&&(de=r.length,de>ae&&(de=ae),de&&(r.head&&(Se=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,ee,re,de,Se)),512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,r.length-=de),r.length))break e;r.length=0,r.mode=A;case A:if(2048&r.flags){if(0===ae)break e;de=0;do{Se=ee[re+de++],r.head&&Se&&r.length<65536&&(r.head.name+=String.fromCharCode(Se))}while(Se&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,Se)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=N;case N:if(4096&r.flags){if(0===ae)break e;de=0;do{Se=ee[re+de++],r.head&&Se&&r.length<65536&&(r.head.comment+=String.fromCharCode(Se))}while(Se&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,Se)break e}else r.head&&(r.head.comment=null);r.mode=O;case O:if(512&r.flags){while(le<16){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se!==(65535&r.check)){e.msg="header crc mismatch",r.mode=$;break}se=0,le=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=k;break;case R:while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}e.adler=r.check=ie(se),se=0,le=0,r.mode=L;case L:if(0===r.havedict)return e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,g;e.adler=r.check=1,r.mode=k;case k:if(t===h||t===p)break e;case I:if(r.last){se>>>=7&le,le-=7&le,r.mode=K;break}while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}switch(r.last=1&se,se>>>=1,le-=1,3&se){case 0:r.mode=D;break;case 1:if(fe(r),r.mode=U,t===p){se>>>=2,le-=2;break e}break;case 2:r.mode=F;break;case 3:e.msg="invalid block type",r.mode=$}se>>>=2,le-=2;break;case D:se>>>=7&le,le-=7≤while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if((65535&se)!==(se>>>16^65535)){e.msg="invalid stored block lengths",r.mode=$;break}if(r.length=65535&se,se=0,le=0,r.mode=P,t===p)break e;case P:r.mode=j;case j:if(de=r.length,de){if(de>ae&&(de=ae),de>oe&&(de=oe),0===de)break e;n.arraySet(te,ee,re,de,ne),ae-=de,re+=de,oe-=de,ne+=de,r.length-=de;break}r.mode=k;break;case F:while(le<14){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(r.nlen=257+(31&se),se>>>=5,le-=5,r.ndist=1+(31&se),se>>>=5,le-=5,r.ncode=4+(15&se),se>>>=4,le-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=$;break}r.have=0,r.mode=H;case H:while(r.have<r.ncode){while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.lens[Ae[r.have++]]=7&se,se>>>=3,le-=3}while(r.have<19)r.lens[Ae[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,Me={bits:r.lenbits},Ee=s(l,r.lens,0,19,r.lencode,0,r.work,Me),r.lenbits=Me.bits,Ee){e.msg="invalid code lengths set",r.mode=$;break}r.have=0,r.mode=B;case B:while(r.have<r.nlen+r.ndist){for(;;){if(Ce=r.lencode[se&(1<<r.lenbits)-1],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(be<16)se>>>=ge,le-=ge,r.lens[r.have++]=be;else{if(16===be){Te=ge+2;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se>>>=ge,le-=ge,0===r.have){e.msg="invalid bit length repeat",r.mode=$;break}Se=r.lens[r.have-1],de=3+(3&se),se>>>=2,le-=2}else if(17===be){Te=ge+3;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ge,le-=ge,Se=0,de=3+(7&se),se>>>=3,le-=3}else{Te=ge+7;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ge,le-=ge,Se=0,de=11+(127&se),se>>>=7,le-=7}if(r.have+de>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=$;break}while(de--)r.lens[r.have++]=Se}}if(r.mode===$)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=$;break}if(r.lenbits=9,Me={bits:r.lenbits},Ee=s(u,r.lens,0,r.nlen,r.lencode,0,r.work,Me),r.lenbits=Me.bits,Ee){e.msg="invalid literal/lengths set",r.mode=$;break}if(r.distbits=6,r.distcode=r.distdyn,Me={bits:r.distbits},Ee=s(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,Me),r.distbits=Me.bits,Ee){e.msg="invalid distances set",r.mode=$;break}if(r.mode=U,t===p)break e;case U:r.mode=V;case V:if(ae>=6&&oe>=258){e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,o(e,ce),ne=e.next_out,te=e.output,oe=e.avail_out,re=e.next_in,ee=e.input,ae=e.avail_in,se=r.hold,le=r.bits,r.mode===k&&(r.back=-1);break}for(r.back=0;;){if(Ce=r.lencode[se&(1<<r.lenbits)-1],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(ve&&0===(240&ve)){for(ye=ge,we=ve,_e=be;;){if(Ce=r.lencode[_e+((se&(1<<ye+we)-1)>>ye)],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ye+ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ye,le-=ye,r.back+=ye}if(se>>>=ge,le-=ge,r.back+=ge,r.length=be,0===ve){r.mode=G;break}if(32&ve){r.back=-1,r.mode=k;break}if(64&ve){e.msg="invalid literal/length code",r.mode=$;break}r.extra=15&ve,r.mode=Y;case Y:if(r.extra){Te=r.extra;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.length+=se&(1<<r.extra)-1,se>>>=r.extra,le-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=z;case z:for(;;){if(Ce=r.distcode[se&(1<<r.distbits)-1],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(0===(240&ve)){for(ye=ge,we=ve,_e=be;;){if(Ce=r.distcode[_e+((se&(1<<ye+we)-1)>>ye)],ge=Ce>>>24,ve=Ce>>>16&255,be=65535&Ce,ye+ge<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ye,le-=ye,r.back+=ye}if(se>>>=ge,le-=ge,r.back+=ge,64&ve){e.msg="invalid distance code",r.mode=$;break}r.offset=be,r.extra=15&ve,r.mode=W;case W:if(r.extra){Te=r.extra;while(le<Te){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.offset+=se&(1<<r.extra)-1,se>>>=r.extra,le-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=$;break}r.mode=q;case q:if(0===oe)break e;if(de=ce-oe,r.offset>de){if(de=r.offset-de,de>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=$;break}de>r.wnext?(de-=r.wnext,he=r.wsize-de):he=r.wnext-de,de>r.length&&(de=r.length),pe=r.window}else pe=te,he=ne-r.offset,de=r.length;de>oe&&(de=oe),oe-=de,r.length-=de;do{te[ne++]=pe[he++]}while(--de);0===r.length&&(r.mode=V);break;case G:if(0===oe)break e;te[ne++]=r.length,oe--,r.mode=V;break;case K:if(r.wrap){while(le<32){if(0===ae)break e;ae--,se|=ee[re++]<<le,le+=8}if(ce-=oe,e.total_out+=ce,r.total+=ce,ce&&(e.adler=r.check=r.flags?a(r.check,te,ce,ne-ce):i(r.check,te,ce,ne-ce)),ce=oe,(r.flags?se:ie(se))!==r.check){e.msg="incorrect data check",r.mode=$;break}se=0,le=0}r.mode=X;case X:if(r.wrap&&r.flags){while(le<32){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=$;break}se=0,le=0}r.mode=Z;case Z:Ee=m;break e;case $:Ee=b;break e;case J:return y;case Q:default:return v}return e.next_out=ne,e.avail_out=oe,e.next_in=re,e.avail_in=ae,r.hold=se,r.bits=le,(r.wsize||ce!==e.avail_out&&r.mode<$&&(r.mode<K||t!==d))&&me(e,e.output,e.next_out,ce-e.avail_out)?(r.mode=J,y):(ue-=e.avail_in,ce-=e.avail_out,e.total_in+=ue,e.total_out+=ce,r.total+=ce,r.wrap&&ce&&(e.adler=r.check=r.flags?a(r.check,te,ce,e.next_out-ce):i(r.check,te,ce,e.next_out-ce)),e.data_type=r.bits+(r.last?64:0)+(r.mode===k?128:0)+(r.mode===U||r.mode===P?256:0),(0===ue&&0===ce||t===d)&&Ee===f&&(Ee=w),Ee)}function ve(e){if(!e||!e.state)return v;var t=e.state;return t.window&&(t.window=null),e.state=null,f}function be(e,t){var r;return e&&e.state?(r=e.state,0===(2&r.wrap)?v:(r.head=t,t.done=!1,f)):v}function ye(e,t){var r,n,a,o=t.length;return e&&e.state?(r=e.state,0!==r.wrap&&r.mode!==L?v:r.mode===L&&(n=1,n=i(n,t,o,0),n!==r.check)?b:(a=me(e,t,o,o),a?(r.mode=J,y):(r.havedict=1,f))):v}t.inflateReset=se,t.inflateReset2=le,t.inflateResetKeep=oe,t.inflateInit=ce,t.inflateInit2=ue,t.inflate=ge,t.inflateEnd=ve,t.inflateGetHeader=be,t.inflateSetDictionary=ye,t.inflateInfo="pako inflate (from Nodeca project)"},"9e75":function(e,t,r){"use strict";var n=r("b2ae");e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},"9f10":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("1096"),i=r("e90f");class a extends n["a"]{insert(e,t){this.indexedValues=Object(i["a"])(this.indexedValues,e,t,this.initValueOrFn),super.insert(e,t)}remove(e){this.indexedValues=Object(i["b"])(this.indexedValues,e),super.remove(e)}}},"9f20":function(e,t,r){var n=r("4d1e"),i=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r)){if("tag_name"===r){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1}else;return!0};var a={tag_name:function(e){return"function"===typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"===typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"===typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};function o(e,t){return"function"===typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function s(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var i=Object.keys(e).map((function(t){var r=e[t];return t in a?a[t](r):o(t,r)}));return 0===i.length?[]:this.filter(i.reduce(s),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(o("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(a.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(a.tag_type(e),t,r,n)}},"9f26":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],a=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:t,monthsShortStrictRegex:r,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return a}))},"9f99":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("4f09");function i(e,t){return e.get(t)}function a(e,t,r){e.set(t,r)}function o(e,t){if(n.isFunction(t)){const r=[];for(const n of e)t.call(null,n)&&r.push(n[0]);for(const t of r)e.delete(t)}else e.delete(t)}function s(e,t){if(n.isFunction(t)){for(const r of e)if(t.call(null,r))return!0;return!1}return e.has(t)}function l(e){return new Set(e.keys())}function u(e){return[...e.values()]}function c(e,t){if(void 0===t)return e.size;{let r=0;for(const n of e)t.call(null,n)&&r++;return r}}function d(e){return 0===e.size}function*h(e,t){if(void 0===t)yield*e;else for(const r of e)t.call(null,r)&&(yield r)}function p(e){return new Map(e)}function f(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?-1:1),new Map(r)}function m(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?1:-1),new Map(r)}t.get=i,t.set=a,t.remove=o,t.contains=s,t.keys=l,t.values=u,t.size=c,t.isEmpty=d,t.forEach=h,t.clone=p,t.sortInAscendingOrder=f,t.sortInDescendingOrder=m},"9f9d":function(e,t,r){(function(t,r){var n;if(t.process&&t.process.browser)n="utf-8";else if(t.process&&t.process.version){var i=parseInt(r.version.split(".")[0].slice(1),10);n=i>=6?"utf-8":"binary"}else n="utf-8";e.exports=n}).call(this,r("c8ba"),r("4362"))},"9fab":function(e,t,r){var n=r("60b4");function i(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t}e.exports=i},a023:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("c1f3"),i=r("9ccc"),a=r("3022");function o(e){const t=e.documentElement;if(null!==t&&"parsererror"===t.localName&&"http://www.mozilla.org/newlayout/xml/parsererror.xml"===t.namespaceURI){const e=t.firstElementChild;if(null===e)throw new Error("Error parsing XML string.");const r=e.getAttribute("message");if(null===r)throw new Error("Error parsing XML string.");throw new Error(r)}}function s(){const e=new n.DOMImplementation,t=e.createDocument(null,"root",null);return t.documentElement&&t.removeChild(t.documentElement),t}function l(){return new n.DOMParser}function u(e,t){if(null==e)return e;if(void 0===t)return e+"";{let r="";e+="";for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(9===i||10===i||13===i||i>=32&&i<=55295||i>=57344&&i<=65533)r+=e.charAt(n);else if(i>=55296&&i<=56319&&n<e.length-1){const o=e.charCodeAt(n+1);o>=56320&&o<=57343?(i=1024*(i-55296)+o-56320+65536,r+=i>=65536&&i<=1114111?String.fromCodePoint(i):a.isString(t)?t:t(String.fromCodePoint(i),n,e),n++):r+=a.isString(t)?t:t(e.charAt(n),n,e)}else r+=a.isString(t)?t:t(e.charAt(n),n,e)}return r}}i.dom.setFeatures(!1),t.throwIfParserError=o,t.createDocument=s,t.createParser=l,t.sanitizeInput=u},a086:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e){this._initialized=!1,this._value=void 0,this._initFunc=e}get value(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value}}t.Lazy=n},a099:function(e,t,r){t.pbkdf2=r("206d"),t.pbkdf2Sync=r("e07bf")},a177:function(e,t,r){"use strict";var n,i=r("be7f"),a=r("07f4"),o=r("c834"),s=r("eeda"),l=r("4dc6"),u=0,c=1,d=3,h=4,p=5,f=0,m=1,g=-2,v=-3,b=-5,y=-1,w=1,_=2,S=3,E=4,M=0,T=2,C=8,x=9,A=15,N=8,O=29,R=256,L=R+1+O,k=30,I=19,D=2*L+1,P=15,j=3,F=258,H=F+j+1,B=32,U=42,V=69,Y=73,z=91,W=103,q=113,G=666,K=1,X=2,Z=3,$=4,J=3;function Q(e,t){return e.msg=l[t],t}function ee(e){return(e<<1)-(e>4?9:0)}function te(e){var t=e.length;while(--t>=0)e[t]=0}function re(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function ne(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,re(e.strm)}function ie(e,t){e.pending_buf[e.pending++]=t}function ae(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function oe(e,t,r,n){var a=e.avail_in;return a>n&&(a=n),0===a?0:(e.avail_in-=a,i.arraySet(t,e.input,e.next_in,a,r),1===e.state.wrap?e.adler=o(e.adler,t,a,r):2===e.state.wrap&&(e.adler=s(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function se(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-H?e.strstart-(e.w_size-H):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+F,p=u[a+o-1],f=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(r=t,u[r+o]===f&&u[r+o-1]===p&&u[r]===u[a]&&u[++r]===u[a+1]){a+=2,r++;do{}while(u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&a<h);if(n=F-(h-a),a=h-F,n>o){if(e.match_start=t,o=n,n>=s)break;p=u[a+o-1],f=u[a+o]}}}while((t=d[t&c])>l&&0!==--i);return o<=e.lookahead?o:e.lookahead}function le(e){var t,r,n,a,o,s=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-H)){i.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,r=e.hash_size,t=r;do{n=e.head[--t],e.head[t]=n>=s?n-s:0}while(--r);r=s,t=r;do{n=e.prev[--t],e.prev[t]=n>=s?n-s:0}while(--r);a+=s}if(0===e.strm.avail_in)break;if(r=oe(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=r,e.lookahead+e.insert>=j){o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+j-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,e.lookahead+e.insert<j)break}}while(e.lookahead<H&&0!==e.strm.avail_in)}function ue(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(le(e),0===e.lookahead&&t===u)return K;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,ne(e,!1),0===e.strm.avail_out))return K;if(e.strstart-e.block_start>=e.w_size-H&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):(e.strstart>e.block_start&&(ne(e,!1),e.strm.avail_out),K)}function ce(e,t){for(var r,n;;){if(e.lookahead<H){if(le(e),e.lookahead<H&&t===u)return K;if(0===e.lookahead)break}if(r=0,e.lookahead>=j&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-H&&(e.match_length=se(e,r)),e.match_length>=j)if(n=a._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,r=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 n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=e.strstart<j-1?e.strstart:j-1,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function de(e,t){for(var r,n,i;;){if(e.lookahead<H){if(le(e),e.lookahead<H&&t===u)return K;if(0===e.lookahead)break}if(r=0,e.lookahead>=j&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,r=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!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-H&&(e.match_length=se(e,r),e.match_length<=5&&(e.strategy===w||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){i=e.strstart+e.lookahead-j,n=a._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<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+j-1])&e.hash_mask,r=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++,n&&(ne(e,!1),0===e.strm.avail_out))return K}else if(e.match_available){if(n=a._tr_tally(e,0,e.window[e.strstart-1]),n&&ne(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return K}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<j-1?e.strstart:j-1,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function he(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=F){if(le(e),e.lookahead<=F&&t===u)return K;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=j&&e.strstart>0&&(i=e.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){o=e.strstart+F;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=F-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=j?(r=a._tr_tally(e,1,e.match_length-j),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function pe(e,t){for(var r;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===u)return K;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(ne(e,!1),0===e.strm.avail_out))return K}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?Z:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?K:X}function fe(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function me(e){e.window_size=2*e.w_size,te(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[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 ge(){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=C,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 i.Buf16(2*D),this.dyn_dtree=new i.Buf16(2*(2*k+1)),this.bl_tree=new i.Buf16(2*(2*I+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(P+1),this.heap=new i.Buf16(2*L+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*L+1),te(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 ve(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=T,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?U:q,e.adler=2===t.wrap?0:1,t.last_flush=u,a._tr_init(t),f):Q(e,g)}function be(e){var t=ve(e);return t===f&&me(e.state),t}function ye(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,f):g}function we(e,t,r,n,a,o){if(!e)return g;var s=1;if(t===y&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>x||r!==C||n<8||n>15||t<0||t>9||o<0||o>E)return Q(e,g);8===n&&(n=9);var l=new ge;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+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 i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=r,be(e)}function _e(e,t){return we(e,t,C,A,N,M)}function Se(e,t){var r,i,o,l;if(!e||!e.state||t>p||t<0)return e?Q(e,g):g;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===G&&t!==h)return Q(e,0===e.avail_out?b:g);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===U)if(2===i.wrap)e.adler=0,ie(i,31),ie(i,139),ie(i,8),i.gzhead?(ie(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ie(i,255&i.gzhead.time),ie(i,i.gzhead.time>>8&255),ie(i,i.gzhead.time>>16&255),ie(i,i.gzhead.time>>24&255),ie(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),ie(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ie(i,255&i.gzhead.extra.length),ie(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=V):(ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),ie(i,J),i.status=q);else{var v=C+(i.w_bits-8<<4)<<8,y=-1;y=i.strategy>=_||i.level<2?0:i.level<6?1:6===i.level?2:3,v|=y<<6,0!==i.strstart&&(v|=B),v+=31-v%31,i.status=q,ae(i,v),0!==i.strstart&&(ae(i,e.adler>>>16),ae(i,65535&e.adler)),e.adler=1}if(i.status===V)if(i.gzhead.extra){o=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size))break;ie(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Y)}else i.status=Y;if(i.status===Y)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.gzindex=0,i.status=z)}else i.status=z;if(i.status===z)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),re(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.status=W)}else i.status=W;if(i.status===W&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&re(e),i.pending+2<=i.pending_buf_size&&(ie(i,255&e.adler),ie(i,e.adler>>8&255),e.adler=0,i.status=q)):i.status=q),0!==i.pending){if(re(e),0===e.avail_out)return i.last_flush=-1,f}else if(0===e.avail_in&&ee(t)<=ee(r)&&t!==h)return Q(e,b);if(i.status===G&&0!==e.avail_in)return Q(e,b);if(0!==e.avail_in||0!==i.lookahead||t!==u&&i.status!==G){var w=i.strategy===_?pe(i,t):i.strategy===S?he(i,t):n[i.level].func(i,t);if(w!==Z&&w!==$||(i.status=G),w===K||w===Z)return 0===e.avail_out&&(i.last_flush=-1),f;if(w===X&&(t===c?a._tr_align(i):t!==p&&(a._tr_stored_block(i,0,0,!1),t===d&&(te(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),re(e),0===e.avail_out))return i.last_flush=-1,f}return t!==h?f:i.wrap<=0?m:(2===i.wrap?(ie(i,255&e.adler),ie(i,e.adler>>8&255),ie(i,e.adler>>16&255),ie(i,e.adler>>24&255),ie(i,255&e.total_in),ie(i,e.total_in>>8&255),ie(i,e.total_in>>16&255),ie(i,e.total_in>>24&255)):(ae(i,e.adler>>>16),ae(i,65535&e.adler)),re(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?f:m)}function Ee(e){var t;return e&&e.state?(t=e.state.status,t!==U&&t!==V&&t!==Y&&t!==z&&t!==W&&t!==q&&t!==G?Q(e,g):(e.state=null,t===q?Q(e,v):f)):g}function Me(e,t){var r,n,a,s,l,u,c,d,h=t.length;if(!e||!e.state)return g;if(r=e.state,s=r.wrap,2===s||1===s&&r.status!==U||r.lookahead)return g;1===s&&(e.adler=o(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===s&&(te(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new i.Buf8(r.w_size),i.arraySet(d,t,h-r.w_size,r.w_size,0),t=d,h=r.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,le(r);while(r.lookahead>=j){n=r.strstart,a=r.lookahead-(j-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+j-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--a);r.strstart=n,r.lookahead=j-1,le(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=j-1,r.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,r.wrap=s,f}n=[new fe(0,0,0,0,ue),new fe(4,4,8,4,ce),new fe(4,5,16,8,ce),new fe(4,6,32,32,ce),new fe(4,4,16,16,de),new fe(8,16,32,32,de),new fe(8,16,128,128,de),new fe(8,32,128,256,de),new fe(32,128,258,1024,de),new fe(32,258,258,4096,de)],t.deflateInit=_e,t.deflateInit2=we,t.deflateReset=be,t.deflateResetKeep=ve,t.deflateSetHeader=ye,t.deflate=Se,t.deflateEnd=Ee,t.deflateSetDictionary=Me,t.deflateInfo="pako deflate (from Nodeca project)"},a19d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("58c0"),i=r("9688");class a extends n.EventTargetImpl{constructor(){super(),this._abortedFlag=!1,this._abortAlgorithms=new Set}get aborted(){return this._abortedFlag}get onabort(){return i.event_getterEventHandlerIDLAttribute(this,"onabort")}set onabort(e){i.event_setterEventHandlerIDLAttribute(this,"onabort",e)}static _create(){return new a}}t.AbortSignalImpl=a},a255:function(e,t,r){var n=r("3fb5"),i=r("b672"),a=r("8707").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function p(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function f(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,l=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)t[v]=e.readInt32BE(4*v);for(;v<64;++v)t[v]=f(t[v-2])+t[v-7]+p(t[v-15])+t[v-16]|0;for(var b=0;b<64;++b){var y=g+h(s)+u(s,l,m)+o[b]+t[b]|0,w=d(r)+c(r,n,i)|0;g=m,m=l,l=s,s=a+y|0,a=i,i=n,n=r,r=y+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0,this._f=l+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},a29f:function(e,t,r){"use strict";var n=r("bbc7"),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],i=0;i<r.length;++i)"undefined"!==typeof r[i]&&n.push(r[i]);t.obj[t.prop]=n}}},l=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeof e[n]&&(r[n]=e[n]);return r},u=function e(t,r,n){if(!r)return t;if("object"!==typeof r){if(a(t))t.push(r);else{if(!t||"object"!==typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(r);var o=t;return a(t)&&!a(r)&&(o=l(t,n)),a(t)&&a(r)?(r.forEach((function(r,a){if(i.call(t,a)){var o=t[a];o&&"object"===typeof o&&r&&"object"===typeof r?t[a]=e(o,r,n):t.push(r)}else t[a]=r})),t):Object.keys(r).reduce((function(t,a){var o=r[a];return i.call(t,a)?t[a]=e(t[a],o,n):t[a]=o,t}),o)},c=function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},d=function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(i){return n}},h=1024,p=function(e,t,r,i,a){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<s.length;u+=h){for(var c=s.length>=h?s.slice(u,u+h):s,d=[],p=0;p<c.length;++p){var f=c.charCodeAt(p);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===n.RFC1738&&(40===f||41===f)?d[d.length]=c.charAt(p):f<128?d[d.length]=o[f]:f<2048?d[d.length]=o[192|f>>6]+o[128|63&f]:f<55296||f>=57344?d[d.length]=o[224|f>>12]+o[128|f>>6&63]+o[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),d[d.length]=o[240|f>>18]+o[128|f>>12&63]+o[128|f>>6&63]+o[128|63&f])}l+=d.join("")}return l},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],a=i.obj[i.prop],o=Object.keys(a),l=0;l<o.length;++l){var u=o[l],c=a[u];"object"===typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:a,prop:u}),r.push(c))}return s(t),e},m=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},g=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},v=function(e,t){return[].concat(e,t)},b=function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)};e.exports={arrayToObject:l,assign:c,combine:v,compact:f,decode:d,encode:p,isBuffer:g,isRegExp:m,maybeMap:b,merge:u}},a309:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"g",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"f",(function(){return o})),r.d(t,"e",(function(){return s})),r.d(t,"h",(function(){return l})),r.d(t,"c",(function(){return u})),r.d(t,"d",(function(){return c}));const n="active-header",i="header",a="area",o="focus",s="fill",l="row",u="column",c="custom-selection"},a32f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(){this._items={},this._nullItems={}}set(e,t){null===e?this._nullItems[t]=!0:(this._items[e]||(this._items[e]={}),this._items[e][t]=!0)}has(e,t){return null===e?!0===this._nullItems[t]:!!this._items[e]&&!0===this._items[e][t]}}t.LocalNameSet=n},a356:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(n,i,a,o){var s=t(n),l=r[e][t(n)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,n)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return a}))},a357:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("d06e");var n=r("5d7f"),i=r("8828");const a="base";function o(e,t,r,a,o,s,l){const u=l.ariaTags,c=[],d=[],h=[],p=[];l.className&&Object(n["addClass"])(t,l.className),l.readOnly?(c.push(l.readOnlyCellClassName),u&&p.push(Object(i["y"])())):u&&h.push(Object(i["y"])()[0]),!1===l.valid&&l.invalidCellClassName?(c.push(l.invalidCellClassName),u&&p.push(Object(i["o"])())):(d.push(l.invalidCellClassName),u&&h.push(Object(i["o"])()[0])),!1===l.wordWrap&&l.noWordWrapClassName&&c.push(l.noWordWrapClassName),!s&&l.placeholder&&c.push(l.placeholderCellClassName),Object(n["removeClass"])(t,d),Object(n["addClass"])(t,c),Object(n["removeAttribute"])(t,h),Object(n["setAttribute"])(t,p)}o.RENDERER_TYPE=a},a45a:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r("b55a"));t.base64=i;const a=n(r("26d6"));t.byte=a;const o=n(r("e564"));t.byteSequence=o;const s=n(r("07a0"));t.codePoint=s;const l=n(r("e2c6"));t.json=l;const u=n(r("3030"));t.list=u;const c=n(r("9f99"));t.map=c;const d=n(r("78e0"));t.namespace=d;const h=n(r("74a2"));t.queue=h;const p=n(r("409e"));t.set=p;const f=n(r("c592"));t.stack=f;const m=n(r("f6ef0"));t.string=m},a45f:function(e,t,r){"use strict";var n=r("2408");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},a60d:function(e,t,r){"use strict";var n=r("d128"),i=r("d435"),a=r("2b75"),o=r("088f"),s=r("24d5"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",p="writable";t.f=n?a?function(e,t,r){if(o(e),t=s(t),o(r),"function"===typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=c(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:d in r?r[d]:n[d],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),i)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},a616:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("7d2e");function i(e,t){e.add(t)}function a(e,t){t.forEach(e.add,e)}function o(e,t){const r=new Set(e);e.clear(),e.add(t),r.forEach(e.add,e)}function s(e,t,r){const i=new Set;for(const a of e)n.isFunction(t)?t.call(null,a)?i.add(r):i.add(a):a===t?i.add(r):i.add(a);e.clear(),i.forEach(e.add,e)}function l(e,t,r){const n=new Set;let i=0;for(const a of e)i===r&&n.add(t),n.add(a),i++;e.clear(),n.forEach(e.add,e)}function u(e,t){if(n.isFunction(t)){const r=[];for(const n of e)t.call(null,n)&&r.push(n);for(const t of r)e.delete(t)}else e.delete(t)}function c(e){e.clear()}function d(e,t){if(!n.isFunction(t))return e.has(t);for(const r of e)if(t.call(null,r))return!0;return!1}function h(e,t){if(void 0===t)return e.size;{let r=0;for(const n of e)t.call(null,n)&&r++;return r}}function p(e){return 0===e.size}function*f(e,t){if(void 0===t)yield*e;else for(const r of e)t.call(null,r)&&(yield r)}function m(e){return new Set(e)}function g(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?-1:1),new Set(r)}function v(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?1:-1),new Set(r)}function b(e,t){for(const r of e)if(!t.has(r))return!1;return!0}function y(e,t){return b(t,e)}function w(e,t){const r=new Set;for(const n of e)t.has(n)&&r.add(n);return r}function _(e,t){const r=new Set(e);return t.forEach(r.add,r),r}function S(e,t){const r=new Set;for(let n=e;n<=t;n++)r.add(n);return r}t.append=i,t.extend=a,t.prepend=o,t.replace=s,t.insert=l,t.remove=u,t.empty=c,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=g,t.sortInDescendingOrder=v,t.isSubsetOf=b,t.isSupersetOf=y,t.intersection=w,t.union=_,t.range=S},a645:function(e,t,r){"use strict";e.exports=Error},a68d:function(e,t,r){"use strict";var n,i,a,o=r("bbc8"),s=r("f2e8"),l=r("8793"),u=r("2d2d"),c=r("69ba"),d=r("54d7"),h=r("ab25"),p=r("861e"),f="Object already initialized",m=s.TypeError,g=s.WeakMap,v=function(e){return a(e)?i(e):n(e,{})},b=function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}};if(o||d.state){var y=d.state||(d.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new m(f);return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},a=function(e){return y.has(e)}}else{var w=h("state");p[w]=!0,n=function(e,t){if(c(e,w))throw new m(f);return t.facade=e,u(e,w,t),t},i=function(e){return c(e,w)?e[w]:{}},a=function(e){return c(e,w)}}e.exports={set:n,get:i,has:a,enforce:v,getterFor:b}},a697:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},a6de:function(e,t,r){"use strict";r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));const n=1,i=2,a=3},a73f:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n=r("81ea");function i(e,t){return Object(n["arrayMap"])(e,e=>e-t.filter(t=>t<e).length)}function a(e,t){const r=t[0],i=t.length;return Object(n["arrayMap"])(e,e=>e>=r?e+i:e)}},a776:function(e,t,r){"use strict";r.r(t),r.d(t,"instanceToHTML",(function(){return s})),r.d(t,"_dataToHTML",(function(){return l})),r.d(t,"htmlToGridSettings",(function(){return u}));r("d06e"),r("70f9");var n=r("7b9c");const i={" ":" ","&":"&","<":"<",">":">"},a=new RegExp(Object.keys(i).map(e=>`(${e})`).join("|"),"gi");function o(e){return"TABLE"===(e&&e.nodeName||"")}function s(e){const t=e.hasColHeaders(),r=e.hasRowHeaders(),i=[t?-1:0,r?-1:0,e.countRows()-1,e.countCols()-1],a=e.getData(...i),o=a.length,s=o>0?a[0].length:0,l=["<table>","</table>"],u=t?["<thead>","</thead>"]:[],c=["<tbody>","</tbody>"],d=r?1:0,h=t?1:0;for(let p=0;p<o;p+=1){const i=t&&0===p,o=[];for(let t=0;t<s;t+=1){const s=!i&&r&&0===t;let l="";if(i)l=`<th>${e.getColHeader(t-d)}</th>`;else if(s)l=`<th>${e.getRowHeader(p-h)}</th>`;else{const r=a[p][t],{hidden:i,rowspan:o,colspan:s}=e.getCellMeta(p-h,t-d);if(!i){const e=[];if(o&&e.push(`rowspan="${o}"`),s&&e.push(`colspan="${s}"`),Object(n["isEmpty"])(r))l=`<td ${e.join(" ")}></td>`;else{const t=r.toString().replace("<","<").replace(">",">").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20/gi," ").replace(/\t/gi,"	");l=`<td ${e.join(" ")}>${t}</td>`}}}o.push(l)}const l=["<tr>",...o,"</tr>"].join("");i?u.splice(1,0,l):c.splice(-1,0,l)}return l.splice(1,0,u.join(""),c.join("")),l.join("")}function l(e){const t=e.length,r=["<table>"];for(let i=0;i<t;i+=1){const a=e[i],o=a.length,s=[];0===i&&r.push("<tbody>");for(let e=0;e<o;e+=1){const t=a[e],r=Object(n["isEmpty"])(t)?"":t.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20{2,}/gi,e=>`<span style="mso-spacerun: yes">${" ".repeat(e.length-1)} </span>`).replace(/\t/gi,"	");s.push(`<td>${r}</td>`)}r.push("<tr>",...s,"</tr>"),i+1===t&&r.push("</tbody>")}return r.push("</table>"),r.join("")}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const r={},n=t.createDocumentFragment(),s=t.createElement("div");n.appendChild(s);let l=e;if("string"===typeof l){const e=l.replace(/<td\b[^>]*?>([\s\S]*?)<\/\s*td>/g,e=>{const t=e.match(/<td\b[^>]*?>/g)[0],r=/<p.*?>/g,n=e.substring(t.length,e.lastIndexOf("<")).trim().replaceAll(/\n\s+/g," ").replaceAll(r,"\n").replace("\n","").replaceAll(/<\/(.*)>\s+$/gm,"</$1>").replace(/(<(?!br)([^>]+)>)/gi,"").replaceAll(/^ $/gm,""),i="</td>";return`${t}${n}${i}`});s.insertAdjacentHTML("afterbegin",""+e),l=s.querySelector("table")}if(!l||!o(l))return;const u=s.querySelector('meta[name$="enerator"]'),c=null!==l.querySelector("tbody th"),d=l.querySelector("tr"),h=d?Array.from(d.cells).reduce((e,t)=>e+t.colSpan,0)-(c?1:0):0,p=l.tFoot&&Array.from(l.tFoot.rows)||[],f=[];let m=!1,g=0,v=0;if(l.tHead){const e=Array.from(l.tHead.rows).filter(e=>{const t=null!==e.querySelector("td");return t&&f.push(e),!t});g=e.length,m=g>0,g>1?r.nestedHeaders=Array.from(e).reduce((e,t)=>{const r=Array.from(t.cells).reduce((e,t,r)=>{if(c&&0===r)return e;const{colSpan:n,innerHTML:i}=t,a=n>1?{label:i,colspan:n}:i;return e.push(a),e},[]);return e.push(r),e},[]):m&&(r.colHeaders=Array.from(e[0].children).reduce((e,t,r)=>(c&&0===r||e.push(t.innerHTML),e),[]))}f.length&&(r.fixedRowsTop=f.length),p.length&&(r.fixedRowsBottom=p.length);const b=[...f,...Array.from(l.tBodies).reduce((e,t)=>(e.push(...Array.from(t.rows)),e),[]),...p];v=b.length;const y=new Array(v);for(let i=0;i<v;i++)y[i]=new Array(h);const w=[],_=[];for(let o=0;o<v;o++){const e=b[o],t=Array.from(e.cells),r=t.length;for(let n=0;n<r;n++){const e=t[n],{nodeName:r,innerHTML:s,rowSpan:l,colSpan:c}=e,d=y[o].findIndex(e=>void 0===e);if("TD"===r){if(l>1||c>1){for(let e=o;e<o+l;e++)if(e<v)for(let t=d;t<d+c;t++)y[e][t]=null;const t=e.getAttribute("style"),r=t&&t.includes("mso-ignore:colspan");r||w.push({col:d,row:o,rowspan:l,colspan:c})}let t="";t=u&&/excel/gi.test(u.content)?s.replace(/[\r\n][\x20]{0,2}/g," ").replace(/<br(\s*|\/)>[\r\n]?[\x20]{0,3}/gim,"\r\n"):s.replace(/<br(\s*|\/)>[\r\n]?/gim,"\r\n"),y[o][d]=t.replace(a,e=>i[e])}else _.push(s)}}return w.length&&(r.mergeCells=w),_.length&&(r.rowHeaders=_),y.length&&(r.data=y),r}},a7fa:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return t}))},a952:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return s})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return m})),r.d(t,"e",(function(){return g})),r.d(t,"f",(function(){return v}));r("7a89"),r("d06e");var n=r("d852"),i=r("81ea"),a=r("7b9c");const o=0,s=1,l=2,u=3,c=[u,l],d=[["number"],["number","string"],["number","undefined"],["number","string","undefined"]],h=Symbol("root"),p=Symbol("child");function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h;if(t!==h&&t!==p)throw new Error("The second argument is used internally only and cannot be overwritten.");const r=Array.isArray(e),i=t===h;let a=o;if(r){const t=e[0];if(0===e.length)a=s;else if(i&&t instanceof n["a"])a=u;else if(i&&Array.isArray(t))a=f(t,p);else if(e.length>=2&&e.length<=4){const t=!e.some((e,t)=>!d[t].includes(typeof e));t&&(a=l)}}return a}function m(e){let{createCellCoords:t,createCellRange:r,keepDirection:n=!1,propToCol:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!c.includes(e))throw new Error("Unsupported selection ranges schema type was provided.");return function(o){const s=e===u;let l=s?o.from.row:o[0],c=s?o.from.col:o[1],d=s?o.to.row:o[2],h=s?o.to.col:o[3];if("function"===typeof i&&("string"===typeof c&&(c=i(c)),"string"===typeof h&&(h=i(h))),Object(a["isUndefined"])(d)&&(d=l),Object(a["isUndefined"])(h)&&(h=c),!n){const e=l,t=c,r=d,n=h;l=Math.min(e,r),c=Math.min(t,n),d=Math.max(e,r),h=Math.max(t,n)}const p=t(l,c),f=t(d,h);return r(p,p,f)}}function g(e){const t=f(e.getSelected());if(t===o||t===s)return[];const r=m(t,{createCellCoords:e._createCellCoords.bind(e),createCellRange:e._createCellRange.bind(e)}),n=new Set;Object(i["arrayEach"])(e.getSelected(),e=>{const{from:t,to:a}=r(e),o=Math.max(t.col,0),s=a.col-o+1;Object(i["arrayEach"])(Array.from(new Array(s),(e,t)=>o+t),e=>{n.has(e)||n.add(e)})});const a=Array.from(n).sort((e,t)=>e-t),l=Object(i["arrayReduce"])(a,(e,t,r,n)=>(0!==r&&t===n[r-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e),[]);return l}function v(e){const t=f(e.getSelected());if(t===o||t===s)return[];const r=m(t,{createCellCoords:e._createCellCoords.bind(e),createCellRange:e._createCellRange.bind(e)}),n=new Set;Object(i["arrayEach"])(e.getSelected(),e=>{const{from:t,to:a}=r(e),o=Math.max(t.row,0),s=a.row-o+1;Object(i["arrayEach"])(Array.from(new Array(s),(e,t)=>o+t),e=>{n.has(e)||n.add(e)})});const a=Array.from(n).sort((e,t)=>e-t),l=Object(i["arrayReduce"])(a,(e,t,r,n)=>(0!==r&&t===n[r-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e),[]);return l}},a958:function(e,t,r){(function(t){var n=r("399f"),i=r("11dc");function a(e){var t=o(e),r=t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed();return{blinder:r,unblinder:t.invm(e.modulus)}}function o(e){var t,r=e.modulus.byteLength();do{t=new n(i(r))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function s(e,r){var i=a(r),o=r.modulus.byteLength(),s=new n(e).mul(i.blinder).umod(r.modulus),l=s.toRed(n.mont(r.prime1)),u=s.toRed(n.mont(r.prime2)),c=r.coefficient,d=r.prime1,h=r.prime2,p=l.redPow(r.exponent1).fromRed(),f=u.redPow(r.exponent2).fromRed(),m=p.isub(f).imul(c).umod(d).imul(h);return f.iadd(m).imul(i.unblinder).umod(r.modulus).toArrayLike(t,"be",o)}s.getr=o,e.exports=s}).call(this,r("b639").Buffer)},a9f1:function(e,t,r){(function(e){t.fetch=s(e.fetch)&&s(e.ReadableStream),t.writableStream=s(e.WritableStream),t.abortController=s(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(l){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(l){r=null}}else r=null;return r}function i(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(l){}return!1}var a="undefined"!==typeof e.ArrayBuffer,o=a&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"===typeof e}t.arraybuffer=t.fetch||a&&i("arraybuffer"),t.msstream=!t.fetch&&o&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&a&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&s(n().overrideMimeType),t.vbArray=s(e.VBArray),r=null}).call(this,r("c8ba"))},aa22:function(e,t,r){"use strict";var n=r("21e29").Buffer,i=n.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=a(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=o(e),this.encoding){case"utf16le":this.text=f,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:return this.write=b,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function l(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function u(e,t,r){var n=t.length-1;if(n<r)return 0;var i=l(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=l(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=l(t[n]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function c(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,r=c(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function h(e,t){var r=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function f(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function g(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function v(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function b(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=p,s.prototype.text=h,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},aa44:function(e,t,r){"use strict";var n=r("fd18"),i=r("fc2d"),a=Math.floor,o=n("".charAt),s=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,h){var p=r+e.length,f=n.length,m=c;return void 0!==d&&(d=i(d),m=u),s(h,m,(function(i,s){var u;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,p);case"<":u=d[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>f){var h=a(c/10);return 0===h?i:h<=f?void 0===n[h-1]?o(s,1):n[h-1]+o(s,1):i}u=n[c-1]}return void 0===u?"":u}))}},aa56:function(e,t,r){"use strict";var n=r("c3c0"),i=n.rotr32;function a(e,t,r,n){return 0===e?o(t,r,n):1===e||3===e?l(t,r,n):2===e?s(t,r,n):void 0}function o(e,t,r){return e&t^~e&r}function s(e,t,r){return e&t^e&r^t&r}function l(e,t,r){return e^t^r}function u(e){return i(e,2)^i(e,13)^i(e,22)}function c(e){return i(e,6)^i(e,11)^i(e,25)}function d(e){return i(e,7)^i(e,18)^e>>>3}function h(e){return i(e,17)^i(e,19)^e>>>10}t.ft_1=a,t.ch32=o,t.maj32=s,t.p32=l,t.s0_256=u,t.s1_256=c,t.g0_256=d,t.g1_256=h},aa69:function(e,t,r){"use strict";e.exports=a;var n=r("dcd0"),i=Object.create(r("3a7c"));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r("3fb5"),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},aa6e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Set,this._limit=e}add(e){if(this._items.add(e),this._items.size>this._limit){const e=this._items.values().next();e.done||this._items.delete(e.value)}}remove(e){this._items.delete(e)}clear(){this._items.clear()}get length(){return this._items.size}*entries(){yield*this}*[Symbol.iterator](){for(const e of this._items)yield e}}t.ObjectCache=n},aaf2:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return n?i[r][0]:i[r][1]}var r=e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return r}))},ab25:function(e,t,r){"use strict";var n=r("de26"),i=r("592a"),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},abe7:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Set,this._limit=e}add(e){if(this._items.add(e),this._items.size>this._limit){const e=this._items.values().next();e.done||this._items.delete(e.value)}return this}delete(e){return this._items.delete(e)}has(e){return this._items.has(e)}clear(){this._items.clear()}get size(){return this._items.size}forEach(e,t){this._items.forEach(r=>e.call(t,r,r,this))}*keys(){yield*this._items.keys()}*values(){yield*this._items.values()}*entries(){yield*this._items.entries()}*[Symbol.iterator](){yield*this._items}get[Symbol.toStringTag](){return"FixedSizeSet"}}t.FixedSizeSet=n},ac4f:function(e,t,r){"use strict";var n=r("f2e8"),i=r("485c").f,a=r("2d2d"),o=r("0e87"),s=r("3df8"),l=r("1d07"),u=r("0c0f");e.exports=function(e,t){var r,c,d,h,p,f,m=e.target,g=e.global,v=e.stat;if(c=g?n:v?n[m]||s(m,{}):n[m]&&n[m].prototype,c)for(d in t){if(p=t[d],e.dontCallGetSet?(f=i(c,d),h=f&&f.value):h=c[d],r=u(g?d:m+(v?".":"#")+d,e.forced),!r&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(e.sham||h&&h.sham)&&a(p,"sham",!0),o(c,d,p,e)}}},acd5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("1fa5"),a=r("9688");class o extends i.TraverserImpl{constructor(e,t){super(e),this._current=t}get currentNode(){return this._current}set currentNode(e){this._current=e}parentNode(){let e=this._current;while(null!==e&&e!==this._root)if(e=e._parent,null!==e&&a.traversal_filter(this,e)===n.FilterResult.Accept)return this._current=e,e;return null}firstChild(){return a.treeWalker_traverseChildren(this,!0)}lastChild(){return a.treeWalker_traverseChildren(this,!1)}nextSibling(){return a.treeWalker_traverseSiblings(this,!0)}previousNode(){let e=this._current;while(e!==this._root){let t=e._previousSibling;while(t){e=t;let r=a.traversal_filter(this,e);while(r!==n.FilterResult.Reject&&e._lastChild)e=e._lastChild,r=a.traversal_filter(this,e);if(r===n.FilterResult.Accept)return this._current=e,e;t=e._previousSibling}if(e===this._root||null===e._parent)return null;if(e=e._parent,a.traversal_filter(this,e)===n.FilterResult.Accept)return this._current=e,e}return null}previousSibling(){return a.treeWalker_traverseSiblings(this,!1)}nextNode(){let e=this._current,t=n.FilterResult.Accept;while(1){while(t!==n.FilterResult.Reject&&e._firstChild)if(e=e._firstChild,t=a.traversal_filter(this,e),t===n.FilterResult.Accept)return this._current=e,e;let r=null,i=e;while(null!==i){if(i===this._root)return null;if(r=i._nextSibling,null!==r){e=r;break}i=i._parent}if(t=a.traversal_filter(this,e),t===n.FilterResult.Accept)return this._current=e,e}}static _create(e,t){return new o(e,t)}}t.TreeWalkerImpl=o},ad25:function(e,t,r){var n=r("2aee"),i=r("11dc"),a=r("98e6"),o=r("f460"),s=r("83d5"),l=r("0106"),u=r("5291"),c=r("a958"),d=r("8707").Buffer;function h(e,t){var r=e.modulus.byteLength(),n=t.length,u=a("sha1").update(d.alloc(0)).digest(),c=u.length,h=2*c;if(n>r-h-2)throw new Error("message too long");var p=d.alloc(r-n-h-2),f=r-c-1,m=i(c),g=s(d.concat([u,p,d.alloc(1,1),t],f),o(m,f)),v=s(m,o(g,c));return new l(d.concat([d.alloc(1),v,g],r))}function p(e,t,r){var n,i=t.length,a=e.modulus.byteLength();if(i>a-11)throw new Error("message too long");return n=r?d.alloc(a-i-3,255):f(a-i-3),new l(d.concat([d.from([0,r?1:2]),n,d.alloc(1),t],a))}function f(e){var t,r=d.allocUnsafe(e),n=0,a=i(2*e),o=0;while(n<e)o===a.length&&(a=i(2*e),o=0),t=a[o++],t&&(r[n++]=t);return r}e.exports=function(e,t,r){var i;i=e.padding?e.padding:r?1:4;var a,o=n(e);if(4===i)a=h(o,t);else if(1===i)a=p(o,t,r);else{if(3!==i)throw new Error("unknown padding");if(a=new l(t),a.cmp(o.modulus)>=0)throw new Error("data too long for modulus")}return r?c(a,o):u(a,o)}},ad99:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("a32f"),a=r("fea4"),o=r("0fc1"),s=r("a45a"),l=r("9688");class u{constructor(e){this.level=0,this._builderOptions=e}docType(e,t,r){}comment(e){}text(e){}instruction(e,t){}cdata(e){}openTagBegin(e){}openTagEnd(e,t,r){}closeTag(e){}attributes(e){for(const t of e)this.attribute(null===t[1]?t[2]:t[1]+":"+t[2],t[3])}attribute(e,t){}beginElement(e){}endElement(e){}serializeNode(e,t,r){const n=void 0!==e._nodeDocument&&e._nodeDocument._hasNamespaces;if(this.level=0,this.currentNode=e,n){let n=null;const l=new a.NamespacePrefixMap;l.set("xml",s.namespace.XML);const u={value:1};try{this._serializeNodeNS(e,n,l,u,t,r)}catch(i){throw new o.InvalidStateError(i.message)}}else try{this._serializeNode(e,t,r)}catch(i){throw new o.InvalidStateError(i.message)}}_serializeNodeNS(e,t,r,i,a,o){switch(this.currentNode=e,e.nodeType){case n.NodeType.Element:this._serializeElementNS(e,t,r,i,a,o);break;case n.NodeType.Document:this._serializeDocumentNS(e,t,r,i,a,o);break;case n.NodeType.Comment:this._serializeComment(e,a,o);break;case n.NodeType.Text:this._serializeText(e,a,o);break;case n.NodeType.DocumentFragment:this._serializeDocumentFragmentNS(e,t,r,i,a,o);break;case n.NodeType.DocumentType:this._serializeDocumentType(e,a,o);break;case n.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,a,o);break;case n.NodeType.CData:this._serializeCData(e,a,o);break;default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeNode(e,t,r){switch(this.currentNode=e,e.nodeType){case n.NodeType.Element:this._serializeElement(e,t,r);break;case n.NodeType.Document:this._serializeDocument(e,t,r);break;case n.NodeType.Comment:this._serializeComment(e,t,r);break;case n.NodeType.Text:this._serializeText(e,t,r);break;case n.NodeType.DocumentFragment:this._serializeDocumentFragment(e,t,r);break;case n.NodeType.DocumentType:this._serializeDocumentType(e,t,r);break;case n.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,t,r);break;case n.NodeType.CData:this._serializeCData(e,t,r);break;default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeElementNS(e,t,r,n,i,a){const o=[];if(i&&(-1!==e.localName.indexOf(":")||!l.xml_isName(e.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");let c="",d=!1,h=!1,p=r.copy(),f={},m=this._recordNamespaceInformation(e,p,f),g=t,v=e.namespaceURI;if(g===v)null!==m&&(h=!0),c=v===s.namespace.XML?"xml:"+e.localName:e.localName,this.beginElement(c),this.openTagBegin(c);else{let t=e.prefix,r=null;if(null===t&&v===m||(r=p.get(t,v)),"xmlns"===t){if(i)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");r=t}null!==r?(c=r+":"+e.localName,null!==m&&m!==s.namespace.XML&&(g=m||null),this.beginElement(c),this.openTagBegin(c)):null!==t?(t in f&&(t=this._generatePrefix(v,p,n)),p.set(t,v),c+=t+":"+e.localName,this.beginElement(c),this.openTagBegin(c),o.push([null,"xmlns",t,this._serializeAttributeValue(v,i,a)]),null!==m&&(g=m||null)):null===m||null!==m&&m!==v?(h=!0,c+=e.localName,g=v,this.beginElement(c),this.openTagBegin(c),o.push([null,null,"xmlns",this._serializeAttributeValue(v,i,a)])):(c+=e.localName,g=v,this.beginElement(c),this.openTagBegin(c))}o.push(...this._serializeAttributesNS(e,p,n,f,h,i,a)),this.attributes(o);const b=v===s.namespace.HTML;if(b&&0===e.childNodes.length&&u._VoidElementNames.has(e.localName)?(this.openTagEnd(c,!0,!0),this.endElement(c),d=!0):b||0!==e.childNodes.length?this.openTagEnd(c,!1,!1):(this.openTagEnd(c,!0,!1),this.endElement(c),d=!0),!d){if(b&&"template"===e.localName);else for(const t of e.childNodes)this.level++,this._serializeNodeNS(t,g,p,n,i,a),this.level--;this.closeTag(c),this.endElement(c)}}_serializeElement(e,t,r){if(t&&(-1!==e.localName.indexOf(":")||!l.xml_isName(e.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");let n=!1;const i=e.localName;this.beginElement(i),this.openTagBegin(i);const a=this._serializeAttributes(e,t,r);if(this.attributes(a),e.hasChildNodes()?this.openTagEnd(i,!1,!1):(this.openTagEnd(i,!0,!1),this.endElement(i),n=!0),!n){for(const n of e._children)this.level++,this._serializeNode(n,t,r),this.level--;this.closeTag(i),this.endElement(i)}}_serializeDocumentNS(e,t,r,n,i,a){if(i&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");for(const o of e.childNodes)this._serializeNodeNS(o,t,r,n,i,a)}_serializeDocument(e,t,r){if(t&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");for(const n of e._children)this._serializeNode(n,t,r)}_serializeComment(e,t,r){if(t&&(!l.xml_isLegalChar(e.data)||-1!==e.data.indexOf("--")||e.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");this.comment(e.data)}_serializeText(e,t,r){if(t&&!l.xml_isLegalChar(e.data))throw new Error("Text data contains invalid characters (well-formed required).");let n="";if(r)n=e.data.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
");else for(let i=0;i<e.data.length;i++){const t=e.data[i];n+="&"===t?"&":"<"===t?"<":">"===t?">":t}this.text(n)}_serializeDocumentFragmentNS(e,t,r,n,i,a){for(const o of e.childNodes)this._serializeNodeNS(o,t,r,n,i,a)}_serializeDocumentFragment(e,t,r){for(const n of e._children)this._serializeNode(n,t,r)}_serializeDocumentType(e,t,r){if(t&&!l.xml_isPubidChar(e.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(t&&(!l.xml_isLegalChar(e.systemId)||-1!==e.systemId.indexOf('"')&&-1!==e.systemId.indexOf("'")))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(e.name,e.publicId,e.systemId)}_serializeProcessingInstruction(e,t,r){if(t&&(-1!==e.target.indexOf(":")||/^xml$/i.test(e.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(t&&(!l.xml_isLegalChar(e.data)||-1!==e.data.indexOf("?>")))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(e.target,e.data)}_serializeCData(e,t,r){if(t&&-1!==e.data.indexOf("]]>"))throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(e.data)}_serializeAttributesNS(e,t,r,n,a,o,u){const c=[],d=o?new i.LocalNameSet:void 0;for(const i of e.attributes){if(!o&&!a&&null===i.namespaceURI){c.push([null,null,i.localName,this._serializeAttributeValue(i.value,o,u)]);continue}if(o&&d&&d.has(i.namespaceURI,i.localName))throw new Error("Element contains duplicate attributes (well-formed required).");o&&d&&d.set(i.namespaceURI,i.localName);let e=i.namespaceURI,h=null;if(null!==e)if(h=t.get(i.prefix,e),e===s.namespace.XMLNS){if(i.value===s.namespace.XML||null===i.prefix&&a||null!==i.prefix&&(!(i.localName in n)||n[i.localName]!==i.value)&&t.has(i.localName,i.value))continue;if(o&&i.value===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(o&&""===i.value)throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");"xmlns"===i.prefix&&(h="xmlns")}else null===h&&(h=null===i.prefix||t.hasPrefix(i.prefix)&&!t.has(i.prefix,e)?this._generatePrefix(e,t,r):i.prefix,c.push([null,"xmlns",h,this._serializeAttributeValue(e,o,u)]));let p="";if(null!==h&&(p=h),o&&(-1!==i.localName.indexOf(":")||!l.xml_isName(i.localName)||"xmlns"===i.localName&&null===e))throw new Error("Attribute local name contains invalid characters (well-formed required).");c.push([e,h,i.localName,this._serializeAttributeValue(i.value,o,u)])}return c}_serializeAttributes(e,t,r){const n=[],i=t?{}:void 0;for(const a of e.attributes)if(t){if(t&&i&&a.localName in i)throw new Error("Element contains duplicate attributes (well-formed required).");if(t&&i&&(i[a.localName]=!0),t&&(-1!==a.localName.indexOf(":")||!l.xml_isName(a.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");n.push([null,null,a.localName,this._serializeAttributeValue(a.value,t,r)])}else n.push([null,null,a.localName,this._serializeAttributeValue(a.value,t,r)]);return n}_recordNamespaceInformation(e,t,r){let n=null;for(const i of e.attributes){let e=i.namespaceURI,a=i.prefix;if(e===s.namespace.XMLNS){if(null===a){n=i.value;continue}{let e=i.localName,n=i.value;if(n===s.namespace.XML)continue;if(""===n&&(n=null),t.has(e,n))continue;t.set(e,n),r[e]=n||""}}}return n}_generatePrefix(e,t,r){const n="ns"+r.value.toString();return r.value++,t.set(n,e),n}_serializeAttributeValue(e,t,r){if(t&&null!==e&&!l.xml_isLegalChar(e))throw new Error("Invalid characters in attribute value.");if(null===e)return"";if(r)return e.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
");{let t="";for(let r=0;r<e.length;r++){const n=e[r];t+='"'===n?""":"&"===n?"&":"<"===n?"<":">"===n?">":n}return t}}}t.BaseWriter=u,u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"])},ad9d:function(e,t,r){"use strict";var n=r("23e7"),i=r("1d80"),a=r("44e7"),o=r("ad6d"),s=r("b622"),l=r("c430"),u=s("replace"),c=RegExp.prototype;n({target:"String",proto:!0},{replaceAll:function e(t,r){var n,s,d,h,p,f,m,g,v,b=i(this);if(null!=t){if(n=a(t),n&&(s=String(i("flags"in c?t.flags:o.call(t))),!~s.indexOf("g")))throw TypeError("`.replaceAll` does not allow non-global regexes");if(d=t[u],void 0!==d)return d.call(t,b,r);if(l&&n)return String(b).replace(t,r)}if(h=String(b),p=String(t),""===p)return e.call(h,/(?:)/g,r);if(f=h.split(p),"function"!==typeof r)return f.join(String(r));for(m=f[0],g=m.length,v=1;v<f.length;v++)m+=String(r(p,g,h)),g+=p.length+f[v].length,m+=f[v];return m}})},ada2:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t){var r=e.split("_");return t%10===1&&t%100!==11?r[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?r[1]:r[2]}function r(e,r,n){var i={ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?r?"хвилина":"хвилину":"h"===n?r?"година":"годину":e+" "+t(i[n],+e)}function n(e,t){var r,n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n["nominative"].slice(1,7).concat(n["nominative"].slice(0,1)):e?(r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",n[r][e.day()]):n["nominative"]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:r,m:r,mm:r,h:"годину",hh:r,d:"день",dd:r,M:"місяць",MM:r,y:"рік",yy:r},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return a}))},ade0:function(e,t,r){var n=r("7797").decode,i=1,a=2,o=8,s=16,l=48,u=64;function c(e,t){return(e&t)===t}var d=RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),h={Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|o,allowTransparency:i,alt:null,async:o,autoComplete:null,autoFocus:o,autoPlay:o,capture:i|o,cellPadding:null,cellSpacing:null,charSet:i,challenge:i,checked:a|o,classID:i,className:i,cols:i|l,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:a|o,coords:null,crossOrigin:null,data:null,dateTime:i,defer:o,dir:null,disabled:i|o,download:u,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:o,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|o,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,is:i,keyParams:i,keyType:i,label:null,lang:null,list:i,loop:a|o,low:null,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,minLength:i,multiple:a|o,muted:a|o,name:null,noValidate:o,open:o,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:a|o,rel:null,required:o,role:i,rows:i|l,rowSpan:null,sandbox:null,scope:null,scoped:o,scrolling:null,seamless:i|o,selected:a|o,shape:null,size:i|l,sizes:i,span:l,spellCheck:null,src:null,srcDoc:a,srcSet:i,start:s,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:a,width:i,wmode:i,autoCapitalize:null,autoCorrect:null,itemProp:i,itemScope:i|o,itemType:i,itemID:i,itemRef:i,property:null,unselectable:i}},p=function(e){var t=e.split(";"),r=t.reduce((function(e,t){var r=t.split(/:(.+)/);return r[0]&&r[1]&&(e[r[0].trim()]=r[1].trim()),e}),{});return r},f={className:"class",htmlFor:"for",httpEquiv:"http-equiv",acceptCharset:"accept-charset"},m={style:p,placeholder:n,title:n,alt:n},g=function(){var e={};return Object.keys(h.Properties).forEach((function(t){var r=h.Properties[t],n=f[t]||t.toLowerCase(),d={attributeName:n,propertyName:t,mustUseAttribute:c(r,i),mustUseProperty:c(r,a),hasBooleanValue:c(r,o),hasNumericValue:c(r,s),hasPositiveNumericValue:c(r,l),hasOverloadedBooleanValue:c(r,u)};e[n]=d})),function(t){return e[t]}}(),v=function(e){var t=e.attribs,r={attributes:{}};return Object.keys(t).forEach((function(e){var n=e.toLowerCase(),i=g(n),a=t[e];if(!d(e)&&i){var o,s=m[i.propertyName];if(s&&(a=s(a)),i.mustUseAttribute)i.hasBooleanValue?r.attributes[i.attributeName]="":r.attributes[i.attributeName]=a;else i.hasBooleanValue?(o=""===a||a.toLowerCase()===i.attributeName,r[i.propertyName]=!!o):i.hasOverloadedBooleanValue?(o=""===a,r[i.propertyName]=!!o||a):i.hasNumericValue||i.hasPositiveNumericValue?r[i.propertyName]=Number(a):r[i.propertyName]=a}else r.attributes[e]=a})),r};e.exports=v},ae20:function(e,t,r){"use strict";var n=TypeError,i=9007199254740991;e.exports=function(e){if(e>i)throw n("Maximum allowed index exceeded");return e}},ae84:function(e,t,r){var n=r("8707").Buffer,i=r("f576");function a(e,t,r,a){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");var o=r/8,s=n.alloc(o),l=n.alloc(a||0),u=n.alloc(0);while(o>0||a>0){var c=new i;c.update(u),c.update(e),t&&c.update(t),u=c.digest();var d=0;if(o>0){var h=s.length-o;d=Math.min(o,u.length),u.copy(s,h,0,d),o-=d}if(d<u.length&&a>0){var p=l.length-a,f=Math.min(a,u.length-d);u.copy(l,p,d,d+f),a-=f}}return u.fill(0),{key:s,iv:l}}e.exports=a},af0d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("d287"),a=r("68d5");class o extends i.CharacterDataImpl{constructor(e=""){super(e)}static _create(e,t=""){const r=new o(t);return r._nodeDocument=e,r}}t.CommentImpl=o,a.idl_defineConst(o.prototype,"_nodeType",n.NodeType.Comment)},af7e:function(e,t,r){e.exports=r("6ffa")},b189:function(e,t,r){"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,o=r("d4ab"),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!h["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}(),f=function(e){if("undefined"===typeof window||!p)return d(e);try{return d(e)}catch(t){return!1}};n=function(e){var t=null!==e&&"object"===typeof e,r="[object Function]"===a.call(e),n=o(e),s=t&&"[object String]"===a.call(e),d=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var h=u&&r;if(s&&e.length>0&&!i.call(e,0))for(var p=0;p<e.length;++p)d.push(String(p));if(n&&e.length>0)for(var m=0;m<e.length;++m)d.push(String(m));else for(var g in e)h&&"prototype"===g||!i.call(e,g)||d.push(String(g));if(l)for(var v=f(e),b=0;b<c.length;++b)v&&"constructor"===c[b]||!i.call(e,c[b])||d.push(c[b]);return d}}e.exports=n},b1e1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("79b1"),i=r("dc6b"),a=r("321f");function o(e,t){if(!i.dom_hasSupportedTokens(e._attribute._localName))throw new TypeError(`There are no supported tokens defined for attribute name: '${e._attribute._localName}'.`);return i.dom_getSupportedTokens(e._attribute._localName).has(t.toLowerCase())}function s(e){(e._element.hasAttribute(e._attribute._localName)||0!==e._tokenSet.size)&&a.element_setAnAttributeValue(e._element,e._attribute._localName,n.orderedSet_serialize(e._tokenSet))}function l(e){return a.element_getAnAttributeValue(e._element,e._attribute._localName)}t.tokenList_validationSteps=o,t.tokenList_updateSteps=s,t.tokenList_serializeSteps=l},b246:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("f9a6");class i extends n.DocumentImpl{constructor(){super()}}t.XMLDocumentImpl=i},b29d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,r){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}});return t}))},b2ae:function(e,t,r){"use strict";var n=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?i:n)(t)}},b2c9:function(e,t,r){"use strict";var n=r("8793");e.exports=function(e){return n(e)||null===e}},b2ed:function(e){e.exports=JSON.parse('{"9":"Tab;","10":"NewLine;","33":"excl;","34":"quot;","35":"num;","36":"dollar;","37":"percnt;","38":"amp;","39":"apos;","40":"lpar;","41":"rpar;","42":"midast;","43":"plus;","44":"comma;","46":"period;","47":"sol;","58":"colon;","59":"semi;","60":"lt;","61":"equals;","62":"gt;","63":"quest;","64":"commat;","91":"lsqb;","92":"bsol;","93":"rsqb;","94":"Hat;","95":"UnderBar;","96":"grave;","123":"lcub;","124":"VerticalLine;","125":"rcub;","160":"NonBreakingSpace;","161":"iexcl;","162":"cent;","163":"pound;","164":"curren;","165":"yen;","166":"brvbar;","167":"sect;","168":"uml;","169":"copy;","170":"ordf;","171":"laquo;","172":"not;","173":"shy;","174":"reg;","175":"strns;","176":"deg;","177":"pm;","178":"sup2;","179":"sup3;","180":"DiacriticalAcute;","181":"micro;","182":"para;","183":"middot;","184":"Cedilla;","185":"sup1;","186":"ordm;","187":"raquo;","188":"frac14;","189":"half;","190":"frac34;","191":"iquest;","192":"Agrave;","193":"Aacute;","194":"Acirc;","195":"Atilde;","196":"Auml;","197":"Aring;","198":"AElig;","199":"Ccedil;","200":"Egrave;","201":"Eacute;","202":"Ecirc;","203":"Euml;","204":"Igrave;","205":"Iacute;","206":"Icirc;","207":"Iuml;","208":"ETH;","209":"Ntilde;","210":"Ograve;","211":"Oacute;","212":"Ocirc;","213":"Otilde;","214":"Ouml;","215":"times;","216":"Oslash;","217":"Ugrave;","218":"Uacute;","219":"Ucirc;","220":"Uuml;","221":"Yacute;","222":"THORN;","223":"szlig;","224":"agrave;","225":"aacute;","226":"acirc;","227":"atilde;","228":"auml;","229":"aring;","230":"aelig;","231":"ccedil;","232":"egrave;","233":"eacute;","234":"ecirc;","235":"euml;","236":"igrave;","237":"iacute;","238":"icirc;","239":"iuml;","240":"eth;","241":"ntilde;","242":"ograve;","243":"oacute;","244":"ocirc;","245":"otilde;","246":"ouml;","247":"divide;","248":"oslash;","249":"ugrave;","250":"uacute;","251":"ucirc;","252":"uuml;","253":"yacute;","254":"thorn;","255":"yuml;","256":"Amacr;","257":"amacr;","258":"Abreve;","259":"abreve;","260":"Aogon;","261":"aogon;","262":"Cacute;","263":"cacute;","264":"Ccirc;","265":"ccirc;","266":"Cdot;","267":"cdot;","268":"Ccaron;","269":"ccaron;","270":"Dcaron;","271":"dcaron;","272":"Dstrok;","273":"dstrok;","274":"Emacr;","275":"emacr;","278":"Edot;","279":"edot;","280":"Eogon;","281":"eogon;","282":"Ecaron;","283":"ecaron;","284":"Gcirc;","285":"gcirc;","286":"Gbreve;","287":"gbreve;","288":"Gdot;","289":"gdot;","290":"Gcedil;","292":"Hcirc;","293":"hcirc;","294":"Hstrok;","295":"hstrok;","296":"Itilde;","297":"itilde;","298":"Imacr;","299":"imacr;","302":"Iogon;","303":"iogon;","304":"Idot;","305":"inodot;","306":"IJlig;","307":"ijlig;","308":"Jcirc;","309":"jcirc;","310":"Kcedil;","311":"kcedil;","312":"kgreen;","313":"Lacute;","314":"lacute;","315":"Lcedil;","316":"lcedil;","317":"Lcaron;","318":"lcaron;","319":"Lmidot;","320":"lmidot;","321":"Lstrok;","322":"lstrok;","323":"Nacute;","324":"nacute;","325":"Ncedil;","326":"ncedil;","327":"Ncaron;","328":"ncaron;","329":"napos;","330":"ENG;","331":"eng;","332":"Omacr;","333":"omacr;","336":"Odblac;","337":"odblac;","338":"OElig;","339":"oelig;","340":"Racute;","341":"racute;","342":"Rcedil;","343":"rcedil;","344":"Rcaron;","345":"rcaron;","346":"Sacute;","347":"sacute;","348":"Scirc;","349":"scirc;","350":"Scedil;","351":"scedil;","352":"Scaron;","353":"scaron;","354":"Tcedil;","355":"tcedil;","356":"Tcaron;","357":"tcaron;","358":"Tstrok;","359":"tstrok;","360":"Utilde;","361":"utilde;","362":"Umacr;","363":"umacr;","364":"Ubreve;","365":"ubreve;","366":"Uring;","367":"uring;","368":"Udblac;","369":"udblac;","370":"Uogon;","371":"uogon;","372":"Wcirc;","373":"wcirc;","374":"Ycirc;","375":"ycirc;","376":"Yuml;","377":"Zacute;","378":"zacute;","379":"Zdot;","380":"zdot;","381":"Zcaron;","382":"zcaron;","402":"fnof;","437":"imped;","501":"gacute;","567":"jmath;","710":"circ;","711":"Hacek;","728":"breve;","729":"dot;","730":"ring;","731":"ogon;","732":"tilde;","733":"DiacriticalDoubleAcute;","785":"DownBreve;","913":"Alpha;","914":"Beta;","915":"Gamma;","916":"Delta;","917":"Epsilon;","918":"Zeta;","919":"Eta;","920":"Theta;","921":"Iota;","922":"Kappa;","923":"Lambda;","924":"Mu;","925":"Nu;","926":"Xi;","927":"Omicron;","928":"Pi;","929":"Rho;","931":"Sigma;","932":"Tau;","933":"Upsilon;","934":"Phi;","935":"Chi;","936":"Psi;","937":"Omega;","945":"alpha;","946":"beta;","947":"gamma;","948":"delta;","949":"epsilon;","950":"zeta;","951":"eta;","952":"theta;","953":"iota;","954":"kappa;","955":"lambda;","956":"mu;","957":"nu;","958":"xi;","959":"omicron;","960":"pi;","961":"rho;","962":"varsigma;","963":"sigma;","964":"tau;","965":"upsilon;","966":"phi;","967":"chi;","968":"psi;","969":"omega;","977":"vartheta;","978":"upsih;","981":"varphi;","982":"varpi;","988":"Gammad;","989":"gammad;","1008":"varkappa;","1009":"varrho;","1013":"varepsilon;","1014":"bepsi;","1025":"IOcy;","1026":"DJcy;","1027":"GJcy;","1028":"Jukcy;","1029":"DScy;","1030":"Iukcy;","1031":"YIcy;","1032":"Jsercy;","1033":"LJcy;","1034":"NJcy;","1035":"TSHcy;","1036":"KJcy;","1038":"Ubrcy;","1039":"DZcy;","1040":"Acy;","1041":"Bcy;","1042":"Vcy;","1043":"Gcy;","1044":"Dcy;","1045":"IEcy;","1046":"ZHcy;","1047":"Zcy;","1048":"Icy;","1049":"Jcy;","1050":"Kcy;","1051":"Lcy;","1052":"Mcy;","1053":"Ncy;","1054":"Ocy;","1055":"Pcy;","1056":"Rcy;","1057":"Scy;","1058":"Tcy;","1059":"Ucy;","1060":"Fcy;","1061":"KHcy;","1062":"TScy;","1063":"CHcy;","1064":"SHcy;","1065":"SHCHcy;","1066":"HARDcy;","1067":"Ycy;","1068":"SOFTcy;","1069":"Ecy;","1070":"YUcy;","1071":"YAcy;","1072":"acy;","1073":"bcy;","1074":"vcy;","1075":"gcy;","1076":"dcy;","1077":"iecy;","1078":"zhcy;","1079":"zcy;","1080":"icy;","1081":"jcy;","1082":"kcy;","1083":"lcy;","1084":"mcy;","1085":"ncy;","1086":"ocy;","1087":"pcy;","1088":"rcy;","1089":"scy;","1090":"tcy;","1091":"ucy;","1092":"fcy;","1093":"khcy;","1094":"tscy;","1095":"chcy;","1096":"shcy;","1097":"shchcy;","1098":"hardcy;","1099":"ycy;","1100":"softcy;","1101":"ecy;","1102":"yucy;","1103":"yacy;","1105":"iocy;","1106":"djcy;","1107":"gjcy;","1108":"jukcy;","1109":"dscy;","1110":"iukcy;","1111":"yicy;","1112":"jsercy;","1113":"ljcy;","1114":"njcy;","1115":"tshcy;","1116":"kjcy;","1118":"ubrcy;","1119":"dzcy;","8194":"ensp;","8195":"emsp;","8196":"emsp13;","8197":"emsp14;","8199":"numsp;","8200":"puncsp;","8201":"ThinSpace;","8202":"VeryThinSpace;","8203":"ZeroWidthSpace;","8204":"zwnj;","8205":"zwj;","8206":"lrm;","8207":"rlm;","8208":"hyphen;","8211":"ndash;","8212":"mdash;","8213":"horbar;","8214":"Vert;","8216":"OpenCurlyQuote;","8217":"rsquor;","8218":"sbquo;","8220":"OpenCurlyDoubleQuote;","8221":"rdquor;","8222":"ldquor;","8224":"dagger;","8225":"ddagger;","8226":"bullet;","8229":"nldr;","8230":"mldr;","8240":"permil;","8241":"pertenk;","8242":"prime;","8243":"Prime;","8244":"tprime;","8245":"bprime;","8249":"lsaquo;","8250":"rsaquo;","8254":"OverBar;","8257":"caret;","8259":"hybull;","8260":"frasl;","8271":"bsemi;","8279":"qprime;","8287":"MediumSpace;","8288":"NoBreak;","8289":"ApplyFunction;","8290":"it;","8291":"InvisibleComma;","8364":"euro;","8411":"TripleDot;","8412":"DotDot;","8450":"Copf;","8453":"incare;","8458":"gscr;","8459":"Hscr;","8460":"Poincareplane;","8461":"quaternions;","8462":"planckh;","8463":"plankv;","8464":"Iscr;","8465":"imagpart;","8466":"Lscr;","8467":"ell;","8469":"Nopf;","8470":"numero;","8471":"copysr;","8472":"wp;","8473":"primes;","8474":"rationals;","8475":"Rscr;","8476":"Rfr;","8477":"Ropf;","8478":"rx;","8482":"trade;","8484":"Zopf;","8487":"mho;","8488":"Zfr;","8489":"iiota;","8492":"Bscr;","8493":"Cfr;","8495":"escr;","8496":"expectation;","8497":"Fscr;","8499":"phmmat;","8500":"oscr;","8501":"aleph;","8502":"beth;","8503":"gimel;","8504":"daleth;","8517":"DD;","8518":"DifferentialD;","8519":"exponentiale;","8520":"ImaginaryI;","8531":"frac13;","8532":"frac23;","8533":"frac15;","8534":"frac25;","8535":"frac35;","8536":"frac45;","8537":"frac16;","8538":"frac56;","8539":"frac18;","8540":"frac38;","8541":"frac58;","8542":"frac78;","8592":"slarr;","8593":"uparrow;","8594":"srarr;","8595":"ShortDownArrow;","8596":"leftrightarrow;","8597":"varr;","8598":"UpperLeftArrow;","8599":"UpperRightArrow;","8600":"searrow;","8601":"swarrow;","8602":"nleftarrow;","8603":"nrightarrow;","8605":"rightsquigarrow;","8606":"twoheadleftarrow;","8607":"Uarr;","8608":"twoheadrightarrow;","8609":"Darr;","8610":"leftarrowtail;","8611":"rightarrowtail;","8612":"mapstoleft;","8613":"UpTeeArrow;","8614":"RightTeeArrow;","8615":"mapstodown;","8617":"larrhk;","8618":"rarrhk;","8619":"looparrowleft;","8620":"rarrlp;","8621":"leftrightsquigarrow;","8622":"nleftrightarrow;","8624":"lsh;","8625":"rsh;","8626":"ldsh;","8627":"rdsh;","8629":"crarr;","8630":"curvearrowleft;","8631":"curvearrowright;","8634":"olarr;","8635":"orarr;","8636":"lharu;","8637":"lhard;","8638":"upharpoonright;","8639":"upharpoonleft;","8640":"RightVector;","8641":"rightharpoondown;","8642":"RightDownVector;","8643":"LeftDownVector;","8644":"rlarr;","8645":"UpArrowDownArrow;","8646":"lrarr;","8647":"llarr;","8648":"uuarr;","8649":"rrarr;","8650":"downdownarrows;","8651":"ReverseEquilibrium;","8652":"rlhar;","8653":"nLeftarrow;","8654":"nLeftrightarrow;","8655":"nRightarrow;","8656":"Leftarrow;","8657":"Uparrow;","8658":"Rightarrow;","8659":"Downarrow;","8660":"Leftrightarrow;","8661":"vArr;","8662":"nwArr;","8663":"neArr;","8664":"seArr;","8665":"swArr;","8666":"Lleftarrow;","8667":"Rrightarrow;","8669":"zigrarr;","8676":"LeftArrowBar;","8677":"RightArrowBar;","8693":"duarr;","8701":"loarr;","8702":"roarr;","8703":"hoarr;","8704":"forall;","8705":"complement;","8706":"PartialD;","8707":"Exists;","8708":"NotExists;","8709":"varnothing;","8711":"nabla;","8712":"isinv;","8713":"notinva;","8715":"SuchThat;","8716":"NotReverseElement;","8719":"Product;","8720":"Coproduct;","8721":"sum;","8722":"minus;","8723":"mp;","8724":"plusdo;","8726":"ssetmn;","8727":"lowast;","8728":"SmallCircle;","8730":"Sqrt;","8733":"vprop;","8734":"infin;","8735":"angrt;","8736":"angle;","8737":"measuredangle;","8738":"angsph;","8739":"VerticalBar;","8740":"nsmid;","8741":"spar;","8742":"nspar;","8743":"wedge;","8744":"vee;","8745":"cap;","8746":"cup;","8747":"Integral;","8748":"Int;","8749":"tint;","8750":"oint;","8751":"DoubleContourIntegral;","8752":"Cconint;","8753":"cwint;","8754":"cwconint;","8755":"CounterClockwiseContourIntegral;","8756":"therefore;","8757":"because;","8758":"ratio;","8759":"Proportion;","8760":"minusd;","8762":"mDDot;","8763":"homtht;","8764":"Tilde;","8765":"bsim;","8766":"mstpos;","8767":"acd;","8768":"wreath;","8769":"nsim;","8770":"esim;","8771":"TildeEqual;","8772":"nsimeq;","8773":"TildeFullEqual;","8774":"simne;","8775":"NotTildeFullEqual;","8776":"TildeTilde;","8777":"NotTildeTilde;","8778":"approxeq;","8779":"apid;","8780":"bcong;","8781":"CupCap;","8782":"HumpDownHump;","8783":"HumpEqual;","8784":"esdot;","8785":"eDot;","8786":"fallingdotseq;","8787":"risingdotseq;","8788":"coloneq;","8789":"eqcolon;","8790":"eqcirc;","8791":"cire;","8793":"wedgeq;","8794":"veeeq;","8796":"trie;","8799":"questeq;","8800":"NotEqual;","8801":"equiv;","8802":"NotCongruent;","8804":"leq;","8805":"GreaterEqual;","8806":"LessFullEqual;","8807":"GreaterFullEqual;","8808":"lneqq;","8809":"gneqq;","8810":"NestedLessLess;","8811":"NestedGreaterGreater;","8812":"twixt;","8813":"NotCupCap;","8814":"NotLess;","8815":"NotGreater;","8816":"NotLessEqual;","8817":"NotGreaterEqual;","8818":"lsim;","8819":"gtrsim;","8820":"NotLessTilde;","8821":"NotGreaterTilde;","8822":"lg;","8823":"gtrless;","8824":"ntlg;","8825":"ntgl;","8826":"Precedes;","8827":"Succeeds;","8828":"PrecedesSlantEqual;","8829":"SucceedsSlantEqual;","8830":"prsim;","8831":"succsim;","8832":"nprec;","8833":"nsucc;","8834":"subset;","8835":"supset;","8836":"nsub;","8837":"nsup;","8838":"SubsetEqual;","8839":"supseteq;","8840":"nsubseteq;","8841":"nsupseteq;","8842":"subsetneq;","8843":"supsetneq;","8845":"cupdot;","8846":"uplus;","8847":"SquareSubset;","8848":"SquareSuperset;","8849":"SquareSubsetEqual;","8850":"SquareSupersetEqual;","8851":"SquareIntersection;","8852":"SquareUnion;","8853":"oplus;","8854":"ominus;","8855":"otimes;","8856":"osol;","8857":"odot;","8858":"ocir;","8859":"oast;","8861":"odash;","8862":"plusb;","8863":"minusb;","8864":"timesb;","8865":"sdotb;","8866":"vdash;","8867":"LeftTee;","8868":"top;","8869":"UpTee;","8871":"models;","8872":"vDash;","8873":"Vdash;","8874":"Vvdash;","8875":"VDash;","8876":"nvdash;","8877":"nvDash;","8878":"nVdash;","8879":"nVDash;","8880":"prurel;","8882":"vltri;","8883":"vrtri;","8884":"trianglelefteq;","8885":"trianglerighteq;","8886":"origof;","8887":"imof;","8888":"mumap;","8889":"hercon;","8890":"intercal;","8891":"veebar;","8893":"barvee;","8894":"angrtvb;","8895":"lrtri;","8896":"xwedge;","8897":"xvee;","8898":"xcap;","8899":"xcup;","8900":"diamond;","8901":"sdot;","8902":"Star;","8903":"divonx;","8904":"bowtie;","8905":"ltimes;","8906":"rtimes;","8907":"lthree;","8908":"rthree;","8909":"bsime;","8910":"cuvee;","8911":"cuwed;","8912":"Subset;","8913":"Supset;","8914":"Cap;","8915":"Cup;","8916":"pitchfork;","8917":"epar;","8918":"ltdot;","8919":"gtrdot;","8920":"Ll;","8921":"ggg;","8922":"LessEqualGreater;","8923":"gtreqless;","8926":"curlyeqprec;","8927":"curlyeqsucc;","8928":"nprcue;","8929":"nsccue;","8930":"nsqsube;","8931":"nsqsupe;","8934":"lnsim;","8935":"gnsim;","8936":"prnsim;","8937":"succnsim;","8938":"ntriangleleft;","8939":"ntriangleright;","8940":"ntrianglelefteq;","8941":"ntrianglerighteq;","8942":"vellip;","8943":"ctdot;","8944":"utdot;","8945":"dtdot;","8946":"disin;","8947":"isinsv;","8948":"isins;","8949":"isindot;","8950":"notinvc;","8951":"notinvb;","8953":"isinE;","8954":"nisd;","8955":"xnis;","8956":"nis;","8957":"notnivc;","8958":"notnivb;","8965":"barwedge;","8966":"doublebarwedge;","8968":"LeftCeiling;","8969":"RightCeiling;","8970":"lfloor;","8971":"RightFloor;","8972":"drcrop;","8973":"dlcrop;","8974":"urcrop;","8975":"ulcrop;","8976":"bnot;","8978":"profline;","8979":"profsurf;","8981":"telrec;","8982":"target;","8988":"ulcorner;","8989":"urcorner;","8990":"llcorner;","8991":"lrcorner;","8994":"sfrown;","8995":"ssmile;","9005":"cylcty;","9006":"profalar;","9014":"topbot;","9021":"ovbar;","9023":"solbar;","9084":"angzarr;","9136":"lmoustache;","9137":"rmoustache;","9140":"tbrk;","9141":"UnderBracket;","9142":"bbrktbrk;","9180":"OverParenthesis;","9181":"UnderParenthesis;","9182":"OverBrace;","9183":"UnderBrace;","9186":"trpezium;","9191":"elinters;","9251":"blank;","9416":"oS;","9472":"HorizontalLine;","9474":"boxv;","9484":"boxdr;","9488":"boxdl;","9492":"boxur;","9496":"boxul;","9500":"boxvr;","9508":"boxvl;","9516":"boxhd;","9524":"boxhu;","9532":"boxvh;","9552":"boxH;","9553":"boxV;","9554":"boxdR;","9555":"boxDr;","9556":"boxDR;","9557":"boxdL;","9558":"boxDl;","9559":"boxDL;","9560":"boxuR;","9561":"boxUr;","9562":"boxUR;","9563":"boxuL;","9564":"boxUl;","9565":"boxUL;","9566":"boxvR;","9567":"boxVr;","9568":"boxVR;","9569":"boxvL;","9570":"boxVl;","9571":"boxVL;","9572":"boxHd;","9573":"boxhD;","9574":"boxHD;","9575":"boxHu;","9576":"boxhU;","9577":"boxHU;","9578":"boxvH;","9579":"boxVh;","9580":"boxVH;","9600":"uhblk;","9604":"lhblk;","9608":"block;","9617":"blk14;","9618":"blk12;","9619":"blk34;","9633":"square;","9642":"squf;","9643":"EmptyVerySmallSquare;","9645":"rect;","9646":"marker;","9649":"fltns;","9651":"xutri;","9652":"utrif;","9653":"utri;","9656":"rtrif;","9657":"triangleright;","9661":"xdtri;","9662":"dtrif;","9663":"triangledown;","9666":"ltrif;","9667":"triangleleft;","9674":"lozenge;","9675":"cir;","9708":"tridot;","9711":"xcirc;","9720":"ultri;","9721":"urtri;","9722":"lltri;","9723":"EmptySmallSquare;","9724":"FilledSmallSquare;","9733":"starf;","9734":"star;","9742":"phone;","9792":"female;","9794":"male;","9824":"spadesuit;","9827":"clubsuit;","9829":"heartsuit;","9830":"diams;","9834":"sung;","9837":"flat;","9838":"natural;","9839":"sharp;","10003":"checkmark;","10007":"cross;","10016":"maltese;","10038":"sext;","10072":"VerticalSeparator;","10098":"lbbrk;","10099":"rbbrk;","10184":"bsolhsub;","10185":"suphsol;","10214":"lobrk;","10215":"robrk;","10216":"LeftAngleBracket;","10217":"RightAngleBracket;","10218":"Lang;","10219":"Rang;","10220":"loang;","10221":"roang;","10229":"xlarr;","10230":"xrarr;","10231":"xharr;","10232":"xlArr;","10233":"xrArr;","10234":"xhArr;","10236":"xmap;","10239":"dzigrarr;","10498":"nvlArr;","10499":"nvrArr;","10500":"nvHarr;","10501":"Map;","10508":"lbarr;","10509":"rbarr;","10510":"lBarr;","10511":"rBarr;","10512":"RBarr;","10513":"DDotrahd;","10514":"UpArrowBar;","10515":"DownArrowBar;","10518":"Rarrtl;","10521":"latail;","10522":"ratail;","10523":"lAtail;","10524":"rAtail;","10525":"larrfs;","10526":"rarrfs;","10527":"larrbfs;","10528":"rarrbfs;","10531":"nwarhk;","10532":"nearhk;","10533":"searhk;","10534":"swarhk;","10535":"nwnear;","10536":"toea;","10537":"tosa;","10538":"swnwar;","10547":"rarrc;","10549":"cudarrr;","10550":"ldca;","10551":"rdca;","10552":"cudarrl;","10553":"larrpl;","10556":"curarrm;","10557":"cularrp;","10565":"rarrpl;","10568":"harrcir;","10569":"Uarrocir;","10570":"lurdshar;","10571":"ldrushar;","10574":"LeftRightVector;","10575":"RightUpDownVector;","10576":"DownLeftRightVector;","10577":"LeftUpDownVector;","10578":"LeftVectorBar;","10579":"RightVectorBar;","10580":"RightUpVectorBar;","10581":"RightDownVectorBar;","10582":"DownLeftVectorBar;","10583":"DownRightVectorBar;","10584":"LeftUpVectorBar;","10585":"LeftDownVectorBar;","10586":"LeftTeeVector;","10587":"RightTeeVector;","10588":"RightUpTeeVector;","10589":"RightDownTeeVector;","10590":"DownLeftTeeVector;","10591":"DownRightTeeVector;","10592":"LeftUpTeeVector;","10593":"LeftDownTeeVector;","10594":"lHar;","10595":"uHar;","10596":"rHar;","10597":"dHar;","10598":"luruhar;","10599":"ldrdhar;","10600":"ruluhar;","10601":"rdldhar;","10602":"lharul;","10603":"llhard;","10604":"rharul;","10605":"lrhard;","10606":"UpEquilibrium;","10607":"ReverseUpEquilibrium;","10608":"RoundImplies;","10609":"erarr;","10610":"simrarr;","10611":"larrsim;","10612":"rarrsim;","10613":"rarrap;","10614":"ltlarr;","10616":"gtrarr;","10617":"subrarr;","10619":"suplarr;","10620":"lfisht;","10621":"rfisht;","10622":"ufisht;","10623":"dfisht;","10629":"lopar;","10630":"ropar;","10635":"lbrke;","10636":"rbrke;","10637":"lbrkslu;","10638":"rbrksld;","10639":"lbrksld;","10640":"rbrkslu;","10641":"langd;","10642":"rangd;","10643":"lparlt;","10644":"rpargt;","10645":"gtlPar;","10646":"ltrPar;","10650":"vzigzag;","10652":"vangrt;","10653":"angrtvbd;","10660":"ange;","10661":"range;","10662":"dwangle;","10663":"uwangle;","10664":"angmsdaa;","10665":"angmsdab;","10666":"angmsdac;","10667":"angmsdad;","10668":"angmsdae;","10669":"angmsdaf;","10670":"angmsdag;","10671":"angmsdah;","10672":"bemptyv;","10673":"demptyv;","10674":"cemptyv;","10675":"raemptyv;","10676":"laemptyv;","10677":"ohbar;","10678":"omid;","10679":"opar;","10681":"operp;","10683":"olcross;","10684":"odsold;","10686":"olcir;","10687":"ofcir;","10688":"olt;","10689":"ogt;","10690":"cirscir;","10691":"cirE;","10692":"solb;","10693":"bsolb;","10697":"boxbox;","10701":"trisb;","10702":"rtriltri;","10703":"LeftTriangleBar;","10704":"RightTriangleBar;","10716":"iinfin;","10717":"infintie;","10718":"nvinfin;","10723":"eparsl;","10724":"smeparsl;","10725":"eqvparsl;","10731":"lozf;","10740":"RuleDelayed;","10742":"dsol;","10752":"xodot;","10753":"xoplus;","10754":"xotime;","10756":"xuplus;","10758":"xsqcup;","10764":"qint;","10765":"fpartint;","10768":"cirfnint;","10769":"awint;","10770":"rppolint;","10771":"scpolint;","10772":"npolint;","10773":"pointint;","10774":"quatint;","10775":"intlarhk;","10786":"pluscir;","10787":"plusacir;","10788":"simplus;","10789":"plusdu;","10790":"plussim;","10791":"plustwo;","10793":"mcomma;","10794":"minusdu;","10797":"loplus;","10798":"roplus;","10799":"Cross;","10800":"timesd;","10801":"timesbar;","10803":"smashp;","10804":"lotimes;","10805":"rotimes;","10806":"otimesas;","10807":"Otimes;","10808":"odiv;","10809":"triplus;","10810":"triminus;","10811":"tritime;","10812":"iprod;","10815":"amalg;","10816":"capdot;","10818":"ncup;","10819":"ncap;","10820":"capand;","10821":"cupor;","10822":"cupcap;","10823":"capcup;","10824":"cupbrcap;","10825":"capbrcup;","10826":"cupcup;","10827":"capcap;","10828":"ccups;","10829":"ccaps;","10832":"ccupssm;","10835":"And;","10836":"Or;","10837":"andand;","10838":"oror;","10839":"orslope;","10840":"andslope;","10842":"andv;","10843":"orv;","10844":"andd;","10845":"ord;","10847":"wedbar;","10854":"sdote;","10858":"simdot;","10861":"congdot;","10862":"easter;","10863":"apacir;","10864":"apE;","10865":"eplus;","10866":"pluse;","10867":"Esim;","10868":"Colone;","10869":"Equal;","10871":"eDDot;","10872":"equivDD;","10873":"ltcir;","10874":"gtcir;","10875":"ltquest;","10876":"gtquest;","10877":"LessSlantEqual;","10878":"GreaterSlantEqual;","10879":"lesdot;","10880":"gesdot;","10881":"lesdoto;","10882":"gesdoto;","10883":"lesdotor;","10884":"gesdotol;","10885":"lessapprox;","10886":"gtrapprox;","10887":"lneq;","10888":"gneq;","10889":"lnapprox;","10890":"gnapprox;","10891":"lesseqqgtr;","10892":"gtreqqless;","10893":"lsime;","10894":"gsime;","10895":"lsimg;","10896":"gsiml;","10897":"lgE;","10898":"glE;","10899":"lesges;","10900":"gesles;","10901":"eqslantless;","10902":"eqslantgtr;","10903":"elsdot;","10904":"egsdot;","10905":"el;","10906":"eg;","10909":"siml;","10910":"simg;","10911":"simlE;","10912":"simgE;","10913":"LessLess;","10914":"GreaterGreater;","10916":"glj;","10917":"gla;","10918":"ltcc;","10919":"gtcc;","10920":"lescc;","10921":"gescc;","10922":"smt;","10923":"lat;","10924":"smte;","10925":"late;","10926":"bumpE;","10927":"preceq;","10928":"succeq;","10931":"prE;","10932":"scE;","10933":"prnE;","10934":"succneqq;","10935":"precapprox;","10936":"succapprox;","10937":"prnap;","10938":"succnapprox;","10939":"Pr;","10940":"Sc;","10941":"subdot;","10942":"supdot;","10943":"subplus;","10944":"supplus;","10945":"submult;","10946":"supmult;","10947":"subedot;","10948":"supedot;","10949":"subseteqq;","10950":"supseteqq;","10951":"subsim;","10952":"supsim;","10955":"subsetneqq;","10956":"supsetneqq;","10959":"csub;","10960":"csup;","10961":"csube;","10962":"csupe;","10963":"subsup;","10964":"supsub;","10965":"subsub;","10966":"supsup;","10967":"suphsub;","10968":"supdsub;","10969":"forkv;","10970":"topfork;","10971":"mlcp;","10980":"DoubleLeftTee;","10982":"Vdashl;","10983":"Barv;","10984":"vBar;","10985":"vBarv;","10987":"Vbar;","10988":"Not;","10989":"bNot;","10990":"rnmid;","10991":"cirmid;","10992":"midcir;","10993":"topcir;","10994":"nhpar;","10995":"parsim;","11005":"parsl;","64256":"fflig;","64257":"filig;","64258":"fllig;","64259":"ffilig;","64260":"ffllig;"}')},b343:function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},b384:function(e,t,r){"use strict";var n=r("fd18"),i=r("b343"),a=r("73fa"),o=r("69ba"),s=r("d128"),l=r("0a73").CONFIGURABLE,u=r("f072"),c=r("a68d"),d=c.enforce,h=c.get,p=String,f=Object.defineProperty,m=n("".slice),g=n("".replace),v=n([].join),b=s&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var n=d(e);return o(n,"source")||(n.source=v(y,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return a(this)&&h(this).source||u(this)}),"toString")},b3eb:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}var r=e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},b469:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}var r=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},b46a:function(e,t,r){"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},b4e8:function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},b525:function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),a=r("da3e"),o=n.rotr64_hi,s=n.rotr64_lo,l=n.shr64_hi,u=n.shr64_lo,c=n.sum64,d=n.sum64_hi,h=n.sum64_lo,p=n.sum64_4_hi,f=n.sum64_4_lo,m=n.sum64_5_hi,g=n.sum64_5_lo,v=i.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function w(e,t,r,n,i){var a=e&r^~e&i;return a<0&&(a+=4294967296),a}function _(e,t,r,n,i,a){var o=t&n^~t&a;return o<0&&(o+=4294967296),o}function S(e,t,r,n,i){var a=e&r^e&i^r&i;return a<0&&(a+=4294967296),a}function E(e,t,r,n,i,a){var o=t&n^t&a^n&a;return o<0&&(o+=4294967296),o}function M(e,t){var r=o(e,t,28),n=o(t,e,2),i=o(t,e,7),a=r^n^i;return a<0&&(a+=4294967296),a}function T(e,t){var r=s(e,t,28),n=s(t,e,2),i=s(t,e,7),a=r^n^i;return a<0&&(a+=4294967296),a}function C(e,t){var r=o(e,t,14),n=o(e,t,18),i=o(t,e,9),a=r^n^i;return a<0&&(a+=4294967296),a}function x(e,t){var r=s(e,t,14),n=s(e,t,18),i=s(t,e,9),a=r^n^i;return a<0&&(a+=4294967296),a}function A(e,t){var r=o(e,t,1),n=o(e,t,8),i=l(e,t,7),a=r^n^i;return a<0&&(a+=4294967296),a}function N(e,t){var r=s(e,t,1),n=s(e,t,8),i=u(e,t,7),a=r^n^i;return a<0&&(a+=4294967296),a}function O(e,t){var r=o(e,t,19),n=o(t,e,29),i=l(e,t,6),a=r^n^i;return a<0&&(a+=4294967296),a}function R(e,t){var r=s(e,t,19),n=s(t,e,29),i=u(e,t,6),a=r^n^i;return a<0&&(a+=4294967296),a}n.inherits(y,v),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=O(r[n-4],r[n-3]),a=R(r[n-4],r[n-3]),o=r[n-14],s=r[n-13],l=A(r[n-30],r[n-29]),u=N(r[n-30],r[n-29]),c=r[n-32],d=r[n-31];r[n]=p(i,a,o,s,l,u,c,d),r[n+1]=f(i,a,o,s,l,u,c,d)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],o=this.h[2],s=this.h[3],l=this.h[4],u=this.h[5],p=this.h[6],f=this.h[7],v=this.h[8],b=this.h[9],y=this.h[10],A=this.h[11],N=this.h[12],O=this.h[13],R=this.h[14],L=this.h[15];a(this.k.length===r.length);for(var k=0;k<r.length;k+=2){var I=R,D=L,P=C(v,b),j=x(v,b),F=w(v,b,y,A,N,O),H=_(v,b,y,A,N,O),B=this.k[k],U=this.k[k+1],V=r[k],Y=r[k+1],z=m(I,D,P,j,F,H,B,U,V,Y),W=g(I,D,P,j,F,H,B,U,V,Y);I=M(n,i),D=T(n,i),P=S(n,i,o,s,l,u),j=E(n,i,o,s,l,u);var q=d(I,D,P,j),G=h(I,D,P,j);R=N,L=O,N=y,O=A,y=v,A=b,v=d(p,f,z,W),b=h(f,f,z,W),p=l,f=u,l=o,u=s,o=n,s=i,n=d(z,W,q,G),i=h(z,W,q,G)}c(this.h,0,n,i),c(this.h,2,o,s),c(this.h,4,l,u),c(this.h,6,p,f),c(this.h,8,v,b),c(this.h,10,y,A),c(this.h,12,N,O),c(this.h,14,R,L)},y.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},b53d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return t}))},b540a:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},b55a:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r("07a0");function i(t){return e.from(t).toString("base64")}function a(t){return""===t?"":(t=t.replace(n.ASCIIWhiteSpace,""),t.length%4===0&&(t.endsWith("==")?t=t.substr(0,t.length-2):t.endsWith("=")&&(t=t.substr(0,t.length-1))),t.length%4===1?null:/[0-9A-Za-z+/]/.test(t)?e.from(t,"base64").toString("utf8"):null)}t.forgivingBase64Encode=i,t.forgivingBase64Decode=a}).call(this,r("b639").Buffer)},b5b7:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,a=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return a}))},b5ca:function(e,t,r){"use strict";var n=r("b639").Buffer,i=r("3fb5"),a=r("93e6"),o=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function p(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}function m(e,t,r,n,i,a,o,s){return f(e+(t^r^n)+a+o|0,s)+i|0}function g(e,t,r,n,i,a,o,s){return f(e+(t&r|~t&n)+a+o|0,s)+i|0}function v(e,t,r,n,i,a,o,s){return f(e+((t|~r)^n)+a+o|0,s)+i|0}function b(e,t,r,n,i,a,o,s){return f(e+(t&n|r&~n)+a+o|0,s)+i|0}function y(e,t,r,n,i,a,o,s){return f(e+(t^(r|~n))+a+o|0,s)+i|0}i(p,a),p.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,p=0|this._e,w=0|this._a,_=0|this._b,S=0|this._c,E=0|this._d,M=0|this._e,T=0;T<80;T+=1){var C,x;T<16?(C=m(r,n,i,a,p,e[s[T]],d[0],u[T]),x=y(w,_,S,E,M,e[l[T]],h[0],c[T])):T<32?(C=g(r,n,i,a,p,e[s[T]],d[1],u[T]),x=b(w,_,S,E,M,e[l[T]],h[1],c[T])):T<48?(C=v(r,n,i,a,p,e[s[T]],d[2],u[T]),x=v(w,_,S,E,M,e[l[T]],h[2],c[T])):T<64?(C=b(r,n,i,a,p,e[s[T]],d[3],u[T]),x=g(w,_,S,E,M,e[l[T]],h[3],c[T])):(C=y(r,n,i,a,p,e[s[T]],d[4],u[T]),x=m(w,_,S,E,M,e[l[T]],h[4],c[T])),r=p,p=a,a=f(i,10),i=n,n=C,w=M,M=E,E=f(S,10),S=_,_=x}var A=this._b+i+E|0;this._b=this._c+a+M|0,this._c=this._d+p+w|0,this._d=this._e+r+_|0,this._e=this._a+n+S|0,this._a=A},p.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=p},b639:function(e,t,r){"use strict";(function(e){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var n=r("1fb5"),i=r("9152"),a=r("2335");function o(){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,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,r,n):"string"===typeof t?f(e,t,r):v(e,t)}function d(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,r,n){return d(t),t<=0?l(e,t):void 0!==r?"string"===typeof n?l(e,t).fill(r,n):l(e,t).fill(r):l(e,t)}function p(e,t){if(d(t),e=l(e,t<0?0:0|b(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t,r){if("string"===typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|w(t,r);e=l(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function m(e,t){var r=t.length<0?0:0|b(t.length);e=l(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}function v(e,t){if(u.isBuffer(t)){var r=0|b(t.length);return e=l(e,r),0===e.length?e:(t.copy(e,0,0,r),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):m(e,t);if("Buffer"===t.type&&a(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function b(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),u.alloc(+e)}function w(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 r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(e).length;default:if(n)return Z(e).length;t=(""+t).toLowerCase(),n=!0}}function _(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return j(this,t,r);case"utf8":case"utf-8":return L(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return R(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function S(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function E(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:M(e,t,r,n,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):M(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function M(e,t,r,n,i){var a,o=1,s=e.length,l=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else-1!==c&&(a-=a-c),c=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,h=0;h<l;h++)if(u(e,a+h)!==u(t,h)){d=!1;break}if(d)return a}return-1}function T(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[r+o]=s}return o}function C(e,t,r,n){return ee(Z(t,e.length-r),e,r,n)}function x(e,t,r,n){return ee($(t),e,r,n)}function A(e,t,r,n){return x(e,t,r,n)}function N(e,t,r,n){return ee(Q(t),e,r,n)}function O(e,t,r,n){return ee(J(t,e.length-r),e,r,n)}function R(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function L(e,t,r){r=Math.min(e.length,r);var n=[],i=t;while(i<r){var a,o,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:a=e[i+1],128===(192&a)&&(l=(31&u)<<6|63&a,l>127&&(c=l));break;case 3:a=e[i+1],o=e[i+2],128===(192&a)&&128===(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return I(n)}t.Buffer=u,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:o(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},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,r){return h(null,e,t,r)},u.allocUnsafe=function(e){return p(null,e)},u.allocUnsafeSlow=function(e){return p(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 r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?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(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},u.byteLength=w,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)S(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)S(this,t,t+3),S(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)S(this,t,t+7),S(this,t+1,t+6),S(this,t+2,t+5),S(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?L(this,0,e):_.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="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,s=Math.min(a,o),l=this.slice(n,i),c=e.slice(t,r),d=0;d<s;++d)if(l[d]!==c[d]){a=l[d],o=c[d];break}return a<o?-1:o<a?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return E(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return E(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return T(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":return x(this,e,t,r);case"latin1":case"binary":return A(this,e,t,r);case"base64":return N(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function I(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=k));return r}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function j(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=X(e[a]);return i}function F(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function H(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,r,n,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function U(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function V(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function Y(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function z(e,t,r,n,a){return a||Y(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function W(e,t,r,n,a){return a||Y(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||H(e,t,this.length);var n=this[e],i=1,a=0;while(++a<t&&(i*=256))n+=this[e+a]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||H(e,t,this.length);var n=this[e+--t],i=1;while(t>0&&(i*=256))n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||H(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||H(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||H(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||H(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||H(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||H(e,t,this.length);var n=this[e],i=1,a=0;while(++a<t&&(i*=256))n+=this[e+a]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||H(e,t,this.length);var n=t,i=1,a=this[e+--n];while(n>0&&(i*=256))a+=this[e+--n]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||H(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||H(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||H(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||H(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||H(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||H(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||H(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||H(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||H(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;B(this,e,t,r,i,0)}var a=1,o=0;this[t]=255&e;while(++o<r&&(a*=256))this[t+o]=e/a&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;B(this,e,t,r,i,0)}var a=r-1,o=1;this[t+a]=255&e;while(--a>=0&&(o*=256))this[t+a]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||B(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,r){return e=+e,t|=0,r||B(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,r){return e=+e,t|=0,r||B(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,r){return e=+e,t|=0,r||B(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):V(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||B(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):V(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);B(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;this[t]=255&e;while(++a<r&&(o*=256))e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);B(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;this[t+a]=255&e;while(--a>=0&&(o*=256))e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||B(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,r){return e=+e,t|=0,r||B(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,r){return e=+e,t|=0,r||B(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,r){return e=+e,t|=0,r||B(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):V(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||B(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):V(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return z(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return z(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return W(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return W(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,a=n-r;if(this===e&&r<t&&t<n)for(i=a-1;i>=0;--i)e[i+t]=this[i+r];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},u.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(a=t;a<r;++a)this[a]=e;else{var o=u.isBuffer(e)?e:Z(new u(e,n).toString()),s=o.length;for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function G(e){if(e=K(e).replace(q,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function K(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function X(e){return e<16?"0"+e.toString(16):e.toString(16)}function Z(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],o=0;o<n;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function $(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function J(e,t){for(var r,n,i,a=[],o=0;o<e.length;++o){if((t-=2)<0)break;r=e.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n)}return a}function Q(e){return n.toByteArray(G(e))}function ee(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function te(e){return e!==e}}).call(this,r("c8ba"))},b672:function(e,t,r){var n=r("8707").Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,a=e.length,o=this._len,s=0;s<a;){for(var l=o%i,u=Math.min(a-s,i-l),c=0;c<u;c++)r[l+c]=e[s+c];o+=u,s+=u,o%i===0&&this._update(r)}return this._len+=a,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},b692:function(e,t,r){"use strict";var n=r("8707").Buffer,i=r("98e6"),a=r("34d5"),o=r("3fb5"),s=r("6fe7"),l=r("980c"),u=r("b4e8");function c(e){a.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){a.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new c(e)}function p(e){return new d(e)}Object.keys(u).forEach((function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]})),o(c,a.Writable),c.prototype._write=function(e,t,r){this._hash.update(e),r()},c.prototype.update=function(e,t){return this._hash.update("string"===typeof e?n.from(e,t):e),this},c.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},o(d,a.Writable),d.prototype._write=function(e,t,r){this._hash.update(e),r()},d.prototype.update=function(e,t){return this._hash.update("string"===typeof e?n.from(e,t):e),this},d.prototype.verify=function(e,t,r){var i="string"===typeof t?n.from(t,r):t;this.end();var a=this._hash.digest();return l(i,a,e,this._signType,this._tag)},e.exports={Sign:h,Verify:p,createSign:h,createVerify:p}},b73f:function(e,t,r){"use strict";var n=r("80af"),i=r("f3a3"),a=i.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function l(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,a=0,o=t.place;a<n;a++,o++)i<<=8,i|=e[o],i>>>=0;return!(i<=127)&&(t.place=o,i)}function u(e){var t=0,r=e.length-1;while(!e[t]&&!(128&e[t+1])&&t<r)t++;return 0===t?e:e.slice(t)}function c(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);e.push(128|r);while(--r)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var a=l(e,r);if(!1===a)return!1;if(a+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var o=l(e,r);if(!1===o)return!1;var u=e.slice(r.place,o+r.place);if(r.place+=o,2!==e[r.place++])return!1;var c=l(e,r);if(!1===c)return!1;if(e.length!==c+r.place)return!1;var d=e.slice(r.place,c+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new n(u),this.s=new n(d),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];c(n,t.length),n=n.concat(t),n.push(2),c(n,r.length);var a=n.concat(r),o=[48];return c(o,a.length),o=o.concat(a),i.encode(o,e)}},b777:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("9af8"),a=r("69a8"),o=r("36f2"),s=r("bcd6"),l=r("4b7d"),u=r("f141"),c=r("dc6b"),d=r("321f"),h=r("ba82");function p(e,t){return o.ElementImpl}function f(e,t,r,n){const[i,o,s]=u.namespace_validateAndExtract(t,r);let l=null;return void 0!==n&&(l=a.isString(n)?n:n.is),d.element_createAnElement(e,s,i,o,l,!0)}function m(e,t){if(e._nodeDocument===t&&null===e._parent)return;const r=e._nodeDocument;if(e._parent&&h.mutation_remove(e,e._parent),t!==r){let a=l.tree_getFirstDescendantNode(e,!0,!0);while(null!==a){if(a._nodeDocument=t,i.Guard.isElementNode(a))for(const e of a._attributeList._asArray())e._nodeDocument=t;n.dom.features.customElements&&i.Guard.isElementNode(a)&&"custom"===a._customElementState&&s.customElement_enqueueACustomElementCallbackReaction(a,"adoptedCallback",[r,t]),n.dom.features.steps&&c.dom_runAdoptingSteps(a,r),a=l.tree_getNextDescendantNode(e,a,!0,!0)}}}t.document_elementInterface=p,t.document_internalCreateElementNS=f,t.document_adopt=m},b7d1:function(e,t,r){(function(t){function r(e,t){if(n("noDeprecation"))return e;var r=!1;function i(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return i}function n(e){try{if(!t.localStorage)return!1}catch(n){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=r}).call(this,r("c8ba"))},b7e9:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},b837:function(e,t,r){var n=r("3fb5"),i=r("4fd1"),a=r("b672"),o=r("8707").Buffer,s=new Array(160);function l(){this.init(),this._w=s,a.call(this,128,112)}n(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},b84c:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},b879:function(e,t,r){"use strict";var n=r("ac4f"),i=r("fc2d"),a=r("7dcf4"),o=r("9e75"),s=r("f41c");n({target:"Array",proto:!0},{at:function(e){var t=i(this),r=a(t),n=o(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}}),s("at")},b97c:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(e,t,r){return r?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function n(e,n,i){return e+" "+r(t[i],e,n)}function i(e,n,i){return r(t[i],e,n)}function a(e,t){return t?"dažas sekundes":"dažām sekundēm"}var o=e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:a,ss:n,m:i,mm:n,h:i,hh:n,d:i,dd:n,M:i,MM:n,y:i,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},b9a8:function(e,t,r){"use strict";var n=r("80af"),i=r("6aa2"),a=r("f3a3"),o=r("0cbb"),s=r("fdac"),l=a.assert,u=r("bb34"),c=r("b73f");function d(e){if(!(this instanceof d))return new d(e);"string"===typeof e&&(l(Object.prototype.hasOwnProperty.call(o,e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),a=this.n.sub(new n(2));;){var o=new n(t.generate(r));if(!(o.cmp(a)>0))return o.iaddn(1),this.keyFromPrivate(o)}},d.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,r,a){"object"===typeof r&&(a=r,r=null),a||(a={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),l=e.toArray("be",o),u=new i({hash:this.hash,entropy:s,nonce:l,pers:a.pers,persEnc:a.persEnc||"utf8"}),d=this.n.sub(new n(1)),h=0;;h++){var p=a.k?a.k(h):new n(u.generate(this.n.byteLength()));if(p=this._truncateToN(p,!0),!(p.cmpn(1)<=0||p.cmp(d)>=0)){var f=this.g.mul(p);if(!f.isInfinity()){var m=f.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var v=p.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(v=v.umod(this.n),0!==v.cmpn(0)){var b=(f.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return a.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),b^=1),new c({r:g,s:v,recoveryParam:b})}}}}}},d.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,i),t=new c(t,"hex");var a=t.r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,l=o.invm(this.n),u=l.mul(e).umod(this.n),d=l.mul(a).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(u,r.getPublic(),d),!s.isInfinity()&&s.eqXToP(a)):(s=this.g.mulAdd(u,r.getPublic(),d),!s.isInfinity()&&0===s.getX().umod(this.n).cmp(a))},d.prototype.recoverPubKey=function(e,t,r,i){l((3&r)===r,"The recovery param is more than two bits"),t=new c(t,i);var a=this.n,o=new n(e),s=t.r,u=t.s,d=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),d):this.curve.pointFromX(s,d);var p=t.r.invm(a),f=a.sub(o).mul(p).umod(a),m=u.mul(p).umod(a);return this.g.mulAdd(f,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new c(t,n),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},ba51:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!n.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},ba82:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("0fc1"),a=r("42e9"),o=r("9af8"),s=r("69a8"),l=r("a45a"),u=r("bcd6"),c=r("4b7d"),d=r("750a"),h=r("7ef7"),p=r("7c81"),f=r("dc6b"),m=r("b777");function g(e,t,r){const n=t._nodeType,o=e._nodeType,s=r?r._nodeType:null;if(n!==a.NodeType.Document&&n!==a.NodeType.DocumentFragment&&n!==a.NodeType.Element)throw new i.HierarchyRequestError(`Only document, document fragment and element nodes can contain child nodes. Parent node is ${t.nodeName}.`);if(c.tree_isHostIncludingAncestorOf(t,e,!0))throw new i.HierarchyRequestError(`The node to be inserted cannot be an inclusive ancestor of parent node. Node is ${e.nodeName}, parent node is ${t.nodeName}.`);if(null!==r&&r._parent!==t)throw new i.NotFoundError(`The reference child node cannot be found under parent node. Child node is ${r.nodeName}, parent node is ${t.nodeName}.`);if(o!==a.NodeType.DocumentFragment&&o!==a.NodeType.DocumentType&&o!==a.NodeType.Element&&o!==a.NodeType.Text&&o!==a.NodeType.ProcessingInstruction&&o!==a.NodeType.CData&&o!==a.NodeType.Comment)throw new i.HierarchyRequestError(`Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is ${e.nodeName}.`);if(o===a.NodeType.Text&&n===a.NodeType.Document)throw new i.HierarchyRequestError(`Cannot insert a text node as a child of a document node. Node is ${e.nodeName}.`);if(o===a.NodeType.DocumentType&&n!==a.NodeType.Document)throw new i.HierarchyRequestError(`A document type node can only be inserted under a document node. Parent node is ${t.nodeName}.`);if(n===a.NodeType.Document)if(o===a.NodeType.DocumentFragment){let n=0;for(const t of e._children)if(t._nodeType===a.NodeType.Element)n++;else if(t._nodeType===a.NodeType.Text)throw new i.HierarchyRequestError(`Cannot insert text a node as a child of a document node. Node is ${t.nodeName}.`);if(n>1)throw new i.HierarchyRequestError(`A document node can only have one document element node. Document fragment to be inserted has ${n} element nodes.`);if(1===n){for(const e of t._children)if(e._nodeType===a.NodeType.Element)throw new i.HierarchyRequestError("The document node already has a document element node.");if(r){if(s===a.NodeType.DocumentType)throw new i.HierarchyRequestError("Cannot insert an element node before a document type node.");let e=r._nextSibling;while(e){if(e._nodeType===a.NodeType.DocumentType)throw new i.HierarchyRequestError("Cannot insert an element node before a document type node.");e=e._nextSibling}}}}else if(o===a.NodeType.Element){for(const r of t._children)if(r._nodeType===a.NodeType.Element)throw new i.HierarchyRequestError(`Document already has a document element node. Node is ${e.nodeName}.`);if(r){if(s===a.NodeType.DocumentType)throw new i.HierarchyRequestError(`Cannot insert an element node before a document type node. Node is ${e.nodeName}.`);let t=r._nextSibling;while(t){if(t._nodeType===a.NodeType.DocumentType)throw new i.HierarchyRequestError(`Cannot insert an element node before a document type node. Node is ${e.nodeName}.`);t=t._nextSibling}}}else if(o===a.NodeType.DocumentType){for(const r of t._children)if(r._nodeType===a.NodeType.DocumentType)throw new i.HierarchyRequestError(`Document already has a document type node. Node is ${e.nodeName}.`);if(r){let t=r._previousSibling;while(t){if(t._nodeType===a.NodeType.Element)throw new i.HierarchyRequestError(`Cannot insert a document type node before an element node. Node is ${e.nodeName}.`);t=t._previousSibling}}else{let r=t._firstChild;while(r){if(r._nodeType===a.NodeType.Element)throw new i.HierarchyRequestError(`Cannot insert a document type node before an element node. Node is ${e.nodeName}.`);r=r._nextSibling}}}}function v(e,t,r){g(e,t,r);let n=r;return n===e&&(n=e._nextSibling),m.document_adopt(e,t._nodeDocument),b(e,t,n),e}function b(e,t,r,i){if(null===r&&e._nodeType!==a.NodeType.DocumentFragment)return void y(e,t,i);const d=e._nodeType===a.NodeType.DocumentFragment?e._children.size:1;if(null!==r&&0!==n.dom.rangeList.size){const e=c.tree_index(r);for(const r of n.dom.rangeList)r._start[0]===t&&r._start[1]>e&&(r._start[1]+=d),r._end[0]===t&&r._end[1]>e&&(r._end[1]+=d)}const m=e._nodeType===a.NodeType.DocumentFragment?new Array(...e._children):[e];if(e._nodeType===a.NodeType.DocumentFragment)while(e._firstChild)M(e._firstChild,e,!0);n.dom.features.mutationObservers&&e._nodeType===a.NodeType.DocumentFragment&&p.observer_queueTreeMutationRecord(e,[],m,null,null);const g=r?r._previousSibling:t._lastChild;let v=null===r?-1:c.tree_index(r);for(let a=0;a<m.length;a++){const e=m[a];if(o.Guard.isElementNode(e)&&(o.Guard.isDocumentNode(t)&&(t._documentElement=e),e._nodeDocument._hasNamespaces||null===e._namespace&&null===e._namespacePrefix||(e._nodeDocument._hasNamespaces=!0)),e._parent=t,null===r?l.set.append(t._children,e):(l.set.insert(t._children,e,v),v++),null===t._firstChild)e._previousSibling=null,e._nextSibling=null,t._firstChild=e,t._lastChild=e;else{const n=r?r._previousSibling:t._lastChild,i=r||null;e._previousSibling=n,e._nextSibling=i,n&&(n._nextSibling=e),i&&(i._previousSibling=e),n||(t._firstChild=e),i||(t._lastChild=e)}n.dom.features.slots&&null!==t._shadowRoot&&o.Guard.isSlotable(e)&&h.shadowTree_assignASlot(e),n.dom.features.steps&&o.Guard.isTextNode(e)&&f.dom_runChildTextContentChangeSteps(t),n.dom.features.slots&&o.Guard.isShadowRoot(c.tree_rootNode(t))&&o.Guard.isSlot(t)&&s.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),n.dom.features.slots&&h.shadowTree_assignSlotablesForATree(c.tree_rootNode(e));let i=c.tree_getFirstDescendantNode(e,!0,!0);while(null!==i)n.dom.features.steps&&f.dom_runInsertionSteps(i),n.dom.features.customElements&&o.Guard.isElementNode(i)&&h.shadowTree_isConnected(i)&&(o.Guard.isCustomElementNode(i)?u.customElement_enqueueACustomElementCallbackReaction(i,"connectedCallback",[]):u.customElement_tryToUpgrade(i)),i=c.tree_getNextDescendantNode(e,i,!0,!0)}n.dom.features.mutationObservers&&(i||p.observer_queueTreeMutationRecord(t,m,[],g,r))}function y(e,t,r){const i=t._lastChild;if(o.Guard.isElementNode(e)&&(o.Guard.isDocumentNode(t)&&(t._documentElement=e),e._nodeDocument._hasNamespaces||null===e._namespace&&null===e._namespacePrefix||(e._nodeDocument._hasNamespaces=!0)),e._parent=t,t._children.add(e),null===t._firstChild)e._previousSibling=null,e._nextSibling=null,t._firstChild=e,t._lastChild=e;else{const r=t._lastChild;e._previousSibling=r,e._nextSibling=null,r&&(r._nextSibling=e),r||(t._firstChild=e),t._lastChild=e}n.dom.features.slots&&null!==t._shadowRoot&&o.Guard.isSlotable(e)&&h.shadowTree_assignASlot(e),n.dom.features.steps&&o.Guard.isTextNode(e)&&f.dom_runChildTextContentChangeSteps(t),n.dom.features.slots&&o.Guard.isShadowRoot(c.tree_rootNode(t))&&o.Guard.isSlot(t)&&s.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),n.dom.features.slots&&h.shadowTree_assignSlotablesForATree(c.tree_rootNode(e)),n.dom.features.steps&&f.dom_runInsertionSteps(e),n.dom.features.customElements&&o.Guard.isElementNode(e)&&h.shadowTree_isConnected(e)&&(o.Guard.isCustomElementNode(e)?u.customElement_enqueueACustomElementCallbackReaction(e,"connectedCallback",[]):u.customElement_tryToUpgrade(e)),n.dom.features.mutationObservers&&(r||p.observer_queueTreeMutationRecord(t,[e],[],i,null))}function w(e,t){return v(e,t,null)}function _(e,t,r){if(r._nodeType!==a.NodeType.Document&&r._nodeType!==a.NodeType.DocumentFragment&&r._nodeType!==a.NodeType.Element)throw new i.HierarchyRequestError(`Only document, document fragment and element nodes can contain child nodes. Parent node is ${r.nodeName}.`);if(c.tree_isHostIncludingAncestorOf(r,t,!0))throw new i.HierarchyRequestError(`The node to be inserted cannot be an ancestor of parent node. Node is ${t.nodeName}, parent node is ${r.nodeName}.`);if(e._parent!==r)throw new i.NotFoundError(`The reference child node cannot be found under parent node. Child node is ${e.nodeName}, parent node is ${r.nodeName}.`);if(t._nodeType!==a.NodeType.DocumentFragment&&t._nodeType!==a.NodeType.DocumentType&&t._nodeType!==a.NodeType.Element&&t._nodeType!==a.NodeType.Text&&t._nodeType!==a.NodeType.ProcessingInstruction&&t._nodeType!==a.NodeType.CData&&t._nodeType!==a.NodeType.Comment)throw new i.HierarchyRequestError(`Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is ${t.nodeName}.`);if(t._nodeType===a.NodeType.Text&&r._nodeType===a.NodeType.Document)throw new i.HierarchyRequestError(`Cannot insert a text node as a child of a document node. Node is ${t.nodeName}.`);if(t._nodeType===a.NodeType.DocumentType&&r._nodeType!==a.NodeType.Document)throw new i.HierarchyRequestError(`A document type node can only be inserted under a document node. Parent node is ${r.nodeName}.`);if(r._nodeType===a.NodeType.Document)if(t._nodeType===a.NodeType.DocumentFragment){let n=0;for(const e of t._children)if(e._nodeType===a.NodeType.Element)n++;else if(e._nodeType===a.NodeType.Text)throw new i.HierarchyRequestError(`Cannot insert text a node as a child of a document node. Node is ${e.nodeName}.`);if(n>1)throw new i.HierarchyRequestError(`A document node can only have one document element node. Document fragment to be inserted has ${n} element nodes.`);if(1===n){for(const n of r._children)if(n._nodeType===a.NodeType.Element&&n!==e)throw new i.HierarchyRequestError("The document node already has a document element node.");let t=e._nextSibling;while(t){if(t._nodeType===a.NodeType.DocumentType)throw new i.HierarchyRequestError("Cannot insert an element node before a document type node.");t=t._nextSibling}}}else if(t._nodeType===a.NodeType.Element){for(const o of r._children)if(o._nodeType===a.NodeType.Element&&o!==e)throw new i.HierarchyRequestError(`Document already has a document element node. Node is ${t.nodeName}.`);let n=e._nextSibling;while(n){if(n._nodeType===a.NodeType.DocumentType)throw new i.HierarchyRequestError(`Cannot insert an element node before a document type node. Node is ${t.nodeName}.`);n=n._nextSibling}}else if(t._nodeType===a.NodeType.DocumentType){for(const o of r._children)if(o._nodeType===a.NodeType.DocumentType&&o!==e)throw new i.HierarchyRequestError(`Document already has a document type node. Node is ${t.nodeName}.`);let n=e._previousSibling;while(n){if(n._nodeType===a.NodeType.Element)throw new i.HierarchyRequestError(`Cannot insert a document type node before an element node. Node is ${t.nodeName}.`);n=n._previousSibling}}let o=e._nextSibling;o===t&&(o=t._nextSibling);let s=e._previousSibling;m.document_adopt(t,r._nodeDocument);const l=[];null!==e._parent&&(l.push(e),M(e,e._parent,!0));let u=[];return t._nodeType===a.NodeType.DocumentFragment?u=Array.from(t._children):u.push(t),b(t,r,o,!0),n.dom.features.mutationObservers&&p.observer_queueTreeMutationRecord(r,u,l,s,o),e}function S(e,t){null!==e&&m.document_adopt(e,t._nodeDocument);const r=Array.from(t._children);let i=[];e&&e._nodeType===a.NodeType.DocumentFragment?i=Array.from(e._children):null!==e&&i.push(e);for(const n of r)M(n,t,!0);null!==e&&b(e,t,null,!0),n.dom.features.mutationObservers&&p.observer_queueTreeMutationRecord(t,i,r,null,null)}function E(e,t){if(e._parent!==t)throw new i.NotFoundError(`The child node cannot be found under parent node. Child node is ${e.nodeName}, parent node is ${t.nodeName}.`);return M(e,t),e}function M(e,t,r){if(0!==n.dom.rangeList.size){const r=c.tree_index(e);for(const i of n.dom.rangeList)c.tree_isDescendantOf(e,i._start[0],!0)&&(i._start=[t,r]),c.tree_isDescendantOf(e,i._end[0],!0)&&(i._end=[t,r]),i._start[0]===t&&i._start[1]>r&&i._start[1]--,i._end[0]===t&&i._end[1]>r&&i._end[1]--;for(const e of n.dom.rangeList)e._start[0]===t&&e._start[1]>r&&(e._start[1]-=1),e._end[0]===t&&e._end[1]>r&&(e._end[1]-=1)}if(n.dom.features.steps)for(const n of d.nodeIterator_iteratorList())n._root._nodeDocument===e._nodeDocument&&f.dom_runNodeIteratorPreRemovingSteps(n,e);const i=e._previousSibling,a=e._nextSibling;o.Guard.isDocumentNode(t)&&o.Guard.isElementNode(e)&&(t._documentElement=null),e._parent=null,t._children.delete(e);const l=e._previousSibling,m=e._nextSibling;if(e._previousSibling=null,e._nextSibling=null,l&&(l._nextSibling=m),m&&(m._previousSibling=l),l||(t._firstChild=m),m||(t._lastChild=l),n.dom.features.slots&&o.Guard.isSlotable(e)&&null!==e._assignedSlot&&h.shadowTree_isAssigned(e)&&h.shadowTree_assignSlotables(e._assignedSlot),n.dom.features.slots&&o.Guard.isShadowRoot(c.tree_rootNode(t))&&o.Guard.isSlot(t)&&s.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),n.dom.features.slots){const r=c.tree_getFirstDescendantNode(e,!0,!1,e=>o.Guard.isSlot(e));null!==r&&(h.shadowTree_assignSlotablesForATree(c.tree_rootNode(t)),h.shadowTree_assignSlotablesForATree(e))}n.dom.features.steps&&f.dom_runRemovingSteps(e,t),n.dom.features.customElements&&o.Guard.isCustomElementNode(e)&&u.customElement_enqueueACustomElementCallbackReaction(e,"disconnectedCallback",[]);let g=c.tree_getFirstDescendantNode(e,!1,!0);while(null!==g)n.dom.features.steps&&f.dom_runRemovingSteps(g,e),n.dom.features.customElements&&o.Guard.isCustomElementNode(g)&&u.customElement_enqueueACustomElementCallbackReaction(g,"disconnectedCallback",[]),g=c.tree_getNextDescendantNode(e,g,!1,!0);if(n.dom.features.mutationObservers){let r=c.tree_getFirstAncestorNode(t,!0);while(null!==r){for(const t of r._registeredObserverList)t.options.subtree&&e._registeredObserverList.push({observer:t.observer,options:t.options,source:t});r=c.tree_getNextAncestorNode(t,r,!0)}}n.dom.features.mutationObservers&&(r||p.observer_queueTreeMutationRecord(t,[],[e],i,a)),n.dom.features.steps&&o.Guard.isTextNode(e)&&f.dom_runChildTextContentChangeSteps(t)}t.mutation_ensurePreInsertionValidity=g,t.mutation_preInsert=v,t.mutation_insert=b,t.mutation_append=w,t.mutation_replace=_,t.mutation_replaceAll=S,t.mutation_preRemove=E,t.mutation_remove=M},bac2:function(e,t,r){var n={ECB:r("0145"),CBC:r("c119"),CFB:r("3505"),CFB8:r("62c9"),CFB1:r("5239"),OFB:r("5165"),CTR:r("6ade"),GCM:r("6ade")},i=r("e85f");for(var a in i)i[a].module=n[i[a].mode];e.exports=i},bb2a:function(e,t,r){"use strict";var n=r("7b69"),i=r("2aac"),a=r("088f"),o=r("71ca"),s=r("9582"),l=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return a(n(r,e));throw new l(o(e)+" is not iterable")}},bb34:function(e,t,r){"use strict";var n=r("80af"),i=r("f3a3"),a=i.assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,r){return t instanceof o?t:new o(e,{pub:t,pubEnc:r})},o.fromPrivate=function(e,t,r){return t instanceof o?t:new o(e,{priv:t,privEnc:r})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?a(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||a(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||a(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},bb44:function(e,t,r){"use strict";var n=r("c3c0"),i=r("edc9"),a=n.rotl32,o=n.sum32,s=n.sum32_3,l=n.sum32_4,u=i.BlockHash;function c(){if(!(this instanceof c))return new c;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function p(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(c,u),t.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],c=this.h[4],b=r,y=n,w=i,_=u,S=c,E=0;E<80;E++){var M=o(a(l(r,d(E,n,i,u),e[f[E]+t],h(E)),g[E]),c);r=c,c=u,u=a(i,10),i=n,n=M,M=o(a(l(b,d(79-E,y,w,_),e[m[E]+t],p(E)),v[E]),S),b=S,S=_,_=a(w,10),w=y,y=M}M=s(this.h[1],i,_),this.h[1]=s(this.h[2],u,S),this.h[2]=s(this.h[3],c,b),this.h[3]=s(this.h[4],r,y),this.h[4]=s(this.h[0],n,w),this.h[0]=M},c.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},bb71:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}var r=e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},bbc7:function(e,t,r){"use strict";var n=String.prototype.replace,i=/%20/g,a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:a.RFC3986,formatters:{RFC1738:function(e){return n.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:a.RFC1738,RFC3986:a.RFC3986}},bbc8:function(e,t,r){"use strict";var n=r("f2e8"),i=r("73fa"),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},bc12:function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(12).Buffer}catch(x){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else{var s=e.length-t;for(n=s%2===0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8}this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var d=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},a.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=h;p++){var f=u-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,c+=o/67108864|0,d=67108863&o}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}a.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,r=0!==a||o!==this.length-1?c[6-l.length]+l+r:l+r,i+=2,i>=26&&(i-=26,o--)}0!==a&&(r=a.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],p=h[e];r="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),r=f.isZero()?m+r:c[u-m.length]+m+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n("undefined"!==typeof o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,l="le"===t,u=new e(a),c=this.clone();if(l){for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)t=(0|r.words[o])-(0|n.words[o])+a,a=t>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)t=(0|r.words[o])+a,a=t>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,u=0,c=0|o[0],d=8191&c,h=c>>>13,p=0|o[1],f=8191&p,m=p>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],w=8191&y,_=y>>>13,S=0|o[4],E=8191&S,M=S>>>13,T=0|o[5],C=8191&T,x=T>>>13,A=0|o[6],N=8191&A,O=A>>>13,R=0|o[7],L=8191&R,k=R>>>13,I=0|o[8],D=8191&I,P=I>>>13,j=0|o[9],F=8191&j,H=j>>>13,B=0|s[0],U=8191&B,V=B>>>13,Y=0|s[1],z=8191&Y,W=Y>>>13,q=0|s[2],G=8191&q,K=q>>>13,X=0|s[3],Z=8191&X,$=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,U),i=Math.imul(d,V),i=i+Math.imul(h,U)|0,a=Math.imul(h,V);var ge=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=Math.imul(f,V),i=i+Math.imul(m,U)|0,a=Math.imul(m,V),n=n+Math.imul(d,z)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,z)|0,a=a+Math.imul(h,W)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,U),i=Math.imul(v,V),i=i+Math.imul(b,U)|0,a=Math.imul(b,V),n=n+Math.imul(f,z)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0,n=n+Math.imul(d,G)|0,i=i+Math.imul(d,K)|0,i=i+Math.imul(h,G)|0,a=a+Math.imul(h,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,U),i=Math.imul(w,V),i=i+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,z)|0,i=i+Math.imul(v,W)|0,i=i+Math.imul(b,z)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(f,G)|0,i=i+Math.imul(f,K)|0,i=i+Math.imul(m,G)|0,a=a+Math.imul(m,K)|0,n=n+Math.imul(d,Z)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,Z)|0,a=a+Math.imul(h,$)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(E,U),i=Math.imul(E,V),i=i+Math.imul(M,U)|0,a=Math.imul(M,V),n=n+Math.imul(w,z)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,z)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(b,G)|0,a=a+Math.imul(b,K)|0,n=n+Math.imul(f,Z)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,ee)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,U),i=Math.imul(C,V),i=i+Math.imul(x,U)|0,a=Math.imul(x,V),n=n+Math.imul(E,z)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,z)|0,a=a+Math.imul(M,W)|0,n=n+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(v,$)|0,i=i+Math.imul(b,Z)|0,a=a+Math.imul(b,$)|0,n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ne)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(N,U),i=Math.imul(N,V),i=i+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(C,z)|0,i=i+Math.imul(C,W)|0,i=i+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(M,G)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,Z)|0,i=i+Math.imul(w,$)|0,i=i+Math.imul(_,Z)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(h,ae)|0,a=a+Math.imul(h,oe)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,U),i=Math.imul(L,V),i=i+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(N,z)|0,i=i+Math.imul(N,W)|0,i=i+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(C,G)|0,i=i+Math.imul(C,K)|0,i=i+Math.imul(x,G)|0,a=a+Math.imul(x,K)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(M,Z)|0,a=a+Math.imul(M,$)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=i+Math.imul(v,ne)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(f,ae)|0,i=i+Math.imul(f,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,n=n+Math.imul(d,le)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ue)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,U),i=Math.imul(D,V),i=i+Math.imul(P,U)|0,a=Math.imul(P,V),n=n+Math.imul(L,z)|0,i=i+Math.imul(L,W)|0,i=i+Math.imul(k,z)|0,a=a+Math.imul(k,W)|0,n=n+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(O,G)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(C,Z)|0,i=i+Math.imul(C,$)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(w,re)|0,i=i+Math.imul(w,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(v,ae)|0,i=i+Math.imul(v,oe)|0,i=i+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,a=a+Math.imul(h,he)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,U),i=Math.imul(F,V),i=i+Math.imul(H,U)|0,a=Math.imul(H,V),n=n+Math.imul(D,z)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(P,z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(L,G)|0,i=i+Math.imul(L,K)|0,i=i+Math.imul(k,G)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(N,Z)|0,i=i+Math.imul(N,$)|0,i=i+Math.imul(O,Z)|0,a=a+Math.imul(O,$)|0,n=n+Math.imul(C,Q)|0,i=i+Math.imul(C,ee)|0,i=i+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(w,ae)|0,i=i+Math.imul(w,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(v,le)|0,i=i+Math.imul(v,ue)|0,i=i+Math.imul(b,le)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0,n=n+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,a=a+Math.imul(h,me)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,z),i=Math.imul(F,W),i=i+Math.imul(H,z)|0,a=Math.imul(H,W),n=n+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(P,G)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(k,Z)|0,a=a+Math.imul(k,$)|0,n=n+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(C,re)|0,i=i+Math.imul(C,ne)|0,i=i+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(E,ae)|0,i=i+Math.imul(E,oe)|0,i=i+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(w,le)|0,i=i+Math.imul(w,ue)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(b,de)|0,a=a+Math.imul(b,he)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,a=a+Math.imul(m,me)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,G),i=Math.imul(F,K),i=i+Math.imul(H,G)|0,a=Math.imul(H,K),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,$)|0,i=i+Math.imul(P,Z)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(L,Q)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(N,re)|0,i=i+Math.imul(N,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(C,ae)|0,i=i+Math.imul(C,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(E,le)|0,i=i+Math.imul(E,ue)|0,i=i+Math.imul(M,le)|0,a=a+Math.imul(M,ue)|0,n=n+Math.imul(w,de)|0,i=i+Math.imul(w,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,he)|0,n=n+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(b,fe)|0,a=a+Math.imul(b,me)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,Z),i=Math.imul(F,$),i=i+Math.imul(H,Z)|0,a=Math.imul(H,$),n=n+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(N,ae)|0,i=i+Math.imul(N,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(C,le)|0,i=i+Math.imul(C,ue)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(M,de)|0,a=a+Math.imul(M,he)|0,n=n+Math.imul(w,fe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,Q),i=Math.imul(F,ee),i=i+Math.imul(H,Q)|0,a=Math.imul(H,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(P,re)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(N,le)|0,i=i+Math.imul(N,ue)|0,i=i+Math.imul(O,le)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(C,de)|0,i=i+Math.imul(C,he)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,he)|0,n=n+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(M,fe)|0,a=a+Math.imul(M,me)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(H,re)|0,a=Math.imul(H,ne),n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ue)|0,i=i+Math.imul(k,le)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(N,de)|0,i=i+Math.imul(N,he)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,he)|0,n=n+Math.imul(C,fe)|0,i=i+Math.imul(C,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,ae),i=Math.imul(F,oe),i=i+Math.imul(H,ae)|0,a=Math.imul(H,oe),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(P,le)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0,n=n+Math.imul(N,fe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(O,fe)|0,a=a+Math.imul(O,me)|0;var Re=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(H,le)|0,a=Math.imul(H,ue),n=n+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(k,fe)|0,a=a+Math.imul(k,me)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,de),i=Math.imul(F,he),i=i+Math.imul(H,de)|0,a=Math.imul(H,he),n=n+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(P,fe)|0,a=a+Math.imul(P,me)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,fe),i=Math.imul(F,me),i=i+Math.imul(H,fe)|0,a=Math.imul(H,me);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=Se,l[7]=Ee,l[8]=Me,l[9]=Te,l[10]=Ce,l[11]=xe,l[12]=Ae,l[13]=Ne,l[14]=Oe,l[15]=Re,l[16]=Le,l[17]=ke,l[18]=Ie,0!==u&&(l[19]=u,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=l;u++){var c=a-u,d=0|e.words[c],h=0|t.words[u],p=d*h,f=67108863&p;o=o+(p/67108864|0)|0,f=f+s|0,s=67108863&f,o=o+(f>>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function v(e,t,r){var n=new b;return n.mulp(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?m(this,e,t):n<63?f(this,e,t):n<1024?g(this,e,t):v(this,e,t),r},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},b.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,p=0;p<o;p++){var f=r[c+p],m=n[c+p],g=r[c+p+o],v=n[c+p+o],b=d*g-h*v;v=d*v+h*g,g=b,r[c+p]=f+g,n[c+p]=m+v,r[c+p+o]=f-g,n[c+p+o]=m-v,p!==s&&(b=l*d-u*h,h=l*h+u*d,d=b)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,l,n,i),this.transform(u,a,c,d,n,i);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),v(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=p(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var a=this.words[r];return!!(a&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;a-=67108863&l,s=(a>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)a=(0|this.words[i+r])+s,s=a>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)a=-(0|this.words[i])+s,s=a>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1],s=this._countBits(o);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new a(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var d=n.clone()._ishlnsubmul(i,1,u);0===d.negative&&(n=d,l&&(l.words[u]=1));for(var h=u-1;h>=0;h--){var p=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,h);while(0!==n.negative)p--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new a(1),o=new a(0),s=new a(0),l=new a(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),d=t.clone();while(!t.isZero()){for(var h=0,p=1;0===(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0){t.iushrn(h);while(h-- >0)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(d)),i.iushrn(1),o.iushrn(1)}for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0){r.iushrn(f);while(f-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(l)):(r.isub(t),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,o=new a(1),s=new a(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)o.isOdd()&&o.iadd(l),o.iushrn(1)}for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0){r.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return i=0===t.cmpn(1)?o:s,i.cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new T(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,w),i(E,w),i(M,w),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return y[e]=t,t},T.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},T.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},T.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},T.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},T.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},T.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},T.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),o=0;while(!i.isZero()&&0===i.andln(1))o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new a(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),f=o;while(0!==p.cmp(s)){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new a(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},T.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},T.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new a(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var o=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var h=c>>d&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==s?(s<<=1,s|=h,l++,(l===r||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)):l=0}u=26}return o},T.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},T.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},i(C,T),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},bcd6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/[a-z]([\0-\t\x2D\._a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-([\0-\t\x2D\._a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*/,i=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a=new Set(["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"]),o=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s=new Set(["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"]);function l(e){return!!n.test(e)&&!i.has(e)}function u(e){return a.has(e)}function c(e){return o.has(e)}function d(e){return s.has(e)}function h(e,t){}function p(e,t,r){}function f(e,t){}function m(e){}function g(e,t,r,n){return null}t.customElement_isValidCustomElementName=l,t.customElement_isValidElementName=u,t.customElement_isVoidElementName=c,t.customElement_isValidShadowHostName=d,t.customElement_enqueueACustomElementUpgradeReaction=h,t.customElement_enqueueACustomElementCallbackReaction=p,t.customElement_upgrade=f,t.customElement_tryToUpgrade=m,t.customElement_lookUpACustomElementDefinition=g},bd5e:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a}));var n=r("7b9c");function i(){Object(n["isDefined"])(console)&&console.warn(...arguments)}function a(){Object(n["isDefined"])(console)&&console.error(...arguments)}},bd7d:function(e,t,r){function n(e){this._cbs=e||{}}e.exports=n;var i=r("852e").EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},bd9d:function(e,t){function r(e){var t,r=e.length;while(r--){if(t=e.readUInt8(r),255!==t){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}e.exports=r},bdd7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("7a89");var n=r("3d57"),i=r("e90f");const a=new Map([["indexesSequence",{getListWithInsertedItems:n["a"],getListWithRemovedItems:n["b"]}],["physicallyIndexed",{getListWithInsertedItems:i["a"],getListWithRemovedItems:i["b"]}]]),o=e=>{if(!1===a.has(e))throw new Error(`Alter strategy with ID '${e}' does not exist.`);return a.get(e)}},bdfe:function(e,t,r){"use strict";var n=r("939b");e.exports=Array.isArray||function(e){return"Array"===n(e)}},be7f:function(e,t,r){"use strict";var n="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var r=t.shift();if(r){if("object"!==typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},o={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,a)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,o))},t.setTyped(n)},be94:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("7d2e");function i(e,t){e.push(t)}function a(e,t){e.push(...t)}function o(e,t){e.unshift(t)}function s(e,t,r){let i=0;for(const a of e){if(n.isFunction(t))t.call(null,a)&&(e[i]=r);else if(a===t)return void(e[i]=r);i++}}function l(e,t,r){e.splice(r,0,t)}function u(e,t){let r=e.length;while(r--){const i=e[r];if(n.isFunction(t))t.call(null,i)&&e.splice(r,1);else if(i===t)return void e.splice(r,1)}}function c(e){e.length=0}function d(e,t){for(const r of e)if(n.isFunction(t)){if(t.call(null,r))return!0}else if(r===t)return!0;return!1}function h(e,t){if(void 0===t)return e.length;{let r=0;for(const n of e)t.call(null,n)&&r++;return r}}function p(e){return 0===e.length}function*f(e,t){if(void 0===t)yield*e;else for(const r of e)t.call(null,r)&&(yield r)}function m(e){return new Array(...e)}function g(e,t){return e.sort((e,r)=>t.call(null,e,r)?-1:1)}function v(e,t){return e.sort((e,r)=>t.call(null,e,r)?1:-1)}t.append=i,t.extend=a,t.prepend=o,t.replace=s,t.insert=l,t.remove=u,t.empty=c,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=g,t.sortInDescendingOrder=v},bee2:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("a38e");function i(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),Object.defineProperty(e,Object(n["a"])(i.key),i)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},bef1:function(e,t,r){"use strict";var n=r("652d"),i=r("e1c6"),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},bf76:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("69a8"),i=r("9389");function a(e,t){let r=null;for(let a=0;a<e.length;a++){const r=e[a];if(n.isString(r)){const n=i.create_text(t,r);e[a]=n}}if(1===e.length)r=e[0];else{r=i.create_documentFragment(t);const n=r;for(const t of e)n.appendChild(t)}return r}t.parentNode_convertNodesIntoANode=a},bf78:function(e,t,r){"use strict";var n=r("022b"),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},bf80:function(e,t,r){"use strict";var n=r("71ca"),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},c027:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Set,this._limit=e}add(e){if(this._items.add(e),this._items.size>this._limit){const e=this._items.values().next();e.done||this._items.delete(e.value)}return this}delete(e){return this._items.delete(e)}has(e){return this._items.has(e)}clear(){this._items.clear()}get size(){return this._items.size}forEach(e,t){this._items.forEach(r=>e.call(t,r,r,this))}*keys(){yield*this._items.keys()}*values(){yield*this._items.values()}*entries(){yield*this._items.entries()}*[Symbol.iterator](){yield*this._items}get[Symbol.toStringTag](){return"FixedSizeSet"}}t.FixedSizeSet=n},c041:function(e,t,r){"use strict";var n=r("652d"),i=r("e1c6");e.exports=Object.keys||function(e){return n(e,i)}},c091:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Set,this._limit=e}add(e){if(this._items.add(e),this._items.size>this._limit){const e=this._items.values().next();e.done||this._items.delete(e.value)}return this}delete(e){return this._items.delete(e)}has(e){return this._items.has(e)}clear(){this._items.clear()}get size(){return this._items.size}forEach(e,t){this._items.forEach(r=>e.call(t,r,r,this))}*keys(){yield*this._items.keys()}*values(){yield*this._items.values()}*entries(){yield*this._items.entries()}*[Symbol.iterator](){yield*this._items}get[Symbol.toStringTag](){return"FixedSizeSet"}}t.FixedSizeSet=n},c0a6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("0fc1"),i=r("9688");class a extends Array{constructor(e){super(),this._element=e}_asArray(){return this}item(e){return this[e]||null}getNamedItem(e){return i.element_getAnAttributeByName(e,this._element)}getNamedItemNS(e,t){return i.element_getAnAttributeByNamespaceAndLocalName(e||"",t,this._element)}setNamedItem(e){return i.element_setAnAttribute(e,this._element)}setNamedItemNS(e){return i.element_setAnAttribute(e,this._element)}removeNamedItem(e){const t=i.element_removeAnAttributeByName(e,this._element);if(null===t)throw new n.NotFoundError;return t}removeNamedItemNS(e,t){const r=i.element_removeAnAttributeByNamespaceAndLocalName(e||"",t,this._element);if(null===r)throw new n.NotFoundError;return r}static _create(e){return new a(e)}}t.NamedNodeMapImpl=a},c0c4:function(e,t,r){
- /*! @license DOMPurify 2.5.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.3/LICENSE */
- (function(t,r){e.exports=r()})(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,r){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,r)}function r(){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 n(e,i,a){return n=r()?Reflect.construct:function(e,r,n){var i=[null];i.push.apply(i,r);var a=Function.bind.apply(e,i),o=new a;return n&&t(o,n.prototype),o},n.apply(null,arguments)}function i(e){return a(e)||o(e)||s(e)||u()}function a(e){if(Array.isArray(e))return l(e)}function o(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e,t){if(e){if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(){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 c=Object.hasOwnProperty,d=Object.setPrototypeOf,h=Object.isFrozen,p=Object.getPrototypeOf,f=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,b="undefined"!==typeof Reflect&&Reflect,y=b.apply,w=b.construct;y||(y=function(e,t,r){return e.apply(t,r)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return n(e,i(t))});var _=k(Array.prototype.forEach),S=k(Array.prototype.pop),E=k(Array.prototype.push),M=k(String.prototype.toLowerCase),T=k(String.prototype.toString),C=k(String.prototype.match),x=k(String.prototype.replace),A=k(String.prototype.indexOf),N=k(String.prototype.trim),O=k(RegExp.prototype.test),R=I(TypeError),L=k(Number.isNaN);function k(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return y(e,t,n)}}function I(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return w(e,r)}}function D(e,t,r){var n;r=null!==(n=r)&&void 0!==n?n:M,d&&d(e,null);var i=t.length;while(i--){var a=t[i];if("string"===typeof a){var o=r(a);o!==a&&(h(t)||(t[i]=o),a=o)}e[a]=!0}return e}function P(e){var t,r=v(null);for(t in e)!0===y(c,e,[t])&&(r[t]=e[t]);return r}function j(e,t){while(null!==e){var r=f(e,t);if(r){if(r.get)return k(r.get);if("function"===typeof r.value)return k(r.value)}e=p(e)}function n(e){return console.warn("fallback value for",e),null}return n}var F=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),H=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),V=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Y=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),q=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),G=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),K=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),X=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Z=g(/<%[\w\W]*|[\w\W]*%>/gm),$=g(/\${[\w\W]*}/gm),J=g(/^data-[\-\w.\u00B7-\uFFFF]/),Q=g(/^aria-[\-\w]+$/),ee=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),te=g(/^(?:\w+script|data):/i),re=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ne=g(/^html$/i),ie=g(/^[a-z][.\w]*(-[.\w]+)+$/i),ae=function(){return"undefined"===typeof window?null:window},oe=function(t,r){if("object"!==e(t)||"function"!==typeof t.createPolicy)return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(o){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function se(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae(),r=function(e){return se(e)};if(r.version="2.5.3",r.removed=[],!t||!t.document||9!==t.document.nodeType)return r.isSupported=!1,r;var n=t.document,a=t.document,o=t.DocumentFragment,s=t.HTMLTemplateElement,l=t.Node,u=t.Element,c=t.NodeFilter,d=t.NamedNodeMap,h=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,p=t.HTMLFormElement,f=t.DOMParser,g=t.trustedTypes,v=u.prototype,b=j(v,"cloneNode"),y=j(v,"nextSibling"),w=j(v,"childNodes"),k=j(v,"parentNode");if("function"===typeof s){var I=a.createElement("template");I.content&&I.content.ownerDocument&&(a=I.content.ownerDocument)}var le=oe(g,n),ue=le?le.createHTML(""):"",ce=a,de=ce.implementation,he=ce.createNodeIterator,pe=ce.createDocumentFragment,fe=ce.getElementsByTagName,me=n.importNode,ge={};try{ge=P(a).documentMode?a.documentMode:{}}catch(Ft){}var ve={};r.isSupported="function"===typeof k&&de&&void 0!==de.createHTMLDocument&&9!==ge;var be,ye,we=X,_e=Z,Se=$,Ee=J,Me=Q,Te=te,Ce=re,xe=ie,Ae=ee,Ne=null,Oe=D({},[].concat(i(F),i(H),i(B),i(V),i(z))),Re=null,Le=D({},[].concat(i(W),i(q),i(G),i(K))),ke=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,De=null,Pe=!0,je=!0,Fe=!1,He=!0,Be=!1,Ue=!0,Ve=!1,Ye=!1,ze=!1,We=!1,qe=!1,Ge=!1,Ke=!0,Xe=!1,Ze="user-content-",$e=!0,Je=!1,Qe={},et=null,tt=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),rt=null,nt=D({},["audio","video","img","source","image","track"]),it=null,at=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ot="http://www.w3.org/1998/Math/MathML",st="http://www.w3.org/2000/svg",lt="http://www.w3.org/1999/xhtml",ut=lt,ct=!1,dt=null,ht=D({},[ot,st,lt],T),pt=["application/xhtml+xml","text/html"],ft="text/html",mt=null,gt=255,vt=a.createElement("form"),bt=function(e){return e instanceof RegExp||e instanceof Function},yt=function(t){mt&&mt===t||(t&&"object"===e(t)||(t={}),t=P(t),be=be=-1===pt.indexOf(t.PARSER_MEDIA_TYPE)?ft:t.PARSER_MEDIA_TYPE,ye="application/xhtml+xml"===be?T:M,Ne="ALLOWED_TAGS"in t?D({},t.ALLOWED_TAGS,ye):Oe,Re="ALLOWED_ATTR"in t?D({},t.ALLOWED_ATTR,ye):Le,dt="ALLOWED_NAMESPACES"in t?D({},t.ALLOWED_NAMESPACES,T):ht,it="ADD_URI_SAFE_ATTR"in t?D(P(at),t.ADD_URI_SAFE_ATTR,ye):at,rt="ADD_DATA_URI_TAGS"in t?D(P(nt),t.ADD_DATA_URI_TAGS,ye):nt,et="FORBID_CONTENTS"in t?D({},t.FORBID_CONTENTS,ye):tt,Ie="FORBID_TAGS"in t?D({},t.FORBID_TAGS,ye):{},De="FORBID_ATTR"in t?D({},t.FORBID_ATTR,ye):{},Qe="USE_PROFILES"in t&&t.USE_PROFILES,Pe=!1!==t.ALLOW_ARIA_ATTR,je=!1!==t.ALLOW_DATA_ATTR,Fe=t.ALLOW_UNKNOWN_PROTOCOLS||!1,He=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Be=t.SAFE_FOR_TEMPLATES||!1,Ue=!1!==t.SAFE_FOR_XML,Ve=t.WHOLE_DOCUMENT||!1,We=t.RETURN_DOM||!1,qe=t.RETURN_DOM_FRAGMENT||!1,Ge=t.RETURN_TRUSTED_TYPE||!1,ze=t.FORCE_BODY||!1,Ke=!1!==t.SANITIZE_DOM,Xe=t.SANITIZE_NAMED_PROPS||!1,$e=!1!==t.KEEP_CONTENT,Je=t.IN_PLACE||!1,Ae=t.ALLOWED_URI_REGEXP||Ae,ut=t.NAMESPACE||lt,ke=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&bt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ke.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&bt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ke.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ke.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(je=!1),qe&&(We=!0),Qe&&(Ne=D({},i(z)),Re=[],!0===Qe.html&&(D(Ne,F),D(Re,W)),!0===Qe.svg&&(D(Ne,H),D(Re,q),D(Re,K)),!0===Qe.svgFilters&&(D(Ne,B),D(Re,q),D(Re,K)),!0===Qe.mathMl&&(D(Ne,V),D(Re,G),D(Re,K))),t.ADD_TAGS&&(Ne===Oe&&(Ne=P(Ne)),D(Ne,t.ADD_TAGS,ye)),t.ADD_ATTR&&(Re===Le&&(Re=P(Re)),D(Re,t.ADD_ATTR,ye)),t.ADD_URI_SAFE_ATTR&&D(it,t.ADD_URI_SAFE_ATTR,ye),t.FORBID_CONTENTS&&(et===tt&&(et=P(et)),D(et,t.FORBID_CONTENTS,ye)),$e&&(Ne["#text"]=!0),Ve&&D(Ne,["html","head","body"]),Ne.table&&(D(Ne,["tbody"]),delete Ie.tbody),m&&m(t),mt=t)},wt=D({},["mi","mo","mn","ms","mtext"]),_t=D({},["foreignobject","annotation-xml"]),St=D({},["title","style","font","a","script"]),Et=D({},H);D(Et,B),D(Et,U);var Mt=D({},V);D(Mt,Y);var Tt=function(e){var t=k(e);t&&t.tagName||(t={namespaceURI:ut,tagName:"template"});var r=M(e.tagName),n=M(t.tagName);return!!dt[e.namespaceURI]&&(e.namespaceURI===st?t.namespaceURI===lt?"svg"===r:t.namespaceURI===ot?"svg"===r&&("annotation-xml"===n||wt[n]):Boolean(Et[r]):e.namespaceURI===ot?t.namespaceURI===lt?"math"===r:t.namespaceURI===st?"math"===r&&_t[n]:Boolean(Mt[r]):e.namespaceURI===lt?!(t.namespaceURI===st&&!_t[n])&&(!(t.namespaceURI===ot&&!wt[n])&&(!Mt[r]&&(St[r]||!Et[r]))):!("application/xhtml+xml"!==be||!dt[e.namespaceURI]))},Ct=function(e){E(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ft){try{e.outerHTML=ue}catch(Ft){e.remove()}}},xt=function(e,t){try{E(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ft){E(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Re[e])if(We||qe)try{Ct(t)}catch(Ft){}else try{t.setAttribute(e,"")}catch(Ft){}},At=function(e){var t,r;if(ze)e="<remove></remove>"+e;else{var n=C(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===be&&ut===lt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=le?le.createHTML(e):e;if(ut===lt)try{t=(new f).parseFromString(i,be)}catch(Ft){}if(!t||!t.documentElement){t=de.createDocument(ut,"template",null);try{t.documentElement.innerHTML=ct?ue:i}catch(Ft){}}var o=t.body||t.documentElement;return e&&r&&o.insertBefore(a.createTextNode(r),o.childNodes[0]||null),ut===lt?fe.call(t,Ve?"html":"body")[0]:Ve?t.documentElement:o},Nt=function(e){return he.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null,!1)},Ot=function(e){return e instanceof p&&("undefined"!==typeof e.__depth&&"number"!==typeof e.__depth||"undefined"!==typeof e.__removalCount&&"number"!==typeof e.__removalCount||"string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof h)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes)},Rt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},Lt=function(e,t,n){ve[e]&&_(ve[e],(function(e){e.call(r,t,n,mt)}))},kt=function(e){var t;if(Lt("beforeSanitizeElements",e,null),Ot(e))return Ct(e),!0;if(O(/[\u0080-\uFFFF]/,e.nodeName))return Ct(e),!0;var n=ye(e.nodeName);if(Lt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Rt(e.firstElementChild)&&(!Rt(e.content)||!Rt(e.content.firstElementChild))&&O(/<[/\w]/g,e.innerHTML)&&O(/<[/\w]/g,e.textContent))return Ct(e),!0;if("select"===n&&O(/<template/i,e.innerHTML))return Ct(e),!0;if(7===e.nodeType)return Ct(e),!0;if(Ue&&8===e.nodeType&&O(/<[/\w]/g,e.data))return Ct(e),!0;if(!Ne[n]||Ie[n]){if(!Ie[n]&&Dt(n)){if(ke.tagNameCheck instanceof RegExp&&O(ke.tagNameCheck,n))return!1;if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n))return!1}if($e&&!et[n]){var i=k(e)||e.parentNode,a=w(e)||e.childNodes;if(a&&i)for(var o=a.length,s=o-1;s>=0;--s){var l=b(a[s],!0);l.__removalCount=(e.__removalCount||0)+1,i.insertBefore(l,y(e))}}return Ct(e),!0}return e instanceof u&&!Tt(e)?(Ct(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!O(/<\/no(script|embed|frames)/i,e.innerHTML)?(Be&&3===e.nodeType&&(t=e.textContent,t=x(t,we," "),t=x(t,_e," "),t=x(t,Se," "),e.textContent!==t&&(E(r.removed,{element:e.cloneNode()}),e.textContent=t)),Lt("afterSanitizeElements",e,null),!1):(Ct(e),!0)},It=function(e,t,r){if(Ke&&("id"===t||"name"===t)&&(r in a||r in vt||"__depth"===r||"__removalCount"===r))return!1;if(je&&!De[t]&&O(Ee,t));else if(Pe&&O(Me,t));else if(!Re[t]||De[t]){if(!(Dt(e)&&(ke.tagNameCheck instanceof RegExp&&O(ke.tagNameCheck,e)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(e))&&(ke.attributeNameCheck instanceof RegExp&&O(ke.attributeNameCheck,t)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(t))||"is"===t&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&O(ke.tagNameCheck,r)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(r))))return!1}else if(it[t]);else if(O(Ae,x(r,Ce,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(r,"data:")||!rt[e]){if(Fe&&!O(Te,x(r,Ce,"")));else if(r)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&C(e,xe)},Pt=function(t){var n,i,a,o;Lt("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Re};o=s.length;while(o--){n=s[o];var u=n,c=u.name,d=u.namespaceURI;if(i="value"===c?n.value:N(n.value),a=ye(c),l.attrName=a,l.attrValue=i,l.keepAttr=!0,l.forceKeepAttr=void 0,Lt("uponSanitizeAttribute",t,l),i=l.attrValue,!l.forceKeepAttr&&(xt(c,t),l.keepAttr))if(He||!O(/\/>/i,i))if(Ue&&O(/((--!?|])>)|<\/(style|title)/i,i))xt(c,t);else{Be&&(i=x(i,we," "),i=x(i,_e," "),i=x(i,Se," "));var h=ye(t.nodeName);if(It(h,a,i)){if(!Xe||"id"!==a&&"name"!==a||(xt(c,t),i=Ze+i),le&&"object"===e(g)&&"function"===typeof g.getAttributeType)if(d);else switch(g.getAttributeType(h,a)){case"TrustedHTML":i=le.createHTML(i);break;case"TrustedScriptURL":i=le.createScriptURL(i);break}try{d?t.setAttributeNS(d,c,i):t.setAttribute(c,i),Ot(t)?Ct(t):S(r.removed)}catch(Ft){}}}else xt(c,t)}Lt("afterSanitizeAttributes",t,null)}},jt=function e(t){var r,n=Nt(t);Lt("beforeSanitizeShadowDOM",t,null);while(r=n.nextNode())if(Lt("uponSanitizeShadowNode",r,null),!kt(r)){var i=k(r);1===r.nodeType&&(i&&i.__depth?r.__depth=(r.__removalCount||0)+i.__depth+1:r.__depth=1),(r.__depth>=gt||L(r.__depth))&&Ct(r),r.content instanceof o&&(r.content.__depth=r.__depth,e(r.content)),Pt(r)}Lt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(i){var a,s,u,c,d,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ct=!i,ct&&(i="\x3c!--\x3e"),"string"!==typeof i&&!Rt(i)){if("function"!==typeof i.toString)throw R("toString is not a function");if(i=i.toString(),"string"!==typeof i)throw R("dirty is not a string, aborting")}if(!r.isSupported){if("object"===e(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof i)return t.toStaticHTML(i);if(Rt(i))return t.toStaticHTML(i.outerHTML)}return i}if(Ye||yt(h),r.removed=[],"string"===typeof i&&(Je=!1),Je){if(i.nodeName){var p=ye(i.nodeName);if(!Ne[p]||Ie[p])throw R("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof l)a=At("\x3c!----\x3e"),s=a.ownerDocument.importNode(i,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else{if(!We&&!Be&&!Ve&&-1===i.indexOf("<"))return le&&Ge?le.createHTML(i):i;if(a=At(i),!a)return We?null:Ge?ue:""}a&&ze&&Ct(a.firstChild);var f=Nt(Je?i:a);while(u=f.nextNode())if((3!==u.nodeType||u!==c)&&!kt(u)){var m=k(u);1===u.nodeType&&(m&&m.__depth?u.__depth=(u.__removalCount||0)+m.__depth+1:u.__depth=1),(u.__depth>=gt||L(u.__depth))&&Ct(u),u.content instanceof o&&(u.content.__depth=u.__depth,jt(u.content)),Pt(u),c=u}if(c=null,Je)return i;if(We){if(qe){d=pe.call(a.ownerDocument);while(a.firstChild)d.appendChild(a.firstChild)}else d=a;return(Re.shadowroot||Re.shadowrootmod)&&(d=me.call(n,d,!0)),d}var g=Ve?a.outerHTML:a.innerHTML;return Ve&&Ne["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&O(ne,a.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+g),Be&&(g=x(g,we," "),g=x(g,_e," "),g=x(g,Se," ")),le&&Ge?le.createHTML(g):g},r.setConfig=function(e){yt(e),Ye=!0},r.clearConfig=function(){mt=null,Ye=!1},r.isValidAttribute=function(e,t,r){mt||yt({});var n=ye(e),i=ye(t);return It(n,i,r)},r.addHook=function(e,t){"function"===typeof t&&(ve[e]=ve[e]||[],E(ve[e],t))},r.removeHook=function(e){if(ve[e])return S(ve[e])},r.removeHooks=function(e){ve[e]&&(ve[e]=[])},r.removeAllHooks=function(){ve={}},r}var le=se();return le}))},c0d8:function(e,t,r){"use strict";r("7a89"),r("d06e"),r("f4db");var n=r("5d7f"),i=r("97b9"),a=r("7b9c"),o=r("63d8"),s=r("c5c4"),l=r("87d6"),u=r("351d"),c=r("bd5e");function d(e,t){p(e,t),t.add(e)}function h(e,t,r){p(e,t),t.set(e,r)}function p(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(e,t){return e.get(g(e,t))}function m(e,t,r){return e.set(g(e,t),r),r}function g(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const v=Object.freeze({CELL:"cell",MIXED:"mixed"});var b=new WeakMap,y=new WeakMap,w=new WeakMap,_=new WeakMap,S=new WeakMap,E=new WeakSet;class M{constructor(e){var t=this;d(this,E),h(this,b,void 0),h(this,y,void 0),h(this,w,50),h(this,_,null),h(this,S,new Map);const r=e.getSettings();m(b,this,e),m(y,this,r.imeFastEdit?v.MIXED:v.CELL),f(b,this).addHook("afterUpdateSettings",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return g(E,t,A).call(t,...r)})),f(b,this).addHook("afterSelection",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return g(E,t,C).call(t,...r)})),f(b,this).addHook("afterSelectionFocusSet",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return g(E,t,C).call(t,...r)})),f(b,this).addHook("afterSelectionEnd",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return g(E,t,x).call(t,...r)}))}getFocusMode(){return f(y,this)}setFocusMode(e){Object.values(v).includes(e)?m(y,this,e):Object(c["b"])(`"${e}" is not a valid focus mode.`)}getRefocusDelay(){return f(w,this)}setRefocusDelay(e){m(w,this,e)}setRefocusElementGetter(e){m(_,this,e)}getRefocusElement(){return"function"===typeof f(_,this)?f(_,this).call(this):null===(e=f(b,this).getActiveEditor())||void 0===e?void 0:e.TEXTAREA;var e}focusOnHighlightedCell(e){const t=e=>{var t,r;const n=null===(t=f(b,this).getSelectedRangeLast())||void 0===t?void 0:t.highlight;if(!n)return;let i=f(b,this).runHooks("modifyFocusedElement",n.row,n.col,e);i instanceof HTMLElement||(i=e),!i||null!==(r=f(b,this).getActiveEditor())&&void 0!==r&&r.isOpened()||i.focus({preventScroll:!0})};e?t(e):g(E,this,T).call(this,e=>t(e))}refocusToEditorTextarea(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f(w,this);const r=this.getRefocusElement();!f(b,this).getSettings().imeFastEdit||null!==(e=f(b,this).getActiveEditor())&&void 0!==e&&e.isOpened()||!r||(f(S,this).has(t)||f(S,this).set(t,Object(i["debounce"])(()=>{r.select()},t)),f(S,this).get(t)())}}function T(e){var t;const r=null===(t=f(b,this).getSelectedRangeLast())||void 0===t?void 0:t.highlight;if(!r||!f(b,this).selection.isCellVisible(r))return void e(null);const n=f(b,this).getCell(r.row,r.col,!0);null===n?f(b,this).addHookOnce("afterScroll",()=>{e(f(b,this).getCell(r.row,r.col,!0))}):e(n)}function C(){g(E,this,T).call(this,e=>{const{activeElement:t}=f(b,this).rootDocument;t&&Object(n["isOutsideInput"])(t)&&t.blur(),this.focusOnHighlightedCell(e)})}function x(){g(E,this,T).call(this,e=>{this.getFocusMode()===v.MIXED&&"TD"===e.nodeName&&this.refocusToEditorTextarea()})}function A(e){e.imeFastEdit&&this.getFocusMode()!==v.MIXED?this.setFocusMode(v.MIXED):e.imeFastEdit||this.getFocusMode()===v.CELL||this.setFocusMode(v.CELL)}var N=r("81ea"),O=r("a776"),R=r("24b5"),L=r("3d76"),k=r("491c"),I=r("169f"),D=r("29b0"),P=r("ffec"),j=r("de3b"),F=r("7dd09");function H(e,t,r){B(e,t),t.set(e,r)}function B(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(e,t){return e.get(Y(e,t))}function V(e,t,r){return e.set(Y(e,t),r),r}function Y(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var z=new WeakMap,W=new WeakMap,q=new WeakMap,G=new WeakMap,K=new WeakMap,X=new WeakMap,Z=new WeakMap,$=new WeakMap,J=new WeakMap,Q=new WeakMap;class ee{constructor(e,t,r,n,i,a){let o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;H(this,z,void 0),H(this,W,void 0),H(this,q,void 0),H(this,G,void 0),H(this,K,void 0),H(this,X,void 0),H(this,Z,void 0),H(this,$,void 0),H(this,J,[null,null]),H(this,Q,[null,null]),V(z,this,r),V(W,this,t),V(q,this,i),V(G,this,a),V(K,this,o),V(X,this,n),V(Z,this,e),this.registerEvents()}registerEvents(){U(X,this).addEventListener(U(q,this).holder,"contextmenu",e=>this.onContextMenu(e)),U(X,this).addEventListener(U(q,this).TABLE,"mouseover",e=>this.onMouseOver(e)),U(X,this).addEventListener(U(q,this).TABLE,"mouseout",e=>this.onMouseOut(e));const e=()=>{U(X,this).addEventListener(U(q,this).holder,"touchstart",e=>this.onTouchStart(e)),U(X,this).addEventListener(U(q,this).holder,"touchend",e=>this.onTouchEnd(e)),this.momentumScrolling||(this.momentumScrolling={}),U(X,this).addEventListener(U(q,this).holder,"scroll",()=>{clearTimeout(this.momentumScrolling._timeout),this.momentumScrolling.ongoing||U(z,this).getSetting("onBeforeTouchScroll"),this.momentumScrolling.ongoing=!0,this.momentumScrolling._timeout=setTimeout(()=>{this.touchApplied||(this.momentumScrolling.ongoing=!1,U(z,this).getSetting("onAfterMomentumScroll"))},200)})},t=()=>{U(X,this).addEventListener(U(q,this).holder,"mouseup",e=>this.onMouseUp(e)),U(X,this).addEventListener(U(q,this).holder,"mousedown",e=>this.onMouseDown(e))};Object(o["isMobileBrowser"])()?e():(Object(F["isTouchSupported"])()&&e(),t())}selectedCellWasTouched(e){const t=this.parentCell(e),r=t.coords;if(U($,this)&&r){const[e,t]=[r.row,U($,this).from.row],[n,i]=[r.col,U($,this).from.col];return e===t&&n===i}return!1}parentCell(e){const t={},r=U(q,this).TABLE,i=Object(n["closestDown"])(e,["TD","TH"],r);return i?(t.coords=U(q,this).getCoords(i),t.TD=i):Object(n["hasClass"])(e,"wtBorder")&&Object(n["hasClass"])(e,"current")?(t.coords=U(G,this).getFocusSelection().cellRange.highlight,t.TD=U(q,this).getCell(t.coords)):Object(n["hasClass"])(e,"wtBorder")&&Object(n["hasClass"])(e,"area")&&U(G,this).getAreaSelection().cellRange&&(t.coords=U(G,this).getAreaSelection().cellRange.to,t.TD=U(q,this).getCell(t.coords)),t}onMouseDown(e){const t=U(W,this).rootDocument.activeElement,r=Object(i["partial"])(n["getParent"],e.target),a=e.target;if(!["TD","TH"].includes(t.nodeName)&&(a===t||r(0)===t||r(1)===t))return;const o=this.parentCell(a);Object(n["hasClass"])(a,"corner")?U(z,this).getSetting("onCellCornerMouseDown",e,a):o.TD&&U(z,this).has("onCellMouseDown")&&this.callListener("onCellMouseDown",e,o.coords,o.TD),(0===e.button||this.touchApplied)&&o.TD&&(U(Q,this)[0]=o.TD,clearTimeout(U(J,this)[0]),U(J,this)[0]=setTimeout(()=>{U(Q,this)[0]=null},1e3))}onContextMenu(e){if(U(z,this).has("onCellContextMenu")){const t=this.parentCell(e.target);t.TD&&this.callListener("onCellContextMenu",e,t.coords,t.TD)}}onMouseOver(e){if(!U(z,this).has("onCellMouseOver"))return;const t=U(q,this).TABLE,r=Object(n["closestDown"])(e.target,["TD","TH"],t),i=U(K,this)||this;r&&r!==i.lastMouseOver&&Object(n["isChildOf"])(r,t)&&(i.lastMouseOver=r,this.callListener("onCellMouseOver",e,U(q,this).getCoords(r),r))}onMouseOut(e){if(!U(z,this).has("onCellMouseOut"))return;const t=U(q,this).TABLE,r=Object(n["closestDown"])(e.target,["TD","TH"],t),i=Object(n["closestDown"])(e.relatedTarget,["TD","TH"],t),a=U(K,this)||this;r&&r!==i&&Object(n["isChildOf"])(r,t)&&(this.callListener("onCellMouseOut",e,U(q,this).getCoords(r),r),null===i&&(a.lastMouseOver=null))}onMouseUp(e){const t=this.parentCell(e.target);t.TD&&U(z,this).has("onCellMouseUp")&&this.callListener("onCellMouseUp",e,t.coords,t.TD),(0===e.button||this.touchApplied)&&(t.TD===U(Q,this)[0]&&t.TD===U(Q,this)[1]?(Object(n["hasClass"])(e.target,"corner")?this.callListener("onCellCornerDblClick",e,t.coords,t.TD):this.callListener("onCellDblClick",e,t.coords,t.TD),U(Q,this)[0]=null,U(Q,this)[1]=null):t.TD===U(Q,this)[0]&&(U(Q,this)[1]=t.TD,clearTimeout(U(J,this)[1]),U(J,this)[1]=setTimeout(()=>{U(Q,this)[1]=null},500)))}onTouchStart(e){V($,this,U(G,this).getFocusSelection().cellRange),this.touchApplied=!0,this.onMouseDown(e)}onTouchEnd(e){var t;const r=e.target,n=null===(t=this.parentCell(r))||void 0===t?void 0:t.coords,i=Object(a["isDefined"])(n)&&n.row>=0&&n.col>=0,s=e.cancelable&&i&&U(z,this).getSetting("isDataViewInstance");if(s){const t=["A","BUTTON","INPUT"];Object(o["isIOS"])()&&(Object(o["isChromeWebKit"])()||Object(o["isFirefoxWebKit"])())&&this.selectedCellWasTouched(r)&&!t.includes(r.tagName)?e.preventDefault():this.selectedCellWasTouched(r)||e.preventDefault()}this.onMouseUp(e),this.touchApplied=!1}callListener(e,t,r,n){const i=U(z,this).getSettingPure(e);i&&i(t,r,n,U(Z,this).call(this))}destroy(){clearTimeout(U(J,this)[0]),clearTimeout(U(J,this)[1]),U(X,this).destroy()}}var te=ee,re=r("f938");function ne(e,t,r){return t=ie(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(e){var t=ae(e,"string");return"symbol"==typeof t?t:t+""}function ae(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class oe{constructor(e,t,r){ne(this,"offset",void 0),ne(this,"total",void 0),ne(this,"countTH",void 0),this.offset=e,this.total=t,this.countTH=r}offsetted(e){return e+this.offset}unOffsetted(e){return e-this.offset}renderedToSource(e){return this.offsetted(e)}sourceToRendered(e){return this.unOffsetted(e)}offsettedTH(e){return e-this.countTH}unOffsettedTH(e){return e+this.countTH}visibleRowHeadedColumnToSourceColumn(e){return this.renderedToSource(this.offsettedTH(e))}sourceColumnToVisibleRowHeadedColumn(e){return this.unOffsettedTH(this.sourceToRendered(e))}}var se=oe;function le(e,t,r){return t=ue(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ue(e){var t=ce(e,"string");return"symbol"==typeof t?t:t+""}function ce(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class de{constructor(e,t,r){le(this,"offset",void 0),le(this,"total",void 0),le(this,"countTH",void 0),this.offset=e,this.total=t,this.countTH=r}offsetted(e){return e+this.offset}unOffsetted(e){return e-this.offset}renderedToSource(e){return this.offsetted(e)}sourceToRendered(e){return this.unOffsetted(e)}offsettedTH(e){return e-this.countTH}unOffsettedTH(e){return e+this.countTH}visibleColHeadedRowToSourceRow(e){return this.renderedToSource(this.offsettedTH(e))}sourceRowToVisibleColHeadedRow(e){return this.unOffsettedTH(this.sourceToRendered(e))}}var he=de;const pe=0,fe=1,me=2;function ge(e,t,r){return t=ve(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ve(e){var t=be(e,"string");return"symbol"==typeof t?t:t+""}function be(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ye{constructor(){ge(this,"currentSize",0),ge(this,"nextSize",0),ge(this,"currentOffset",0),ge(this,"nextOffset",0)}setSize(e){this.currentSize=this.nextSize,this.nextSize=e}setOffset(e){this.currentOffset=this.nextOffset,this.nextOffset=e}}function we(e,t,r){return t=_e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e){var t=Se(e,"string");return"symbol"==typeof t?t:t+""}function Se(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ee{constructor(){we(this,"size",new ye),we(this,"workingSpace",pe),we(this,"sharedSize",null)}setSize(e){this.size.setSize(e)}setOffset(e){this.size.setOffset(e)}getViewSize(){return this.size}isShared(){return this.sharedSize instanceof ye}isPlaceOn(e){return this.workingSpace===e}append(e){this.workingSpace=fe,e.workingSpace=me,this.sharedSize=e.getViewSize()}prepend(e){this.workingSpace=me,e.workingSpace=fe,this.sharedSize=e.getViewSize()}}function Me(e,t,r){return t=Te(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Te(e){var t=Ce(e,"string");return"symbol"==typeof t?t:t+""}function Ce(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class xe{constructor(e,t,r){Me(this,"rootNode",void 0),Me(this,"nodesPool",void 0),Me(this,"sizeSet",new Ee),Me(this,"childNodeType",void 0),Me(this,"visualIndex",0),Me(this,"collectedNodes",[]),this.rootNode=e,this.nodesPool=t,this.childNodeType=r.toUpperCase()}setSize(e){return this.sizeSet.setSize(e),this}setOffset(e){return this.sizeSet.setOffset(e),this}isSharedViewSet(){return this.sizeSet.isShared()}getNode(e){return e<this.collectedNodes.length?this.collectedNodes[e]:null}getCurrentNode(){const e=this.collectedNodes.length;return e>0?this.collectedNodes[e-1]:null}getRenderedChildCount(){const{rootNode:e,sizeSet:t}=this;let r=0;if(this.isSharedViewSet()){let n=e.firstElementChild;while(n){if(n.tagName===this.childNodeType)r+=1;else if(t.isPlaceOn(fe))break;n=n.nextElementSibling}}else r=e.childElementCount;return r}start(){this.collectedNodes.length=0,this.visualIndex=0;const{rootNode:e,sizeSet:t}=this,r=this.isSharedViewSet(),{nextSize:n}=t.getViewSize();let i=this.getRenderedChildCount();while(i<n){const n=this.nodesPool();!r||r&&t.isPlaceOn(me)?e.appendChild(n):e.insertBefore(n,e.firstChild),i+=1}const a=r&&t.isPlaceOn(fe);while(i>n)e.removeChild(a?e.firstChild:e.lastChild),i-=1}render(){const{rootNode:e,sizeSet:t}=this;let r=this.visualIndex;this.isSharedViewSet()&&t.isPlaceOn(me)&&(r+=t.sharedSize.nextSize);let n=e.childNodes[r];if(n.tagName!==this.childNodeType){const t=this.nodesPool();e.replaceChild(t,n),n=t}this.collectedNodes.push(n),this.visualIndex+=1}end(){}}class Ae extends xe{prependView(e){return this.sizeSet.prepend(e.sizeSet),e.sizeSet.append(this.sizeSet),this}appendView(e){return this.sizeSet.append(e.sizeSet),e.sizeSet.prepend(this.sizeSet),this}}function Ne(e,t,r){return t=Oe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oe(e){var t=Re(e,"string");return"symbol"==typeof t?t:t+""}function Re(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Le{constructor(e){Ne(this,"nodeType",void 0),this.nodeType=e.toUpperCase()}setRootDocument(e){this.rootDocument=e}obtain(){return this.rootDocument.createElement(this.nodeType)}}function ke(e,t,r){return t=Ie(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ie(e){var t=De(e,"string");return"symbol"==typeof t?t:t+""}function De(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Pe{constructor(e,t){ke(this,"nodesPool",null),ke(this,"nodeType",void 0),ke(this,"rootNode",void 0),ke(this,"table",null),ke(this,"renderedNodes",0),this.nodesPool="string"===typeof e?new Le(e):null,this.nodeType=e,this.rootNode=t}setTable(e){this.nodesPool&&this.nodesPool.setRootDocument(e.rootDocument),this.table=e}adjust(){}render(){}}var je=r("8828");function Fe(e,t,r){return t=He(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function He(e){var t=Be(e,"string");return"symbol"==typeof t?t:t+""}function Be(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ue extends Pe{constructor(){super("TH"),Fe(this,"orderViews",new WeakMap),Fe(this,"sourceRowIndex",0)}obtainOrderView(e){let t;return this.orderViews.has(e)?t=this.orderViews.get(e):(t=new Ae(e,e=>this.nodesPool.obtain(this.sourceRowIndex,e),this.nodeType),this.orderViews.set(e,t)),t}render(){const{rowsToRender:e,rowHeaderFunctions:t,rowHeadersCount:r,rows:i,cells:a}=this.table;for(let o=0;o<e;o++){const e=this.table.renderedRowToSource(o),s=i.getRenderedNode(o);this.sourceRowIndex=e;const l=this.obtainOrderView(s),u=a.obtainOrderView(s);l.appendView(u).setSize(r).setOffset(this.table.renderedColumnToSource(0)).start();for(let i=0;i<r;i++){l.render();const r=l.getCurrentNode();r.className="",r.removeAttribute("style"),Object(n["removeAttribute"])(r,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.isAriaEnabled()&&Object(n["setAttribute"])(r,[Object(je["D"])(),Object(je["G"])(),Object(je["f"])(i+1),Object(je["K"])(-1)]),t[i](e,r,i)}l.end()}}}class Ve extends Pe{constructor(e){super(null,e)}adjust(){const{columnHeadersCount:e,rowHeadersCount:t}=this.table;let r=this.rootNode.firstChild;if(e){const{columnsToRender:n}=this.table,i=n+t;for(let t=0,o=e;t<o;t++){r=this.rootNode.childNodes[t],r||(r=this.table.rootDocument.createElement("tr"),this.rootNode.appendChild(r)),this.renderedNodes=r.childNodes.length;while(this.renderedNodes<i)r.appendChild(this.table.rootDocument.createElement("th")),this.renderedNodes+=1;while(this.renderedNodes>i)r.removeChild(r.lastChild),this.renderedNodes-=1}const a=this.rootNode.childNodes.length;if(a>e)for(let t=e;t<a;t++)this.rootNode.removeChild(this.rootNode.lastChild)}else r&&Object(n["empty"])(r)}render(){const{columnHeadersCount:e}=this.table;this.table.isAriaEnabled()&&Object(n["setAttribute"])(this.rootNode,[Object(je["C"])()]);for(let t=0;t<e;t+=1){const{columnHeaderFunctions:e,columnsToRender:r,rowHeadersCount:i}=this.table,a=this.rootNode.childNodes[t];this.table.isAriaEnabled()&&Object(n["setAttribute"])(a,[Object(je["A"])(),Object(je["E"])(t+1)]);for(let o=-1*i;o<r;o+=1){const r=this.table.renderedColumnToSource(o),s=a.childNodes[o+i];s.className="",s.removeAttribute("style"),Object(n["removeAttribute"])(s,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.isAriaEnabled()&&Object(n["setAttribute"])(s,[Object(je["f"])(o+1+this.table.rowHeadersCount),Object(je["K"])(-1),Object(je["g"])(),...o>=0?[Object(je["F"])()]:[Object(je["A"])()]]),e[t](r,s,t)}}}}var Ye=r("67a87");let ze=!1;class We extends Pe{constructor(e){super(null,e)}adjust(){const{columnsToRender:e,rowHeadersCount:t}=this.table,r=e+t;while(this.renderedNodes<r)this.rootNode.appendChild(this.table.rootDocument.createElement("col")),this.renderedNodes+=1;while(this.renderedNodes>r)this.rootNode.removeChild(this.rootNode.lastChild),this.renderedNodes-=1}render(){this.adjust();const{columnsToRender:e,rowHeadersCount:t}=this.table;!ze&&e>1e3&&(ze=!0,Object(c["b"])(Ye["a"]`Performance tip: Handsontable rendered more than 1000 visible columns.\x20
- Consider limiting the number of rendered columns by specifying the table width and/or\x20
- turning off the "renderAllColumns" option.`));for(let n=0;n<t;n++){const e=this.table.renderedColumnToSource(n),t=this.table.columnUtils.getHeaderWidth(e);this.rootNode.childNodes[n].style.width=t+"px"}for(let n=0;n<e;n++){const e=this.table.renderedColumnToSource(n),r=this.table.columnUtils.getStretchedColumnWidth(e);this.rootNode.childNodes[n+t].style.width=r+"px"}const r=this.rootNode.firstChild;r&&Object(n["addClass"])(r,"rowHeader")}}function qe(e,t,r){return t=Ge(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ge(e){var t=Ke(e,"string");return"symbol"==typeof t?t:t+""}function Ke(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}let Xe=!1;class Ze extends Pe{constructor(e){super("TR",e),qe(this,"orderView",void 0),this.orderView=new xe(e,e=>this.nodesPool.obtain(e),this.nodeType)}getRenderedNode(e){return this.orderView.getNode(e)}render(){const{rowsToRender:e}=this.table;!Xe&&e>1e3&&(Xe=!0,Object(c["b"])(Ye["a"]`Performance tip: Handsontable rendered more than 1000 visible rows.\x20
- Consider limiting the number of rendered rows by specifying the table height and/or\x20
- turning off the "renderAllRows" option.`)),this.table.isAriaEnabled()&&Object(n["setAttribute"])(this.rootNode,[Object(je["C"])()]),this.orderView.setSize(e).setOffset(this.table.renderedRowToSource(0)).start();for(let i=0;i<e;i++){this.orderView.render();const e=this.orderView.getCurrentNode(),a=this.table.renderedRowToSource(i);var t,r;if(this.table.isAriaEnabled())Object(n["setAttribute"])(e,[Object(je["A"])(),Object(je["E"])(a+(null!==(t=null===(r=this.table.rowUtils)||void 0===r||null===(r=r.dataAccessObject)||void 0===r?void 0:r.columnHeaders.length)&&void 0!==t?t:0)+1)])}this.orderView.end()}}function $e(e,t,r){return t=Je(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Je(e){var t=Qe(e,"string");return"symbol"==typeof t?t:t+""}function Qe(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class et extends Pe{constructor(){super("TD"),$e(this,"orderViews",new WeakMap),$e(this,"sourceRowIndex",0)}obtainOrderView(e){let t;return this.orderViews.has(e)?t=this.orderViews.get(e):(t=new Ae(e,e=>this.nodesPool.obtain(this.sourceRowIndex,e),this.nodeType),this.orderViews.set(e,t)),t}render(){const{rowsToRender:e,columnsToRender:t,rows:r,rowHeaders:i}=this.table;for(let s=0;s<e;s++){const e=this.table.renderedRowToSource(s),l=r.getRenderedNode(s);this.sourceRowIndex=e;const u=this.obtainOrderView(l),c=i.obtainOrderView(l);u.prependView(c).setSize(t).setOffset(this.table.renderedColumnToSource(0)).start();for(let r=0;r<t;r++){u.render();const t=u.getCurrentNode(),i=this.table.renderedColumnToSource(r);var a,o;if(Object(n["hasClass"])(t,"hide")||(t.className=""),t.removeAttribute("style"),t.removeAttribute("dir"),Object(n["removeAttribute"])(t,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.cellRenderer(e,i,t),this.table.isAriaEnabled())Object(n["setAttribute"])(t,[...t.hasAttribute("role")?[]:[Object(je["l"])()],Object(je["K"])(-1),Object(je["f"])(i+(null!==(a=null===(o=this.table.rowUtils)||void 0===o||null===(o=o.dataAccessObject)||void 0===o?void 0:o.rowHeaders.length)&&void 0!==a?a:0)+1)])}u.end()}}}function tt(e,t,r){return t=rt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rt(e){var t=nt(e,"string");return"symbol"==typeof t?t:t+""}function nt(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class it{constructor(e){let{cellRenderer:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};tt(this,"rootNode",void 0),tt(this,"rootDocument",void 0),tt(this,"rowHeaders",null),tt(this,"columnHeaders",null),tt(this,"colGroup",null),tt(this,"rows",null),tt(this,"cells",null),tt(this,"rowFilter",null),tt(this,"columnFilter",null),tt(this,"rowUtils",null),tt(this,"columnUtils",null),tt(this,"rowsToRender",0),tt(this,"columnsToRender",0),tt(this,"rowHeaderFunctions",[]),tt(this,"rowHeadersCount",0),tt(this,"columnHeaderFunctions",[]),tt(this,"columnHeadersCount",0),tt(this,"cellRenderer",void 0),this.rootNode=e,this.rootDocument=this.rootNode.ownerDocument,this.cellRenderer=t}setAxisUtils(e,t){this.rowUtils=e,this.columnUtils=t}setViewportSize(e,t){this.rowsToRender=e,this.columnsToRender=t}setFilters(e,t){this.rowFilter=e,this.columnFilter=t}setHeaderContentRenderers(e,t){this.rowHeaderFunctions=e,this.rowHeadersCount=e.length,this.columnHeaderFunctions=t,this.columnHeadersCount=t.length}setRenderers(){let{rowHeaders:e,columnHeaders:t,colGroup:r,rows:n,cells:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.setTable(this),t.setTable(this),r.setTable(this),n.setTable(this),i.setTable(this),this.rowHeaders=e,this.columnHeaders=t,this.colGroup=r,this.rows=n,this.cells=i}renderedRowToSource(e){return this.rowFilter.renderedToSource(e)}renderedColumnToSource(e){return this.columnFilter.renderedToSource(e)}isAriaEnabled(){return this.rowUtils.wtSettings.getSetting("ariaTags")}render(){this.colGroup.adjust(),this.columnHeaders.adjust(),this.rows.adjust(),this.rowHeaders.adjust(),this.columnHeaders.render(),this.rows.render(),this.rowHeaders.render(),this.cells.render(),this.columnUtils.calculateWidths(),this.colGroup.render();const{rowsToRender:e,rows:t}=this;for(let r=0;r<e;r++){const e=t.getRenderedNode(r);if(e.firstChild){const t=this.renderedRowToSource(r),n=this.rowUtils.getHeight(t);e.firstChild.style.height=n?n-1+"px":""}}}}class at{constructor(){let{TABLE:e,THEAD:t,COLGROUP:r,TBODY:n,rowUtils:i,columnUtils:a,cellRenderer:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.renderer=new it(e,{cellRenderer:o}),this.renderer.setRenderers({rowHeaders:new Ue,columnHeaders:new Ve(t),colGroup:new We(r),rows:new Ze(n),cells:new et}),this.renderer.setAxisUtils(i,a)}setFilters(e,t){return this.renderer.setFilters(e,t),this}setViewportSize(e,t){return this.renderer.setViewportSize(e,t),this}setHeaderContentRenderers(e,t){return this.renderer.setHeaderContentRenderers(e,t),this}adjust(){this.renderer.adjust()}render(){this.renderer.render()}}function ot(e,t,r){st(e,t),t.set(e,r)}function st(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function lt(e,t,r){return t=ut(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ut(e){var t=ct(e,"string");return"symbol"==typeof t?t:t+""}function ct(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function dt(e,t){return e.get(pt(e,t))}function ht(e,t,r){return e.set(pt(e,t),r),r}function pt(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var ft=new WeakMap,mt=new WeakMap,gt=new WeakMap,vt=new WeakMap,bt=new WeakMap;class yt{static get DEFAULT_WIDTH(){return 50}constructor(e){let{totalColumns:t,stretchMode:r,stretchingColumnWidthFn:n,columnWidthFn:i}=e;lt(this,"stretchAllRatio",0),lt(this,"stretchLastWidth",0),lt(this,"stretchAllColumnsWidth",[]),ot(this,ft,0),lt(this,"needVerifyLastColumnWidth",!0),ot(this,mt,()=>0),ot(this,gt,e=>e),ot(this,vt,e=>e),ot(this,bt,()=>"none"),ht(mt,this,t),ht(bt,this,r),ht(gt,this,null!==n&&void 0!==n?n:dt(gt,this)),ht(vt,this,null!==i&&void 0!==i?i:dt(vt,this))}refreshStretching(e){if("none"===dt(bt,this).call(this))return;ht(ft,this,e);let t=0;for(let n=0;n<dt(mt,this).call(this);n++){const r=this._getColumnWidth(n),i=dt(gt,this).call(this,void 0,n);"number"===typeof i?e-=i:t+=r}const r=e-t;if("all"===dt(bt,this).call(this)&&r>0)this.stretchAllRatio=e/t,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0;else if("last"===dt(bt,this).call(this)&&e!==1/0){const e=this._getColumnWidth(dt(mt,this).call(this)-1),t=r+e;this.stretchLastWidth=t>=0?t:e}}getStretchedColumnWidth(e,t){let r=null;return"all"===dt(bt,this).call(this)&&0!==this.stretchAllRatio?r=this._getStretchedAllColumnWidth(e,t):"last"===dt(bt,this).call(this)&&0!==this.stretchLastWidth&&(r=this._getStretchedLastColumnWidth(e)),r}_getStretchedAllColumnWidth(e,t){let r=0;if(!this.stretchAllColumnsWidth[e]){const r=Math.round(t*this.stretchAllRatio),n=dt(gt,this).call(this,r,e);this.stretchAllColumnsWidth[e]=void 0===n?r:isNaN(n)?this._getColumnWidth(e):n}if(this.stretchAllColumnsWidth.length===dt(mt,this).call(this)&&this.needVerifyLastColumnWidth){this.needVerifyLastColumnWidth=!1;for(let e=0;e<this.stretchAllColumnsWidth.length;e++)r+=this.stretchAllColumnsWidth[e];r!==dt(ft,this)&&(this.stretchAllColumnsWidth[this.stretchAllColumnsWidth.length-1]+=dt(ft,this)-r)}return this.stretchAllColumnsWidth[e]}_getStretchedLastColumnWidth(e){return e===dt(mt,this).call(this)-1?this.stretchLastWidth:null}_getColumnWidth(e){let t=dt(vt,this).call(this,e);return isNaN(t)&&(t=yt.DEFAULT_WIDTH),t}}function wt(e,t,r){return t=_t(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _t(e){var t=St(e,"string");return"symbol"==typeof t?t:t+""}function St(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Et{constructor(e,t){wt(this,"dataAccessObject",void 0),wt(this,"wtSettings",void 0),wt(this,"headerWidths",new Map),wt(this,"stretching",void 0),this.dataAccessObject=e,this.wtSettings=t,this.stretching=new yt({totalColumns:()=>this.wtSettings.getSetting("totalColumns"),stretchMode:()=>this.wtSettings.getSetting("stretchH"),stretchingColumnWidthFn:(e,t)=>this.wtSettings.getSetting("onBeforeStretchingColumnWidth",e,t),columnWidthFn:e=>this.dataAccessObject.wtTable.getColumnWidth(e)})}getWidth(e){return this.wtSettings.getSetting("columnWidth",e)||this.wtSettings.getSetting("defaultColumnWidth")}getStretchedColumnWidth(e){let t=this.getWidth(e);const r=this.stretching.getStretchedColumnWidth(e,t);return r&&(t=r),t}getHeaderHeight(e){let t=this.wtSettings.getSetting("defaultRowHeight");const r=this.dataAccessObject.wtViewport.oversizedColumnHeaders[e];return void 0!==r&&(t=t?Math.max(t,r):r),t}getHeaderWidth(e){return this.headerWidths.get(this.dataAccessObject.wtTable.columnFilter.sourceToRendered(e))}refreshStretching(){const{wtTable:e,wtViewport:t,cloneSource:r}=this.dataAccessObject,i=r?r.wtTable.holder:e.holder,a=i.offsetHeight<i.scrollHeight?Object(n["getScrollbarWidth"])():0;this.stretching.refreshStretching(t.getViewportWidth()-a)}calculateWidths(){const{wtSettings:e}=this;let t=e.getSetting("rowHeaderWidth");if(this.refreshStretching(),t=e.getSetting("onModifyRowHeaderWidth",t),null!==t&&void 0!==t){const r=e.getSetting("rowHeaders").length,n=e.getSetting("defaultColumnWidth");for(let e=0;e<r;e++){let r=Array.isArray(t)?t[e]:t;r=null===r||void 0===r?n:r,this.headerWidths.set(e,r)}}}}function Mt(e,t,r){return t=Tt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e){var t=Ct(e,"string");return"symbol"==typeof t?t:t+""}function Ct(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class xt{constructor(e,t){Mt(this,"dataAccessObject",void 0),Mt(this,"wtSettings",void 0),this.dataAccessObject=e,this.wtSettings=t}getHeight(e){let t=this.wtSettings.getSetting("rowHeight",e);const r=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==r&&(t=void 0===t?r:Math.max(t,r)),t}}const At="top",Nt="bottom",Ot="inline_start",Rt="top_inline_start_corner",Lt="bottom_inline_start_corner",kt=[At,Nt,Ot,Rt,Lt],It=new Map([[At,"ht_clone_"+At],[Nt,"ht_clone_"+Nt],[Ot,`ht_clone_${Ot} ht_clone_left`],[Rt,`ht_clone_${Rt} ht_clone_top_left_corner`],[Lt,`ht_clone_${Lt} ht_clone_bottom_left_corner`]]);function Dt(e,t,r){return t=Pt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pt(e){var t=jt(e,"string");return"symbol"==typeof t?t:t+""}function jt(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ft{constructor(e,t,r,i,a){Dt(this,"wtSettings",null),Dt(this,"domBindings",void 0),Dt(this,"TBODY",null),Dt(this,"THEAD",null),Dt(this,"COLGROUP",null),Dt(this,"hasTableHeight",!0),Dt(this,"hasTableWidth",!0),Dt(this,"isTableVisible",!1),Dt(this,"tableOffset",0),Dt(this,"holderOffset",0),this.domBindings=r,this.isMaster="master"===a,this.name=a,this.dataAccessObject=e,this.facadeGetter=t,this.wtSettings=i,this.instance=this.dataAccessObject.wot,this.wot=this.dataAccessObject.wot,this.TABLE=r.rootTable,Object(n["removeTextNodes"])(this.TABLE),this.spreader=this.createSpreader(this.TABLE),this.hider=this.createHider(this.spreader),this.holder=this.createHolder(this.hider),this.wtRootElement=this.holder.parentNode,this.isMaster&&this.alignOverlaysWithTrimmingContainer(),this.fixTableDomTree(),this.rowFilter=null,this.columnFilter=null,this.correctHeaderWidth=!1;const o=this.wtSettings.getSettingPure("rowHeaderWidth");this.wtSettings.update("rowHeaderWidth",()=>this._modifyRowHeaderWidth(o)),this.rowUtils=new xt(this.dataAccessObject,this.wtSettings),this.columnUtils=new Et(this.dataAccessObject,this.wtSettings),this.tableRenderer=new at({TABLE:this.TABLE,THEAD:this.THEAD,COLGROUP:this.COLGROUP,TBODY:this.TBODY,rowUtils:this.rowUtils,columnUtils:this.columnUtils,cellRenderer:this.wtSettings.getSettingPure("cellRenderer")})}is(e){return this.name===e}fixTableDomTree(){const e=this.domBindings.rootDocument;this.TBODY=this.TABLE.querySelector("tbody"),this.TBODY||(this.TBODY=e.createElement("tbody"),this.TABLE.appendChild(this.TBODY)),this.THEAD=this.TABLE.querySelector("thead"),this.THEAD||(this.THEAD=e.createElement("thead"),this.TABLE.insertBefore(this.THEAD,this.TBODY)),this.COLGROUP=this.TABLE.querySelector("colgroup"),this.COLGROUP||(this.COLGROUP=e.createElement("colgroup"),this.TABLE.insertBefore(this.COLGROUP,this.THEAD))}createSpreader(e){const t=e.parentNode;let r;return t&&t.nodeType===Node.ELEMENT_NODE&&Object(n["hasClass"])(t,"wtHolder")||(r=this.domBindings.rootDocument.createElement("div"),r.className="wtSpreader",t&&t.insertBefore(r,e),r.appendChild(e)),r.style.position="relative",this.wtSettings.getSetting("ariaTags")&&Object(n["setAttribute"])(r,[Object(je["x"])()]),r}createHider(e){const t=e.parentNode;let r;return t&&t.nodeType===Node.ELEMENT_NODE&&Object(n["hasClass"])(t,"wtHolder")||(r=this.domBindings.rootDocument.createElement("div"),r.className="wtHider",t&&t.insertBefore(r,e),r.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&Object(n["setAttribute"])(r,[Object(je["x"])()]),r}createHolder(e){const t=e.parentNode;let r;return t&&t.nodeType===Node.ELEMENT_NODE&&Object(n["hasClass"])(t,"wtHolder")||(r=this.domBindings.rootDocument.createElement("div"),r.style.position="relative",r.className="wtHolder",t&&t.insertBefore(r,e),this.isMaster&&(r.parentNode.className+="ht_master handsontable",r.parentNode.setAttribute("dir",this.wtSettings.getSettingPure("rtlMode")?"rtl":"ltr"),this.wtSettings.getSetting("ariaTags")&&Object(n["setAttribute"])(r.parentNode,[Object(je["x"])()])),r.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&Object(n["setAttribute"])(r,[Object(je["x"])()]),r}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this,{wtOverlays:r,wtViewport:i}=this.dataAccessObject,a=t.getSetting("totalRows"),o=t.getSetting("totalColumns"),s=t.getSetting("rowHeaders"),l=s.length,u=t.getSetting("columnHeaders"),c=u.length;let d=!1,h=e;if(this.isMaster&&(this.holderOffset=Object(n["offset"])(this.holder),h=i.createRenderCalculators(h),l&&!t.getSetting("fixedColumnsStart"))){const e=r.inlineStartOverlay.getScrollPosition(),t=this.correctHeaderWidth;this.correctHeaderWidth=0!==e,t!==this.correctHeaderWidth&&(h=!1)}if(this.isMaster&&(d=r.updateStateOfRendering()),h)this.isMaster&&(i.createVisibleCalculators(),i.createPartiallyVisibleCalculators()),r&&r.refresh(!0);else{this.isMaster?this.tableOffset=Object(n["offset"])(this.TABLE):this.tableOffset=this.dataAccessObject.parentTableOffset;const e=a>0?this.getFirstRenderedRow():0,t=o>0?this.getFirstRenderedColumn():0;this.rowFilter=new he(e,a,c),this.columnFilter=new se(t,o,l);let r=!0;if(this.isMaster){this.alignOverlaysWithTrimmingContainer();const e={};this.wtSettings.getSetting("beforeDraw",!0,e),r=!0!==e.skipRender}if(r){let e;if(this.tableRenderer.setHeaderContentRenderers(s,u),(this.is(Nt)||this.is(Lt))&&this.tableRenderer.setHeaderContentRenderers(s,[]),this.resetOversizedRows(),this.tableRenderer.setViewportSize(this.getRenderedRowsCount(),this.getRenderedColumnsCount()).setFilters(this.rowFilter,this.columnFilter).render(),this.isMaster&&(e=this.dataAccessObject.workspaceWidth,this.dataAccessObject.wtViewport.containerWidth=null,this.markOversizedColumnHeaders()),this.adjustColumnHeaderHeights(),(this.isMaster||this.is(Nt))&&this.markOversizedRows(),this.isMaster){this.dataAccessObject.wtViewport.createVisibleCalculators(),this.dataAccessObject.wtViewport.createPartiallyVisibleCalculators(),this.dataAccessObject.wtOverlays.refresh(!1),this.dataAccessObject.wtOverlays.applyToDOM();const t=Object(n["outerWidth"])(this.hider),r=Object(n["outerWidth"])(this.TABLE);0!==t&&r!==t&&(this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),e!==this.dataAccessObject.wtViewport.getWorkspaceWidth()&&(this.dataAccessObject.wtViewport.containerWidth=null,this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),this.wtSettings.getSetting("onDraw",!0)}else this.is(Nt)&&this.dataAccessObject.cloneSource.wtOverlays.adjustElementsSize()}}let p=!1;return this.isMaster&&(p=r.topOverlay.resetFixedPosition(),r.bottomOverlay.clone&&(p=r.bottomOverlay.resetFixedPosition()||p),p=r.inlineStartOverlay.resetFixedPosition()||p,r.topInlineStartCornerOverlay&&r.topInlineStartCornerOverlay.resetFixedPosition(),r.bottomInlineStartCornerOverlay&&r.bottomInlineStartCornerOverlay.clone&&r.bottomInlineStartCornerOverlay.resetFixedPosition()),p?(r.refreshAll(),r.adjustElementsSize()):this.dataAccessObject.selectionManager.setActiveOverlay(this.facadeGetter()).render(h),d&&r.syncScrollWithMaster(),this.dataAccessObject.drawn=!0,this}markIfOversizedColumnHeader(e){const t=this.columnFilter.renderedToSource(e);let r=this.wtSettings.getSetting("columnHeaders").length;const i=this.wtSettings.getSetting("defaultRowHeight");let a,o,s;const l=this.wtSettings.getSetting("columnHeaderHeight")||[];while(r)r-=1,a=this.getColumnHeaderHeight(r),o=this.getColumnHeader(t,r),o&&(s=Object(n["innerHeight"])(o),(!a&&i<s||a<s)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[r]=s),Array.isArray(l)?null!==l[r]&&void 0!==l[r]&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[r]=l[r]):isNaN(l)||(this.dataAccessObject.wtViewport.oversizedColumnHeaders[r]=l),this.dataAccessObject.wtViewport.oversizedColumnHeaders[r]<(l[r]||l)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[r]=l[r]||l))}adjustColumnHeaderHeights(){const{wtSettings:e}=this,t=this.THEAD.childNodes,r=this.dataAccessObject.wtViewport.oversizedColumnHeaders,n=e.getSetting("columnHeaders");for(let i=0,a=n.length;i<a;i++)if(r[i]){if(!t[i]||0===t[i].childNodes.length)return;t[i].childNodes[0].style.height=r[i]+"px"}}resetOversizedRows(){const{wtSettings:e}=this,{wtViewport:t}=this.dataAccessObject;if((this.isMaster||this.is(Nt))&&!e.getSetting("externalRowCalculator")){const e=this.getRenderedRowsCount();for(let r=0;r<e;r++){const e=this.rowFilter.renderedToSource(r);t.oversizedRows&&t.oversizedRows[e]&&(t.oversizedRows[e]=void 0)}}}getCell(e){let t=e.row,r=e.col;const n=this.wtSettings.getSetting("onModifyGetCellCoords",t,r);if(n&&Array.isArray(n)&&([t,r]=n),this.isRowBeforeRenderedRows(t))return-1;if(this.isRowAfterRenderedRows(t))return-2;if(this.isColumnBeforeRenderedColumns(r))return-3;if(this.isColumnAfterRenderedColumns(r))return-4;const i=this.getRow(t);if(!i&&t>=0)throw new Error("TR was expected to be rendered but is not");const a=i.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(r)];if(!a&&r>=0)throw new Error("TD or TH was expected to be rendered but is not");return a}getRow(e){let t=null,r=null;var n,i;e<0?(t=null===(n=this.rowFilter)||void 0===n?void 0:n.sourceRowToVisibleColHeadedRow(e),r=this.THEAD):(t=null===(i=this.rowFilter)||void 0===i?void 0:i.sourceToRendered(e),r=this.TBODY);return void 0!==t&&void 0!==r&&(!(r.childNodes.length<t+1)&&r.childNodes[t])}getColumnHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=this.THEAD.childNodes[t];return null===r||void 0===r?void 0:r.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e)]}getColumnHeaders(e){const t=[],r=this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e);return this.THEAD.childNodes.forEach(e=>{const n=e.childNodes[r];n&&t.push(n)}),t}getRowHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=this.wtSettings.getSetting("rowHeaders").length;if(t>=r)return;const n=this.rowFilter.sourceToRendered(e),i=n<0?this.rowFilter.sourceRowToVisibleColHeadedRow(e):n,a=n<0?this.THEAD:this.TBODY,o=a.childNodes[i];return null===o||void 0===o?void 0:o.childNodes[t]}getRowHeaders(e){const t=[],r=this.wtSettings.getSetting("rowHeaders").length;for(let n=0;n<r;n++){const r=this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)],i=null===r||void 0===r?void 0:r.childNodes[n];i&&t.push(i)}return t}getCoords(e){let t=e;if("TD"!==t.nodeName&&"TH"!==t.nodeName&&(t=Object(n["closest"])(t,["TD","TH"])),null===t)return null;const r=t.parentNode,i=r.parentNode;let a=Object(n["index"])(r),o=t.cellIndex;if(Object(n["overlayContainsElement"])(Rt,t,this.wtRootElement)||Object(n["overlayContainsElement"])(At,t,this.wtRootElement))"THEAD"===i.nodeName&&(a-=i.childNodes.length);else if(Object(n["overlayContainsElement"])(Lt,t,this.wtRootElement)||Object(n["overlayContainsElement"])(Nt,t,this.wtRootElement)){const e=this.wtSettings.getSetting("totalRows");a=e-i.childNodes.length+a}else a=i===this.THEAD?this.rowFilter.visibleColHeadedRowToSourceRow(a):this.rowFilter.renderedToSource(a);return o=Object(n["overlayContainsElement"])(Rt,t,this.wtRootElement)||Object(n["overlayContainsElement"])(Ot,t,this.wtRootElement)||Object(n["overlayContainsElement"])(Lt,t,this.wtRootElement)?this.columnFilter.offsettedTH(o):this.columnFilter.visibleRowHeadedColumnToSourceColumn(o),this.wot.createCellCoords(a,o)}markOversizedRows(){if(this.wtSettings.getSetting("externalRowCalculator"))return;let e=this.TBODY.childNodes.length;const t=e*this.wtSettings.getSetting("defaultRowHeight"),r=Object(n["innerHeight"])(this.TBODY)-1;let i,a,o,s,l;if(t!==r||this.wtSettings.getSetting("fixedRowsBottom"))while(e)e-=1,o=this.rowFilter.renderedToSource(e),i=this.getRowHeight(o),s=this.getTrForRow(o),l=s.querySelector("th"),a=l?Object(n["innerHeight"])(l):Object(n["innerHeight"])(s)-1,(!i&&this.wtSettings.getSetting("defaultRowHeight")<a||i<a)&&(a+=1,this.dataAccessObject.wtViewport.oversizedRows[o]=a)}getTrForRow(e){return this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)]}isColumnHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("rowHeaders"),r=t.length;return Math.abs(e)<=r}isRowHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("columnHeaders"),r=t.length;return Math.abs(e)<=r}isRowBeforeRenderedRows(e){const t=this.getFirstRenderedRow();return e<0&&t<=0?!this.isRowHeaderRendered(e):e<t}isRowAfterRenderedRows(e){return e>this.getLastRenderedRow()}isColumnBeforeRenderedColumns(e){const t=this.getFirstRenderedColumn();return e<0&&t<=0?!this.isColumnHeaderRendered(e):e<t}isColumnAfterRenderedColumns(e){return this.columnFilter&&e>this.getLastRenderedColumn()}isColumnAfterViewport(e){return this.columnFilter&&e>this.getLastVisibleColumn()}isRowAfterViewport(e){return this.rowFilter&&e>this.getLastVisibleRow()}isColumnBeforeViewport(e){return this.columnFilter&&this.columnFilter.sourceToRendered(e)<0&&e>=0}isLastRowFullyVisible(){return this.getLastVisibleRow()===this.getLastRenderedRow()}isLastColumnFullyVisible(){return this.getLastVisibleColumn()===this.getLastRenderedColumn()}allRowsInViewport(){return this.wtSettings.getSetting("totalRows")===this.getVisibleRowsCount()}allColumnsInViewport(){return this.wtSettings.getSetting("totalColumns")===this.getVisibleColumnsCount()}getRowHeight(e){return this.rowUtils.getHeight(e)}getColumnHeaderHeight(e){return this.columnUtils.getHeaderHeight(e)}getColumnWidth(e){return this.columnUtils.getWidth(e)}getStretchedColumnWidth(e){return this.columnUtils.getStretchedColumnWidth(e)}hasDefinedSize(){return this.hasTableHeight&&this.hasTableWidth}getWidth(){return Object(n["outerWidth"])(this.TABLE)}getHeight(){return Object(n["outerHeight"])(this.TABLE)}getTotalWidth(){const e=Object(n["outerWidth"])(this.hider);return 0!==e?e:this.getWidth()}getTotalHeight(){const e=Object(n["outerHeight"])(this.hider);return 0!==e?e:this.getHeight()}isVisible(){return Object(n["isVisible"])(this.TABLE)}_modifyRowHeaderWidth(e){let t=Object(i["isFunction"])(e)?e():null;return Array.isArray(t)?(t=[...t],t[t.length-1]=this._correctRowHeaderWidth(t[t.length-1])):t=this._correctRowHeaderWidth(t),t}_correctRowHeaderWidth(e){let t=e;return"number"!==typeof e&&(t=this.wtSettings.getSetting("defaultColumnWidth")),this.correctHeaderWidth&&(t+=1),t}}var Ht=Ft;const Bt="stickyRowsTop",Ut={getFirstRenderedRow(){const e=this.wtSettings.getSetting("totalRows");return 0===e?-1:0},getFirstVisibleRow(){return this.getFirstRenderedRow()},getFirstPartiallyVisibleRow(){return this.getFirstRenderedRow()},getLastRenderedRow(){return this.getRenderedRowsCount()-1},getLastVisibleRow(){return this.getLastRenderedRow()},getLastPartiallyVisibleRow(){return this.getLastRenderedRow()},getRenderedRowsCount(){const e=this.wtSettings.getSetting("totalRows");return Math.min(this.wtSettings.getSetting("fixedRowsTop"),e)},getVisibleRowsCount(){return this.getRenderedRowsCount()},getColumnHeadersCount(){return this.dataAccessObject.columnHeaders.length}};Object(u["defineGetter"])(Ut,"MIXIN_NAME",Bt,{writable:!1,enumerable:!1});var Vt=Ut;const Yt="calculatedColumns",zt={getFirstRenderedColumn(){const e=this.dataAccessObject.startColumnRendered;return null===e?-1:e},getFirstVisibleColumn(){const e=this.dataAccessObject.startColumnVisible;return null===e?-1:e},getFirstPartiallyVisibleColumn(){const e=this.dataAccessObject.startColumnPartiallyVisible;return null===e?-1:e},getLastRenderedColumn(){const e=this.dataAccessObject.endColumnRendered;return null===e?-1:e},getLastVisibleColumn(){const e=this.dataAccessObject.endColumnVisible;return null===e?-1:e},getLastPartiallyVisibleColumn(){const e=this.dataAccessObject.endColumnPartiallyVisible;return null===e?-1:e},getRenderedColumnsCount(){return this.dataAccessObject.countColumnsRendered},getVisibleColumnsCount(){return this.dataAccessObject.countColumnsVisible},getRowHeadersCount(){return this.dataAccessObject.rowHeaders.length}};Object(u["defineGetter"])(zt,"MIXIN_NAME",Yt,{writable:!1,enumerable:!1});var Wt=zt;class qt extends Ht{constructor(e,t,r,n){super(e,t,r,n,At)}}Object(u["mixin"])(qt,Vt),Object(u["mixin"])(qt,Wt);var Gt=qt;function Kt(e,t){Xt(e,t),t.add(e)}function Xt(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zt(e,t,r){return t=$t(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $t(e){var t=Jt(e,"string");return"symbol"==typeof t?t:t+""}function Jt(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Qt(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var er=new WeakSet;class tr{constructor(e){Kt(this,er),Zt(this,"dataAccessObject",void 0),this.dataAccessObject=e}scrollViewport(e,t,r,n,i){const a=this.scrollViewportHorizontally(e.col,r,i),o=this.scrollViewportVertically(e.row,t,n);return a||o}scrollViewportHorizontally(e,t,r){const{drawn:n,totalColumns:i}=this.dataAccessObject;if(!n||!Number.isInteger(e)||e<0||e>i)return!1;const a=void 0===t&&void 0===r,{fixedColumnsStart:o,inlineStartOverlay:s}=this.dataAccessObject;if(a&&e<o)return!1;if(e=this.dataAccessObject.wtSettings.getSetting("onBeforeViewportScrollHorizontally",e),!Number.isInteger(e)||e<0||e>i)return!1;const l=this.getFirstVisibleColumn(),u=this.getLastVisibleColumn();let c=!1;return(a&&(e<l||e>u)||!a)&&(c=s.scrollTo(e,a?e>=this.getLastPartiallyVisibleColumn():t)),c}scrollViewportVertically(e,t,r){const{drawn:n,totalRows:i}=this.dataAccessObject;if(!n||!Number.isInteger(e)||e<0||e>i)return!1;const a=void 0===t&&void 0===r,{fixedRowsBottom:o,fixedRowsTop:s,topOverlay:l}=this.dataAccessObject;if(a&&(e<s||e>i-o-1))return!1;if(e=this.dataAccessObject.wtSettings.getSetting("onBeforeViewportScrollVertically",e),!Number.isInteger(e)||e<0||e>i)return!1;const u=this.getFirstVisibleRow(),c=this.getLastVisibleRow();let d=!1;return(a&&(e<u||e>c)||!a)&&(d=l.scrollTo(e,a?e>=this.getLastPartiallyVisibleRow():r)),d}getFirstVisibleRow(){return this.dataAccessObject.wtTable.getFirstVisibleRow()}getLastVisibleRow(){return Qt(er,this,nr).call(this,this.dataAccessObject.wtTable.getLastVisibleRow())}getFirstPartiallyVisibleRow(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleRow()}getLastPartiallyVisibleRow(){return Qt(er,this,nr).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleRow())}getFirstVisibleColumn(){return this.dataAccessObject.wtTable.getFirstVisibleColumn()}getLastVisibleColumn(){return Qt(er,this,rr).call(this,this.dataAccessObject.wtTable.getLastVisibleColumn())}getFirstPartiallyVisibleColumn(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleColumn()}getLastPartiallyVisibleColumn(){return Qt(er,this,rr).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleColumn())}}function rr(e){const{wtSettings:t,inlineStartOverlay:r,wtTable:i,wtViewport:a,totalColumns:o,rootWindow:s}=this.dataAccessObject;if(r.mainTableScrollableElement===s){const l=t.getSetting("rtlMode");let u=null;if(l){const e=i.TABLE.getBoundingClientRect(),t=this.dataAccessObject.rootWindow.document,r=t.documentElement.offsetWidth;u=Math.abs(e.right-r)}else{const e=Object(n["offset"])(i.wtRootElement);u=e.left}const c=Math.abs(Object(n["getScrollLeft"])(s,s));if(u>c){const t=Object(n["innerWidth"])(s);let i=a.getRowHeaderWidth();for(let n=1;n<=o;n++)if(i+=r.sumCellSizes(n-1,n),u+i-c>=t){e=n-2;break}}}return e}function nr(e){const{topOverlay:t,wtTable:r,wtViewport:i,totalRows:a,rootWindow:o}=this.dataAccessObject;if(t.mainTableScrollableElement===o){const s=Object(n["offset"])(r.wtRootElement),l=Object(n["getScrollTop"])(o,o);if(s.top>l){const r=Object(n["innerHeight"])(o);let u=i.getColumnHeaderHeight();for(let n=1;n<=a;n++)if(u+=t.sumCellSizes(n-1,n),s.top+u-l>=r){e=n-2;break}}}return e}var ir=tr,ar=r("0716"),or=r("d852");function sr(e,t,r){return t=lr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lr(e){var t=ur(e,"string");return"symbol"==typeof t?t:t+""}function ur(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class cr{get eventManager(){return new l["a"](this)}constructor(e,t){sr(this,"wtTable",void 0),sr(this,"wtScroll",void 0),sr(this,"wtViewport",void 0),sr(this,"wtOverlays",void 0),sr(this,"selectionManager",void 0),sr(this,"wtEvent",void 0),sr(this,"guid","wt_"+Object(D["randomString"])()),sr(this,"drawInterrupted",!1),sr(this,"drawn",!1),sr(this,"domBindings",void 0),sr(this,"wtSettings",void 0),this.domBindings={rootTable:e,rootDocument:e.ownerDocument,rootWindow:e.ownerDocument.defaultView},this.wtSettings=t,this.wtScroll=new ir(this.createScrollDao())}findOriginalHeaders(){const e=[];if(this.wtTable.THEAD.childNodes.length&&this.wtTable.THEAD.childNodes[0].childNodes.length){for(let t=0,r=this.wtTable.THEAD.childNodes[0].childNodes.length;t<r;t++)e.push(this.wtTable.THEAD.childNodes[0].childNodes[t].innerHTML);this.wtSettings.getSetting("columnHeaders").length||this.wtSettings.update("columnHeaders",[function(t,r){Object(n["fastInnerText"])(r,e[t])}])}}createCellCoords(e,t){return new ar["a"](e,t,this.wtSettings.getSetting("rtlMode"))}createCellRange(e,t,r){return new or["a"](e,t,r,this.wtSettings.getSetting("rtlMode"))}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.drawInterrupted=!1,e||this.wtTable.isVisible()?this.wtTable.draw(e):this.drawInterrupted=!0,this}getCell(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return this.wtTable.getCell(e);const r=this.wtSettings.getSetting("totalRows"),n=this.wtSettings.getSetting("fixedRowsTop"),i=this.wtSettings.getSetting("fixedRowsBottom"),a=this.wtSettings.getSetting("fixedColumnsStart");if(e.row<n&&e.col<a)return this.wtOverlays.topInlineStartCornerOverlay.clone.wtTable.getCell(e);if(e.row<n)return this.wtOverlays.topOverlay.clone.wtTable.getCell(e);if(e.col<a&&e.row>=r-i){if(this.wtOverlays.bottomInlineStartCornerOverlay&&this.wtOverlays.bottomInlineStartCornerOverlay.clone)return this.wtOverlays.bottomInlineStartCornerOverlay.clone.wtTable.getCell(e)}else{if(e.col<a)return this.wtOverlays.inlineStartOverlay.clone.wtTable.getCell(e);if(e.row<r&&e.row>=r-i&&this.wtOverlays.bottomOverlay&&this.wtOverlays.bottomOverlay.clone)return this.wtOverlays.bottomOverlay.clone.wtTable.getCell(e)}return this.wtTable.getCell(e)}scrollViewport(e,t,r,n,i){return!(e.col<0||e.row<0)&&this.wtScroll.scrollViewport(e,t,r,n,i)}scrollViewportHorizontally(e,t,r){return!(e<0)&&this.wtScroll.scrollViewportHorizontally(e,t,r)}scrollViewportVertically(e,t,r){return!(e<0)&&this.wtScroll.scrollViewportVertically(e,t,r)}getViewport(){return[this.wtTable.getFirstVisibleRow(),this.wtTable.getFirstVisibleColumn(),this.wtTable.getLastVisibleRow(),this.wtTable.getLastVisibleColumn()]}destroy(){this.wtOverlays.destroy(),this.wtEvent.destroy()}createScrollDao(){const e=this;return{get drawn(){return e.drawn},get topOverlay(){return e.wtOverlays.topOverlay},get inlineStartOverlay(){return e.wtOverlays.inlineStartOverlay},get wtTable(){return e.wtTable},get wtViewport(){return e.wtViewport},get wtSettings(){return e.wtSettings},get rootWindow(){return e.domBindings.rootWindow},get totalRows(){return e.wtSettings.getSetting("totalRows")},get totalColumns(){return e.wtSettings.getSetting("totalColumns")},get fixedRowsTop(){return e.wtSettings.getSetting("fixedRowsTop")},get fixedRowsBottom(){return e.wtSettings.getSetting("fixedRowsBottom")},get fixedColumnsStart(){return e.wtSettings.getSetting("fixedColumnsStart")}}}getTableDao(){const e=this;return{get wot(){return e},get parentTableOffset(){return e.cloneSource.wtTable.tableOffset},get cloneSource(){return e.cloneSource},get workspaceWidth(){return e.wtViewport.getWorkspaceWidth()},get wtViewport(){return e.wtViewport},get wtOverlays(){return e.wtOverlays},get selectionManager(){return e.selectionManager},get drawn(){return e.drawn},set drawn(t){e.drawn=t},get wtTable(){return e.wtTable},get startColumnRendered(){return e.wtViewport.columnsRenderCalculator.startColumn},get startColumnVisible(){return e.wtViewport.columnsVisibleCalculator.startColumn},get startColumnPartiallyVisible(){return e.wtViewport.columnsPartiallyVisibleCalculator.startColumn},get endColumnRendered(){return e.wtViewport.columnsRenderCalculator.endColumn},get endColumnVisible(){return e.wtViewport.columnsVisibleCalculator.endColumn},get endColumnPartiallyVisible(){return e.wtViewport.columnsPartiallyVisibleCalculator.endColumn},get countColumnsRendered(){return e.wtViewport.columnsRenderCalculator.count},get countColumnsVisible(){return e.wtViewport.columnsVisibleCalculator.count},get startRowRendered(){return e.wtViewport.rowsRenderCalculator.startRow},get startRowVisible(){return e.wtViewport.rowsVisibleCalculator.startRow},get startRowPartiallyVisible(){return e.wtViewport.rowsPartiallyVisibleCalculator.startRow},get endRowRendered(){return e.wtViewport.rowsRenderCalculator.endRow},get endRowVisible(){return e.wtViewport.rowsVisibleCalculator.endRow},get endRowPartiallyVisible(){return e.wtViewport.rowsPartiallyVisibleCalculator.endRow},get countRowsRendered(){return e.wtViewport.rowsRenderCalculator.count},get countRowsVisible(){return e.wtViewport.rowsVisibleCalculator.count},get columnHeaders(){return e.wtSettings.getSetting("columnHeaders")},get rowHeaders(){return e.wtSettings.getSetting("rowHeaders")}}}}function dr(e,t,r){return t=hr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hr(e){var t=pr(e,"string");return"symbol"==typeof t?t:t+""}function pr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class fr extends cr{constructor(e,t,r){super(e,t),dr(this,"cloneSource",void 0),dr(this,"cloneOverlay",void 0);const n=this.wtSettings.getSetting("facade",this);this.cloneSource=r.source,this.cloneOverlay=r.overlay,this.wtTable=this.cloneOverlay.createTable(this.getTableDao(),n,this.domBindings,this.wtSettings),this.wtViewport=r.viewport,this.selectionManager=r.selectionManager,this.wtEvent=new te(n,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager,r.event),this.findOriginalHeaders()}}function mr(e,t,r){return t=gr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gr(e){var t=vr(e,"string");return"symbol"==typeof t?t:t+""}function vr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class br{constructor(e,t,r,i,a){mr(this,"wtSettings",null),Object(u["defineGetter"])(this,"wot",e,{writable:!1}),this.domBindings=a,this.facadeGetter=t,this.wtSettings=i;const{TABLE:o,hider:s,spreader:l,holder:c,wtRootElement:d}=this.wot.wtTable;this.instance=this.wot,this.type=r,this.mainTableScrollableElement=null,this.TABLE=o,this.hider=s,this.spreader=l,this.holder=c,this.wtRootElement=d,this.trimmingContainer=Object(n["getTrimmingContainer"])(this.hider.parentNode.parentNode),this.updateStateOfRendering(),this.clone=this.makeClone()}updateStateOfRendering(){const e=this.needFullRender;this.needFullRender=this.shouldBeRendered();const t=e!==this.needFullRender;return t&&!this.needFullRender&&this.reset(),t}shouldBeRendered(){return!0}updateTrimmingContainer(){this.trimmingContainer=Object(n["getTrimmingContainer"])(this.hider.parentNode.parentNode)}updateMainScrollableElement(){const{wtTable:e}=this.wot,{rootWindow:t}=this.domBindings;"hidden"===t.getComputedStyle(e.wtRootElement.parentNode).getPropertyValue("overflow")?this.mainTableScrollableElement=this.wot.wtTable.holder:this.mainTableScrollableElement=Object(n["getScrollableElement"])(e.TABLE)}getRelativeCellPosition(e,t,r){if(!1===this.clone.wtTable.holder.contains(e))return void Object(c["b"])(`The provided element is not a child of the ${this.type} overlay`);const n=this.mainTableScrollableElement===this.domBindings.rootWindow,i=r<this.wtSettings.getSetting("fixedColumnsStart"),a=t<this.wtSettings.getSetting("fixedRowsTop"),o=t>=this.wtSettings.getSetting("totalRows")-this.wtSettings.getSetting("fixedRowsBottom"),s=this.clone.wtTable.spreader,l={start:this.getRelativeStartPosition(s),top:s.offsetTop},u={start:this.getRelativeStartPosition(e),top:e.offsetTop};let d=null;return d=n?this.getRelativeCellPositionWithinWindow(a,i,u,l):this.getRelativeCellPositionWithinHolder(a,o,i,u,l),d}getRelativeStartPosition(e){return this.isRtl()?e.offsetParent.offsetWidth-e.offsetLeft-e.offsetWidth:e.offsetLeft}getRelativeCellPositionWithinWindow(e,t,r,i){const a=this.wot.wtTable.wtRootElement.getBoundingClientRect();let o=0,s=0;if(t){let e=a.left;this.isRtl()&&(e=this.domBindings.rootWindow.innerWidth-(a.left+a.width+Object(n["getScrollbarWidth"])())),o=e<=0?-1*e:0}else o=i.start;if(e){const e=this.clone.wtTable.TABLE.getBoundingClientRect();s=e.top-a.top}else s=i.top;return{start:r.start+o,top:r.top+s}}getRelativeCellPositionWithinHolder(e,t,r,n,i){const a={horizontal:this.wot.wtOverlays.inlineStartOverlay.getScrollPosition(),vertical:this.wot.wtOverlays.topOverlay.getScrollPosition()};let o=0,s=0;if(r||(o=a.horizontal-i.start),t){const e=this.wot.wtTable.wtRootElement.getBoundingClientRect(),t=this.clone.wtTable.TABLE.getBoundingClientRect();s=-1*t.top+e.top}else e||(s=a.vertical-i.top);return{start:n.start-o,top:n.top-s}}makeClone(){if(-1===kt.indexOf(this.type))throw new Error(`Clone type "${this.type}" is not supported.`);const{wtTable:e,wtSettings:t}=this.wot,{rootDocument:r,rootWindow:i}=this.domBindings,a=r.createElement("div"),o=r.createElement("table"),s=e.wtRootElement.parentNode;a.className=It.get(this.type)+" handsontable",a.setAttribute("dir",this.isRtl()?"rtl":"ltr"),a.style.position="absolute",a.style.top=0,a.style.overflow="visible",this.isRtl()?a.style.right=0:a.style.left=0,t.getSetting("ariaTags")&&Object(n["setAttribute"])(a,[Object(je["x"])()]),o.className=e.TABLE.className;const l=e.TABLE.getAttribute("role");l&&o.setAttribute("role",e.TABLE.getAttribute("role")),a.appendChild(o),s.appendChild(a);const u=this.wtSettings.getSetting("preventOverflow");return!0===u||"horizontal"===u&&this.type===At||"vertical"===u&&this.type===Ot?this.mainTableScrollableElement=i:"hidden"===i.getComputedStyle(s).getPropertyValue("overflow")?this.mainTableScrollableElement=e.holder:this.mainTableScrollableElement=Object(n["getScrollableElement"])(e.TABLE),new fr(o,this.wtSettings,{source:this.wot,overlay:this,viewport:this.wot.wtViewport,event:this.wot.wtEvent,selectionManager:this.wot.selectionManager})}refresh(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.shouldBeRendered();this.clone&&(this.needFullRender||t)&&this.clone.draw(e),this.needFullRender=t}reset(){if(!this.clone)return;const e=this.clone.wtTable.holder,t=this.clone.wtTable.hider,r=e.style,n=t.style,i=e.parentNode.style;Object(N["arrayEach"])([r,n,i],e=>{e.width="",e.height=""})}isRtl(){return this.wtSettings.getSetting("rtlMode")}destroy(){this.clone.eventManager.destroy()}}const yr=Object.freeze({width:"6px",height:"6px",borderWidth:"1px",borderStyle:"solid",borderColor:"#FFF"});function wr(e,t,r){return t=_r(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _r(e){var t=Sr(e,"string");return"symbol"==typeof t?t:t+""}function Sr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Er extends br{constructor(e,t,r,n){super(e,t,At,r,n),wr(this,"cachedFixedRowsTop",-1),this.cachedFixedRowsTop=this.wtSettings.getSetting("fixedRowsTop")}createTable(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Gt(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderTopOverlay")}resetFixedPosition(){if(!this.needFullRender||!this.wot.wtTable.holder.parentNode)return!1;const e=this.clone.wtTable.holder.parentNode,{rootWindow:t}=this.domBindings,r=this.wtSettings.getSetting("preventOverflow");let i=0,a=!1;if(this.trimmingContainer!==t||r&&"vertical"===r)i=this.getScrollPosition(),Object(n["resetCssTransform"])(e);else{const{wtTable:t}=this.wot,r=t.hider.getBoundingClientRect(),o=Math.ceil(r.bottom),s=e.offsetHeight;a=o===s,i=this.getOverlayOffset(),Object(n["setOverlayPosition"])(e,"0px",i+"px")}const o=this.adjustHeaderBordersPosition(i,a);return this.adjustElementsSize(),o}setScrollPosition(e){const t=this.domBindings.rootWindow;let r=!1;return this.mainTableScrollableElement===t&&t.scrollY!==e?(t.scrollTo(Object(n["getWindowScrollLeft"])(t),e),r=!0):this.mainTableScrollableElement.scrollTop!==e&&(this.mainTableScrollableElement.scrollTop=e,r=!0),r}onScroll(){this.wtSettings.getSetting("onScrollHorizontally")}sumCellSizes(e,t){const r=this.wtSettings.getSetting("defaultRowHeight");let n=e,i=0;while(n<t){const e=this.wot.wtTable.getRowHeight(n);i+=void 0===e?r:e,n+=1}return i}adjustElementsSize(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.updateTrimmingContainer(),(this.needFullRender||e)&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e}=this.wot,{rootDocument:t,rootWindow:r}=this.domBindings,i=Object(n["getScrollbarWidth"])(t),a=this.clone.wtTable.holder.parentNode,o=a.style,s=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==r||"horizontal"===s){let t=this.wot.wtViewport.getWorkspaceWidth();this.wot.wtOverlays.hasScrollbarRight&&(t-=i),t=Math.min(t,e.wtRootElement.scrollWidth),o.width=t+"px"}else o.width="";this.clone.wtTable.holder.style.width=o.width;let l=Object(n["outerHeight"])(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(l=0),o.height=l+"px"}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable,t=this.wot.selectionManager.getFocusSelection()?parseInt(yr.height,10)/2:0;this.clone.wtTable.hider.style.width=this.hider.style.width,e.style.width=e.parentNode.style.width,e.style.height=parseInt(e.parentNode.style.height,10)+t+"px"}applyToDOM(){const e=this.wtSettings.getSetting("totalRows");if("number"===typeof this.wot.wtViewport.rowsRenderCalculator.startPosition)this.spreader.style.top=this.wot.wtViewport.rowsRenderCalculator.startPosition+"px";else{if(0!==e)throw new Error("Incorrect value of the rowsRenderCalculator");this.spreader.style.top="0"}this.spreader.style.bottom="",this.needFullRender&&this.syncOverlayOffset()}syncOverlayOffset(){const e=this.isRtl()?"right":"left",{spreader:t}=this.clone.wtTable;"number"===typeof this.wot.wtViewport.columnsRenderCalculator.startPosition?t.style[e]=this.wot.wtViewport.columnsRenderCalculator.startPosition+"px":t.style[e]=""}scrollTo(e,t){const{wot:r,wtSettings:i}=this,a=r.cloneSource?r.cloneSource:r,o=a.wtTable.holder,s=i.getSetting("columnHeaders"),l=i.getSetting("fixedRowsTop"),u=0===l&&s.length>0&&!Object(n["hasClass"])(o.parentNode,"innerBorderTop")?1:0;let c=this.getTableParentOffset(),d=0;if(t){const r=this.wot.wtTable.getRowHeight(e),n=this.wot.wtViewport.getViewportHeight();r>n&&(t=!1)}if(t&&o.offsetHeight!==o.clientHeight&&(d=Object(n["getScrollbarWidth"])(this.domBindings.rootDocument)),t){const t=i.getSetting("fixedRowsBottom"),n=i.getSetting("totalRows");c+=this.sumCellSizes(0,e+1),c-=r.wtViewport.getViewportHeight()-this.sumCellSizes(n-t,n),c+=1,c+=u}else c+=this.sumCellSizes(i.getSetting("fixedRowsTop"),e);return c+=d,Object(n["getMaximumScrollTop"])(this.mainTableScrollableElement)===c-u&&u>0&&this.wot.wtOverlays.expandHiderVerticallyBy(u),this.setScrollPosition(c)}getTableParentOffset(){return this.mainTableScrollableElement===this.domBindings.rootWindow?this.wot.wtTable.holderOffset.top:0}getScrollPosition(){return Object(n["getScrollTop"])(this.mainTableScrollableElement,this.domBindings.rootWindow)}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let r=0;if(this.trimmingContainer===e&&(!t||"vertical"!==t)){const e=this.wot.wtTable.getTotalHeight(),t=this.clone.wtTable.getTotalHeight(),n=e-t;r=Math.max(this.getScrollPosition()-this.getTableParentOffset(),0),r>n&&(r=0)}return r}adjustHeaderBordersPosition(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=this.wot.wtTable.holder.parentNode,i=this.wtSettings.getSetting("totalColumns");i?Object(n["removeClass"])(r,"emptyColumns"):Object(n["addClass"])(r,"emptyColumns");let a=!1;if(!t){const t=this.wtSettings.getSetting("fixedRowsTop"),i=this.cachedFixedRowsTop!==t,o=this.wtSettings.getSetting("columnHeaders");if((i||0===t)&&o.length>0){const t=Object(n["hasClass"])(r,"innerBorderTop");this.cachedFixedRowsTop=this.wtSettings.getSetting("fixedRowsTop"),e||0===this.wtSettings.getSetting("totalRows")?(Object(n["addClass"])(r,"innerBorderTop"),a=!t):(Object(n["removeClass"])(r,"innerBorderTop"),a=t)}}return a}}const Mr="stickyRowsBottom",Tr={getFirstRenderedRow(){const e=this.wtSettings.getSetting("totalRows"),t=this.wtSettings.getSetting("fixedRowsBottom"),r=e-t;return 0===e||0===t?-1:r<0?0:r},getFirstVisibleRow(){return this.getFirstRenderedRow()},getFirstPartiallyVisibleRow(){return this.getFirstRenderedRow()},getLastRenderedRow(){return this.wtSettings.getSetting("totalRows")-1},getLastVisibleRow(){return this.getLastRenderedRow()},getLastPartiallyVisibleRow(){return this.getLastRenderedRow()},getRenderedRowsCount(){const e=this.wtSettings.getSetting("totalRows");return Math.min(this.wtSettings.getSetting("fixedRowsBottom"),e)},getVisibleRowsCount(){return this.getRenderedRowsCount()},getColumnHeadersCount(){return 0}};Object(u["defineGetter"])(Tr,"MIXIN_NAME",Mr,{writable:!1,enumerable:!1});var Cr=Tr;class xr extends Ht{constructor(e,t,r,n){super(e,t,r,n,Nt)}}Object(u["mixin"])(xr,Cr),Object(u["mixin"])(xr,Wt);var Ar=xr;function Nr(e,t,r){return t=Or(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Or(e){var t=Rr(e,"string");return"symbol"==typeof t?t:t+""}function Rr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Lr extends br{constructor(e,t,r,n){super(e,t,Nt,r,n),Nr(this,"cachedFixedRowsBottom",-1),this.cachedFixedRowsBottom=this.wtSettings.getSetting("fixedRowsBottom")}createTable(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Ar(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderBottomOverlay")}resetFixedPosition(){if(!this.needFullRender||!this.wot.wtTable.holder.parentNode)return!1;const{rootWindow:e}=this.domBindings,t=this.clone.wtTable.holder.parentNode;t.style.top="";let r=0;const n=this.wtSettings.getSetting("preventOverflow");this.trimmingContainer!==e||n&&"vertical"===n?(r=this.getScrollPosition(),this.repositionOverlay()):(r=this.getOverlayOffset(),t.style.bottom=r+"px");const i=this.adjustHeaderBordersPosition(r);return this.adjustElementsSize(),i}repositionOverlay(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:r}=this.domBindings,i=this.clone.wtTable.holder.parentNode;let a=0;t.hasVerticalScroll()||(a+=t.getWorkspaceHeight()-e.getTotalHeight()),t.hasVerticalScroll()&&t.hasHorizontalScroll()&&(a+=Object(n["getScrollbarWidth"])(r)),i.style.bottom=a+"px"}setScrollPosition(e){const{rootWindow:t}=this.domBindings;let r=!1;return this.mainTableScrollableElement===t?(t.scrollTo(Object(n["getWindowScrollLeft"])(t),e),r=!0):this.mainTableScrollableElement.scrollTop!==e&&(this.mainTableScrollableElement.scrollTop=e,r=!0),r}onScroll(){this.wtSettings.getSetting("onScrollHorizontally")}sumCellSizes(e,t){const{wtTable:r,wtSettings:n}=this.wot,i=n.getSetting("defaultRowHeight");let a=e,o=0;while(a<t){const e=r.getRowHeight(a);o+=void 0===e?i:e,a+=1}return o}adjustElementsSize(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.updateTrimmingContainer(),(this.needFullRender||e)&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:r,rootWindow:i}=this.domBindings,a=Object(n["getScrollbarWidth"])(r),o=this.clone.wtTable.holder.parentNode,s=o.style,l=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==i||"horizontal"===l){let r=t.getWorkspaceWidth();this.wot.wtOverlays.hasScrollbarRight&&(r-=a),r=Math.min(r,e.wtRootElement.scrollWidth),s.width=r+"px"}else s.width="";this.clone.wtTable.holder.style.width=s.width;let u=Object(n["outerHeight"])(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(u=0),s.height=u+"px"}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable;this.clone.wtTable.hider.style.width=this.hider.style.width,e.style.width=e.parentNode.style.width,e.style.height=e.parentNode.style.height}applyToDOM(){const e=this.wtSettings.getSetting("totalRows");if("number"===typeof this.wot.wtViewport.rowsRenderCalculator.startPosition)this.spreader.style.top=this.wot.wtViewport.rowsRenderCalculator.startPosition+"px";else{if(0!==e)throw new Error("Incorrect value of the rowsRenderCalculator");this.spreader.style.top="0"}this.spreader.style.bottom="",this.needFullRender&&this.syncOverlayOffset()}syncOverlayOffset(){const e=this.isRtl()?"right":"left",{spreader:t}=this.clone.wtTable;"number"===typeof this.wot.wtViewport.columnsRenderCalculator.startPosition?t.style[e]=this.wot.wtViewport.columnsRenderCalculator.startPosition+"px":t.style[e]=""}scrollTo(e,t){let r=this.getTableParentOffset();const i=this.wot.cloneSource?this.wot.cloneSource:this.wot,a=i.wtTable.holder;let o=0;t&&a.offsetHeight!==a.clientHeight&&(o=Object(n["getScrollbarWidth"])(this.domBindings.rootDocument)),t?(r+=this.sumCellSizes(0,e+1),r-=this.wot.wtViewport.getViewportHeight(),r+=1):r+=this.sumCellSizes(this.wtSettings.getSetting("fixedRowsBottom"),e),r+=o,this.setScrollPosition(r)}getTableParentOffset(){return this.mainTableScrollableElement===this.domBindings.rootWindow?this.wot.wtTable.holderOffset.top:0}getScrollPosition(){return Object(n["getScrollTop"])(this.mainTableScrollableElement,this.domBindings.rootWindow)}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let r=0;if(this.trimmingContainer===e&&(!t||"vertical"!==t)){const e=this.wot.wtTable.getTotalHeight(),t=this.clone.wtTable.getTotalHeight(),n=e-t,i=this.domBindings.rootDocument.documentElement.clientHeight;r=Math.max(this.getTableParentOffset()-this.getScrollPosition()-i+e,0),r>n&&(r=0)}return r}adjustHeaderBordersPosition(e){const t=this.wtSettings.getSetting("fixedRowsBottom"),r=this.cachedFixedRowsBottom!==t,i=this.wtSettings.getSetting("columnHeaders");let a=!1;if((r||0===t)&&i.length>0){const t=this.wot.wtTable.holder.parentNode,r=Object(n["hasClass"])(t,"innerBorderBottom");this.cachedFixedRowsBottom=this.wtSettings.getSetting("fixedRowsBottom"),e||0===this.wtSettings.getSetting("totalRows")?(Object(n["addClass"])(t,"innerBorderBottom"),a=!r):(Object(n["removeClass"])(t,"innerBorderBottom"),a=r)}return a}}const kr="calculatedRows",Ir={getFirstRenderedRow(){const e=this.dataAccessObject.startRowRendered;return null===e?-1:e},getFirstVisibleRow(){const e=this.dataAccessObject.startRowVisible;return null===e?-1:e},getFirstPartiallyVisibleRow(){const e=this.dataAccessObject.startRowPartiallyVisible;return null===e?-1:e},getLastRenderedRow(){const e=this.dataAccessObject.endRowRendered;return null===e?-1:e},getLastVisibleRow(){const e=this.dataAccessObject.endRowVisible;return null===e?-1:e},getLastPartiallyVisibleRow(){const e=this.dataAccessObject.endRowPartiallyVisible;return null===e?-1:e},getRenderedRowsCount(){return this.dataAccessObject.countRowsRendered},getVisibleRowsCount(){return this.dataAccessObject.countRowsVisible},getColumnHeadersCount(){return this.dataAccessObject.columnHeaders.length}};Object(u["defineGetter"])(Ir,"MIXIN_NAME",kr,{writable:!1,enumerable:!1});var Dr=Ir;const Pr="stickyColumnsStart",jr={getFirstRenderedColumn(){const e=this.wtSettings.getSetting("totalColumns");return 0===e?-1:0},getFirstVisibleColumn(){return this.getFirstRenderedColumn()},getFirstPartiallyVisibleColumn(){return this.getFirstRenderedColumn()},getLastRenderedColumn(){return this.getRenderedColumnsCount()-1},getLastVisibleColumn(){return this.getLastRenderedColumn()},getLastPartiallyVisibleColumn(){return this.getLastRenderedColumn()},getRenderedColumnsCount(){const e=this.wtSettings.getSetting("totalColumns");return Math.min(this.wtSettings.getSetting("fixedColumnsStart"),e)},getVisibleColumnsCount(){return this.getRenderedColumnsCount()},getRowHeadersCount(){return this.dataAccessObject.rowHeaders.length}};Object(u["defineGetter"])(jr,"MIXIN_NAME",Pr,{writable:!1,enumerable:!1});var Fr=jr;class Hr extends Ht{constructor(e,t,r,n){super(e,t,r,n,Ot)}}Object(u["mixin"])(Hr,Dr),Object(u["mixin"])(Hr,Fr);var Br=Hr;class Ur extends br{constructor(e,t,r,n){super(e,t,Ot,r,n)}createTable(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Br(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderInlineStartOverlay")}resetFixedPosition(){const{wtTable:e}=this.wot;if(!this.needFullRender||!e.holder.parentNode)return!1;const{rootWindow:t}=this.domBindings,r=this.clone.wtTable.holder.parentNode,i=this.wtSettings.getSetting("preventOverflow");let a=0;this.trimmingContainer!==t||i&&"horizontal"===i?(a=this.getScrollPosition(),Object(n["resetCssTransform"])(r)):(a=this.getOverlayOffset()*(this.isRtl()?-1:1),Object(n["setOverlayPosition"])(r,a+"px","0px"));const o=this.adjustHeaderBordersPosition(a);return this.adjustElementsSize(),o}setScrollPosition(e){const{rootWindow:t}=this.domBindings;let r=!1;return this.isRtl()&&(e=-e),this.mainTableScrollableElement===t&&t.scrollX!==e?(t.scrollTo(e,Object(n["getWindowScrollTop"])(t)),r=!0):this.mainTableScrollableElement.scrollLeft!==e&&(this.mainTableScrollableElement.scrollLeft=e,r=!0),r}onScroll(){this.wtSettings.getSetting("onScrollVertically")}sumCellSizes(e,t){const r=this.wtSettings.getSetting("defaultColumnWidth");let n=e,i=0;while(n<t)i+=this.wot.wtTable.getStretchedColumnWidth(n)||r,n+=1;return i}adjustElementsSize(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.updateTrimmingContainer(),(this.needFullRender||e)&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e}=this.wot,{rootDocument:t,rootWindow:r}=this.domBindings,i=Object(n["getScrollbarWidth"])(t),a=this.clone.wtTable.holder.parentNode,o=a.style,s=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==r||"vertical"===s){let t=this.wot.wtViewport.getWorkspaceHeight();this.wot.wtOverlays.hasScrollbarBottom&&(t-=i),t=Math.min(t,e.wtRootElement.scrollHeight),o.height=t+"px"}else o.height="";this.clone.wtTable.holder.style.height=o.height;const l=Object(n["outerWidth"])(this.clone.wtTable.TABLE);o.width=l+"px"}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable,t=this.wot.selectionManager.getFocusSelection()?parseInt(yr.width,10)/2:0;this.clone.wtTable.hider.style.height=this.hider.style.height,e.style.height=e.parentNode.style.height,e.style.width=parseInt(e.parentNode.style.width,10)+t+"px"}applyToDOM(){const e=this.wtSettings.getSetting("totalColumns"),t=this.isRtl()?"right":"left";if("number"===typeof this.wot.wtViewport.columnsRenderCalculator.startPosition)this.spreader.style[t]=this.wot.wtViewport.columnsRenderCalculator.startPosition+"px";else{if(0!==e)throw new Error("Incorrect value of the columnsRenderCalculator");this.spreader.style[t]="0"}this.isRtl()?this.spreader.style.left="":this.spreader.style.right="",this.needFullRender&&this.syncOverlayOffset()}syncOverlayOffset(){"number"===typeof this.wot.wtViewport.rowsRenderCalculator.startPosition?this.clone.wtTable.spreader.style.top=this.wot.wtViewport.rowsRenderCalculator.startPosition+"px":this.clone.wtTable.spreader.style.top=""}scrollTo(e,t){const{wtSettings:r}=this,i=r.getSetting("rowHeaders"),a=r.getSetting("fixedColumnsStart"),o=this.wot.cloneSource?this.wot.cloneSource:this.wot,s=o.wtTable.holder,l=0===a&&i.length>0&&!Object(n["hasClass"])(s.parentNode,"innerBorderInlineStart")?1:0;let u=this.getTableParentOffset(),c=0;if(t){const r=this.wot.wtTable.getColumnWidth(e),n=this.wot.wtViewport.getViewportWidth();r>n&&(t=!1)}return t&&s.offsetWidth!==s.clientWidth&&(c=Object(n["getScrollbarWidth"])(this.domBindings.rootDocument)),t?(u+=this.sumCellSizes(0,e+1),u-=this.wot.wtViewport.getViewportWidth(),u+=l):u+=this.sumCellSizes(this.wtSettings.getSetting("fixedColumnsStart"),e),u+=c,Object(n["getMaximumScrollLeft"])(this.mainTableScrollableElement)===u-l&&l>0&&this.wot.wtOverlays.expandHiderHorizontallyBy(l),this.setScrollPosition(u)}getTableParentOffset(){const e=this.wtSettings.getSetting("preventOverflow");let t=0;return e||this.trimmingContainer!==this.domBindings.rootWindow||(t=this.wot.wtTable.holderOffset.left),t}getScrollPosition(){return Math.abs(Object(n["getScrollLeft"])(this.mainTableScrollableElement,this.domBindings.rootWindow))}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let r=0;if(this.trimmingContainer===e&&(!t||"horizontal"!==t)){r=this.isRtl()?Math.abs(Math.min(this.getTableParentOffset()-this.getScrollPosition(),0)):Math.max(this.getScrollPosition()-this.getTableParentOffset(),0);const e=this.wot.wtTable.getTotalWidth(),t=this.clone.wtTable.getTotalWidth(),n=e-t;r>n&&(r=0)}return r}adjustHeaderBordersPosition(e){const t=this.wot.wtTable.holder.parentNode,r=this.wtSettings.getSetting("rowHeaders"),i=this.wtSettings.getSetting("fixedColumnsStart"),a=this.wtSettings.getSetting("totalRows");a?Object(n["removeClass"])(t,"emptyRows"):Object(n["addClass"])(t,"emptyRows");let o=!1;if(i&&!r.length)Object(n["addClass"])(t,"innerBorderLeft innerBorderInlineStart");else if(!i&&r.length){const r=Object(n["hasClass"])(t,"innerBorderInlineStart");e?(Object(n["addClass"])(t,"innerBorderLeft innerBorderInlineStart"),o=!r):(Object(n["removeClass"])(t,"innerBorderLeft innerBorderInlineStart"),o=r)}return o}}class Vr extends Ht{constructor(e,t,r,n){super(e,t,r,n,Rt)}}Object(u["mixin"])(Vr,Vt),Object(u["mixin"])(Vr,Fr);var Yr=Vr;function zr(e,t,r){return t=Wr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wr(e){var t=qr(e,"string");return"symbol"==typeof t?t:t+""}function qr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Gr extends br{constructor(e,t,r,n,i,a){super(e,t,Rt,r,n),zr(this,"topOverlay",void 0),zr(this,"inlineStartOverlay",void 0),this.topOverlay=i,this.inlineStartOverlay=a}createTable(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Yr(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderTopOverlay")&&this.wtSettings.getSetting("shouldRenderInlineStartOverlay")}resetFixedPosition(){if(this.updateTrimmingContainer(),!this.wot.wtTable.holder.parentNode)return!1;const e=this.clone.wtTable.holder.parentNode;if(this.trimmingContainer===this.domBindings.rootWindow){const t=this.inlineStartOverlay.getOverlayOffset()*(this.isRtl()?-1:1),r=this.topOverlay.getOverlayOffset();Object(n["setOverlayPosition"])(e,t+"px",r+"px")}else Object(n["resetCssTransform"])(e);let t=Object(n["outerHeight"])(this.clone.wtTable.TABLE);const r=Object(n["outerWidth"])(this.clone.wtTable.TABLE);return this.wot.wtTable.hasDefinedSize()||(t=0),e.style.height=t+"px",e.style.width=r+"px",!1}}class Kr extends Ht{constructor(e,t,r,n){super(e,t,r,n,Lt)}}Object(u["mixin"])(Kr,Cr),Object(u["mixin"])(Kr,Fr);var Xr=Kr;class Zr extends br{constructor(e,t,r,n,i,a){super(e,t,Lt,r,n),this.bottomOverlay=i,this.inlineStartOverlay=a}createTable(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Xr(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderBottomOverlay")&&this.wtSettings.getSetting("shouldRenderInlineStartOverlay")}resetFixedPosition(){const{wot:e}=this;if(this.updateTrimmingContainer(),!e.wtTable.holder.parentNode)return!1;const t=this.clone.wtTable.holder.parentNode;if(t.style.top="",this.trimmingContainer===this.domBindings.rootWindow){const e=this.inlineStartOverlay.getOverlayOffset(),r=this.bottomOverlay.getOverlayOffset();t.style[this.isRtl()?"right":"left"]=e+"px",t.style.bottom=r+"px"}else Object(n["resetCssTransform"])(t),this.repositionOverlay();let r=Object(n["outerHeight"])(this.clone.wtTable.TABLE);const i=Object(n["outerWidth"])(this.clone.wtTable.TABLE);return this.wot.wtTable.hasDefinedSize()||(r=0),t.style.height=r+"px",t.style.width=i+"px",!1}repositionOverlay(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:r}=this.domBindings,i=this.clone.wtTable.holder.parentNode;let a=0;t.hasVerticalScroll()||(a+=t.getWorkspaceHeight()-e.getTotalHeight()),t.hasVerticalScroll()&&t.hasHorizontalScroll()&&(a+=Object(n["getScrollbarWidth"])(r)),i.style.bottom=a+"px"}}function $r(e,t,r){return t=Jr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jr(e){var t=Qr(e,"string");return"symbol"==typeof t?t:t+""}function Qr(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class en{constructor(e,t,r,i,a,o){$r(this,"wot",null),$r(this,"topOverlay",null),$r(this,"bottomOverlay",null),$r(this,"inlineStartOverlay",null),$r(this,"topInlineStartCornerOverlay",null),$r(this,"bottomInlineStartCornerOverlay",null),$r(this,"browserLineHeight",void 0),$r(this,"wtSettings",null),$r(this,"resizeObserver",new ResizeObserver(e=>{Object(F["requestAnimationFrame"])(()=>{Array.isArray(e)&&e.length&&this.wtSettings.getSetting("onContainerElementResize")})})),this.wot=e,this.wtSettings=i,this.domBindings=r,this.facadeGetter=t,this.wtTable=o;const{rootDocument:s,rootWindow:l}=this.domBindings;this.instance=this.wot,this.eventManager=a,this.scrollbarSize=Object(n["getScrollbarWidth"])(s);const u="hidden"===l.getComputedStyle(o.wtRootElement.parentNode).getPropertyValue("overflow");this.scrollableElement=u?o.holder:Object(n["getScrollableElement"])(o.TABLE),this.initOverlays(),this.hasScrollbarBottom=!1,this.hasScrollbarRight=!1,this.destroyed=!1,this.keyPressed=!1,this.spreaderLastSize={width:null,height:null},this.verticalScrolling=!1,this.horizontalScrolling=!1,this.initBrowserLineHeight(),this.registerListeners(),this.lastScrollX=l.scrollX,this.lastScrollY=l.scrollY}getOverlays(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=[this.topOverlay,this.topInlineStartCornerOverlay,this.inlineStartOverlay,this.bottomOverlay,this.bottomInlineStartCornerOverlay];return e&&t.push(this.wtTable),t}initBrowserLineHeight(){const{rootWindow:e,rootDocument:t}=this.domBindings,r=e.getComputedStyle(t.body),n=parseInt(r.lineHeight,10),i=1.2*parseInt(r.fontSize,10);this.browserLineHeight=n||i}initOverlays(){const e=[this.wot,this.facadeGetter,this.wtSettings,this.domBindings];this.topOverlay=new Er(...e),this.bottomOverlay=new Lr(...e),this.inlineStartOverlay=new Ur(...e),this.topInlineStartCornerOverlay=new Gr(...e,this.topOverlay,this.inlineStartOverlay),this.bottomInlineStartCornerOverlay=new Zr(...e,this.bottomOverlay,this.inlineStartOverlay)}updateStateOfRendering(){let e=this.topOverlay.updateStateOfRendering();return e=this.bottomOverlay.updateStateOfRendering()||e,e=this.inlineStartOverlay.updateStateOfRendering()||e,this.inlineStartOverlay.needFullRender&&(this.topOverlay.needFullRender&&(e=this.topInlineStartCornerOverlay.updateStateOfRendering()||e),this.bottomOverlay.needFullRender&&(e=this.bottomInlineStartCornerOverlay.updateStateOfRendering()||e)),e}refreshAll(){this.wot.drawn&&(this.wtTable.holder.parentNode?(this.wot.draw(!0),this.verticalScrolling&&this.inlineStartOverlay.onScroll(),this.horizontalScrolling&&this.topOverlay.onScroll(),this.verticalScrolling=!1,this.horizontalScrolling=!1):this.destroy())}registerListeners(){const{rootDocument:e,rootWindow:t}=this.domBindings,{mainTableScrollableElement:r}=this.topOverlay,{mainTableScrollableElement:n}=this.inlineStartOverlay;this.eventManager.addEventListener(e.documentElement,"keydown",e=>this.onKeyDown(e)),this.eventManager.addEventListener(e.documentElement,"keyup",()=>this.onKeyUp()),this.eventManager.addEventListener(e,"visibilitychange",()=>this.onKeyUp()),this.eventManager.addEventListener(r,"scroll",e=>this.onTableScroll(e),{passive:!0}),r!==n&&this.eventManager.addEventListener(n,"scroll",e=>this.onTableScroll(e),{passive:!0});const i=t.devicePixelRatio&&t.devicePixelRatio>1,a=this.scrollableElement===t,s=this.wtSettings.getSetting("preventWheel"),l={passive:a};(s||i||!Object(o["isChrome"])())&&this.eventManager.addEventListener(this.wtTable.wtRootElement,"wheel",e=>this.onCloneWheel(e,s),l);const u=[this.topOverlay,this.bottomOverlay,this.inlineStartOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay];let c;u.forEach(e=>{if(e&&e.needFullRender){const{holder:t}=e.clone.wtTable;this.eventManager.addEventListener(t,"wheel",e=>this.onCloneWheel(e,s),l)}}),this.eventManager.addEventListener(t,"resize",()=>{clearTimeout(c),c=setTimeout(()=>{this.wtSettings.getSetting("onWindowResize")},200)}),a||this.resizeObserver.observe(this.wtTable.wtRootElement.parentElement)}deregisterListeners(){this.eventManager.clearEvents(!0)}onTableScroll(e){const t=this.domBindings.rootWindow,r=this.inlineStartOverlay.mainTableScrollableElement,n=this.topOverlay.mainTableScrollableElement,i=e.target;this.keyPressed&&(n!==t&&i!==t&&!e.target.contains(n)||r!==t&&i!==t&&!e.target.contains(r))||this.syncScrollPositions(e)}onCloneWheel(e,t){const{rootWindow:r}=this.domBindings,n=this.inlineStartOverlay.mainTableScrollableElement,i=this.topOverlay.mainTableScrollableElement,a=e.target,o=i!==r&&a!==r&&!a.contains(i),s=n!==r&&a!==r&&!a.contains(n);if(this.keyPressed&&(o||s))return;const l=this.translateMouseWheelToScroll(e);(t||this.scrollableElement!==r&&l)&&e.preventDefault()}onKeyDown(e){this.keyPressed=Object(re["isKey"])(e.keyCode,"ARROW_UP|ARROW_RIGHT|ARROW_DOWN|ARROW_LEFT")}onKeyUp(){this.keyPressed=!1}translateMouseWheelToScroll(e){let t=isNaN(e.deltaY)?-1*e.wheelDeltaY:e.deltaY,r=isNaN(e.deltaX)?-1*e.wheelDeltaX:e.deltaX;1===e.deltaMode&&(r+=r*this.browserLineHeight,t+=t*this.browserLineHeight);const n=this.scrollVertically(t),i=this.scrollHorizontally(r);return n||i}scrollVertically(e){const t=this.scrollableElement.scrollTop;return this.scrollableElement.scrollTop+=e,t!==this.scrollableElement.scrollTop}scrollHorizontally(e){const t=this.scrollableElement.scrollLeft;return this.scrollableElement.scrollLeft+=e,t!==this.scrollableElement.scrollLeft}syncScrollPositions(){if(this.destroyed)return;const{rootWindow:e}=this.domBindings,t=this.topOverlay.clone.wtTable.holder,r=this.inlineStartOverlay.clone.wtTable.holder,[n,i]=[this.scrollableElement.scrollLeft,this.scrollableElement.scrollTop];if(this.horizontalScrolling=t.scrollLeft!==n||this.lastScrollX!==e.scrollX,this.verticalScrolling=r.scrollTop!==i||this.lastScrollY!==e.scrollY,this.lastScrollX=e.scrollX,this.lastScrollY=e.scrollY,this.horizontalScrolling){t.scrollLeft=n;const e=this.bottomOverlay.needFullRender?this.bottomOverlay.clone.wtTable.holder:null;e&&(e.scrollLeft=n)}this.verticalScrolling&&(r.scrollTop=i),this.refreshAll()}syncScrollWithMaster(){const e=this.topOverlay.mainTableScrollableElement,{scrollLeft:t,scrollTop:r}=e;this.topOverlay.needFullRender&&(this.topOverlay.clone.wtTable.holder.scrollLeft=t),this.bottomOverlay.needFullRender&&(this.bottomOverlay.clone.wtTable.holder.scrollLeft=t),this.inlineStartOverlay.needFullRender&&(this.inlineStartOverlay.clone.wtTable.holder.scrollTop=r)}updateMainScrollableElements(){this.deregisterListeners(),this.inlineStartOverlay.updateMainScrollableElement(),this.topOverlay.updateMainScrollableElement(),this.bottomOverlay.needFullRender&&this.bottomOverlay.updateMainScrollableElement();const{wtTable:e}=this,{rootWindow:t}=this.domBindings;"hidden"===t.getComputedStyle(e.wtRootElement.parentNode).getPropertyValue("overflow")?this.scrollableElement=e.holder:this.scrollableElement=Object(n["getScrollableElement"])(e.TABLE),this.registerListeners()}destroy(){this.resizeObserver.disconnect(),this.eventManager.destroy(),this.topOverlay.destroy(),this.bottomOverlay.clone&&this.bottomOverlay.destroy(),this.inlineStartOverlay.destroy(),this.topInlineStartCornerOverlay&&this.topInlineStartCornerOverlay.destroy(),this.bottomInlineStartCornerOverlay&&this.bottomInlineStartCornerOverlay.clone&&this.bottomInlineStartCornerOverlay.destroy(),this.destroyed=!0}refresh(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.updateLastSpreaderSize();t&&this.adjustElementsSize(),this.bottomOverlay.clone&&this.bottomOverlay.refresh(e),this.inlineStartOverlay.refresh(e),this.topOverlay.refresh(e),this.topInlineStartCornerOverlay&&this.topInlineStartCornerOverlay.refresh(e),this.bottomInlineStartCornerOverlay&&this.bottomInlineStartCornerOverlay.clone&&this.bottomInlineStartCornerOverlay.refresh(e)}updateLastSpreaderSize(){const e=this.wtTable.spreader,t=e.clientWidth,r=e.clientHeight,n=t!==this.spreaderLastSize.width||r!==this.spreaderLastSize.height;return n&&(this.spreaderLastSize.width=t,this.spreaderLastSize.height=r),n}adjustElementsSize(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtViewport:t}=this.wot,{wtTable:r}=this,{rootWindow:n}=this.domBindings,i=this.scrollableElement===n,a=this.wtSettings.getSetting("totalColumns"),o=this.wtSettings.getSetting("totalRows"),s=t.getRowHeaderWidth(),l=t.getColumnHeaderHeight(),u=l+this.topOverlay.sumCellSizes(0,o)+1,c=s+this.inlineStartOverlay.sumCellSizes(0,a),d=r.hider,h=d.style,p=()=>!i&&this.scrollableElement.scrollTop>Math.max(0,u-r.holder.clientHeight),f=()=>!i&&this.scrollableElement.scrollLeft>Math.max(0,c-r.holder.clientWidth),m=p()?1:0,g=f()?1:0;if(h.width=c+g+"px",h.height=u+m+"px",this.scrollbarSize>0){const{scrollHeight:e,scrollWidth:t}=r.wtRootElement,{scrollHeight:n,scrollWidth:i}=r.holder;this.hasScrollbarRight=e<n,this.hasScrollbarBottom=t<i,this.hasScrollbarRight&&r.hider.scrollWidth+this.scrollbarSize>t?this.hasScrollbarBottom=!0:this.hasScrollbarBottom&&r.hider.scrollHeight+this.scrollbarSize>e&&(this.hasScrollbarRight=!0)}this.topOverlay.adjustElementsSize(e),this.inlineStartOverlay.adjustElementsSize(e),this.bottomOverlay.adjustElementsSize(e)}expandHiderVerticallyBy(e){const{wtTable:t}=this;t.hider.style.height=parseInt(t.hider.style.height,10)+e+"px"}expandHiderHorizontallyBy(e){const{wtTable:t}=this;t.hider.style.width=parseInt(t.hider.style.width,10)+e+"px"}applyToDOM(){this.wtTable.isVisible()&&(this.topOverlay.applyToDOM(),this.bottomOverlay.clone&&this.bottomOverlay.applyToDOM(),this.inlineStartOverlay.applyToDOM())}getParentOverlay(e){if(!e)return null;const t=[this.topOverlay,this.inlineStartOverlay,this.bottomOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay];let r=null;return Object(N["arrayEach"])(t,t=>{t&&t.clone&&t.clone.wtTable.TABLE.contains(e)&&(r=t.clone)}),r}syncOverlayTableClassNames(){const e=this.wtTable.TABLE,t=[this.topOverlay,this.inlineStartOverlay,this.bottomOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay];Object(N["arrayEach"])(t,t=>{t&&(t.clone.wtTable.TABLE.className=e.className)})}}var tn=en;function rn(e,t,r){return t=nn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nn(e){var t=an(e,"string");return"symbol"==typeof t?t:t+""}function an(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class on{constructor(e){rn(this,"settings",{}),rn(this,"defaults",Object.freeze(this.getDefaults())),Object(u["objectEach"])(this.defaults,(t,r)=>{if(void 0!==e[r])this.settings[r]=e[r];else{if(void 0===t)throw new Error(`A required setting "${r}" was not provided`);this.settings[r]=t}})}getDefaults(){return{facade:void 0,table:void 0,isDataViewInstance:!0,externalRowCalculator:!1,stretchH:"none",currentRowClassName:null,currentColumnClassName:null,preventOverflow(){return!1},preventWheel:!1,data:void 0,freezeOverlays:!1,fixedColumnsStart:0,fixedRowsTop:0,fixedRowsBottom:0,shouldRenderInlineStartOverlay:()=>this.getSetting("fixedColumnsStart")>0||this.getSetting("rowHeaders").length>0,shouldRenderTopOverlay:()=>this.getSetting("fixedRowsTop")>0||this.getSetting("columnHeaders").length>0,shouldRenderBottomOverlay:()=>this.getSetting("fixedRowsBottom")>0,minSpareRows:0,rowHeaders(){return[]},columnHeaders(){return[]},totalRows:void 0,totalColumns:void 0,cellRenderer:(e,t,r)=>{const i=this.getSetting("data",e,t);Object(n["fastInnerText"])(r,void 0===i||null===i?"":i)},columnWidth(){},rowHeight(){},defaultRowHeight:23,defaultColumnWidth:50,selections:null,hideBorderOnMouseDownOver:!1,viewportRowCalculatorOverride:null,viewportColumnCalculatorOverride:null,onCellMouseDown:null,onCellContextMenu:null,onCellMouseOver:null,onCellMouseOut:null,onCellMouseUp:null,onCellDblClick:null,onCellCornerMouseDown:null,onCellCornerDblClick:null,beforeDraw:null,onDraw:null,onBeforeRemoveCellClassNames:null,onAfterDrawSelection:null,onBeforeDrawBorders:null,onBeforeViewportScrollHorizontally:e=>e,onBeforeViewportScrollVertically:e=>e,onScrollHorizontally:null,onScrollVertically:null,onBeforeTouchScroll:null,onAfterMomentumScroll:null,onBeforeStretchingColumnWidth:e=>e,onModifyRowHeaderWidth:null,onModifyGetCellCoords:null,onBeforeHighlightingRowHeader:e=>e,onBeforeHighlightingColumnHeader:e=>e,onWindowResize:null,onContainerElementResize:null,renderAllColumns:!1,renderAllRows:!1,groups:!1,rowHeaderWidth:null,columnHeaderHeight:null,headerClassName:null,rtlMode:!1,ariaTags:!0}}update(e,t){return void 0===t?Object(u["objectEach"])(e,(e,t)=>{this.settings[t]=e}):this.settings[e]=t,this}getSetting(e,t,r,n,i){return"function"===typeof this.settings[e]?this.settings[e](t,r,n,i):void 0!==t&&Array.isArray(this.settings[e])?this.settings[e][t]:this.settings[e]}getSettingPure(e){return this.settings[e]}has(e){return!!this.settings[e]}}class sn extends Ht{constructor(e,t,r,n){super(e,t,r,n,"master")}alignOverlaysWithTrimmingContainer(){const e=Object(n["getTrimmingContainer"])(this.wtRootElement),{rootWindow:t}=this.domBindings;if(e===t){const e=this.wtSettings.getSetting("preventOverflow");e||(this.holder.style.overflow="visible",this.wtRootElement.style.overflow="visible")}else{const r=e.parentElement,i=Object(n["getStyle"])(e,"height",t),a=Object(n["getStyle"])(e,"overflow",t),o=this.holder.style,{scrollWidth:s,scrollHeight:l}=e;let u=e.offsetWidth,c=e.offsetHeight;const d=["auto","hidden","scroll"];if(r&&d.includes(a)){const i=e.cloneNode(!1);i.style.overflow="auto",i.style.position="absolute",e.nextElementSibling?r.insertBefore(i,e.nextElementSibling):r.appendChild(i);const a=parseInt(Object(n["getComputedStyle"])(i,t).height,10);r.removeChild(i),0===a&&(c=0)}c=Math.min(c,l),o.height="auto"===i?"auto":c+"px",u=Math.min(u,s),o.width=u+"px",o.overflow="",this.hasTableHeight="auto"===o.height||c>0,this.hasTableWidth=u>0}this.isTableVisible=Object(n["isVisible"])(this.TABLE)}markOversizedColumnHeaders(){const{wtSettings:e}=this,{wtViewport:t}=this.dataAccessObject,r="master",n=e.getSetting("columnHeaders"),i=n.length;if(i&&!t.hasOversizedColumnHeadersMarked[r]){const n=e.getSetting("rowHeaders"),a=n.length,o=this.getRenderedColumnsCount();for(let e=0;e<i;e++)for(let t=-1*a;t<o;t++)this.markIfOversizedColumnHeader(t);t.hasOversizedColumnHeadersMarked[r]=!0}}}Object(u["mixin"])(sn,Dr),Object(u["mixin"])(sn,Wt);var ln=sn,un=r("a6de");function cn(e,t,r){return t=dn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dn(e){var t=hn(e,"string");return"symbol"==typeof t?t:t+""}function hn(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class pn{constructor(e){cn(this,"count",0),cn(this,"startRow",0),cn(this,"endRow",0),cn(this,"startPosition",0),this.count=e.totalRows,this.endRow=this.count-1}}var fn=r("eb36");function mn(e,t,r){return t=gn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gn(e){var t=vn(e,"string");return"symbol"==typeof t?t:t+""}function vn(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class bn{constructor(e){mn(this,"count",0),mn(this,"startColumn",0),mn(this,"endColumn",0),mn(this,"startPosition",0),this.count=e.totalColumns,this.endColumn=this.count-1}}var yn=r("861dd");class wn{constructor(e,t,r,n,i){this.dataAccessObject=e,this.wot=e.wot,this.instance=this.wot,this.domBindings=t,this.wtSettings=r,this.wtTable=i,this.oversizedRows=[],this.oversizedColumnHeaders=[],this.hasOversizedColumnHeadersMarked={},this.clientHeight=0,this.containerWidth=NaN,this.rowHeaderWidth=NaN,this.rowsVisibleCalculator=null,this.columnsVisibleCalculator=null,this.eventManager=n,this.eventManager.addEventListener(this.domBindings.rootWindow,"resize",()=>{this.clientHeight=this.getWorkspaceHeight()})}getWorkspaceHeight(){const e=this.domBindings.rootDocument,t=this.dataAccessObject.topOverlayTrimmingContainer;let r=0;if(t===this.domBindings.rootWindow)r=e.documentElement.clientHeight;else{const e=Object(n["outerHeight"])(t);r=e>0&&t.clientHeight>0?t.clientHeight:1/0}return r}getWorkspaceWidth(){const{wtSettings:e}=this,{rootDocument:t,rootWindow:r}=this.domBindings,i=this.dataAccessObject.inlineStartOverlayTrimmingContainer,a=t.documentElement.offsetWidth,o=e.getSetting("totalColumns"),s=e.getSetting("preventOverflow"),l=e.getSetting("rtlMode"),u=this.wtTable.TABLE.getBoundingClientRect(),c=l?u.right-a:u.left,d=a-c;let h,p;if(s)return Object(n["outerWidth"])(this.wtTable.wtRootElement);if(h=e.getSetting("freezeOverlays")?Math.min(d,a):Math.min(this.getContainerFillWidth(),d,a),i===r&&o>0&&this.sumColumnWidths(0,o-1)>h)return t.documentElement.clientWidth;if(i!==r&&(p=Object(n["getStyle"])(this.dataAccessObject.inlineStartOverlayTrimmingContainer,"overflow",r),"scroll"===p||"hidden"===p||"auto"===p))return Math.max(h,i.clientWidth);const f=e.getSetting("stretchH");return"none"!==f&&f?h:Math.max(h,Object(n["outerWidth"])(this.wtTable.TABLE))}hasVerticalScroll(){return this.wtTable.hider.offsetHeight>this.getWorkspaceHeight()}hasHorizontalScroll(){return this.wtTable.hider.offsetWidth>this.getWorkspaceWidth()}sumColumnWidths(e,t){let r=0,n=e;while(n<t)r+=this.wtTable.getColumnWidth(n),n+=1;return r}getContainerFillWidth(){if(this.containerWidth)return this.containerWidth;const e=this.wtTable.holder,t=this.domBindings.rootDocument.createElement("div");t.style.width="100%",t.style.height="1px",e.appendChild(t);const r=t.offsetWidth;return this.containerWidth=r,e.removeChild(t),r}getWorkspaceOffset(){return Object(n["offset"])(this.wtTable.TABLE)}getColumnHeaderHeight(){const e=this.wtSettings.getSetting("columnHeaders");return e.length?isNaN(this.columnHeaderHeight)&&(this.columnHeaderHeight=Object(n["outerHeight"])(this.wtTable.THEAD)):this.columnHeaderHeight=0,this.columnHeaderHeight}getViewportHeight(){let e=this.getWorkspaceHeight();if(e===1/0)return e;const t=this.getColumnHeaderHeight();return t>0&&(e-=t),e}getRowHeaderWidth(){const e=this.wtSettings.getSetting("rowHeaderWidth"),t=this.wtSettings.getSetting("rowHeaders");if(e){this.rowHeaderWidth=0;for(let r=0,n=t.length;r<n;r++)this.rowHeaderWidth+=e[r]||e}if(isNaN(this.rowHeaderWidth))if(t.length){let e=this.wtTable.TABLE.querySelector("TH");this.rowHeaderWidth=0;for(let r=0,i=t.length;r<i;r++)e?(this.rowHeaderWidth+=Object(n["outerWidth"])(e),e=e.nextSibling):this.rowHeaderWidth+=50}else this.rowHeaderWidth=0;return this.rowHeaderWidth=this.wtSettings.getSetting("onModifyRowHeaderWidth",this.rowHeaderWidth)||this.rowHeaderWidth,this.rowHeaderWidth}getViewportWidth(){const e=this.getWorkspaceWidth();if(e===1/0)return e;const t=this.getRowHeaderWidth();return t>0?e-t:e}createRowsCalculator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:un["c"];const{wtSettings:t,wtTable:r}=this;if(t.getSetting("renderAllRows")&&e===un["c"])return new pn({totalRows:t.getSetting("totalRows")});let i,a,o=this.getViewportHeight();this.rowHeaderWidth=NaN;let s=this.dataAccessObject.topScrollPosition-this.dataAccessObject.topParentOffset;const l=t.getSetting("fixedRowsTop"),u=t.getSetting("fixedRowsBottom"),c=t.getSetting("totalRows");return l&&s>=0&&(a=this.dataAccessObject.topOverlay.sumCellSizes(0,l),s+=a,o-=a),u&&this.dataAccessObject.bottomOverlay.clone&&(a=this.dataAccessObject.bottomOverlay.sumCellSizes(c-u,c),o-=a),i=r.holder.clientHeight===r.holder.offsetHeight?0:Object(n["getScrollbarWidth"])(this.domBindings.rootDocument),new fn["a"]({viewportHeight:o,scrollOffset:s,totalRows:t.getSetting("totalRows"),rowHeightFn:e=>r.getRowHeight(e),overrideFn:t.getSettingPure("viewportRowCalculatorOverride"),calculationType:e,horizontalScrollbarHeight:i})}createColumnsCalculator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:un["c"];const{wtSettings:t,wtTable:r}=this;if(t.getSetting("renderAllColumns")&&e===un["c"])return new bn({totalColumns:t.getSetting("totalColumns")});let i=this.getViewportWidth(),a=Math.abs(this.dataAccessObject.inlineStartScrollPosition)-this.dataAccessObject.inlineStartParentOffset;this.columnHeaderHeight=NaN;const o=t.getSetting("fixedColumnsStart");if(o&&a>=0){const e=this.dataAccessObject.inlineStartOverlay.sumCellSizes(0,o);a+=e,i-=e}return r.holder.clientWidth!==r.holder.offsetWidth&&(i-=Object(n["getScrollbarWidth"])(this.domBindings.rootDocument)),new yn["a"]({viewportWidth:i,scrollOffset:a,totalColumns:t.getSetting("totalColumns"),columnWidthFn:e=>r.getColumnWidth(e),overrideFn:t.getSettingPure("viewportColumnCalculatorOverride"),calculationType:e,inlineStartOffset:this.dataAccessObject.inlineStartParentOffset})}createRenderCalculators(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this;if(e&&!t.getSetting("renderAllRows")){const t=this.createRowsCalculator(un["a"]);e=this.areAllProposedVisibleRowsAlreadyRendered(t)}if(e&&!t.getSetting("renderAllColumns")){const t=this.createColumnsCalculator(un["a"]);e=this.areAllProposedVisibleColumnsAlreadyRendered(t)}return e||(this.rowsRenderCalculator=this.createRowsCalculator(un["c"]),this.columnsRenderCalculator=this.createColumnsCalculator(un["c"])),this.rowsVisibleCalculator=null,this.columnsVisibleCalculator=null,e}createVisibleCalculators(){this.rowsVisibleCalculator=this.createRowsCalculator(un["a"]),this.columnsVisibleCalculator=this.createColumnsCalculator(un["a"])}createPartiallyVisibleCalculators(){this.rowsPartiallyVisibleCalculator=this.createRowsCalculator(un["b"]),this.columnsPartiallyVisibleCalculator=this.createColumnsCalculator(un["b"])}areAllProposedVisibleRowsAlreadyRendered(e){if(!this.rowsVisibleCalculator)return!1;const{startRow:t,endRow:r,isVisibleInTrimmingContainer:n}=e;if(null===t&&null===r)return!n;const{startRow:i,endRow:a}=this.rowsRenderCalculator;return!(t<i||t===i&&t>0)&&!(r>a||r===a&&r<this.wtSettings.getSetting("totalRows")-1)}areAllProposedVisibleColumnsAlreadyRendered(e){if(!this.columnsVisibleCalculator)return!1;const{startColumn:t,endColumn:r,isVisibleInTrimmingContainer:n}=e;if(null===t&&null===r)return!n;const{startColumn:i,endColumn:a}=this.columnsRenderCalculator;return!(t<i||t===i&&t>0)&&!(r>a||r===a&&r<this.wtSettings.getSetting("totalColumns")-1)}resetHasOversizedColumnHeadersMarked(){Object(u["objectEach"])(this.hasOversizedColumnHeadersMarked,(e,t,r)=>{r[t]=void 0})}}var _n=wn;r("24b9e");function Sn(e,t){Mn(e,t),t.add(e)}function En(e,t,r){Mn(e,t),t.set(e,r)}function Mn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Tn(e,t){return e.get(xn(e,t))}function Cn(e,t,r){return e.set(xn(e,t),r),r}function xn(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var An=new WeakMap,Nn=new WeakMap,On=new WeakSet;class Rn{constructor(){Sn(this,On),En(this,An,void 0),En(this,Nn,void 0)}setActiveOverlay(e){return Cn(Nn,this,e),this}setActiveSelection(e){return Cn(An,this,e),this}scan(){const e=Tn(An,this).settings.selectionType,t=new Set;return"active-header"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e))):"area"===e?this.scanCellsRange(e=>t.add(e)):"focus"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e)),this.scanCellsRange(e=>t.add(e))):"fill"===e?this.scanCellsRange(e=>t.add(e)):"header"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e))):"row"===e?(this.scanRowsInHeadersRange(e=>t.add(e)),this.scanRowsInCellsRange(e=>t.add(e))):"column"===e&&(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanColumnsInCellsRange(e=>t.add(e))),t}scanColumnsInHeadersRange(e){const[t,r,n,i]=Tn(An,this).getCorners(),{wtTable:a}=Tn(Nn,this),o=a.getRenderedColumnsCount(),s=a.getColumnHeadersCount();let l=0;for(let u=-a.getRowHeadersCount();u<o;u++){const o=a.columnFilter.renderedToSource(u);if(!(o<r||o>i)){for(let u=-s;u<0;u++){if(u<t||u>n)continue;const c=u+s;let d=a.getColumnHeader(o,c);const h=Tn(Nn,this).getSetting("onBeforeHighlightingColumnHeader",o,c,{selectionType:Tn(An,this).settings.selectionType,columnCursor:l,selectionWidth:i-r+1});null!==h&&(h!==o&&(d=a.getColumnHeader(h,c)),e(d))}l+=1}}}scanRowsInHeadersRange(e){const[t,r,n,i]=Tn(An,this).getCorners(),{wtTable:a}=Tn(Nn,this),o=a.getRenderedRowsCount(),s=a.getRowHeadersCount();let l=0;for(let u=-a.getColumnHeadersCount();u<o;u++){const o=a.rowFilter.renderedToSource(u);if(!(o<t||o>n)){for(let u=-s;u<0;u++){if(u<r||u>i)continue;const c=u+s;let d=a.getRowHeader(o,c);const h=Tn(Nn,this).getSetting("onBeforeHighlightingRowHeader",o,c,{selectionType:Tn(An,this).settings.selectionType,rowCursor:l,selectionHeight:n-t+1});null!==h&&(h!==o&&(d=a.getRowHeader(h,c)),e(d))}l+=1}}}scanCellsRange(e){const[t,r,i,a]=Tn(An,this).getCorners(),{wtTable:o}=Tn(Nn,this);xn(On,this,Ln).call(this,(s,l)=>{if(s>=t&&s<=i&&l>=r&&l<=a){const t=o.getCell(Tn(Nn,this).createCellCoords(s,l)),r=Tn(Nn,this).getSetting("onAfterDrawSelection",s,l,Tn(An,this).settings.layerLevel);"string"===typeof r&&Object(n["addClass"])(t,r),e(t)}})}scanRowsInCellsRange(e){const[t,,r]=Tn(An,this).getCorners(),{wtTable:n}=Tn(Nn,this);xn(On,this,Ln).call(this,(i,a)=>{if(i>=t&&i<=r){const t=n.getCell(Tn(Nn,this).createCellCoords(i,a));e(t)}})}scanColumnsInCellsRange(e){const[,t,,r]=Tn(An,this).getCorners(),{wtTable:n}=Tn(Nn,this);xn(On,this,Ln).call(this,(i,a)=>{if(a>=t&&a<=r){const t=n.getCell(Tn(Nn,this).createCellCoords(i,a));e(t)}})}}function Ln(e){const{wtTable:t}=Tn(Nn,this),r=t.getRenderedRowsCount(),n=t.getRenderedColumnsCount();for(let i=0;i<r;i+=1){const r=t.rowFilter.renderedToSource(i);for(let i=0;i<n;i+=1)e(r,t.columnFilter.renderedToSource(i))}}class kn{constructor(e,t){t&&(this.eventManager=e.eventManager,this.instance=e,this.wot=e,this.settings=t,this.mouseDown=!1,this.main=null,this.top=null,this.bottom=null,this.start=null,this.end=null,this.topStyle=null,this.bottomStyle=null,this.startStyle=null,this.endStyle=null,this.cornerDefaultStyle=yr,this.cornerCenterPointOffset=-parseInt(this.cornerDefaultStyle.width,10)/2,this.corner=null,this.cornerStyle=null,this.createBorders(t),this.registerListeners())}registerListeners(){const e=this.wot.rootDocument.body;this.eventManager.addEventListener(e,"mousedown",()=>this.onMouseDown()),this.eventManager.addEventListener(e,"mouseup",()=>this.onMouseUp());for(let t=0,r=this.main.childNodes.length;t<r;t++){const e=this.main.childNodes[t];this.eventManager.addEventListener(e,"mouseenter",e=>this.onMouseEnter(e,this.main.childNodes[t]))}}onMouseDown(){this.mouseDown=!0}onMouseUp(){this.mouseDown=!1}onMouseEnter(e,t){if(!this.mouseDown||!this.wot.getSetting("hideBorderOnMouseDownOver"))return;e.preventDefault(),Object(j["stopImmediatePropagation"])(e);const r=this,n=this.wot.rootDocument.body,i=t.getBoundingClientRect();function a(e){return e.clientY<Math.floor(i.top)||(e.clientY>Math.ceil(i.top+i.height)||(e.clientX<Math.floor(i.left)||(e.clientX>Math.ceil(i.left+i.width)||void 0)))}function o(e){a(e)&&(r.eventManager.removeEventListener(n,"mousemove",o),t.style.display="block")}t.style.display="none",this.eventManager.addEventListener(n,"mousemove",o)}createBorders(e){const{rootDocument:t}=this.wot;this.main=t.createElement("div");const r=["top","start","bottom","end","corner"];let n=this.main.style;n.position="absolute",n.top=0,n.left=0;for(let o=0;o<5;o++){const i=r[o],a=t.createElement("div");a.className="wtBorder "+(this.settings.className||""),this.settings[i]&&this.settings[i].hide&&(a.className+=" hidden"),n=a.style,n.backgroundColor=this.settings[i]&&this.settings[i].color?this.settings[i].color:e.border.color,n.height=this.settings[i]&&this.settings[i].width?this.settings[i].width+"px":e.border.width+"px",n.width=this.settings[i]&&this.settings[i].width?this.settings[i].width+"px":e.border.width+"px",this.main.appendChild(a)}this.top=this.main.childNodes[0],this.start=this.main.childNodes[1],this.bottom=this.main.childNodes[2],this.end=this.main.childNodes[3],this.topStyle=this.top.style,this.startStyle=this.start.style,this.bottomStyle=this.bottom.style,this.endStyle=this.end.style,this.corner=this.main.childNodes[4],this.corner.className+=" corner",this.cornerStyle=this.corner.style,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.height=this.cornerDefaultStyle.height,this.cornerStyle.border=[this.cornerDefaultStyle.borderWidth,this.cornerDefaultStyle.borderStyle,this.cornerDefaultStyle.borderColor].join(" "),Object(o["isMobileBrowser"])()&&this.instance.getSetting("isDataViewInstance")&&this.createMultipleSelectorHandles(),this.disappear();const{wtTable:i}=this.wot;let a=i.bordersHolder;a||(a=t.createElement("div"),a.className="htBorders",i.bordersHolder=a,i.spreader.appendChild(a)),a.appendChild(this.main)}createMultipleSelectorHandles(){const{rootDocument:e}=this.wot;this.selectionHandles={top:e.createElement("DIV"),topHitArea:e.createElement("DIV"),bottom:e.createElement("DIV"),bottomHitArea:e.createElement("DIV")};const t=10,r=40;this.selectionHandles.top.className="topSelectionHandle topLeftSelectionHandle",this.selectionHandles.topHitArea.className="topSelectionHandle-HitArea topLeftSelectionHandle-HitArea",this.selectionHandles.bottom.className="bottomSelectionHandle bottomRightSelectionHandle",this.selectionHandles.bottomHitArea.className="bottomSelectionHandle-HitArea bottomRightSelectionHandle-HitArea",this.selectionHandles.styles={top:this.selectionHandles.top.style,topHitArea:this.selectionHandles.topHitArea.style,bottom:this.selectionHandles.bottom.style,bottomHitArea:this.selectionHandles.bottomHitArea.style};const n={position:"absolute",height:r+"px",width:r+"px","border-radius":parseInt(r/1.5,10)+"px"};Object(u["objectEach"])(n,(e,t)=>{this.selectionHandles.styles.bottomHitArea[t]=e,this.selectionHandles.styles.topHitArea[t]=e});const i={position:"absolute",height:t+"px",width:t+"px","border-radius":parseInt(t/1.5,10)+"px",background:"#F5F5FF",border:"1px solid #4285c8"};Object(u["objectEach"])(i,(e,t)=>{this.selectionHandles.styles.bottom[t]=e,this.selectionHandles.styles.top[t]=e}),this.main.appendChild(this.selectionHandles.top),this.main.appendChild(this.selectionHandles.bottom),this.main.appendChild(this.selectionHandles.topHitArea),this.main.appendChild(this.selectionHandles.bottomHitArea)}isPartRange(e,t){const r=this.wot.selectionManager.getAreaSelection();return!(!r.cellRange||e===r.cellRange.to.row&&t===r.cellRange.to.col)}updateMultipleSelectionHandlesPosition(e,t,r,n,i,a){const o=this.wot.wtSettings.getSetting("rtlMode"),s=o?"right":"left",{top:l,topHitArea:u,bottom:c,bottomHitArea:d}=this.selectionHandles.styles,h=parseInt(l.borderWidth,10),p=parseInt(l.width,10),f=parseInt(u.width,10),m=this.wot.wtTable.getWidth(),g=this.wot.wtTable.getHeight();l.top=parseInt(r-p-1,10)+"px",l[s]=parseInt(n-p-1,10)+"px",u.top=parseInt(r-f/4*3,10)+"px",u[s]=parseInt(n-f/4*3,10)+"px";const v=Math.min(parseInt(n+i,10),m-p-2*h),b=Math.min(parseInt(n+i-f/4,10),m-f-2*h);c[s]=v+"px",d[s]=b+"px";const y=Math.min(parseInt(r+a,10),g-p-2*h),w=Math.min(parseInt(r+a-f/4,10),g-f-2*h);c.top=y+"px",d.top=w+"px",this.settings.border.cornerVisible&&this.settings.border.cornerVisible()?(l.display="block",u.display="block",this.isPartRange(e,t)?(c.display="none",d.display="none"):(c.display="block",d.display="block")):(l.display="none",c.display="none",u.display="none",d.display="none"),e===this.wot.wtSettings.getSetting("fixedRowsTop")||t===this.wot.wtSettings.getSetting("fixedColumnsStart")?(l.zIndex="9999",u.zIndex="9999"):(l.zIndex="",u.zIndex="")}appear(e){if(this.disabled)return;const{wtTable:t,rootDocument:r,rootWindow:i}=this.wot;let a,s,l,u,c,d;const h=t.getRenderedRowsCount();for(let n=0;n<h;n+=1){const r=t.rowFilter.renderedToSource(n);if(r>=e[0]&&r<=e[2]){a=r,c=e[0];break}}for(let n=h-1;n>=0;n-=1){const r=t.rowFilter.renderedToSource(n);if(r>=e[0]&&r<=e[2]){s=r;break}}const p=t.getRenderedColumnsCount();for(let n=0;n<p;n+=1){const r=t.columnFilter.renderedToSource(n);if(r>=e[1]&&r<=e[3]){l=r,d=e[1];break}}for(let n=p-1;n>=0;n-=1){const r=t.columnFilter.renderedToSource(n);if(r>=e[1]&&r<=e[3]){u=r;break}}if(void 0===a||void 0===l)return void this.disappear();let f=t.getCell(this.wot.createCellCoords(a,l));const m=a!==s||l!==u,g=m?t.getCell(this.wot.createCellCoords(s,u)):f,v=Object(n["offset"])(f),b=m?Object(n["offset"])(g):v,y=Object(n["offset"])(t.TABLE),w=Object(n["outerWidth"])(t.TABLE),_=v.top,S=v.left,E=this.wot.wtSettings.getSetting("rtlMode");let M=0,T=0;if(E){const e=Object(n["outerWidth"])(f),t=i.innerWidth-y.left-w;T=S+e-b.left,M=i.innerWidth-S-e-t-1}else T=b.left+Object(n["outerWidth"])(g)-S,M=S-y.left-1;if(this.isEntireColumnSelected(a,s)){const e=this.getDimensionsFromHeader("columns",l,u,c,y);let t=null;e&&([t,M,T]=e),t&&(f=t)}let C=_-y.top-1,x=b.top+Object(n["outerHeight"])(g)-_;if(this.isEntireRowSelected(l,u)){const e=this.getDimensionsFromHeader("rows",a,s,d,y);let t=null;e&&([t,C,x]=e),t&&(f=t)}const A=Object(n["getComputedStyle"])(f,i);parseInt(A.borderTopWidth,10)>0&&(C+=1,x=x>0?x-1:0),parseInt(A[E?"borderRightWidth":"borderLeftWidth"],10)>0&&(M+=1,T=T>0?T-1:0);const N=E?"right":"left";this.topStyle.top=C+"px",this.topStyle[N]=M+"px",this.topStyle.width=T+"px",this.topStyle.display="block",this.startStyle.top=C+"px",this.startStyle[N]=M+"px",this.startStyle.height=x+"px",this.startStyle.display="block";const O=Math.floor(this.settings.border.width/2);this.bottomStyle.top=C+x-O+"px",this.bottomStyle[N]=M+"px",this.bottomStyle.width=T+"px",this.bottomStyle.display="block",this.endStyle.top=C+"px",this.endStyle[N]=M+T-O+"px",this.endStyle.height=x+1+"px",this.endStyle.display="block";let R=this.settings.border.cornerVisible;R="function"===typeof R?R(this.settings.layerLevel):R;const L=this.wot.getSetting("onModifyGetCellCoords",s,u);let[k,I]=[s,u];if(L&&Array.isArray(L)&&([,,k,I]=L),Object(o["isMobileBrowser"])()||!R||this.isPartRange(k,I))this.cornerStyle.display="none";else{this.cornerStyle.top=C+x+this.cornerCenterPointOffset-1+"px",this.cornerStyle[N]=M+T+this.cornerCenterPointOffset-1+"px",this.cornerStyle.borderRightWidth=this.cornerDefaultStyle.borderWidth,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.display="none";let e=Object(n["getTrimmingContainer"])(t.TABLE);const a=e===i;a&&(e=r.documentElement);const o=parseInt(this.cornerDefaultStyle.width,10)/2,l=parseInt(this.cornerDefaultStyle.height,10)/2;if(u===this.wot.getSetting("totalColumns")-1){const t=a?g.getBoundingClientRect().left:g.offsetLeft;let r=!1,i=0;E?(i=t-parseInt(this.cornerDefaultStyle.width,10)/2,r=i<0):(i=t+Object(n["outerWidth"])(g)+parseInt(this.cornerDefaultStyle.width,10)/2,r=i>=Object(n["innerWidth"])(e)),r&&(this.cornerStyle[N]=Math.floor(M+T+this.cornerCenterPointOffset-o)+"px",this.cornerStyle[E?"borderLeftWidth":"borderRightWidth"]=0)}if(s===this.wot.getSetting("totalRows")-1){const t=a?g.getBoundingClientRect().top:g.offsetTop,r=t+Object(n["outerHeight"])(g)+parseInt(this.cornerDefaultStyle.height,10)/2,i=r>=Object(n["innerHeight"])(e);i&&(this.cornerStyle.top=Math.floor(C+x+this.cornerCenterPointOffset-l)+"px",this.cornerStyle.borderBottomWidth=0)}this.cornerStyle.display="block"}Object(o["isMobileBrowser"])()&&this.instance.getSetting("isDataViewInstance")&&this.updateMultipleSelectionHandlesPosition(s,u,C,M,T,x)}isEntireColumnSelected(e,t){return e===this.wot.wtTable.getFirstRenderedRow()&&t===this.wot.wtTable.getLastRenderedRow()}isEntireRowSelected(e,t){return e===this.wot.wtTable.getFirstRenderedColumn()&&t===this.wot.wtTable.getLastRenderedColumn()}getDimensionsFromHeader(e,t,r,i,a){const{wtTable:o}=this.wot,s=o.wtRootElement.parentNode;let l=null,u=null,c=null,d=null,h=null,p=null,f=null,m=null;switch(e){case"rows":l=function(){return o.getRowHeader(...arguments)},u=function(){return Object(n["outerHeight"])(...arguments)},c="ht__selection--rows",p="top";break;case"columns":l=function(){return o.getColumnHeader(...arguments)},u=function(){return Object(n["outerWidth"])(...arguments)},c="ht__selection--columns",p="left";break;default:}if(s.classList.contains(c)){const e=this.wot.getSetting("columnHeaders").length;if(f=l(t,e-i),m=l(r,e-i),!f||!m)return!1;const o=Object(n["offset"])(f),s=Object(n["offset"])(m);return f&&m&&(d=o[p]-a[p]-1,h=s[p]+u(m)-o[p]),[f,d,h]}return!1}changeBorderStyle(e,t){const r=this[e].style,i=t[e];!i||i.hide?Object(n["addClass"])(this[e],"hidden"):(Object(n["hasClass"])(this[e],"hidden")&&Object(n["removeClass"])(this[e],"hidden"),r.backgroundColor=i.color,"top"!==e&&"bottom"!==e||(r.height=i.width+"px"),"start"!==e&&"end"!==e||(r.width=i.width+"px"))}changeBorderToDefaultStyle(e){const t={width:1,color:"#000"},r=this[e].style;r.backgroundColor=t.color,r.width=t.width+"px",r.height=t.width+"px"}toggleHiddenClass(e,t){this.changeBorderToDefaultStyle(e),t?Object(n["addClass"])(this[e],"hidden"):Object(n["removeClass"])(this[e],"hidden")}disappear(){this.topStyle.display="none",this.bottomStyle.display="none",this.startStyle.display="none",this.endStyle.display="none",this.cornerStyle.display="none",Object(o["isMobileBrowser"])()&&this.instance.getSetting("isDataViewInstance")&&(this.selectionHandles.styles.top.display="none",this.selectionHandles.styles.topHitArea.display="none",this.selectionHandles.styles.bottom.display="none",this.selectionHandles.styles.bottomHitArea.display="none")}destroy(){this.eventManager.destroyWithOwnEventsOnly(),this.main.parentNode.removeChild(this.main)}}var In=kn;function Dn(e,t){jn(e,t),t.add(e)}function Pn(e,t,r){jn(e,t),t.set(e,r)}function jn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Fn(e,t){return e.get(Bn(e,t))}function Hn(e,t,r){return e.set(Bn(e,t),r),r}function Bn(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var Un=new WeakMap,Vn=new WeakMap,Yn=new WeakMap,zn=new WeakMap,Wn=new WeakMap,qn=new WeakMap,Gn=new WeakSet;class Kn{constructor(e){Dn(this,Gn),Pn(this,Un,void 0),Pn(this,Vn,void 0),Pn(this,Yn,new Rn),Pn(this,zn,new WeakMap),Pn(this,Wn,new WeakSet),Pn(this,qn,new Map),Hn(Vn,this,e)}setActiveOverlay(e){return Hn(Un,this,e),Fn(Yn,this).setActiveOverlay(Fn(Un,this)),Fn(zn,this).has(Fn(Un,this))||Fn(zn,this).set(Fn(Un,this),new Set),this}getFocusSelection(){return null!==Fn(Vn,this)?Fn(Vn,this).getFocus():null}getAreaSelection(){return null!==Fn(Vn,this)?Fn(Vn,this).createLayeredArea():null}getBorderInstance(e){if(!e.settings.border)return null;if(Fn(qn,this).has(e)){const t=Fn(qn,this).get(e);if(t.has(Fn(Un,this)))return t.get(Fn(Un,this));const r=new In(Fn(Un,this),e.settings);return t.set(Fn(Un,this),r),r}const t=new In(Fn(Un,this),e.settings);return Fn(qn,this).set(e,new Map([[Fn(Un,this),t]])),t}getBorderInstances(e){var t,r;return Array.from(null!==(t=null===(r=Fn(qn,this).get(e))||void 0===r?void 0:r.values())&&void 0!==t?t:[])}destroyBorders(e){Fn(qn,this).get(e).forEach(e=>e.destroy()),Fn(qn,this).delete(e)}render(e){if(null===Fn(Vn,this))return;e&&Bn(Gn,this,Xn).call(this);const t=Array.from(Fn(Vn,this)),r=new Map,i=new Map;for(let n=0;n<t.length;n++){const e=t[n],{className:a,headerAttributes:o,createLayers:s,selectionType:l}=e.settings;Fn(Wn,this).has(e)||(Fn(Wn,this).add(e),e.addLocalHook("destroy",()=>this.destroyBorders(e)));const u=this.getBorderInstance(e);if(e.isEmpty()){null===u||void 0===u||u.disappear();continue}if(a){const t=Fn(Yn,this).setActiveSelection(e).scan();t.forEach(e=>{if(r.has(e)){const t=r.get(e);t.has(a)&&!0===s?t.set(a,t.get(a)+1):t.set(a,1)}else r.set(e,new Map([[a,1]]));o&&(i.has(e)||i.set(e,[]),"TH"===e.nodeName&&i.get(e).push(...o))})}const c=e.getCorners();Fn(Un,this).getSetting("onBeforeDrawBorders",c,l),null===u||void 0===u||u.appear(c)}r.forEach((e,t)=>{var r;const i=Array.from(e).map(e=>{let[t,r]=e;return 1===r?t:[t,...Array.from({length:r-1},(e,r)=>`${t}-${r+1}`)]}).flat();i.forEach(e=>Fn(zn,this).get(Fn(Un,this)).add(e)),Object(n["addClass"])(t,i),"TD"===t.nodeName&&Array.isArray(null===(r=Fn(Vn,this).options)||void 0===r?void 0:r.cellAttributes)&&Object(n["setAttribute"])(t,Fn(Vn,this).options.cellAttributes)}),Array.from(i.keys()).forEach(e=>{Object(n["setAttribute"])(e,[...i.get(e)])})}}function Xn(){const e=Fn(zn,this).get(Fn(Un,this)),t=Fn(Un,this).wtSettings.getSetting("onBeforeRemoveCellClassNames");if(Array.isArray(t))for(let r=0;r<t.length;r++)e.add(t[r]);e.forEach(e=>{var t,r;const i=Fn(Un,this).wtTable.TABLE.querySelectorAll("."+e);let a=[];Array.isArray(null===(t=Fn(Vn,this).options)||void 0===t?void 0:t.cellAttributes)&&(a=Fn(Vn,this).options.cellAttributes.map(e=>e[0])),Array.isArray(null===(r=Fn(Vn,this).options)||void 0===r?void 0:r.headerAttributes)&&(a=[...a,...Fn(Vn,this).options.headerAttributes.map(e=>e[0])]);for(let o=0,s=i.length;o<s;o++)Object(n["removeClass"])(i[o],e),Object(n["removeAttribute"])(i[o],a)}),e.clear()}class Zn extends cr{constructor(e,t){super(e,new on(t));const r=this.wtSettings.getSetting("facade",this);this.wtTable=new ln(this.getTableDao(),r,this.domBindings,this.wtSettings),this.wtViewport=new _n(this.getViewportDao(),this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.selectionManager=new Kn(this.wtSettings.getSetting("selections")),this.wtEvent=new te(r,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager),this.wtOverlays=new tn(this,r,this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.exportSettingsAsClassNames(),this.findOriginalHeaders()}exportSettingsAsClassNames(){const e={rowHeaders:"htRowHeaders",columnHeaders:"htColumnHeaders"},t=[],r=[];Object(u["objectEach"])(e,(e,n)=>{this.wtSettings.getSetting(n).length&&r.push(e),t.push(e)}),Object(n["removeClass"])(this.wtTable.wtRootElement.parentNode,t),Object(n["addClass"])(this.wtTable.wtRootElement.parentNode,r)}getViewportDao(){const e=this;return{get wot(){return e},get topOverlayTrimmingContainer(){return e.wtOverlays.topOverlay.trimmingContainer},get inlineStartOverlayTrimmingContainer(){return e.wtOverlays.inlineStartOverlay.trimmingContainer},get topScrollPosition(){return e.wtOverlays.topOverlay.getScrollPosition()},get topParentOffset(){return e.wtOverlays.topOverlay.getTableParentOffset()},get inlineStartScrollPosition(){return e.wtOverlays.inlineStartOverlay.getScrollPosition()},get inlineStartParentOffset(){return e.wtOverlays.inlineStartOverlay.getTableParentOffset()},get topOverlay(){return e.wtOverlays.topOverlay},get inlineStartOverlay(){return e.wtOverlays.inlineStartOverlay},get bottomOverlay(){return e.wtOverlays.bottomOverlay}}}}class $n{constructor(e){e instanceof cr?this._wot=e:this._initFromSettings(e)}_initFromSettings(e){e.facade=e=>{const t=new $n(e);return()=>t},this._wot=new Zn(e.table,e)}get guid(){return this._wot.guid}get rootDocument(){return this._wot.domBindings.rootDocument}get rootWindow(){return this._wot.domBindings.rootWindow}get wtSettings(){return this._wot.wtSettings}get cloneSource(){return this._wot.cloneSource}get cloneOverlay(){return this._wot.cloneOverlay}get selectionManager(){return this._wot.selectionManager}get wtViewport(){return this._wot.wtViewport}get wtOverlays(){return this._wot.wtOverlays}get wtTable(){return this._wot.wtTable}get wtEvent(){return this._wot.wtEvent}get wtScroll(){return this._wot.wtScroll}get drawn(){return this._wot.drawn}set drawn(e){this._wot.drawn=e}get drawInterrupted(){return this._wot.drawInterrupted}set drawInterrupted(e){this._wot.drawInterrupted=e}get lastMouseOver(){return this._wot.lastMouseOver}set lastMouseOver(e){this._wot.lastMouseOver=e}get momentumScrolling(){return this._wot.momentumScrolling}set momentumScrolling(e){this._wot.momentumScrolling=e}get touchApplied(){return this._wot.touchApplied}set touchApplied(e){this._wot.touchApplied=e}get domBindings(){return this._wot.domBindings}get eventListeners(){return this._wot.eventListeners}set eventListeners(e){this._wot.eventListeners=e}get eventManager(){return this._wot.eventManager}createCellCoords(e,t){return this._wot.createCellCoords(e,t)}createCellRange(e,t,r){return this._wot.createCellRange(e,t,r)}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._wot.draw(e),this}getCell(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._wot.getCell(e,t)}scrollViewport(e,t,r,n,i){return this._wot.scrollViewport(e,t,r,n,i)}scrollViewportHorizontally(e,t,r){return this._wot.scrollViewportHorizontally(e,t,r)}scrollViewportVertically(e,t,r){return this._wot.scrollViewportVertically(e,t,r)}getViewport(){return this._wot.getViewport()}getOverlayName(){return this._wot.cloneOverlay?this._wot.cloneOverlay.type:"master"}exportSettingsAsClassNames(){return this._wot.exportSettingsAsClassNames()}update(e,t){return this._wot.wtSettings.update(e,t),this}getSetting(e,t,r,n,i){return this._wot.wtSettings.getSetting(e,t,r,n,i)}hasSetting(e){return this._wot.wtSettings.hasSetting(e)}destroy(){this._wot.destroy()}}function Jn(e){let{isShiftKey:t,isLeftClick:r,isRightClick:n,coords:i,selection:a,controller:o,cellCoordsFactory:s}=e;const l=a.isSelected()?a.getSelectedRange().current():null,u=a.isSelectedByCorner(),c=a.isSelectedByRowHeader();if(a.markSource("mouse"),t&&l)i.row>=0&&i.col>=0&&!o.cell?a.setRangeEnd(i):(u||c)&&i.row>=0&&i.col>=0&&!o.cell?a.setRangeEnd(s(i.row,i.col)):u&&i.row<0&&!o.column?a.setRangeEnd(s(l.to.row,i.col)):c&&i.col<0&&!o.row?a.setRangeEnd(s(i.row,l.to.col)):(!u&&!c&&i.col<0||u&&i.col<0)&&!o.row?a.selectRows(Math.max(l.from.row,0),i.row,i.col):(!u&&!c&&i.row<0||c&&i.row<0)&&!o.column&&a.selectColumns(Math.max(l.from.col,0),i.col,i.row);else{const e=!a.inInSelection(i),t=r||n&&e;i.row<0&&i.col>=0&&!o.column?t&&a.selectColumns(i.col,i.col,i.row):i.col<0&&i.row>=0&&!o.row?t&&a.selectRows(i.row,i.row,i.col):i.col>=0&&i.row>=0&&!o.cell?t&&a.setRangeStart(i):i.col<0&&i.row<0&&a.selectAll(!0,!0,{disableHeadersHighlight:!0,focusPosition:{row:0,col:0}})}a.markEndSource()}function Qn(e){let{isLeftClick:t,coords:r,selection:n,controller:i,cellCoordsFactory:a}=e;if(!t)return;const o=n.isSelectedByRowHeader(),s=n.isSelectedByColumnHeader(),l=n.tableProps.countCols(),u=n.tableProps.countRows();n.markSource("mouse"),s&&!i.column?n.setRangeEnd(a(u-1,r.col)):o&&!i.row?n.setRangeEnd(a(r.row,l-1)):i.cell||n.setRangeEnd(r),n.markEndSource()}const ei=new Map([["mousedown",Jn],["mouseover",Qn],["touchstart",Jn]]);function ti(e,t){let{coords:r,selection:n,controller:i,cellCoordsFactory:a}=t;ei.get(e.type)({coords:r,selection:n,controller:i,cellCoordsFactory:a,isShiftKey:e.shiftKey,isLeftClick:Object(j["isLeftClick"])(e)||"touchstart"===e.type,isRightClick:Object(j["isRightClick"])(e)})}const ri=new WeakMap,ni=Symbol("rootInstance");function ii(e){ri.set(e,!0)}function ai(e){return e===ni}function oi(e){return ri.has(e)}function si(e,t){ui(e,t),t.add(e)}function li(e,t,r){ui(e,t),t.set(e,r)}function ui(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ci(e,t,r){return t=di(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e){var t=hi(e,"string");return"symbol"==typeof t?t:t+""}function hi(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function pi(e,t){return e.get(mi(e,t))}function fi(e,t,r){return e.set(mi(e,t),r),r}function mi(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var gi=new WeakMap,vi=new WeakMap,bi=new WeakMap,yi=new WeakMap,wi=new WeakMap,_i=new WeakMap,Si=new WeakMap,Ei=new WeakSet;class Mi{constructor(e){si(this,Ei),ci(this,"hot",void 0),ci(this,"eventManager",void 0),ci(this,"settings",void 0),ci(this,"THEAD",void 0),ci(this,"TBODY",void 0),ci(this,"_wt",void 0),ci(this,"activeWt",void 0),li(this,gi,0),li(this,vi,0),ci(this,"postponedAdjustElementsSize",!1),li(this,bi,!1),li(this,yi,void 0),li(this,wi,void 0),li(this,_i,0),li(this,Si,0),this.hot=e,this.eventManager=new l["a"](this.hot),this.settings=this.hot.getSettings(),this.createElements(),this.registerEvents(),this.initializeWalkontable()}render(){this.hot.isRenderSuspended()||(this.hot.runHooks("beforeRender",this.hot.forceFullRender),this.postponedAdjustElementsSize&&(this.postponedAdjustElementsSize=!1,this.adjustElementsSize(!0)),this._wt.draw(!this.hot.forceFullRender),this.hot.runHooks("afterRender",this.hot.forceFullRender),this.hot.forceFullRender=!1,this.hot.renderCall=!1)}adjustElementsSize(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.hot.isRenderSuspended()?this.postponedAdjustElementsSize=!0:this._wt.wtOverlays.adjustElementsSize(e)}getCellAtCoords(e,t){const r=this._wt.getCell(e,t);return r<0?null:r}scrollViewport(e,t,r,n,i){return this._wt.scrollViewport(e,t,r,n,i)}scrollViewportHorizontally(e,t,r){return this._wt.scrollViewportHorizontally(e,t,r)}scrollViewportVertically(e,t,r){return this._wt.scrollViewportVertically(e,t,r)}createElements(){const{rootElement:e,rootDocument:t}=this.hot,r=e.getAttribute("style");r&&e.setAttribute("data-originalstyle",r),Object(n["addClass"])(e,"handsontable"),fi(wi,this,t.createElement("TABLE")),Object(n["addClass"])(pi(wi,this),"htCore"),this.hot.getSettings().tableClassName&&Object(n["addClass"])(pi(wi,this),this.hot.getSettings().tableClassName),this.settings.ariaTags&&(Object(n["setAttribute"])(pi(wi,this),[Object(je["x"])()]),Object(n["setAttribute"])(e,[Object(je["M"])(),Object(je["B"])(-1),Object(je["e"])(this.hot.countCols()),Object(je["u"])()])),this.THEAD=t.createElement("THEAD"),pi(wi,this).appendChild(this.THEAD),this.TBODY=t.createElement("TBODY"),pi(wi,this).appendChild(this.TBODY),this.hot.table=pi(wi,this),this.hot.container.insertBefore(pi(wi,this),this.hot.container.firstChild)}registerEvents(){const{rootElement:e,rootDocument:t,selection:r,rootWindow:i}=this.hot,a=t.documentElement;this.eventManager.addEventListener(e,"mousedown",e=>{fi(bi,this,!0),this.isTextSelectionAllowed(e.target)||(Object(n["clearTextSelection"])(i),e.preventDefault(),i.focus())}),this.eventManager.addEventListener(e,"mouseup",()=>{fi(bi,this,!1)}),this.eventManager.addEventListener(e,"mousemove",e=>{pi(bi,this)&&!this.isTextSelectionAllowed(e.target)&&(this.settings.fragmentSelection&&Object(n["clearTextSelection"])(i),e.preventDefault())}),this.eventManager.addEventListener(a,"keyup",e=>{r.isInProgress()&&!e.shiftKey&&r.finish()}),this.eventManager.addEventListener(a,"mouseup",i=>{r.isInProgress()&&Object(j["isLeftClick"])(i)&&r.finish(),fi(yi,this,!1);const a=Object(n["isOutsideInput"])(t.activeElement);Object(n["isInput"])(t.activeElement)&&!a||!a&&(r.isSelected()||r.isSelectedByAnyHeader()||e.contains(i.target)||Object(j["isRightClick"])(i))||this.hot.unlisten()}),this.eventManager.addEventListener(a,"contextmenu",e=>{r.isInProgress()&&Object(j["isRightClick"])(e)&&(r.finish(),fi(yi,this,!1))}),this.eventManager.addEventListener(a,"touchend",()=>{r.isInProgress()&&r.finish(),fi(yi,this,!1)}),this.eventManager.addEventListener(a,"mousedown",r=>{const i=r.target,o=r.x||r.clientX,s=r.y||r.clientY;let l=r.target;if(pi(yi,this)||!e||!this.hot.view)return;const{holder:u}=this.hot.view._wt.wtTable;if(l===u){const e=Object(n["getScrollbarWidth"])(t);if(t.elementFromPoint(o+e,s)!==u||t.elementFromPoint(o,s+e)!==u)return}else while(l!==a){if(null===l){if(r.isTargetWebComponent)break;return}if(l===e)return;l=l.parentNode}const c="function"===typeof this.settings.outsideClickDeselects?this.settings.outsideClickDeselects(i):this.settings.outsideClickDeselects;c?this.hot.deselectCell():this.hot.destroyEditor(!1,!1)});let o=Object(n["getParentWindow"])(i);while(null!==o)this.eventManager.addEventListener(o.document.documentElement,"click",()=>{this.hot.unlisten()}),o=Object(n["getParentWindow"])(o);this.eventManager.addEventListener(pi(wi,this),"selectstart",e=>{this.settings.fragmentSelection||Object(n["isInput"])(e.target)||e.preventDefault()})}translateFromRenderableToVisualCoords(e){let{row:t,col:r}=e;return this.hot._createCellCoords(...this.translateFromRenderableToVisualIndex(t,r))}translateFromRenderableToVisualIndex(e,t){let r=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e,n=t>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(t):t;return null===r&&(r=e),null===n&&(n=t),[r,n]}countRenderableIndexes(e,t){const r=Math.min(e.getNotTrimmedIndexesLength(),t),n=e.getNearestNotHiddenIndex(r-1,-1);return null===n?0:e.getRenderableFromVisualIndex(n)+1}countRenderableColumns(){return this.countRenderableIndexes(this.hot.columnIndexMapper,this.settings.maxCols)}countRenderableRows(){return this.countRenderableIndexes(this.hot.rowIndexMapper,this.settings.maxRows)}countNotHiddenRowIndexes(e,t){return this.countNotHiddenIndexes(e,t,this.hot.rowIndexMapper,this.countRenderableRows())}countNotHiddenColumnIndexes(e,t){return this.countNotHiddenIndexes(e,t,this.hot.columnIndexMapper,this.countRenderableColumns())}countNotHiddenIndexes(e,t,r,n){if(isNaN(e)||e<0)return 0;const i=r.getNearestNotHiddenIndex(e,t),a=r.getRenderableFromVisualIndex(i);if(!Number.isInteger(a))return 0;let o=0;return t<0?o=a+1:t>0&&(o=n-a),o}countNotHiddenFixedColumnsStart(){const e=this.hot.countCols(),t=Math.min(parseInt(this.settings.fixedColumnsStart,10),e)-1;return this.countNotHiddenColumnIndexes(t,-1)}countNotHiddenFixedRowsTop(){const e=this.hot.countRows(),t=Math.min(parseInt(this.settings.fixedRowsTop,10),e)-1;return this.countNotHiddenRowIndexes(t,-1)}countNotHiddenFixedRowsBottom(){const e=this.hot.countRows(),t=Math.max(e-parseInt(this.settings.fixedRowsBottom,10),0);return this.countNotHiddenRowIndexes(t,1)}countRenderableColumnsInRange(e,t){let r=0;for(let n=e;n<=t;n++)null!==this.hot.columnIndexMapper.getRenderableFromVisualIndex(n)&&(r+=1);return r}countRenderableRowsInRange(e,t){let r=0;for(let n=e;n<=t;n++)null!==this.hot.rowIndexMapper.getRenderableFromVisualIndex(n)&&(r+=1);return r}isMainTableNotFullyCoveredByOverlays(){const e=this.countNotHiddenFixedRowsTop()+this.countNotHiddenFixedRowsBottom(),t=this.countNotHiddenFixedColumnsStart();return this.hot.countRenderedRows()>e&&this.hot.countRenderedCols()>t}initializeWalkontable(){const e={ariaTags:this.settings.ariaTags,rtlMode:this.hot.isRtl(),externalRowCalculator:this.hot.getPlugin("autoRowSize")&&this.hot.getPlugin("autoRowSize").isEnabled(),table:pi(wi,this),isDataViewInstance:()=>oi(this.hot),preventOverflow:()=>this.settings.preventOverflow,preventWheel:()=>this.settings.preventWheel,stretchH:()=>this.settings.stretchH,data:(e,t)=>this.hot.getDataAtCell(...this.translateFromRenderableToVisualIndex(e,t)),totalRows:()=>this.countRenderableRows(),totalColumns:()=>this.countRenderableColumns(),fixedColumnsStart:()=>this.countNotHiddenFixedColumnsStart(),fixedRowsTop:()=>this.countNotHiddenFixedRowsTop(),fixedRowsBottom:()=>this.countNotHiddenFixedRowsBottom(),shouldRenderInlineStartOverlay:()=>this.settings.fixedColumnsStart>0||e.rowHeaders().length>0,shouldRenderTopOverlay:()=>this.settings.fixedRowsTop>0||e.columnHeaders().length>0,shouldRenderBottomOverlay:()=>this.settings.fixedRowsBottom>0,minSpareRows:()=>this.settings.minSpareRows,renderAllRows:this.settings.renderAllRows,renderAllColumns:this.settings.renderAllColumns,rowHeaders:()=>{const e=[];return this.hot.hasRowHeaders()&&e.push((e,t)=>{const r=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e;this.appendRowHeader(r,t)}),this.hot.runHooks("afterGetRowHeaderRenderers",e),fi(vi,this,e.length),this.hot.getSettings().ariaTags&&mi(Ei,this,Ti).call(this)===this.hot.countCols()&&mi(Ei,this,Ci).call(this,pi(vi,this)),e},columnHeaders:()=>{const e=[];return this.hot.hasColHeaders()&&e.push((e,t)=>{const r=e>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(e):e;this.appendColHeader(r,t)}),this.hot.runHooks("afterGetColumnHeaderRenderers",e),fi(gi,this,e.length),e},columnWidth:e=>{const t=this.hot.columnIndexMapper.getVisualFromRenderableIndex(e);return this.hot.getColWidth(null===t?e:t)},rowHeight:e=>{const t=this.hot.rowIndexMapper.getVisualFromRenderableIndex(e);return this.hot.getRowHeight(null===t?e:t)},cellRenderer:(e,t,r)=>{const[n,i]=this.translateFromRenderableToVisualIndex(e,t),a=this.hot.runHooks("modifyGetCellCoords",n,i);let o=n,s=i;Array.isArray(a)&&([o,s]=a);const l=this.hot.getCellMeta(o,s),u=this.hot.colToProp(s);let c=this.hot.getDataAtRowProp(o,u);this.hot.hasHook("beforeValueRender")&&(c=this.hot.runHooks("beforeValueRender",c,l)),this.hot.runHooks("beforeRenderer",r,n,i,u,c,l),this.hot.getCellRenderer(l)(this.hot,r,n,i,u,c,l),this.hot.runHooks("afterRenderer",r,n,i,u,c,l)},selections:this.hot.selection.highlight,hideBorderOnMouseDownOver:()=>this.settings.fragmentSelection,onWindowResize:()=>{this.hot&&!this.hot.isDestroyed&&this.hot.refreshDimensions()},onContainerElementResize:()=>{this.hot&&!this.hot.isDestroyed&&Object(n["isVisible"])(this.hot.rootElement)&&this.hot.refreshDimensions()},onCellMouseDown:(e,t,r,n)=>{const i=this.translateFromRenderableToVisualCoords(t),a={row:!1,column:!1,cell:!1};this.hot.listen(),this.activeWt=n,fi(yi,this,!0),this.hot.runHooks("beforeOnCellMouseDown",e,i,r,a),Object(j["isImmediatePropagationStopped"])(e)||(ti(e,{coords:i,selection:this.hot.selection,controller:a,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseDown",e,i,r),this.activeWt=this._wt)},onCellContextMenu:(e,t,r,n)=>{const i=this.translateFromRenderableToVisualCoords(t);this.activeWt=n,fi(yi,this,!1),this.hot.selection.isInProgress()&&this.hot.selection.finish(),this.hot.runHooks("beforeOnCellContextMenu",e,i,r),Object(j["isImmediatePropagationStopped"])(e)||(this.hot.runHooks("afterOnCellContextMenu",e,i,r),this.activeWt=this._wt)},onCellMouseOut:(e,t,r,n)=>{const i=this.translateFromRenderableToVisualCoords(t);this.activeWt=n,this.hot.runHooks("beforeOnCellMouseOut",e,i,r),Object(j["isImmediatePropagationStopped"])(e)||(this.hot.runHooks("afterOnCellMouseOut",e,i,r),this.activeWt=this._wt)},onCellMouseOver:(e,t,r,n)=>{const i=this.translateFromRenderableToVisualCoords(t),a={row:!1,column:!1,cell:!1};this.activeWt=n,this.hot.runHooks("beforeOnCellMouseOver",e,i,r,a),Object(j["isImmediatePropagationStopped"])(e)||(pi(yi,this)&&ti(e,{coords:i,selection:this.hot.selection,controller:a,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseOver",e,i,r),this.activeWt=this._wt)},onCellMouseUp:(e,t,r,n)=>{const i=this.translateFromRenderableToVisualCoords(t);this.activeWt=n,this.hot.runHooks("beforeOnCellMouseUp",e,i,r),Object(j["isImmediatePropagationStopped"])(e)||this.hot.isDestroyed||(this.hot.runHooks("afterOnCellMouseUp",e,i,r),this.activeWt=this._wt)},onCellCornerMouseDown:e=>{e.preventDefault(),this.hot.runHooks("afterOnCellCornerMouseDown",e)},onCellCornerDblClick:e=>{e.preventDefault(),this.hot.runHooks("afterOnCellCornerDblClick",e)},beforeDraw:(e,t)=>this.beforeRender(e,t),onDraw:e=>this.afterRender(e),onBeforeViewportScrollVertically:e=>{const t=this.hot.rowIndexMapper,r=e<0;let n=e;return r||(n=t.getVisualFromRenderableIndex(e),null!==n)?(n=this.hot.runHooks("beforeViewportScrollVertically",n),this.hot.runHooks("beforeViewportScroll"),r?n:t.getRenderableFromVisualIndex(n)):e},onBeforeViewportScrollHorizontally:e=>{const t=this.hot.columnIndexMapper,r=e<0;let n=e;return r||(n=t.getVisualFromRenderableIndex(e),null!==n)?(n=this.hot.runHooks("beforeViewportScrollHorizontally",n),this.hot.runHooks("beforeViewportScroll"),r?n:t.getRenderableFromVisualIndex(n)):e},onScrollVertically:()=>{this.hot.runHooks("afterScrollVertically"),this.hot.runHooks("afterScroll")},onScrollHorizontally:()=>{this.hot.runHooks("afterScrollHorizontally"),this.hot.runHooks("afterScroll")},onBeforeRemoveCellClassNames:()=>this.hot.runHooks("beforeRemoveCellClassNames"),onBeforeHighlightingRowHeader:(e,t,r)=>{const n=this.hot.rowIndexMapper,i=e<0;let a=e;i||(a=n.getVisualFromRenderableIndex(e));const o=this.hot.runHooks("beforeHighlightingRowHeader",a,t,r);return i?o:n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o,1))},onBeforeHighlightingColumnHeader:(e,t,r)=>{const n=this.hot.columnIndexMapper,i=e<0;let a=e;i||(a=n.getVisualFromRenderableIndex(e));const o=this.hot.runHooks("beforeHighlightingColumnHeader",a,t,r);return i?o:n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o,1))},onAfterDrawSelection:(e,t,r)=>{let n;const[i,a]=this.translateFromRenderableToVisualIndex(e,t),o=this.hot.selection.getSelectedRange(),s=o.size();if(s>0){const e=o.peekByIndex(null!==r&&void 0!==r?r:0);n=[e.from.row,e.from.col,e.to.row,e.to.col]}return this.hot.runHooks("afterDrawSelection",i,a,n,r)},onBeforeDrawBorders:(e,t)=>{const[r,n,i,a]=e,o=[this.hot.rowIndexMapper.getVisualFromRenderableIndex(r),this.hot.columnIndexMapper.getVisualFromRenderableIndex(n),this.hot.rowIndexMapper.getVisualFromRenderableIndex(i),this.hot.columnIndexMapper.getVisualFromRenderableIndex(a)];return this.hot.runHooks("beforeDrawBorders",o,t)},onBeforeTouchScroll:()=>this.hot.runHooks("beforeTouchScroll"),onAfterMomentumScroll:()=>this.hot.runHooks("afterMomentumScroll"),onBeforeStretchingColumnWidth:(e,t)=>{const r=this.hot.columnIndexMapper.getVisualFromRenderableIndex(t);return this.hot.runHooks("beforeStretchingColumnWidth",e,r)},onModifyRowHeaderWidth:e=>this.hot.runHooks("modifyRowHeaderWidth",e),onModifyGetCellCoords:(e,t,r)=>{const n=this.hot.rowIndexMapper,i=this.hot.columnIndexMapper,a=t>=0?i.getVisualFromRenderableIndex(t):t,o=e>=0?n.getVisualFromRenderableIndex(e):e,s=this.hot.runHooks("modifyGetCellCoords",o,a,r);if(Array.isArray(s)){const[e,t,r,a]=s;return[e>=0?n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(e,1)):e,t>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(t,1)):t,r>=0?n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(r,-1)):r,a>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(a,-1)):a]}},viewportRowCalculatorOverride:e=>{let t=this.settings.viewportRowRenderingOffset;if("auto"===t&&this.settings.fixedRowsTop&&(t=10),t>0||"auto"===t){const r=this.countRenderableRows(),n=e.startRow,i=e.endRow;if("number"===typeof t)e.startRow=Math.max(n-t,0),e.endRow=Math.min(i+t,r-1);else if("auto"===t){const t=Math.ceil(i/r*12);e.startRow=Math.max(n-t,0),e.endRow=Math.min(i+t,r-1)}}this.hot.runHooks("afterViewportRowCalculatorOverride",e)},viewportColumnCalculatorOverride:e=>{let t=this.settings.viewportColumnRenderingOffset;if("auto"===t&&this.settings.fixedColumnsStart&&(t=10),t>0||"auto"===t){const r=this.countRenderableColumns(),n=e.startColumn,i=e.endColumn;if("number"===typeof t&&(e.startColumn=Math.max(n-t,0),e.endColumn=Math.min(i+t,r-1)),"auto"===t){const t=Math.ceil(i/r*6);e.startColumn=Math.max(n-t,0),e.endColumn=Math.min(i+t,r-1)}}this.hot.runHooks("afterViewportColumnCalculatorOverride",e)},rowHeaderWidth:()=>this.settings.rowHeaderWidth,columnHeaderHeight:()=>{const e=this.hot.runHooks("modifyColumnHeaderHeight");return this.settings.columnHeaderHeight||e}};this.hot.runHooks("beforeInitWalkontable",e),this._wt=new $n(e),this.activeWt=this._wt;const t=this._wt.wtTable.spreader,{width:r,height:i}=this.hot.rootElement.getBoundingClientRect();this.setLastSize(r,i),this.eventManager.addEventListener(t,"mousedown",e=>{e.target===t&&3===e.which&&e.stopPropagation()}),this.eventManager.addEventListener(t,"contextmenu",e=>{e.target===t&&3===e.which&&e.stopPropagation()}),this.eventManager.addEventListener(this.hot.rootDocument.documentElement,"click",()=>{this.settings.observeDOMVisibility&&this._wt.drawInterrupted&&(this.hot.forceFullRender=!0,this.render())})}isTextSelectionAllowed(e){if(Object(n["isInput"])(e))return!0;const t=Object(n["isChildOf"])(e,this.hot.view._wt.wtTable.spreader);return!(!0!==this.settings.fragmentSelection||!t)||(!("cell"!==this.settings.fragmentSelection||!this.isSelectedOnlyCell()||!t)||!(this.settings.fragmentSelection||!this.isCellEdited()||!this.isSelectedOnlyCell()))}isMouseDown(){return pi(yi,this)}isSelectedOnlyCell(){var e,t;return null!==(e=null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.isSingleCell())&&void 0!==e&&e}isCellEdited(){const e=this.hot.getActiveEditor();return e&&e.isOpened()}beforeRender(e,t){e&&this.hot.runHooks("beforeViewRender",this.hot.forceFullRender,t)}afterRender(e){e&&this.hot.runHooks("afterViewRender",this.hot.forceFullRender)}appendRowHeader(e,t){if(t.firstChild){const r=t.firstChild;if(!Object(n["hasClass"])(r,"relative"))return Object(n["empty"])(t),void this.appendRowHeader(e,t);this.updateCellHeader(r.querySelector(".rowHeader"),e,this.hot.getRowHeader)}else{const{rootDocument:r,getRowHeader:n}=this.hot,i=r.createElement("div"),a=r.createElement("span");i.className="relative",a.className="rowHeader",this.updateCellHeader(a,e,n),i.appendChild(a),t.appendChild(i)}this.hot.runHooks("afterGetRowHeader",e,t)}appendColHeader(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hot.getColHeader,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(t.firstChild){const a=t.firstChild;Object(n["hasClass"])(a,"relative")?this.updateCellHeader(a.querySelector(".colHeader"),e,r,i):(Object(n["empty"])(t),this.appendColHeader(e,t,r,i))}else{const{rootDocument:a}=this.hot,o=a.createElement("div"),s=a.createElement("span");o.className="relative",s.className="colHeader",this.settings.ariaTags&&(Object(n["setAttribute"])(o,...Object(je["x"])()),Object(n["setAttribute"])(s,...Object(je["x"])())),this.updateCellHeader(s,e,r,i),o.appendChild(s),t.appendChild(o)}this.hot.runHooks("afterGetColHeader",e,t,i)}updateCellHeader(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=t;const o=this._wt.wtOverlays.getParentOverlay(e)||this._wt;e.parentNode&&(Object(n["hasClass"])(e,"colHeader")?a=o.wtTable.columnFilter.sourceToRendered(t):Object(n["hasClass"])(e,"rowHeader")&&(a=o.wtTable.rowFilter.sourceToRendered(t))),a>-1?Object(n["fastInnerHTML"])(e,r(t,i)):(Object(n["fastInnerText"])(e,String.fromCharCode(160)),Object(n["addClass"])(e,"cornerHeader"))}maximumVisibleElementWidth(e){const t=this._wt.wtViewport.getWorkspaceWidth(),r=t-e;return r>0?r:0}maximumVisibleElementHeight(e){const t=this._wt.wtViewport.getWorkspaceHeight(),r=t-e;return r>0?r:0}setLastSize(e,t){fi(_i,this,e),fi(Si,this,t)}getLastSize(){return{width:pi(_i,this),height:pi(Si,this)}}getFirstFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getFirstVisibleRow())}getLastFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getLastVisibleRow())}getFirstFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getFirstVisibleColumn())}getLastFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getLastVisibleColumn())}getFirstPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getFirstPartiallyVisibleRow())}getLastPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getLastPartiallyVisibleRow())}getFirstPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getFirstPartiallyVisibleColumn())}getLastPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this.hot.view._wt.wtScroll.getLastPartiallyVisibleColumn())}getColumnHeadersCount(){return pi(gi,this)}getRowHeadersCount(){return pi(vi,this)}getViewportWidth(){return this.hot.view._wt.wtViewport.getViewportWidth()}getWorkspaceWidth(){return this.hot.view._wt.wtViewport.getWorkspaceWidth()}getViewportHeight(){return this.hot.view._wt.wtViewport.getViewportHeight()}getWorkspaceHeight(){return this.hot.view._wt.wtViewport.getWorkspaceHeight()}destroy(){this._wt.destroy(),this.eventManager.destroy()}}function Ti(){return parseInt(this.hot.rootElement.getAttribute(Object(je["e"])()[0]),10)}function Ci(e){const t=mi(Ei,this,Ti).call(this)+e;Object(n["setAttribute"])(this.hot.rootElement,...Object(je["e"])(t))}var xi=Mi,Ai=r("480c");function Ni(e,t,r){return t=Oi(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){var t=Ri(e,"string");return"symbol"==typeof t?t:t+""}function Ri(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Li{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ni(this,"hot",void 0),Ni(this,"data",void 0),Ni(this,"dataType","array"),Ni(this,"colToProp",()=>{}),Ni(this,"propToCol",()=>{}),this.hot=e,this.data=t}modifyRowData(e){let t;return this.hot.hasHook("modifyRowData")&&(t=this.hot.runHooks("modifyRowData",e)),void 0===t||Number.isInteger(t)?this.data[e]:t}getData(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.data&&0!==this.data.length?this.getByRange(null,null,e):this.data}setData(e){this.data=e}getAtColumn(e){const t=[];return Object(N["arrayEach"])(this.data,(r,n)=>{const i=this.getAtCell(n,e);t.push(i)}),t}getAtRow(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const a=void 0===t&&void 0===r;let o=null,s=null;if(o=this.modifyRowData(e),Array.isArray(o))s=[],a?o.forEach((t,r)=>{s[r]=this.getAtPhysicalCell(e,r,o)}):Object(P["rangeEach"])(t,r,r=>{s[r-t]=this.getAtPhysicalCell(e,r,o)});else if(Object(u["isObject"])(o)||Object(i["isFunction"])(o))if(s=n?[]:{},!a||n){const i=0,a=this.countFirstRowKeys()-1;Object(P["rangeEach"])(i,a,l=>{const c=this.colToProp(l);if(l>=(t||i)&&l<=(r||a)&&!Number.isInteger(c)){const t=this.getAtPhysicalCell(e,c,o);n?s.push(t):Object(u["setProperty"])(s,c,t)}})}else Object(u["objectEach"])(o,(t,r)=>{Object(u["setProperty"])(s,r,this.getAtPhysicalCell(e,r,o))});return s}setAtCell(e,t,r){if(!(e>=this.countRows()||t>=this.countFirstRowKeys())){if(this.hot.hasHook("modifySourceData")){const n=Object(u["createObjectPropListener"])(r);this.hot.runHooks("modifySourceData",e,t,n,"set"),n.isTouched()&&(r=n.value)}Number.isInteger(t)?this.data[e][t]=r:Object(u["setProperty"])(this.data[e],t,r)}}getAtPhysicalCell(e,t,r){let n=null;if(r&&(n="string"===typeof t?Object(u["getProperty"])(r,t):"function"===typeof t?t(r):r[t]),this.hot.hasHook("modifySourceData")){const r=Object(u["createObjectPropListener"])(n);this.hot.runHooks("modifySourceData",e,t,r,"get"),r.isTouched()&&(n=r.value)}return n}getAtCell(e,t){const r=this.modifyRowData(e);return this.getAtPhysicalCell(e,this.colToProp(t),r)}getByRange(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!1,i=null,a=null,o=null,s=null;null===e||null===t?(n=!0,i=0,o=this.countRows()-1):(i=Math.min(e.row,t.row),a=Math.min(e.col,t.col),o=Math.max(e.row,t.row),s=Math.max(e.col,t.col));const l=[];return Object(P["rangeEach"])(i,o,e=>{l.push(n?this.getAtRow(e,void 0,void 0,r):this.getAtRow(e,a,s,r))}),l}countRows(){if(this.hot.hasHook("modifySourceLength")){const e=this.hot.runHooks("modifySourceLength");if(Number.isInteger(e))return e}return this.data.length}countFirstRowKeys(){return Object(Ai["countFirstRowKeys"])(this.data)}destroy(){this.data=null,this.hot=null}}var ki=Li,Ii=r("1b1a"),Di=r("cef7"),Pi=r("1096"),ji=r("9056"),Fi=r("9f10"),Hi=r("00fd");const Bi=new Map([["hiding",Di["a"]],["index",Pi["a"]],["linkedPhysicalIndexToValue",ji["a"]],["physicalIndexToValue",Fi["a"]],["trimming",Hi["a"]]]);function Ui(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Bi.has(e))throw new Error(`The provided map type ("${e}") does not exist.`);return new(Bi.get(e))(t)}var Vi=r("3d57"),Yi=r("c5cd");function zi(e,t,r){return t=Wi(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){var t=qi(e,"string");return"symbol"==typeof t?t:t+""}function qi(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Gi extends Yi["a"]{constructor(e,t){super(),zi(this,"mergedValuesCache",[]),zi(this,"aggregationFunction",void 0),zi(this,"fallbackValue",void 0),this.aggregationFunction=e,this.fallbackValue=t}getMergedValues(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!0===e)return this.mergedValuesCache;if(0===this.getLength())return[];const t=Object(N["arrayMap"])(this.get(),e=>e.getValues()),r=[],n=Object(a["isDefined"])(t[0])&&t[0].length||0;for(let i=0;i<n;i+=1){const e=[];for(let r=0;r<this.getLength();r+=1)e.push(t[r][i]);r.push(e)}return Object(N["arrayMap"])(r,this.aggregationFunction)}getMergedValueAtIndex(e,t){const r=this.getMergedValues(t)[e];return Object(a["isDefined"])(r)?r:this.fallbackValue}updateCache(){this.mergedValuesCache=this.getMergedValues(!1)}}var Ki=r("7ae0");function Xi(e,t,r){Zi(e,t),t.set(e,r)}function Zi(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $i(e,t,r){return e.set(Qi(e,t),r),r}function Ji(e,t){return e.get(Qi(e,t))}function Qi(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var ea=new WeakMap;class ta{constructor(){Xi(this,ea,[])}subscribe(e){return this.addLocalHook("change",e),this._write(Ji(ea,this)),this}unsubscribe(){return this.runLocalHooks("unsubscribe"),this.clearLocalHooks(),this}_write(e){return e.length>0&&this.runLocalHooks("change",e),this}_writeInitialChanges(e){$i(ea,this,e)}}function ra(e,t){const r=[];let n=0,i=0;for(;n<e.length&&i<t.length;n++,i++)e[n]!==t[i]&&r.push({op:"replace",index:i,oldValue:e[n],newValue:t[i]});for(;n<t.length;n++)r.push({op:"insert",index:n,oldValue:void 0,newValue:t[n]});for(;i<e.length;i++)r.push({op:"remove",index:i,oldValue:e[i],newValue:void 0});return r}function na(e,t,r){ia(e,t),t.set(e,r)}function ia(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function aa(e,t){return e.get(sa(e,t))}function oa(e,t,r){return e.set(sa(e,t),r),r}function sa(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}Object(u["mixin"])(ta,Ki["a"]);var la=new WeakMap,ua=new WeakMap,ca=new WeakMap,da=new WeakMap,ha=new WeakMap;class pa{constructor(){let{initialIndexValue:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};na(this,la,new Set),na(this,ua,[]),na(this,ca,[]),na(this,da,!1),na(this,ha,!1),oa(ha,this,null!==e&&void 0!==e&&e)}createObserver(){const e=new ta;return aa(la,this).add(e),e.addLocalHook("unsubscribe",()=>{aa(la,this).delete(e)}),e._writeInitialChanges(ra(aa(ua,this),aa(ca,this))),e}emit(e){let t=aa(ca,this);aa(da,this)&&aa(ua,this).length===e.length||(0===e.length?e=new Array(t.length).fill(aa(ha,this)):oa(ua,this,new Array(e.length).fill(aa(ha,this))),aa(da,this)||(oa(da,this,!0),t=aa(ua,this)));const r=ra(t,e);aa(la,this).forEach(e=>e._write(r)),oa(ca,this,e)}}function fa(e,t,r){return t=ma(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){var t=ga(e,"string");return"symbol"==typeof t?t:t+""}function ga(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}new Set;class va{constructor(){fa(this,"indexesSequence",new Ii["a"]),fa(this,"trimmingMapsCollection",new Gi(e=>e.some(e=>!0===e),!1)),fa(this,"hidingMapsCollection",new Gi(e=>e.some(e=>!0===e),!1)),fa(this,"variousMapsCollection",new Yi["a"]),fa(this,"hidingChangesObservable",new pa({initialIndexValue:!1})),fa(this,"notTrimmedIndexesCache",[]),fa(this,"notHiddenIndexesCache",[]),fa(this,"isBatched",!1),fa(this,"indexesSequenceChanged",!1),fa(this,"indexesChangeSource",void 0),fa(this,"trimmedIndexesChanged",!1),fa(this,"hiddenIndexesChanged",!1),fa(this,"renderablePhysicalIndexesCache",[]),fa(this,"fromPhysicalToVisualIndexesCache",new Map),fa(this,"fromVisualToRenderableIndexesCache",new Map),this.indexesSequence.addLocalHook("change",()=>{this.indexesSequenceChanged=!0,this.updateCache(),this.runLocalHooks("indexesSequenceChange",this.indexesChangeSource),this.runLocalHooks("change",this.indexesSequence,null)}),this.trimmingMapsCollection.addLocalHook("change",e=>{this.trimmedIndexesChanged=!0,this.updateCache(),this.runLocalHooks("change",e,this.trimmingMapsCollection)}),this.hidingMapsCollection.addLocalHook("change",e=>{this.hiddenIndexesChanged=!0,this.updateCache(),this.runLocalHooks("change",e,this.hidingMapsCollection)}),this.variousMapsCollection.addLocalHook("change",e=>{this.runLocalHooks("change",e,this.variousMapsCollection)})}suspendOperations(){this.isBatched=!0}resumeOperations(){this.isBatched=!1,this.updateCache()}createChangesObserver(e){if("hiding"!==e)throw new Error(`Unsupported index map type "${e}".`);return this.hidingChangesObservable.createObserver()}createAndRegisterIndexMap(e,t,r){return this.registerMap(e,Ui(t,r))}registerMap(e,t){if(this.trimmingMapsCollection.get(e)||this.hidingMapsCollection.get(e)||this.variousMapsCollection.get(e))throw Error(`Map with name "${e}" has been already registered.`);t instanceof Hi["a"]?this.trimmingMapsCollection.register(e,t):t instanceof Di["a"]?this.hidingMapsCollection.register(e,t):this.variousMapsCollection.register(e,t);const r=this.getNumberOfIndexes();return r>0&&t.init(r),t}unregisterMap(e){this.trimmingMapsCollection.unregister(e),this.hidingMapsCollection.unregister(e),this.variousMapsCollection.unregister(e)}unregisterAll(){this.trimmingMapsCollection.unregisterAll(),this.hidingMapsCollection.unregisterAll(),this.variousMapsCollection.unregisterAll()}getPhysicalFromVisualIndex(e){const t=this.notTrimmedIndexesCache[e];return Object(a["isDefined"])(t)?t:null}getPhysicalFromRenderableIndex(e){const t=this.renderablePhysicalIndexesCache[e];return Object(a["isDefined"])(t)?t:null}getVisualFromPhysicalIndex(e){const t=this.fromPhysicalToVisualIndexesCache.get(e);return Object(a["isDefined"])(t)?t:null}getVisualFromRenderableIndex(e){return this.getVisualFromPhysicalIndex(this.getPhysicalFromRenderableIndex(e))}getRenderableFromVisualIndex(e){const t=this.fromVisualToRenderableIndexesCache.get(e);return Object(a["isDefined"])(t)?t:null}getNearestNotHiddenIndex(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=this.getPhysicalFromVisualIndex(e);if(null===n)return null;if(this.fromVisualToRenderableIndexesCache.has(e))return e;const i=Array.from(this.fromVisualToRenderableIndexesCache.keys());let a=-1;return a=t>0?i.findIndex(t=>t>e):i.reverse().findIndex(t=>t<e),-1===a?r?this.getNearestNotHiddenIndex(e,-t,!1):null:i[a]}initToLength(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getNumberOfIndexes();this.notTrimmedIndexesCache=[...new Array(e).keys()],this.notHiddenIndexesCache=[...new Array(e).keys()],this.suspendOperations(),this.indexesChangeSource="init",this.indexesSequence.init(e),this.indexesChangeSource=void 0,this.trimmingMapsCollection.initEvery(e),this.resumeOperations(),this.suspendOperations(),this.hidingMapsCollection.initEvery(e),this.variousMapsCollection.initEvery(e),this.resumeOperations(),this.runLocalHooks("init")}fitToLength(e){const t=this.getNumberOfIndexes();if(e<t){const t=[...Array(this.getNumberOfIndexes()-e).keys()].map(t=>t+e);this.removeIndexes(t)}else this.insertIndexes(t,e-t)}getIndexesSequence(){return this.indexesSequence.getValues()}setIndexesSequence(e){void 0===this.indexesChangeSource&&(this.indexesChangeSource="update"),this.indexesSequence.setValues(e),"update"===this.indexesChangeSource&&(this.indexesChangeSource=void 0)}getNotTrimmedIndexes(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!0===e)return this.notTrimmedIndexesCache;const t=this.getIndexesSequence();return t.filter(e=>!1===this.isTrimmed(e))}getNotTrimmedIndexesLength(){return this.getNotTrimmedIndexes().length}getNotHiddenIndexes(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!0===e)return this.notHiddenIndexesCache;const t=this.getIndexesSequence();return t.filter(e=>!1===this.isHidden(e))}getNotHiddenIndexesLength(){return this.getNotHiddenIndexes().length}getRenderableIndexes(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!0===e)return this.renderablePhysicalIndexesCache;const t=this.getNotTrimmedIndexes();return t.filter(e=>!1===this.isHidden(e))}getRenderableIndexesLength(){return this.getRenderableIndexes().length}getNumberOfIndexes(){return this.getIndexesSequence().length}moveIndexes(e,t){"number"===typeof e&&(e=[e]);const r=Object(N["arrayMap"])(e,e=>this.getPhysicalFromVisualIndex(e)),n=this.getNotTrimmedIndexesLength(),i=e.length,a=Object(Vi["b"])(this.getIndexesSequence(),r),o=a.filter(e=>!1===this.isTrimmed(e));let s=a.indexOf(o[o.length-1])+1;if(t+i<n){const e=o[t];s=a.indexOf(e)}this.indexesChangeSource="move",this.setIndexesSequence(Object(Vi["a"])(a,s,r)),this.indexesChangeSource=void 0}isTrimmed(e){return this.trimmingMapsCollection.getMergedValueAtIndex(e)}isHidden(e){return this.hidingMapsCollection.getMergedValueAtIndex(e)}insertIndexes(e,t){const r=this.getNotTrimmedIndexes()[e],n=Object(a["isDefined"])(r)?r:this.getNumberOfIndexes(),i=this.getIndexesSequence().includes(r)?this.getIndexesSequence().indexOf(r):this.getNumberOfIndexes(),o=Object(N["arrayMap"])(new Array(t).fill(n),(e,t)=>e+t);this.suspendOperations(),this.indexesChangeSource="insert",this.indexesSequence.insert(i,o),this.indexesChangeSource=void 0,this.trimmingMapsCollection.insertToEvery(i,o),this.hidingMapsCollection.insertToEvery(i,o),this.variousMapsCollection.insertToEvery(i,o),this.resumeOperations()}removeIndexes(e){this.suspendOperations(),this.indexesChangeSource="remove",this.indexesSequence.remove(e),this.indexesChangeSource=void 0,this.trimmingMapsCollection.removeFromEvery(e),this.hidingMapsCollection.removeFromEvery(e),this.variousMapsCollection.removeFromEvery(e),this.resumeOperations()}updateCache(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.indexesSequenceChanged||this.trimmedIndexesChanged||this.hiddenIndexesChanged;(!0===e||!1===this.isBatched&&!0===t)&&(this.trimmingMapsCollection.updateCache(),this.hidingMapsCollection.updateCache(),this.notTrimmedIndexesCache=this.getNotTrimmedIndexes(!1),this.notHiddenIndexesCache=this.getNotHiddenIndexes(!1),this.renderablePhysicalIndexesCache=this.getRenderableIndexes(!1),this.cacheFromPhysicalToVisualIndexes(),this.cacheFromVisualToRenderableIndexes(),this.hiddenIndexesChanged&&this.hidingChangesObservable.emit(this.hidingMapsCollection.getMergedValues()),this.runLocalHooks("cacheUpdated",{indexesSequenceChanged:this.indexesSequenceChanged,trimmedIndexesChanged:this.trimmedIndexesChanged,hiddenIndexesChanged:this.hiddenIndexesChanged}),this.indexesSequenceChanged=!1,this.trimmedIndexesChanged=!1,this.hiddenIndexesChanged=!1)}cacheFromPhysicalToVisualIndexes(){const e=this.getNotTrimmedIndexesLength();this.fromPhysicalToVisualIndexesCache.clear();for(let t=0;t<e;t+=1){const e=this.getPhysicalFromVisualIndex(t);this.fromPhysicalToVisualIndexesCache.set(e,t)}}cacheFromVisualToRenderableIndexes(){const e=this.getRenderableIndexesLength();this.fromVisualToRenderableIndexesCache.clear();for(let t=0;t<e;t+=1){const e=this.getPhysicalFromRenderableIndex(t),r=this.getVisualFromPhysicalIndex(e);this.fromVisualToRenderableIndexesCache.set(r,t)}}}Object(u["mixin"])(va,Ki["a"]);var ba=r("1004");function ya(e,t){return Object(u["objectEach"])(t,(t,r)=>{Object(a["isUndefined"])(e[r])&&(e[r]=t)}),e}function wa(e){const t=/^([a-zA-Z]{2})-([a-zA-Z]{2})$/,r=t.exec(e);return r?`${r[1].toLowerCase()}-${r[2].toUpperCase()}`:e}function _a(e){Object(a["isDefined"])(e)&&Object(c["a"])(Ye["a"]`Language with code "${e}" was not found. You should register particular language\x20
- before using it. Read more about this issue at: https://docs.handsontable.com/i18n/missing-language-code.`)}var Sa=r("9acd");function Ea(e,t){const r=Array.isArray(e)&&Number.isInteger(t);return r?e[t]:e}const{register:Ma,getValues:Ta}=Object(Sa["a"])("phraseFormatters");function Ca(e,t){Ma(e,t)}function xa(){return Ta()}Ca("pluralize",Ea);var Aa=r("0283");
- /**
- * @preserve
- * Authors: Handsoncode
- * Last updated: Nov 15, 2017
- *
- * Description: Definition file for English - United States language-country.
- */const Na={languageCode:"en-US",[Aa["CONTEXTMENU_ITEMS_NO_ITEMS"]]:"No available options",[Aa["CONTEXTMENU_ITEMS_ROW_ABOVE"]]:"Insert row above",[Aa["CONTEXTMENU_ITEMS_ROW_BELOW"]]:"Insert row below",[Aa["CONTEXTMENU_ITEMS_INSERT_LEFT"]]:"Insert column left",[Aa["CONTEXTMENU_ITEMS_INSERT_RIGHT"]]:"Insert column right",[Aa["CONTEXTMENU_ITEMS_REMOVE_ROW"]]:["Remove row","Remove rows"],[Aa["CONTEXTMENU_ITEMS_REMOVE_COLUMN"]]:["Remove column","Remove columns"],[Aa["CONTEXTMENU_ITEMS_UNDO"]]:"Undo",[Aa["CONTEXTMENU_ITEMS_REDO"]]:"Redo",[Aa["CONTEXTMENU_ITEMS_READ_ONLY"]]:"Read only",[Aa["CONTEXTMENU_ITEMS_CLEAR_COLUMN"]]:"Clear column",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT"]]:"Alignment",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"]]:"Left",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"]]:"Center",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"]]:"Right",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"]]:"Justify",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"]]:"Top",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"]]:"Middle",[Aa["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"]]:"Bottom",[Aa["CONTEXTMENU_ITEMS_FREEZE_COLUMN"]]:"Freeze column",[Aa["CONTEXTMENU_ITEMS_UNFREEZE_COLUMN"]]:"Unfreeze column",[Aa["CONTEXTMENU_ITEMS_BORDERS"]]:"Borders",[Aa["CONTEXTMENU_ITEMS_BORDERS_TOP"]]:"Top",[Aa["CONTEXTMENU_ITEMS_BORDERS_RIGHT"]]:"Right",[Aa["CONTEXTMENU_ITEMS_BORDERS_BOTTOM"]]:"Bottom",[Aa["CONTEXTMENU_ITEMS_BORDERS_LEFT"]]:"Left",[Aa["CONTEXTMENU_ITEMS_REMOVE_BORDERS"]]:"Remove border(s)",[Aa["CONTEXTMENU_ITEMS_ADD_COMMENT"]]:"Add comment",[Aa["CONTEXTMENU_ITEMS_EDIT_COMMENT"]]:"Edit comment",[Aa["CONTEXTMENU_ITEMS_REMOVE_COMMENT"]]:"Delete comment",[Aa["CONTEXTMENU_ITEMS_READ_ONLY_COMMENT"]]:"Read-only comment",[Aa["CONTEXTMENU_ITEMS_MERGE_CELLS"]]:"Merge cells",[Aa["CONTEXTMENU_ITEMS_UNMERGE_CELLS"]]:"Unmerge cells",[Aa["CONTEXTMENU_ITEMS_COPY"]]:"Copy",[Aa["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS"]]:["Copy with header","Copy with headers"],[Aa["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS"]]:["Copy with group header","Copy with group headers"],[Aa["CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY"]]:["Copy header only","Copy headers only"],[Aa["CONTEXTMENU_ITEMS_CUT"]]:"Cut",[Aa["CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD"]]:"Insert child row",[Aa["CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD"]]:"Detach from parent",[Aa["CONTEXTMENU_ITEMS_HIDE_COLUMN"]]:["Hide column","Hide columns"],[Aa["CONTEXTMENU_ITEMS_SHOW_COLUMN"]]:["Show column","Show columns"],[Aa["CONTEXTMENU_ITEMS_HIDE_ROW"]]:["Hide row","Hide rows"],[Aa["CONTEXTMENU_ITEMS_SHOW_ROW"]]:["Show row","Show rows"],[Aa["FILTERS_CONDITIONS_NONE"]]:"None",[Aa["FILTERS_CONDITIONS_EMPTY"]]:"Is empty",[Aa["FILTERS_CONDITIONS_NOT_EMPTY"]]:"Is not empty",[Aa["FILTERS_CONDITIONS_EQUAL"]]:"Is equal to",[Aa["FILTERS_CONDITIONS_NOT_EQUAL"]]:"Is not equal to",[Aa["FILTERS_CONDITIONS_BEGINS_WITH"]]:"Begins with",[Aa["FILTERS_CONDITIONS_ENDS_WITH"]]:"Ends with",[Aa["FILTERS_CONDITIONS_CONTAINS"]]:"Contains",[Aa["FILTERS_CONDITIONS_NOT_CONTAIN"]]:"Does not contain",[Aa["FILTERS_CONDITIONS_GREATER_THAN"]]:"Greater than",[Aa["FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL"]]:"Greater than or equal to",[Aa["FILTERS_CONDITIONS_LESS_THAN"]]:"Less than",[Aa["FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL"]]:"Less than or equal to",[Aa["FILTERS_CONDITIONS_BETWEEN"]]:"Is between",[Aa["FILTERS_CONDITIONS_NOT_BETWEEN"]]:"Is not between",[Aa["FILTERS_CONDITIONS_AFTER"]]:"After",[Aa["FILTERS_CONDITIONS_BEFORE"]]:"Before",[Aa["FILTERS_CONDITIONS_TODAY"]]:"Today",[Aa["FILTERS_CONDITIONS_TOMORROW"]]:"Tomorrow",[Aa["FILTERS_CONDITIONS_YESTERDAY"]]:"Yesterday",[Aa["FILTERS_VALUES_BLANK_CELLS"]]:"Blank cells",[Aa["FILTERS_DIVS_FILTER_BY_CONDITION"]]:"Filter by condition",[Aa["FILTERS_DIVS_FILTER_BY_VALUE"]]:"Filter by value",[Aa["FILTERS_LABELS_CONJUNCTION"]]:"And",[Aa["FILTERS_LABELS_DISJUNCTION"]]:"Or",[Aa["FILTERS_BUTTONS_SELECT_ALL"]]:"Select all",[Aa["FILTERS_BUTTONS_CLEAR"]]:"Clear",[Aa["FILTERS_BUTTONS_OK"]]:"OK",[Aa["FILTERS_BUTTONS_CANCEL"]]:"Cancel",[Aa["FILTERS_BUTTONS_PLACEHOLDER_SEARCH"]]:"Search",[Aa["FILTERS_BUTTONS_PLACEHOLDER_VALUE"]]:"Value",[Aa["FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE"]]:"Second value",[Aa["CHECKBOX_CHECKED"]]:"Checked",[Aa["CHECKBOX_UNCHECKED"]]:"Unchecked"};var Oa=Na;const Ra=Aa,La=Oa.languageCode,{register:ka,getItem:Ia,hasItem:Da,getValues:Pa}=Object(Sa["a"])("languagesDictionaries");function ja(e,t){let r=e,n=t;return Object(u["isObject"])(e)&&(n=e,r=n.languageCode),Fa(r,n),ka(r,Object(u["deepClone"])(n)),Object(u["deepClone"])(n)}function Fa(e,t){e!==La&&ya(t,Ia(La))}function Ha(e){return Ba(e)?Object(u["deepClone"])(Ia(e)):null}function Ba(e){return Da(e)}function Ua(){return Pa()}function Va(e,t,r){const n=Ha(e);if(null===n)return null;const i=n[t];if(Object(a["isUndefined"])(i))return null;const o=Ya(i,r);return Array.isArray(o)?o[0]:o}function Ya(e,t){let r=e;return Object(N["arrayEach"])(xa(),n=>{r=n(e,t)}),r}function za(e){let t=wa(e);return Ba(t)||(t=La,_a(e)),t}ja(Oa);var Wa=r("a309");class qa{constructor(e,t){this.settings=e,this.cellRange=t||null}isEmpty(){return null===this.cellRange}add(e){return this.isEmpty()?this.cellRange=this.settings.createCellRange(e):this.cellRange.expand(e),this}replace(e,t){if(!this.isEmpty()){if(this.cellRange.from.isEqual(e))return this.cellRange.from=t,!0;if(this.cellRange.to.isEqual(e))return this.cellRange.to=t,!0}return!1}clear(){return this.cellRange=null,this}getCorners(){const e=this.cellRange.getOuterTopStartCorner(),t=this.cellRange.getOuterBottomEndCorner();return[e.row,e.col,t.row,t.col]}destroy(){this.runLocalHooks("destroy")}}Object(u["mixin"])(qa,Ki["a"]);var Ga=qa;function Ka(e,t,r){return t=Xa(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){var t=Za(e,"string");return"symbol"==typeof t?t:t+""}function Za(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class $a extends Ga{constructor(e,t){super(e,null),Ka(this,"visualCellRange",null),this.visualCellRange=t||null,this.commit()}add(e){return null===this.visualCellRange?this.visualCellRange=this.settings.createCellRange(e):this.visualCellRange.expand(e),this}clear(){return this.visualCellRange=null,super.clear()}trimToVisibleCellsRangeOnly(e){let{from:t,to:r}=e,n=this.getNearestNotHiddenCoords(t,1),i=this.getNearestNotHiddenCoords(r,-1);return null===n||null===i?null:((n.row>i.row||n.col>i.col)&&(n=t,i=r),this.settings.createCellRange(n,n,i))}getNearestNotHiddenCoords(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;const n=this.getNearestNotHiddenIndex(this.settings.rowIndexMapper,e.row,t);if(null===n)return null;const i=this.getNearestNotHiddenIndex(this.settings.columnIndexMapper,e.col,r);return null===i?null:this.settings.createCellCoords(n,i)}getNearestNotHiddenIndex(e,t,r){return t<0?t:e.getNearestNotHiddenIndex(t,r)}commit(){if(null===this.visualCellRange)return this;const e=this.trimToVisibleCellsRangeOnly(this.visualCellRange);return this.cellRange=null===e?null:this.createRenderableCellRange(e.from,e.to),this}syncWith(e){const t=e.from.clone().normalize(),r="N-S"===e.getVerticalDirection()?1:-1,n="W-E"===e.getHorizontalDirection()?1:-1,i=this.settings.visualToRenderableCoords(this.visualCellRange.highlight);let a=null;if(null!==i&&null!==i.col&&null!==i.row||(a=this.getNearestNotHiddenCoords(t,r,n)),null!==a&&e.overlaps(a)){const t=e.highlight.clone();if(t.row>=0&&(t.row=a.row),t.col>=0&&(t.col=a.col),null===this.cellRange){const e=this.settings.visualToRenderableCoords(t);this.cellRange=this.settings.createCellRange(e)}e.setHighlight(t)}return"focus"===this.settings.selectionType&&null!==i&&null===a&&e.setHighlight(this.visualCellRange.highlight),this}getCorners(){const{from:e,to:t}=this.cellRange;return[Math.min(e.row,t.row),Math.min(e.col,t.col),Math.max(e.row,t.row),Math.max(e.col,t.col)]}getVisualCorners(){const e=this.settings.renderableToVisualCoords(this.cellRange.getTopStartCorner()),t=this.settings.renderableToVisualCoords(this.cellRange.getBottomEndCorner());return[e.row,e.col,t.row,t.col]}createRenderableCellRange(e,t){const r=this.settings.visualToRenderableCoords(e),n=this.settings.visualToRenderableCoords(t);return null===r.row||null===r.col||null===n.row||null===n.col?null:this.settings.createCellRange(r,r,n)}}var Ja=$a;function Qa(e){let{activeHeaderClassName:t,...r}=e;return new Ja({className:t,...r,selectionType:Wa["a"]})}function eo(e){let{areaCornerVisible:t,...r}=e;return new Ja({className:"area",createLayers:!0,border:{width:1,color:"#4b89ff",cornerVisible:t},...r,selectionType:Wa["b"]})}function to(e){let{...t}=e;return new Ja({className:"highlight",...t,selectionType:Wa["b"]})}function ro(e){let{columnClassName:t,...r}=e;return new Ja({className:t,...r,selectionType:Wa["c"]})}function no(e){let{cellCornerVisible:t,...r}=e;return new Ja({className:"current",headerAttributes:[Object(je["H"])()],border:{width:2,color:"#4b89ff",cornerVisible:t},...r,selectionType:Wa["f"]})}function io(e){let{border:t,visualCellRange:r,...n}=e;return new Ja({...t,...n,selectionType:Wa["d"]},r)}function ao(e){let{...t}=e;return new Ja({className:"fill",border:{width:1,color:"#ff0000"},...t,selectionType:Wa["e"]})}function oo(e){let{headerClassName:t,...r}=e;return new Ja({className:t,...r,selectionType:Wa["g"]})}function so(e){let{rowClassName:t,...r}=e;return new Ja({className:t,...r,selectionType:Wa["h"]})}function lo(e,t){uo(e,t),t.add(e)}function uo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function co(e,t,r){return t=ho(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ho(e){var t=po(e,"string");return"symbol"==typeof t?t:t+""}function po(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function fo(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var mo=new WeakSet;class go{constructor(e){lo(this,mo),co(this,"options",void 0),co(this,"layerLevel",0),co(this,"focus",void 0),co(this,"fill",void 0),co(this,"layeredAreas",new Map),co(this,"areas",new Map),co(this,"rowHeaders",new Map),co(this,"columnHeaders",new Map),co(this,"activeRowHeaders",new Map),co(this,"activeColumnHeaders",new Map),co(this,"activeCornerHeaders",new Map),co(this,"rowHighlights",new Map),co(this,"columnHighlights",new Map),co(this,"customSelections",[]),this.options=e,this.focus=no(e),this.fill=ao(e)}isEnabledFor(e,t){let r=e;e===Wa["f"]&&(r="current");let n=this.options.disabledCellSelection(t.row,t.col);return"string"===typeof n&&(n=[n]),!1===n||Array.isArray(n)&&!n.includes(r)}useLayerLevel(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.layerLevel=e,this}getFocus(){return this.focus}getFill(){return this.fill}createLayeredArea(){return fo(mo,this,vo).call(this,this.layeredAreas,eo)}getLayeredAreas(){return[...this.layeredAreas.values()]}createArea(){return fo(mo,this,vo).call(this,this.areas,to)}getAreas(){return[...this.areas.values()]}createRowHeader(){return fo(mo,this,vo).call(this,this.rowHeaders,oo)}getRowHeaders(){return[...this.rowHeaders.values()]}createColumnHeader(){return fo(mo,this,vo).call(this,this.columnHeaders,oo)}getColumnHeaders(){return[...this.columnHeaders.values()]}createActiveRowHeader(){return fo(mo,this,vo).call(this,this.activeRowHeaders,Qa)}getActiveRowHeaders(){return[...this.activeRowHeaders.values()]}createActiveColumnHeader(){return fo(mo,this,vo).call(this,this.activeColumnHeaders,Qa)}getActiveColumnHeaders(){return[...this.activeColumnHeaders.values()]}createActiveCornerHeader(){return fo(mo,this,vo).call(this,this.activeCornerHeaders,Qa)}getActiveCornerHeaders(){return[...this.activeCornerHeaders.values()]}createRowHighlight(){return fo(mo,this,vo).call(this,this.rowHighlights,so)}getRowHighlights(){return[...this.rowHighlights.values()]}createColumnHighlight(){return fo(mo,this,vo).call(this,this.columnHighlights,ro)}getColumnHighlights(){return[...this.columnHighlights.values()]}getCustomSelections(){return[...this.customSelections.values()]}addCustomSelection(e){this.customSelections.push(io({...this.options,...e}))}clear(){this.focus.clear(),this.fill.clear(),Object(N["arrayEach"])(this.areas.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.layeredAreas.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.rowHeaders.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.columnHeaders.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.activeRowHeaders.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.activeColumnHeaders.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.activeCornerHeaders.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.rowHighlights.values(),e=>{e.clear()}),Object(N["arrayEach"])(this.columnHighlights.values(),e=>{e.clear()})}[Symbol.iterator](){return[this.focus,this.fill,...this.areas.values(),...this.layeredAreas.values(),...this.rowHeaders.values(),...this.columnHeaders.values(),...this.activeRowHeaders.values(),...this.activeColumnHeaders.values(),...this.activeCornerHeaders.values(),...this.rowHighlights.values(),...this.columnHighlights.values(),...this.customSelections][Symbol.iterator]()}}function vo(e,t){const r=this.layerLevel;if(e.has(r))return e.get(r);const n=t({layerLevel:r,...this.options});return e.set(r,n),n}var bo=go;function yo(e,t,r){return t=wo(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wo(e){var t=_o(e,"string");return"symbol"==typeof t?t:t+""}function _o(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class So{constructor(e){yo(this,"ranges",[]),yo(this,"createCellRange",void 0),this.createCellRange=e}isEmpty(){return 0===this.size()}set(e){return this.clear(),this.ranges.push(this.createCellRange(e)),this}add(e){return this.ranges.push(this.createCellRange(e)),this}pop(){return this.ranges.pop(),this}current(){return this.peekByIndex(this.size()-1)}previous(){return this.peekByIndex(this.size()-2)}includes(e){return this.ranges.some(t=>t.includes(e))}clear(){return this.ranges.length=0,this}size(){return this.ranges.length}peekByIndex(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t>=0&&t<this.size()&&(e=this.ranges[t]),e}[Symbol.iterator](){return this.ranges[Symbol.iterator]()}}var Eo=So;function Mo(e,t){Co(e,t),t.add(e)}function To(e,t,r){Co(e,t),t.set(e,r)}function Co(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xo(e,t){return e.get(No(e,t))}function Ao(e,t,r){return e.set(No(e,t),r),r}function No(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var Oo=new WeakMap,Ro=new WeakMap,Lo=new WeakMap,ko=new WeakSet;class Io{constructor(e,t){Mo(this,ko),To(this,Oo,void 0),To(this,Ro,void 0),To(this,Lo,{x:0,y:0}),Ao(Oo,this,e),Ao(Ro,this,t)}transformStart(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=xo(Ro,this).createCellCoords(e,t);let i=xo(Oo,this).current().highlight;const a=xo(Ro,this).visualToRenderableCoords(i);let o=0,s=0;if(this.runLocalHooks("beforeTransformStart",n),null!==a.row&&null!==a.col){const{width:e,height:t}=No(ko,this,Po).call(this),{row:a,col:l}=No(ko,this,Ho).call(this,i),c=xo(Ro,this).fixedRowsBottom(),d=xo(Ro,this).minSpareRows(),h=xo(Ro,this).minSpareCols(),p=xo(Ro,this).autoWrapRow(),f=xo(Ro,this).autoWrapCol(),m=xo(Ro,this).createCellCoords(a+n.row,l+n.col);if(m.row>=t){const n=Object(u["createObjectPropListener"])(r&&d>0&&0===c),i=m.col+1,a=xo(Ro,this).createCellCoords(m.row-t,i>=e?i-e:i);this.runLocalHooks("beforeColumnWrap",n,No(ko,this,Bo).call(this,a),i>=e),n.value?this.runLocalHooks("insertRowRequire",xo(Ro,this).countRenderableRows()):f&&m.assign(a)}else if(m.row<0){const r=Object(u["createObjectPropListener"])(f),n=m.col-1,i=xo(Ro,this).createCellCoords(t+m.row,n<0?e+n:n);this.runLocalHooks("beforeColumnWrap",r,No(ko,this,Bo).call(this,i),n<0),f&&m.assign(i)}if(m.col>=e){const n=Object(u["createObjectPropListener"])(r&&h>0),i=m.row+1,a=xo(Ro,this).createCellCoords(i>=t?i-t:i,m.col-e);this.runLocalHooks("beforeRowWrap",n,No(ko,this,Bo).call(this,a),i>=t),n.value?this.runLocalHooks("insertColRequire",xo(Ro,this).countRenderableColumns()):p&&m.assign(a)}else if(m.col<0){const r=Object(u["createObjectPropListener"])(p),n=m.row-1,i=xo(Ro,this).createCellCoords(n<0?t+n:n,e+m.col);this.runLocalHooks("beforeRowWrap",r,No(ko,this,Bo).call(this,i),n<0),p&&m.assign(i)}const{rowDir:g,colDir:v}=No(ko,this,Do).call(this,m);o=g,s=v,i=No(ko,this,Bo).call(this,m)}return this.runLocalHooks("afterTransformStart",i,o,s),i}transformEnd(e,t){const r=xo(Ro,this).createCellCoords(e,t),n=xo(Oo,this).current(),i=xo(Ro,this).visualToRenderableCoords(n.highlight),a=No(ko,this,jo).call(this,n.to.row,n.from.row),o=No(ko,this,Fo).call(this,n.to.col,n.from.col),s=n.to.clone();let l=0,u=0;if(this.runLocalHooks("beforeTransformEnd",r),null!==i.row&&null!==i.col&&null!==a&&null!==o){const{row:e,col:t}=No(ko,this,Ho).call(this,n.highlight),i=xo(Ro,this).createCellCoords(a+r.row,o+r.col),c=n.getTopStartCorner(),d=n.getTopEndCorner(),h=n.getBottomEndCorner(),p={row:i.row-e,col:i.col-t};r.col<0?o>=t&&i.col<t&&(i.col=No(ko,this,Fo).call(this,c.col,d.col)+p.col):r.col>0&&o<=t&&i.col>t&&(i.col=No(ko,this,Fo).call(this,d.col,c.col)+p.col),r.row<0?a>=e&&i.row<e&&(i.row=No(ko,this,jo).call(this,c.row,h.row)+p.row):r.row>0&&a<=e&&i.row>e&&(i.row=No(ko,this,jo).call(this,h.row,c.row)+p.row);const{rowDir:f,colDir:m}=No(ko,this,Do).call(this,i);l=f,u=m;const g=No(ko,this,Bo).call(this,i);0===r.row&&0!==r.col?s.col=g.col:0!==r.row&&0===r.col?s.row=g.row:(s.row=g.row,s.col=g.col)}return this.runLocalHooks("afterTransformEnd",s,l,u),s}setOffsetSize(e){let{x:t,y:r}=e;Ao(Lo,this,{x:t,y:r})}}function Do(e){const{width:t,height:r}=No(ko,this,Po).call(this);let n=0,i=0;return e.row<0?(n=-1,e.row=0):e.row>0&&e.row>=r&&(n=1,e.row=r-1),e.col<0?(i=-1,e.col=0):e.col>0&&e.col>=t&&(i=1,e.col=t-1),{rowDir:n,colDir:i}}function Po(){return{width:xo(Lo,this).x+xo(Ro,this).countRenderableColumns(),height:xo(Lo,this).y+xo(Ro,this).countRenderableRows()}}function jo(e,t){const r=xo(Ro,this).findFirstNonHiddenRenderableRow(e,t);return null===r?null:xo(Lo,this).y+r}function Fo(e,t){const r=xo(Ro,this).findFirstNonHiddenRenderableColumn(e,t);return null===r?null:xo(Lo,this).x+r}function Ho(e){const{row:t,col:r}=xo(Ro,this).visualToRenderableCoords(e);if(null===t||null===r)throw new Error("Renderable coords are not visible.");return xo(Ro,this).createCellCoords(xo(Lo,this).y+t,xo(Lo,this).x+r)}function Bo(e){const t=e.clone();return t.col=e.col-xo(Lo,this).x,t.row=e.row-xo(Lo,this).y,xo(Ro,this).renderableToVisualCoords(t)}Object(u["mixin"])(Io,Ki["a"]);var Uo=Io,Vo=r("a952");function Yo(e,t,r){zo(e,t),t.set(e,r)}function zo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wo(e,t,r){return t=qo(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qo(e){var t=Go(e,"string");return"symbol"==typeof t?t:t+""}function Go(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Ko(e,t){return e.get(Zo(e,t))}function Xo(e,t,r){return e.set(Zo(e,t),r),r}function Zo(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var $o=new WeakMap,Jo=new WeakMap,Qo=new WeakMap,es=new WeakMap,ts=new WeakMap,rs=new WeakMap;class ns{constructor(e,t){var r=this;Wo(this,"settings",void 0),Wo(this,"tableProps",void 0),Wo(this,"inProgress",!1),Wo(this,"selectedRange",new Eo((e,t,r)=>this.tableProps.createCellRange(e,t,r))),Wo(this,"highlight",void 0),Yo(this,$o,void 0),Yo(this,Jo,void 0),Wo(this,"selectedByRowHeader",new Set),Wo(this,"selectedByColumnHeader",new Set),Yo(this,Qo,!1),Yo(this,es,!1),Yo(this,ts,"unknown"),Yo(this,rs,-1),this.settings=e,this.tableProps=t,this.highlight=new bo({headerClassName:e.currentHeaderClassName,activeHeaderClassName:e.activeHeaderClassName,rowClassName:e.currentRowClassName,columnClassName:e.currentColClassName,cellAttributes:[Object(je["H"])()],rowIndexMapper:this.tableProps.rowIndexMapper,columnIndexMapper:this.tableProps.columnIndexMapper,disabledCellSelection:(e,t)=>this.tableProps.isDisabledCellSelection(e,t),cellCornerVisible:function(){return r.isCellCornerVisible(...arguments)},areaCornerVisible:function(){return r.isAreaCornerVisible(...arguments)},visualToRenderableCoords:e=>this.tableProps.visualToRenderableCoords(e),renderableToVisualCoords:e=>this.tableProps.renderableToVisualCoords(e),createCellCoords:(e,t)=>this.tableProps.createCellCoords(e,t),createCellRange:(e,t,r)=>this.tableProps.createCellRange(e,t,r)}),Xo($o,this,new Uo(this.selectedRange,{rowIndexMapper:this.tableProps.rowIndexMapper,columnIndexMapper:this.tableProps.columnIndexMapper,countRenderableRows:()=>this.tableProps.countRenderableRows(),countRenderableColumns:()=>this.tableProps.countRenderableColumns(),visualToRenderableCoords:e=>this.tableProps.visualToRenderableCoords(e),renderableToVisualCoords:e=>this.tableProps.renderableToVisualCoords(e),findFirstNonHiddenRenderableRow:function(){return r.tableProps.findFirstNonHiddenRenderableRow(...arguments)},findFirstNonHiddenRenderableColumn:function(){return r.tableProps.findFirstNonHiddenRenderableColumn(...arguments)},createCellCoords:(e,t)=>this.tableProps.createCellCoords(e,t),fixedRowsBottom:()=>e.fixedRowsBottom,minSpareRows:()=>e.minSpareRows,minSpareCols:()=>e.minSpareCols,autoWrapRow:()=>e.autoWrapRow,autoWrapCol:()=>e.autoWrapCol})),Xo(Jo,this,new Uo(this.selectedRange,{rowIndexMapper:this.tableProps.rowIndexMapper,columnIndexMapper:this.tableProps.columnIndexMapper,countRenderableRows:()=>{const e=this.selectedRange.current();return this.tableProps.countRenderableRowsInRange(0,e.getOuterBottomEndCorner().row)},countRenderableColumns:()=>{const e=this.selectedRange.current();return this.tableProps.countRenderableColumnsInRange(0,e.getOuterBottomEndCorner().col)},visualToRenderableCoords:e=>this.tableProps.visualToRenderableCoords(e),renderableToVisualCoords:e=>this.tableProps.renderableToVisualCoords(e),findFirstNonHiddenRenderableRow:function(){return r.tableProps.findFirstNonHiddenRenderableRow(...arguments)},findFirstNonHiddenRenderableColumn:function(){return r.tableProps.findFirstNonHiddenRenderableColumn(...arguments)},createCellCoords:(e,t)=>this.tableProps.createCellCoords(e,t),fixedRowsBottom:()=>0,minSpareRows:()=>0,minSpareCols:()=>0,autoWrapRow:()=>!0,autoWrapCol:()=>!0})),Ko($o,this).addLocalHook("beforeTransformStart",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("beforeModifyTransformStart",...t)})),Ko($o,this).addLocalHook("afterTransformStart",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("afterModifyTransformStart",...t)})),Ko($o,this).addLocalHook("beforeTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("beforeModifyTransformEnd",...t)})),Ko($o,this).addLocalHook("afterTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("afterModifyTransformEnd",...t)})),Ko($o,this).addLocalHook("insertRowRequire",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("insertRowRequire",...t)})),Ko($o,this).addLocalHook("insertColRequire",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("insertColRequire",...t)})),Ko($o,this).addLocalHook("beforeRowWrap",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("beforeRowWrap",...t)})),Ko($o,this).addLocalHook("beforeColumnWrap",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("beforeColumnWrap",...t)})),Ko(Jo,this).addLocalHook("beforeTransformStart",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("beforeModifyTransformFocus",...t)})),Ko(Jo,this).addLocalHook("afterTransformStart",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("afterModifyTransformFocus",...t)}))}getSelectedRange(){return this.selectedRange}markSource(e){Xo(ts,this,e)}markEndSource(){Xo(ts,this,"unknown")}getSelectionSource(){return Ko(ts,this)}setExpectedLayers(e){Xo(rs,this,e)}begin(){this.inProgress=!0}finish(){this.runLocalHooks("afterSelectionFinished",Array.from(this.selectedRange)),this.inProgress=!1,Xo(rs,this,-1)}isInProgress(){return this.inProgress}setRangeStart(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e;const i="multiple"===this.settings.selectionMode,o=Object(a["isUndefined"])(t)?this.tableProps.getShortcutManager().isCtrlPressed():t,s=e.clone();Xo(Qo,this,!1),this.runLocalHooks("beforeSetRangeStart"+(r?"Only":""),s),(!i||i&&!o&&Object(a["isUndefined"])(t))&&this.selectedRange.clear(),this.selectedRange.add(s).current().setHighlight(n.clone()),0===this.getLayerLevel()&&(this.selectedByRowHeader.clear(),this.selectedByColumnHeader.clear()),r||this.setRangeEnd(e)}setRangeStartOnly(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;this.setRangeStart(e,t,!0,r)}setRangeEnd(e){if(this.selectedRange.isEmpty())return;const t=e.clone(),r=this.tableProps.countRows(),n=this.tableProps.countCols(),i=this.selectedRange.current().clone().setTo(e).isSingleHeader();if((r>0||n>0)&&(0===r&&t.col<0&&!i||0===n&&t.row<0&&!i))return;this.runLocalHooks("beforeSetRangeEnd",t),this.begin();const a=this.selectedRange.current();if(this.settings.navigableHeaders||a.highlight.normalize(),"single"===this.settings.selectionMode)a.setFrom(a.highlight),a.setTo(a.highlight);else{const e=a.getHorizontalDirection(),r=a.getVerticalDirection(),n=this.isMultiple();a.setTo(t),n&&(e!==a.getHorizontalDirection()||1===a.getWidth()&&!a.includes(a.highlight))&&a.from.assign({col:a.highlight.col}),n&&(r!==a.getVerticalDirection()||1===a.getHeight()&&!a.includes(a.highlight))&&a.from.assign({row:a.highlight.row})}r>0&&n>0&&(!this.settings.navigableHeaders||this.settings.navigableHeaders&&!a.isSingleHeader())&&a.to.normalize(),this.runLocalHooks("beforeHighlightSet"),this.setRangeFocus(this.selectedRange.current().highlight);const o=this.getLayerLevel();o<this.highlight.layerLevel&&(Object(N["arrayEach"])(this.highlight.getAreas(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getLayeredAreas(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getRowHeaders(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getColumnHeaders(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getActiveRowHeaders(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getActiveColumnHeaders(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getActiveCornerHeaders(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getRowHighlights(),e=>{e.clear()}),Object(N["arrayEach"])(this.highlight.getColumnHighlights(),e=>{e.clear()})),this.highlight.useLayerLevel(o);const s=this.highlight.createArea(),l=this.highlight.createLayeredArea(),u=this.highlight.createRowHeader(),c=this.highlight.createColumnHeader(),d=this.highlight.createActiveRowHeader(),h=this.highlight.createActiveColumnHeader(),p=this.highlight.createActiveCornerHeader(),f=this.highlight.createRowHighlight(),m=this.highlight.createColumnHighlight();if(s.clear(),l.clear(),u.clear(),c.clear(),d.clear(),h.clear(),p.clear(),f.clear(),m.clear(),this.highlight.isEnabledFor(Wa["b"],a.highlight)&&(this.isMultiple()||o>=1)&&(s.add(a.from).add(a.to).commit(),l.add(a.from).add(a.to).commit(),1===o)){const e=this.selectedRange.previous();this.highlight.useLayerLevel(o-1),this.highlight.createArea().add(e.from).commit().syncWith(e),this.highlight.createLayeredArea().add(e.from).commit().syncWith(e),this.highlight.useLayerLevel(o)}if(this.highlight.isEnabledFor(Wa["g"],a.highlight)){if(!a.isSingleHeader()){const e=this.tableProps.createCellCoords(Math.max(a.from.row,0),-1),t=this.tableProps.createCellCoords(a.to.row,-1),r=this.tableProps.createCellCoords(-1,Math.max(a.from.col,0)),n=this.tableProps.createCellCoords(-1,a.to.col);"single"===this.settings.selectionMode?(u.add(e).commit(),c.add(r).commit(),f.add(e).commit(),m.add(r).commit()):(u.add(e).add(t).commit(),c.add(r).add(n).commit(),f.add(e).add(t).commit(),m.add(r).add(n).commit())}const e=!Ko(es,this)&&this.isEntireRowSelected()&&(n>0&&n===a.getWidth()||0===n&&this.isSelectedByRowHeader()),t=!Ko(es,this)&&this.isEntireColumnSelected()&&(r>0&&r===a.getHeight()||0===r&&this.isSelectedByColumnHeader());e&&d.add(this.tableProps.createCellCoords(Math.max(a.from.row,0),Math.min(-this.tableProps.countRowHeaders(),-1))).add(this.tableProps.createCellCoords(Math.max(a.to.row,0),-1)).commit(),t&&h.add(this.tableProps.createCellCoords(Math.min(-this.tableProps.countColHeaders(),-1),Math.max(a.from.col,0))).add(this.tableProps.createCellCoords(-1,Math.max(a.to.col,0))).commit(),e&&t&&p.add(this.tableProps.createCellCoords(-this.tableProps.countColHeaders(),-this.tableProps.countRowHeaders())).add(this.tableProps.createCellCoords(-1,-1)).commit()}const g=-1===Ko(rs,this)||this.selectedRange.size()===Ko(rs,this);this.runLocalHooks("afterSetRangeEnd",e,g)}setRangeFocus(e){if(this.selectedRange.isEmpty())return;const t=this.selectedRange.current();this.inProgress||this.runLocalHooks("beforeSetFocus",e);const r=this.highlight.getFocus();r.clear(),t.setHighlight(e),this.inProgress||this.runLocalHooks("beforeHighlightSet"),this.highlight.isEnabledFor(Wa["f"],t.highlight)&&r.add(t.highlight).commit().syncWith(t),this.inProgress||(Xo(Qo,this,!0),this.runLocalHooks("afterSetFocus",t.highlight))}transformStart(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.settings.navigableHeaders&&Ko($o,this).setOffsetSize({x:this.tableProps.countRowHeaders(),y:this.tableProps.countColHeaders()}),this.setRangeStart(Ko($o,this).transformStart(e,t,r))}transformEnd(e,t){this.settings.navigableHeaders&&Ko($o,this).setOffsetSize({x:this.tableProps.countRowHeaders(),y:this.tableProps.countColHeaders()}),this.setRangeEnd(Ko($o,this).transformEnd(e,t))}transformFocus(e,t){const r=this.selectedRange.current(),{row:n,col:i}=r.getOuterTopStartCorner(),a=this.tableProps.countRenderableColumnsInRange(0,i-1),o=this.tableProps.countRenderableRowsInRange(0,n-1);r.highlight.isHeader()?Ko(Jo,this).setOffsetSize({x:i<0?Math.abs(i):-a,y:n<0?Math.abs(n):-o}):Ko(Jo,this).setOffsetSize({x:i<0?0:-a,y:n<0?0:-o});const s=Ko(Jo,this).transformStart(e,t);this.setRangeFocus(s.normalize())}getLayerLevel(){return this.selectedRange.size()-1}isSelected(){return!this.selectedRange.isEmpty()}isMultiple(){if(!this.isSelected())return!1;const e=Object(u["createObjectPropListener"])(!this.selectedRange.current().isSingle());return this.runLocalHooks("afterIsMultipleSelection",e),e.value}isFocusSelectionChanged(){return this.isSelected()&&Ko(Qo,this)}isSelectedByRowHeader(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getLayerLevel();return!this.isSelectedByCorner(e)&&(-1===e?this.selectedByRowHeader.size>0:this.selectedByRowHeader.has(e))}isEntireRowSelected(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getLayerLevel();const t=e=>{const{col:t}=e.getOuterTopStartCorner(),r=this.tableProps.countRowHeaders(),n=this.tableProps.countCols();return(r>0&&t<0||0===r)&&e.getWidth()===n};if(-1===e)return Array.from(this.selectedRange).some(e=>t(e));const r=this.selectedRange.peekByIndex(e);return!!r&&t(r)}isSelectedByColumnHeader(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getLayerLevel();return!this.isSelectedByCorner()&&(-1===e?this.selectedByColumnHeader.size>0:this.selectedByColumnHeader.has(e))}isEntireColumnSelected(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getLayerLevel();const t=e=>{const{row:t}=e.getOuterTopStartCorner(),r=this.tableProps.countColHeaders(),n=this.tableProps.countRows();return(r>0&&t<0||0===r)&&e.getHeight()===n};if(-1===e)return Array.from(this.selectedRange).some(e=>t(e));const r=this.selectedRange.peekByIndex(e);return!!r&&t(r)}isSelectedByAnyHeader(){return this.isSelectedByRowHeader(-1)||this.isSelectedByColumnHeader(-1)||this.isSelectedByCorner()}isSelectedByCorner(){return this.selectedByColumnHeader.has(this.getLayerLevel())&&this.selectedByRowHeader.has(this.getLayerLevel())}inInSelection(e){return this.selectedRange.includes(e)}isCellCornerVisible(){return this.settings.fillHandle&&!this.tableProps.isEditorOpened()&&!this.isMultiple()}isCellVisible(e){const t=this.tableProps.visualToRenderableCoords(e);return null!==t.row&&null!==t.col}isAreaCornerVisible(e){return(!Number.isInteger(e)||e===this.getLayerLevel())&&(this.settings.fillHandle&&!this.tableProps.isEditorOpened()&&this.isMultiple())}clear(){this.selectedRange.clear(),this.highlight.clear()}deselect(){this.isSelected()&&(this.inProgress=!1,this.clear(),this.runLocalHooks("afterDeselect"))}selectAll(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{focusPosition:!1,disableHeadersHighlight:!1};const i=this.tableProps.countRows(),a=this.tableProps.countCols(),o=this.tableProps.countRowHeaders(),s=this.tableProps.countColHeaders(),l=r?-s:0,u=t?-o:0;if(0===l&&0===u&&(0===i||0===a))return;let c=null===(e=this.getSelectedRange().current())||void 0===e?void 0:e.highlight;const{focusPosition:d,disableHeadersHighlight:h}=n;Xo(es,this,h),d&&Number.isInteger(null===d||void 0===d?void 0:d.row)&&Number.isInteger(null===d||void 0===d?void 0:d.col)&&(c=this.tableProps.createCellCoords(Object(P["clamp"])(d.row,l,i-1),Object(P["clamp"])(d.col,u,a-1)));const p=this.tableProps.createCellCoords(l,u),f=this.tableProps.createCellCoords(i-1,a-1);this.clear(),this.setRangeStartOnly(p,void 0,c),u<0&&this.selectedByRowHeader.add(this.getLayerLevel()),l<0&&this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(f),this.finish(),Xo(es,this,!1)}selectCells(e){var t=this;const r=Object(Vo["c"])(e);if(r===Vo["a"])return!1;if(r===Vo["b"])throw new Error(Ye["a"]`Unsupported format of the selection ranges was passed. To select cells pass\x20
- the coordinates as an array of arrays ([[rowStart, columnStart/columnPropStart, rowEnd,\x20
- columnEnd/columnPropEnd]]) or as an array of CellRange objects.`);const n=Object(Vo["d"])(r,{createCellCoords:function(){return t.tableProps.createCellCoords(...arguments)},createCellRange:function(){return t.tableProps.createCellRange(...arguments)},propToCol:e=>this.tableProps.propToCol(e),keepDirection:!0}),i=this.settings.navigableHeaders,a={countRows:this.tableProps.countRows(),countCols:this.tableProps.countCols(),countRowHeaders:i?this.tableProps.countRowHeaders():0,countColHeaders:i?this.tableProps.countColHeaders():0},o=!e.some(e=>{const t=n(e),r=t.isValid(a);return!(r&&!t.containsHeaders()||r&&t.containsHeaders()&&t.isSingleHeader())});return o&&(this.clear(),this.setExpectedLayers(e.length),Object(N["arrayEach"])(e,e=>{const{from:t,to:r}=n(e);this.setRangeStartOnly(t.clone(),!1),this.setRangeEnd(r.clone())}),this.finish()),o}selectColumns(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const n="string"===typeof e?this.tableProps.propToCol(e):e,i="string"===typeof t?this.tableProps.propToCol(t):t,a=this.tableProps.countRows(),o=this.tableProps.countCols(),s=this.tableProps.countColHeaders(),l=0===s?0:-s,u=this.tableProps.createCellCoords(l,n),c=this.tableProps.createCellCoords(a-1,i),d=this.tableProps.createCellRange(u,u,c).isValid({countRows:a,countCols:o,countRowHeaders:0,countColHeaders:s});if(d){let e=0,t=0;Number.isInteger(null===r||void 0===r?void 0:r.row)&&Number.isInteger(null===r||void 0===r?void 0:r.col)?(e=Object(P["clamp"])(r.row,l,a-1),t=Object(P["clamp"])(r.col,Math.min(n,i),Math.max(n,i))):(e=Object(P["clamp"])(r,l,a-1),t=n);const o=this.tableProps.createCellCoords(e,t),u=0===s?0:Object(P["clamp"])(o.row,l,-1),c=a-1,d=this.tableProps.createCellCoords(u,n),h=this.tableProps.createCellCoords(c,i);this.runLocalHooks("beforeSelectColumns",d,h,o),d.row=u,h.row=c,this.setRangeStartOnly(d,void 0,o),this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(h),this.runLocalHooks("afterSelectColumns",d,h,o),this.finish()}return d}selectRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const n=this.tableProps.countRows(),i=this.tableProps.countCols(),a=this.tableProps.countRowHeaders(),o=0===a?0:-a,s=this.tableProps.createCellCoords(e,o),l=this.tableProps.createCellCoords(t,i-1),u=this.tableProps.createCellRange(s,s,l).isValid({countRows:n,countCols:i,countRowHeaders:a,countColHeaders:0});if(u){let n=0,s=0;Number.isInteger(null===r||void 0===r?void 0:r.row)&&Number.isInteger(null===r||void 0===r?void 0:r.col)?(n=Object(P["clamp"])(r.row,Math.min(e,t),Math.max(e,t)),s=Object(P["clamp"])(r.col,o,i-1)):(n=e,s=Object(P["clamp"])(r,o,i-1));const l=this.tableProps.createCellCoords(n,s),u=0===a?0:Object(P["clamp"])(l.col,o,-1),c=i-1,d=this.tableProps.createCellCoords(e,u),h=this.tableProps.createCellCoords(t,c);this.runLocalHooks("beforeSelectRows",d,h,l),d.col=u,h.col=c,this.setRangeStartOnly(d,void 0,l),this.selectedByRowHeader.add(this.getLayerLevel()),this.setRangeEnd(h),this.runLocalHooks("afterSelectRows",d,h,l),this.finish()}return u}refresh(){const e=this.highlight.getCustomSelections();if(e.forEach(e=>{e.commit()}),!this.isSelected())return;const t=this.highlight.getFocus(),r=this.getLayerLevel();t.commit().syncWith(this.selectedRange.current());for(let n=0;n<this.selectedRange.size();n+=1){this.highlight.useLayerLevel(n);const e=this.highlight.createArea(),t=this.highlight.createLayeredArea(),r=this.highlight.createRowHeader(),i=this.highlight.createColumnHeader(),a=this.highlight.createActiveRowHeader(),o=this.highlight.createActiveColumnHeader(),s=this.highlight.createActiveCornerHeader(),l=this.highlight.createRowHighlight(),u=this.highlight.createColumnHighlight();e.commit(),t.commit(),r.commit(),i.commit(),a.commit(),o.commit(),s.commit(),l.commit(),u.commit()}this.highlight.useLayerLevel(r)}}Object(u["mixin"])(ns,Ki["a"]);var is=ns,as=r("76ab");function os(e,t){var r;return"CELL_TYPE"!==e&&((null===(r=t._automaticallyAssignedMetaProps)||void 0===r?void 0:r.has(e))||!Object(u["hasOwnProperty"])(t,e))}function ss(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;const n="string"===typeof t.type?Object(as["a"])(t.type):t.type;if(e._automaticallyAssignedMetaProps&&Object(u["objectEach"])(t,(t,r)=>{e._automaticallyAssignedMetaProps.delete(r)}),!Object(u["isObject"])(n))return;r!==e||e._automaticallyAssignedMetaProps||(e._automaticallyAssignedMetaProps=new Set);const i={};Object(u["objectEach"])(n,(t,n)=>{var a;os(n,r)&&(i[n]=t,null===(a=e._automaticallyAssignedMetaProps)||void 0===a||a.add(n))}),Object(u["extend"])(e,i)}function ls(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];function r(){}Object(u["inherit"])(r,e);for(let n=0;n<t.length;n++)r.prototype[t[n]]=void 0;return r}function us(e){return Number.isInteger(e)&&e>=0}function cs(e,t){if(!e())throw new Error("Assertion failed: "+t)}function ds(e){return null===e||void 0===e}var hs=()=>({_automaticallyAssignedMetaProps:void 0,activeHeaderClassName:"ht__active_highlight",allowEmpty:!0,allowHtml:!1,allowInsertColumn:!0,allowInsertRow:!0,allowInvalid:!0,allowRemoveColumn:!0,allowRemoveRow:!0,ariaTags:!0,autoColumnSize:void 0,autoRowSize:void 0,autoWrapCol:!1,autoWrapRow:!1,bindRowsWithHeaders:void 0,cell:[],cells:void 0,checkedTemplate:void 0,className:void 0,colHeaders:null,collapsibleColumns:void 0,columnHeaderHeight:void 0,columns:void 0,columnSorting:void 0,columnSummary:void 0,colWidths:void 0,commentedCellClassName:"htCommentCell",comments:!1,contextMenu:void 0,copyable:!0,copyPaste:!0,correctFormat:!1,currentColClassName:void 0,currentHeaderClassName:"ht__highlight",currentRowClassName:void 0,customBorders:!1,data:void 0,dataSchema:void 0,dateFormat:"DD/MM/YYYY",datePickerConfig:void 0,defaultDate:void 0,disableVisualSelection:!1,dragToScroll:!0,dropdownMenu:void 0,editor:void 0,enterBeginsEditing:!0,enterMoves:{col:0,row:1},fillHandle:{autoInsertRow:!1},filter:!0,filteringCaseSensitive:!1,filters:void 0,fixedColumnsLeft:0,fixedColumnsStart:0,fixedRowsBottom:0,fixedRowsTop:0,formulas:void 0,fragmentSelection:!1,height:void 0,hiddenColumns:void 0,hiddenRows:void 0,invalidCellClassName:"htInvalid",imeFastEdit:!1,isEmptyCol(e){let t,r,n;for(t=0,r=this.countRows();t<r;t++)if(n=this.getDataAtCell(t,e),!1===Object(a["isEmpty"])(n))return!1;return!0},isEmptyRow(e){let t,r,n,i;for(t=0,r=this.countCols();t<r;t++)if(n=this.getDataAtCell(e,t),!1===Object(a["isEmpty"])(n))return"object"===typeof n&&(i=this.getCellMeta(e,t),Object(u["isObjectEqual"])(this.getSchema()[i.prop],n));return!0},label:void 0,language:"en-US",layoutDirection:"inherit",licenseKey:void 0,locale:"en-US",manualColumnFreeze:void 0,manualColumnMove:void 0,manualColumnResize:void 0,manualRowMove:void 0,manualRowResize:void 0,maxCols:1/0,maxRows:1/0,mergeCells:!1,minCols:0,minRows:0,minSpareCols:0,minSpareRows:0,multiColumnSorting:void 0,navigableHeaders:!1,tabNavigation:!0,nestedHeaders:void 0,nestedRows:void 0,noWordWrapClassName:"htNoWrap",numericFormat:void 0,observeDOMVisibility:!0,outsideClickDeselects:!0,persistentState:void 0,placeholder:void 0,placeholderCellClassName:"htPlaceholder",preventOverflow:!1,preventWheel:!1,readOnly:!1,readOnlyCellClassName:"htDimmed",renderAllRows:!1,renderAllColumns:!1,renderer:void 0,rowHeaders:void 0,rowHeaderWidth:void 0,rowHeights:void 0,search:!1,selectionMode:"multiple",selectOptions:void 0,skipColumnOnPaste:!1,skipRowOnPaste:!1,sortByRelevance:!0,source:void 0,startCols:5,startRows:5,stretchH:"none",strict:void 0,tableClassName:void 0,tabMoves:{row:0,col:1},title:void 0,trimDropdown:!0,trimRows:void 0,trimWhitespace:!0,type:"text",uncheckedTemplate:void 0,undo:void 0,validator:void 0,viewportColumnRenderingOffset:"auto",viewportRowRenderingOffset:"auto",visibleRows:10,width:void 0,wordWrap:!0});function ps(e,t,r){return t=fs(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){var t=ms(e,"string");return"symbol"==typeof t?t:t+""}function ms(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function gs(){return class{}}class vs{constructor(e){ps(this,"metaCtor",gs()),ps(this,"meta",void 0),this.meta=this.metaCtor.prototype,Object(u["extend"])(this.meta,hs()),this.meta.instance=e}getMetaConstructor(){return this.metaCtor}getMeta(){return this.meta}updateMeta(e){var t;Object(u["extend"])(this.meta,e),ss(this.meta,{...e,type:null!==(t=e.type)&&void 0!==t?t:this.meta.type},e)}}function bs(e,t,r){return t=ys(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){var t=ws(e,"string");return"symbol"==typeof t?t:t+""}function ws(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class _s{constructor(e){bs(this,"meta",void 0);const t=e.getMetaConstructor();this.meta=new t}getMeta(){return this.meta}updateMeta(e){Object(u["extend"])(this.meta,e),ss(this.meta,e,e)}}function Ss(e,t,r){return t=Es(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e){var t=Ms(e,"string");return"symbol"==typeof t?t:t+""}function Ms(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ts{constructor(e){Ss(this,"valueFactory",void 0),Ss(this,"data",[]),Ss(this,"index",[]),Ss(this,"holes",new Set),this.valueFactory=e}obtain(e){cs(()=>us(e),"Expecting an unsigned number.");const t=this._getStorageIndexByKey(e);let r;if(t>=0)r=this.data[t],void 0===r&&(r=this.valueFactory(e),this.data[t]=r);else if(r=this.valueFactory(e),this.holes.size>0){const t=this.holes.values().next().value;this.holes.delete(t),this.data[t]=r,this.index[e]=t}else this.data.push(r),this.index[e]=this.data.length-1;return r}insert(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;cs(()=>us(e)||ds(e),"Expecting an unsigned number or null/undefined argument.");const r=[],n=this.data.length;for(let a=0;a<t;a++)r.push(n+a),this.data.push(void 0);const i=ds(e)?this.index.length:e;this.index=[...this.index.slice(0,i),...r,...this.index.slice(i)]}remove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;cs(()=>us(e)||ds(e),"Expecting an unsigned number or null/undefined argument.");const r=this.index.splice(ds(e)?this.index.length-t:e,t);for(let n=0;n<r.length;n++){const e=r[n];"number"===typeof e&&this.holes.add(e)}}size(){return this.data.length-this.holes.size}values(){return Object(N["arrayFilter"])(this.data,(e,t)=>!this.holes.has(t))[Symbol.iterator]()}entries(){const e=[];for(let r=0;r<this.data.length;r++){const t=this._getKeyByStorageIndex(r);-1!==t&&e.push([t,this.data[r]])}let t=0;return{next:()=>{if(t<e.length){const r=e[t];return t+=1,{value:r,done:!1}}return{done:!0}}}}clear(){this.data=[],this.index=[],this.holes.clear()}_getStorageIndexByKey(e){return this.index.length>e?this.index[e]:-1}_getKeyByStorageIndex(e){return this.index.indexOf(e)}[Symbol.iterator](){return this.entries()}}function Cs(e,t,r){return t=xs(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e){var t=As(e,"string");return"symbol"==typeof t?t:t+""}function As(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const Ns=["data","width"];class Os{constructor(e){Cs(this,"globalMeta",void 0),Cs(this,"metas",new Ts(()=>this._createMeta())),this.globalMeta=e,this.metas=new Ts(()=>this._createMeta())}updateMeta(e,t){const r=this.getMeta(e);Object(u["extend"])(r,t),ss(r,t)}createColumn(e,t){this.metas.insert(e,t)}removeColumn(e,t){this.metas.remove(e,t)}getMeta(e){return this.metas.obtain(e)}getMetaConstructor(e){return this.metas.obtain(e).constructor}clearCache(){this.metas.clear()}_createMeta(){return ls(this.globalMeta.getMetaConstructor(),Ns).prototype}}function Rs(e,t,r){return t=Ls(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){var t=ks(e,"string");return"symbol"==typeof t?t:t+""}function ks(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Is{constructor(e){Rs(this,"columnMeta",void 0),Rs(this,"metas",new Ts(()=>this._createRow())),this.columnMeta=e}updateMeta(e,t,r){const n=this.getMeta(e,t);Object(u["extend"])(n,r),ss(n,r)}createRow(e,t){this.metas.insert(e,t)}createColumn(e,t){for(let r=0;r<this.metas.size();r++)this.metas.obtain(r).insert(e,t)}removeRow(e,t){this.metas.remove(e,t)}removeColumn(e,t){for(let r=0;r<this.metas.size();r++)this.metas.obtain(r).remove(e,t)}getMeta(e,t,r){const n=this.metas.obtain(e).obtain(t);return void 0===r?n:n[r]}setMeta(e,t,r,n){var i;const a=this.metas.obtain(e).obtain(t);null===(i=a._automaticallyAssignedMetaProps)||void 0===i||i.delete(r),a[r]=n}removeMeta(e,t,r){const n=this.metas.obtain(e).obtain(t);delete n[r]}getMetas(){const e=[],t=Array.from(this.metas.values());for(let r=0;r<t.length;r++)Object(a["isDefined"])(t[r])&&e.push(...t[r].values());return e}getMetasAtRow(e){cs(()=>us(e),"Expecting an unsigned number.");const t=new Map(this.metas);return t.has(e)?Array.from(t.get(e).values()):[]}clearCache(){this.metas.clear()}_createRow(){return new Ts(e=>this._createMeta(e))}_createMeta(e){const t=this.columnMeta.getMetaConstructor(e);return new t}}class Ds{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.hot=e,this.globalMeta=new vs(e),this.tableMeta=new _s(this.globalMeta),this.columnMeta=new Os(this.globalMeta),this.cellMeta=new Is(this.columnMeta),r.forEach(e=>new e(this)),this.globalMeta.updateMeta(t)}getGlobalMeta(){return this.globalMeta.getMeta()}updateGlobalMeta(e){this.globalMeta.updateMeta(e)}getTableMeta(){return this.tableMeta.getMeta()}updateTableMeta(e){this.tableMeta.updateMeta(e)}getColumnMeta(e){return this.columnMeta.getMeta(e)}updateColumnMeta(e,t){this.columnMeta.updateMeta(e,t)}getCellMeta(e,t,r){let{visualRow:n,visualColumn:i}=r;const a=this.cellMeta.getMeta(e,t);return a.visualRow=n,a.visualCol=i,a.row=e,a.col=t,this.runLocalHooks("afterGetCellMeta",a),a}getCellMetaKeyValue(e,t,r){if("string"!==typeof r)throw new Error("The passed cell meta object key is not a string");return this.cellMeta.getMeta(e,t,r)}setCellMeta(e,t,r,n){this.cellMeta.setMeta(e,t,r,n)}updateCellMeta(e,t,r){this.cellMeta.updateMeta(e,t,r)}removeCellMeta(e,t,r){this.cellMeta.removeMeta(e,t,r)}getCellsMeta(){return this.cellMeta.getMetas()}getCellsMetaAtRow(e){return this.cellMeta.getMetasAtRow(e)}createRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.createRow(e,t)}removeRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.removeRow(e,t)}createColumn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.createColumn(e,t),this.columnMeta.createColumn(e,t)}removeColumn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.removeColumn(e,t),this.columnMeta.removeColumn(e,t)}clearCellsCache(){this.cellMeta.clearCache()}clearCache(){this.cellMeta.clearCache(),this.columnMeta.clearCache()}}function Ps(e,t,r){return t=js(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){var t=Fs(e,"string");return"symbol"==typeof t?t:t+""}function Fs(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}Object(u["mixin"])(Ds,Ki["a"]);class Hs{constructor(e){Ps(this,"metaManager",void 0),Ps(this,"metaSyncMemo",new Map),this.metaManager=e,e.addLocalHook("afterGetCellMeta",e=>this.extendCellMeta(e)),ba["a"].getSingleton().add("beforeRender",e=>{e&&this.metaSyncMemo.clear()},this.metaManager.hot)}extendCellMeta(e){var t;const{row:r,col:n}=e;if(null!==(t=this.metaSyncMemo.get(r))&&void 0!==t&&t.has(n))return;const{visualRow:a,visualCol:o}=e,s=this.metaManager.hot,l=s.colToProp(o);e.prop=l,s.runHooks("beforeGetCellMeta",a,o,e);const c=Object(u["hasOwnProperty"])(e,"type")?e.type:null;let d=Object(i["isFunction"])(e.cells)?e.cells(r,n,l):null;var h;c&&(d?d.type=null!==(h=d.type)&&void 0!==h?h:c:d={type:c});d&&this.metaManager.updateCellMeta(r,n,d),s.runHooks("afterGetCellMeta",a,o,e),this.metaSyncMemo.has(r)||this.metaSyncMemo.set(r,new Set),this.metaSyncMemo.get(r).add(n)}}function Bs(e,t,r){return t=Us(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Us(e){var t=Vs(e,"string");return"symbol"==typeof t?t:t+""}function Vs(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ys{constructor(e){Bs(this,"metaManager",void 0),Bs(this,"usageTracker",new Set),Bs(this,"propDescriptors",new Map([["ariaTags",{onChange(e,t,r){if(!r)throw new Error(`The \`${e}\` option can not be updated after the Handsontable instance was initialized.`)}}],["fixedColumnsLeft",{target:"fixedColumnsStart",onChange(e){const t=this.metaManager.hot.isRtl();if(t&&"fixedColumnsLeft"===e)throw new Error("The `fixedColumnsLeft` is not supported for RTL. Please use option `fixedColumnsStart`.");if(this.usageTracker.has("fixedColumnsLeft")&&this.usageTracker.has("fixedColumnsStart"))throw new Error("The `fixedColumnsLeft` and `fixedColumnsStart` should not be used together. Please use only the option `fixedColumnsStart`.")}}],["layoutDirection",{onChange(e,t,r){if(!r)throw new Error(`The \`${e}\` option can not be updated after the Handsontable is initialized.`)}}]])),this.metaManager=e,this.extendMetaProps()}extendMetaProps(){this.propDescriptors.forEach((e,t)=>{const{target:r,onChange:n=(()=>{})}=e,i="string"===typeof r,a=i?r:t,o="_"+a;this.metaManager.globalMeta.meta[o]=this.metaManager.globalMeta.meta[a],this.installPropWatcher(t,o,n),i&&this.installPropWatcher(r,o,n)})}installPropWatcher(e,t,r){const n=this;Object.defineProperty(this.metaManager.globalMeta.meta,e,{get(){return this[t]},set(i){const a=!n.usageTracker.has(e);n.usageTracker.add(e),r.call(n,e,i,a),this[t]=i},enumerable:!0,configurable:!0})}}var zs=r("3bc4");function Ws(e,t,r){return t=qs(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){var t=Gs(e,"string");return"symbol"==typeof t?t:t+""}function Gs(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ks{static get DESTINATION_RENDERER(){return 1}static get DESTINATION_CLIPBOARD_GENERATOR(){return 2}constructor(e,t,r){Ws(this,"hot",void 0),Ws(this,"metaManager",void 0),Ws(this,"tableMeta",void 0),Ws(this,"dataSource",void 0),Ws(this,"duckSchema",void 0),Ws(this,"colToPropCache",void 0),Ws(this,"propToColCache",void 0),this.hot=e,this.metaManager=r,this.tableMeta=r.getTableMeta(),this.dataSource=t,this.duckSchema=this.createDuckSchema(),this.createMap()}createMap(){const e=this.getSchema();if("undefined"===typeof e)throw new Error("trying to create `columns` definition but you didn't provide `schema` nor `data`");const t=this.tableMeta.columns;let r;if(this.colToPropCache=[],this.propToColCache=new Map,t){let n=0,i=0,a=!1;if("function"===typeof t){const t=Object(u["deepObjectSize"])(e);n=t>0?t:this.countFirstRowKeys(),a=!0}else{const e=this.tableMeta.maxCols;n=Math.min(e,t.length)}for(r=0;r<n;r++){const e=a?t(r):t[r];if(Object(u["isObject"])(e)){if("undefined"!==typeof e.data){const t=a?i:r;this.colToPropCache[t]=e.data,this.propToColCache.set(e.data,t)}i+=1}}}else this.recursiveDuckColumns(e)}countFirstRowKeys(){return Object(Ai["countFirstRowKeys"])(this.dataSource)}recursiveDuckColumns(e,t,r){let n,i=t,a=r;return"undefined"===typeof i&&(i=0,a=""),"object"!==typeof e||Array.isArray(e)||Object(u["objectEach"])(e,(e,t)=>{null===e?(n=a+t,this.colToPropCache.push(n),this.propToColCache.set(n,i),i+=1):i=this.recursiveDuckColumns(e,i,t+".")}),i}colToProp(e){if(!1===Number.isInteger(e))return e;const t=this.hot.toPhysicalColumn(e);return null===t?e:this.colToPropCache&&Object(a["isDefined"])(this.colToPropCache[t])?this.colToPropCache[t]:t}propToCol(e){const t=this.propToColCache.get(e);if(Object(a["isDefined"])(t))return this.hot.toVisualColumn(t);const r=this.hot.toVisualColumn(e);return null===r?e:r}getSchema(){const e=this.tableMeta.dataSchema;return e?"function"===typeof e?e():e:this.duckSchema}createDuckSchema(){return this.dataSource&&this.dataSource[0]?Object(u["duckSchema"])(this.dataSource[0]):{}}refreshDuckSchema(){this.duckSchema=this.createDuckSchema()}createRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:r,mode:n="above"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=this.hot.countSourceRows();let a=i,o=0,s=e;("number"!==typeof s||s>=i)&&(s=i),s<this.hot.countRows()&&(a=this.hot.toPhysicalRow(s));const l=this.hot.runHooks("beforeCreateRow",s,t,r);if(!1===l||null===a)return{delta:0};const c=this.tableMeta.maxRows,d=this.getSchema().length,h=[];while(o<t&&i+o<c){let e=null;"array"===this.hot.dataType?this.tableMeta.dataSchema?e=Object(u["deepClone"])(this.getSchema()):(e=[],Object(P["rangeEach"])(d-1,()=>e.push(null))):"function"===this.hot.dataType?e=this.tableMeta.dataSchema(s+o):(e={},Object(u["deepExtend"])(e,this.getSchema())),h.push(e),o+=1}this.hot.rowIndexMapper.insertIndexes(s,o),"below"===n&&(a=Math.min(a+1,i)),this.spliceData(a,0,h);const p=this.hot.toVisualRow(a);return this.hot.countSourceRows()===h.length&&this.hot.columnIndexMapper.initToLength(this.hot.getInitialColumnCount()),o>0&&(void 0===e||null===e?this.metaManager.createRow(null,o):"auto"!==r&&this.metaManager.createRow(a,t)),this.hot.runHooks("afterCreateRow",p,o,r),this.hot.forceFullRender=!0,{delta:o,startPhysicalIndex:a}}createCol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:r,mode:n="start"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.hot.isColumnModificationAllowed())throw new Error("Cannot create new column. When data source in an object, you can only have as much columns as defined in first data row, data schema or in the 'columns' setting.If you want to be able to add new columns, you have to use array datasource.");const i=this.dataSource,a=this.tableMeta.maxCols,o=this.hot.countSourceCols();let s=e;("number"!==typeof s||s>=o)&&(s=o);const l=this.hot.runHooks("beforeCreateCol",s,t,r);if(!1===l)return{delta:0};let u=o;s<this.hot.countCols()&&(u=this.hot.toPhysicalColumn(s));const c=this.hot.countSourceRows();let d=this.hot.countCols(),h=0,p=u;"end"===n&&(p=Math.min(p+1,o));const f=p;while(h<t&&d<a){if("number"!==typeof s||s>=d)if(c>0)for(let e=0;e<c;e+=1)"undefined"===typeof i[e]&&(i[e]=[]),i[e].push(null);else i.push([null]);else for(let e=0;e<c;e++)i[e].splice(p,0,null);h+=1,p+=1,d+=1}this.hot.columnIndexMapper.insertIndexes(s,h),h>0&&(void 0===e||null===e?this.metaManager.createColumn(null,h):"auto"!==r&&this.metaManager.createColumn(f,t));const m=this.hot.toVisualColumn(f);return this.hot.runHooks("afterCreateCol",m,h,r),this.hot.forceFullRender=!0,this.refreshDuckSchema(),{delta:h,startPhysicalIndex:f}}removeRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,n=Number.isInteger(e)?e:-t;const i=this.visualRowsToPhysical(n,t),o=this.hot.countSourceRows();n=(o+n)%o;const s=this.hot.runHooks("beforeRemoveRow",n,i.length,i,r);if(!1===s)return!1;const l=i.length;if(this.filterData(n,l,i),n<this.hot.countRows()){this.hot.rowIndexMapper.removeIndexes(i);const e=Object(a["isDefined"])(this.tableMeta.columns)||Object(a["isDefined"])(this.tableMeta.dataSchema);0===this.hot.rowIndexMapper.getNotTrimmedIndexesLength()&&!1===e&&this.hot.columnIndexMapper.setIndexesSequence([])}const u=i.slice(0).sort((e,t)=>t-e);return u.forEach(e=>{this.metaManager.removeRow(e,1)}),this.hot.runHooks("afterRemoveRow",n,l,i,r),this.hot.forceFullRender=!0,!0}removeCol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0;if("object"===this.hot.dataType||this.tableMeta.columns)throw new Error("cannot remove column with object data source or columns option specified");let n="number"!==typeof e?-t:e;n=(this.hot.countCols()+n)%this.hot.countCols();const i=this.visualColumnsToPhysical(n,t),a=i.slice(0).sort((e,t)=>t-e),o=this.hot.runHooks("beforeRemoveCol",n,t,i,r);if(!1===o)return!1;let s=!0;const l=a.length,u=this.dataSource;for(let c=0;c<l;c++)s&&i[0]!==i[c]-c&&(s=!1);if(s)for(let c=0,d=this.hot.countSourceRows();c<d;c++)u[c].splice(i[0],t),0===c&&this.metaManager.removeColumn(i[0],t);else for(let c=0,d=this.hot.countSourceRows();c<d;c++)for(let e=0;e<l;e++)u[c].splice(a[e],1),0===c&&this.metaManager.removeColumn(a[e],1);return n<this.hot.countCols()&&(this.hot.columnIndexMapper.removeIndexes(i),0===this.hot.columnIndexMapper.getNotTrimmedIndexesLength()&&this.hot.rowIndexMapper.setIndexesSequence([])),this.hot.runHooks("afterRemoveCol",n,t,i,r),this.hot.forceFullRender=!0,this.refreshDuckSchema(),!0}spliceCol(e,t,r){const n=this.hot.getDataAtCol(e),i=n.slice(t,t+r),a=n.slice(t+r);for(var o=arguments.length,s=new Array(o>3?o-3:0),l=3;l<o;l++)s[l-3]=arguments[l];Object(N["extendArray"])(s,a);let u=0;while(u<r)s.push(null),u+=1;return Object(N["to2dArray"])(s),this.hot.populateFromArray(t,e,s,null,null,"spliceCol"),i}spliceRow(e,t,r){const n=this.hot.getSourceDataAtRow(e),i=n.slice(t,t+r),a=n.slice(t+r);for(var o=arguments.length,s=new Array(o>3?o-3:0),l=3;l<o;l++)s[l-3]=arguments[l];Object(N["extendArray"])(s,a);let u=0;while(u<r)s.push(null),u+=1;return this.hot.populateFromArray(e,t,[s],null,null,"spliceRow"),i}spliceData(e,t,r){const n=this.hot.runHooks("beforeDataSplice",e,t,r);if(!1!==n){const t=[...this.dataSource.slice(0,e),...r,...this.dataSource.slice(e)];this.dataSource.length=0,t.forEach(e=>this.dataSource.push(e))}}filterData(e,t,r){let n=this.hot.runHooks("filterData",e,t,r);!1===Array.isArray(n)&&(n=this.dataSource.filter((e,t)=>-1===r.indexOf(t))),this.dataSource.length=0,Array.prototype.push.apply(this.dataSource,n)}get(e,t){const r=this.hot.toPhysicalRow(e);let n=this.dataSource[r];const i=this.hot.runHooks("modifyRowData",r);n=isNaN(i)?i:n;let a=null;if(n&&n.hasOwnProperty&&Object(u["hasOwnProperty"])(n,t))a=n[t];else if("string"===typeof t&&t.indexOf(".")>-1){const e=t.split(".");let r=n;if(!r)return null;for(let t=0,n=e.length;t<n;t++)if(r=r[e[t]],"undefined"===typeof r)return null;a=r}else"function"===typeof t&&(a=t(this.dataSource.slice(r,r+1)[0]));if(this.hot.hasHook("modifyData")){const e=Object(u["createObjectPropListener"])(a);this.hot.runHooks("modifyData",r,this.propToCol(t),e,"get"),e.isTouched()&&(a=e.value)}return a}getCopyable(e,t){return this.hot.getCellMeta(e,this.propToCol(t)).copyable?this.get(e,t):""}set(e,t,r){const n=this.hot.toPhysicalRow(e);let i=r,a=this.dataSource[n];const o=this.hot.runHooks("modifyRowData",n);if(a=isNaN(o)?o:a,this.hot.hasHook("modifyData")){const e=Object(u["createObjectPropListener"])(i);this.hot.runHooks("modifyData",n,this.propToCol(t),e,"set"),e.isTouched()&&(i=e.value)}if(a&&a.hasOwnProperty&&Object(u["hasOwnProperty"])(a,t))a[t]=i;else if("string"===typeof t&&t.indexOf(".")>-1){const e=t.split(".");let r,n=a,o=0;for(o=0,r=e.length-1;o<r;o++)"undefined"===typeof n[e[o]]&&(n[e[o]]={}),n=n[e[o]];n[e[o]]=i}else"function"===typeof t?t(this.dataSource.slice(n,n+1)[0],i):a[t]=i}visualRowsToPhysical(e,t){const r=this.hot.countSourceRows(),n=[];let i,a=(r+e)%r,o=t;while(a<r&&o)i=this.hot.toPhysicalRow(a),n.push(i),o-=1,a+=1;return n}visualColumnsToPhysical(e,t){const r=this.hot.countCols(),n=[];let i=(r+e)%r,a=t;while(i<r&&a){const e=this.hot.toPhysicalColumn(i);n.push(e),a-=1,i+=1}return n}clear(){for(let e=0;e<this.hot.countSourceRows();e++)for(let t=0;t<this.hot.countCols();t++)this.set(e,this.colToProp(t),"")}getLength(){const e=this.tableMeta.maxRows;let t;t=e<0||0===e?0:e||1/0;const r=this.hot.rowIndexMapper.getNotTrimmedIndexesLength();return Math.min(r,t)}getAll(){const e={row:0,col:0},t={row:Math.max(this.hot.countRows()-1,0),col:Math.max(this.hot.countCols()-1,0)};return e.row-t.row!==0||this.hot.countSourceRows()?this.getRange(e,t,Ks.DESTINATION_RENDERER):[]}countCachedColumns(){return this.colToPropCache.length}getRange(e,t,r){const n=[];let i,a,o;const s=this.tableMeta.maxRows,l=this.tableMeta.maxCols;if(0===s||0===l)return[];const u=r===Ks.DESTINATION_CLIPBOARD_GENERATOR?this.getCopyable:this.get,c=Math.min(Math.max(s-1,0),Math.max(e.row,t.row)),d=Math.min(Math.max(l-1,0),Math.max(e.col,t.col));for(i=Math.min(e.row,t.row);i<=c;i++){o=[];const r=i>=0?this.hot.toPhysicalRow(i):i;for(a=Math.min(e.col,t.col);a<=d;a++){if(null===r)break;o.push(u.call(this,i,this.colToProp(a)))}null!==r&&n.push(o)}return n}getText(e,t){return Object(zs["b"])(this.getRange(e,t,Ks.DESTINATION_RENDERER))}getCopyableText(e,t){return Object(zs["b"])(this.getRange(e,t,Ks.DESTINATION_CLIPBOARD_GENERATOR))}destroy(){this.hot=null,this.metaManager=null,this.dataSource=null,this.duckSchema=null,this.colToPropCache.length=0,this.propToColCache.clear(),this.propToColCache=void 0}}var Xs=Ks;function Zs(e,t,r,a){const{hotInstance:o,dataMap:s,dataSource:l,internalSource:c,source:d,metaManager:h,firstRun:p}=a,f=Object(D["toUpperCaseFirst"])(c),m=o.getSettings();Array.isArray(m.dataSchema)?o.dataType="array":Object(i["isFunction"])(m.dataSchema)?o.dataType="function":o.dataType="object",s&&s.destroy(),e=o.runHooks("before"+f,e,p,d);const g=new Xs(o,e,h);if(t(g),"object"===typeof e&&null!==e)e.push&&e.splice||(e=[e]);else{if(null!==e)throw new Error(`${c} only accepts array of objects or array of arrays (${typeof e} given)`);{const t=g.getSchema();let r;e=[];let n=0,i=0;for(n=0,i=m.startRows;n<i;n++)if("object"!==o.dataType&&"function"!==o.dataType||!m.dataSchema)if("array"===o.dataType)r=Object(u["deepClone"])(t[0]),e.push(r);else{r=[];for(let e=0,t=m.startCols;e<t;e++)r.push(null);e.push(r)}else r=Object(u["deepClone"])(t),e.push(r)}}Array.isArray(e[0])&&(o.dataType="array"),m.data=e,g.dataSource=e,l.data=e,l.dataType=o.dataType,l.colToProp=g.colToProp.bind(g),l.propToCol=g.propToCol.bind(g),l.countCachedColumns=g.countCachedColumns.bind(g),r(g),o.runHooks("after"+f,e,p,d),p||(o.runHooks("afterChange",null,c),o.render()),o.getSettings().ariaTags&&Object(n["setAttribute"])(o.rootElement,[Object(je["B"])(-1),Object(je["e"])(o.countCols()+(o.view?o.countRowHeaders():0))])}function $s(e){return t=>{let{col:r}=t;e.scrollViewportTo({col:r})}}function Js(){return()=>{}}function Qs(e){return t=>{e.scrollViewportTo(t.toObject())}}function el(e){return t=>{e.scrollViewportTo(t.toObject())}}function tl(e){return t=>{e.scrollViewportTo(t.toObject())}}function rl(e){return t=>{let{row:r}=t;e.scrollViewportTo({row:r})}}function nl(e){return t=>{const r=e.selection.getSelectionSource(),{row:n,col:i}=t;if(n<0&&i>=0)e.scrollViewportTo({col:i});else if(i<0&&n>=0)e.scrollViewportTo({row:n});else{if("mouse"===r&&(i===e.view.getLastPartiallyVisibleColumn()||n===e.view.getLastPartiallyVisibleRow()))return;e.scrollViewportTo({row:n,col:i})}}}function il(e){const{selection:t}=e;let r=!1,n=!1;return{resume(){n=!1},suspend(){n=!0},skipNextScrollCycle(){r=!0},scrollTo(i){var a;if(r||n)return void(r=!1);let o;t.isFocusSelectionChanged()?o=Qs(e):t.isSelectedByCorner()?o=Js(e):t.isSelectedByRowHeader()?o=rl(e):t.isSelectedByColumnHeader()?o=$s(e):1===t.getSelectedRange().size()&&t.isMultiple()?o=el(e):1!==t.getSelectedRange().size()||t.isMultiple()?t.getSelectedRange().size()>1&&(o=tl(e)):o=nl(e),null===(a=o)||void 0===a||a(i)}}}var al=r("c4fa");function ol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.rootElement,n=sl(e),i=sl(e);return n.addEventListener("focus",()=>null===t||void 0===t?void 0:t.onFocusFromTop()),i.addEventListener("focus",()=>null===t||void 0===t?void 0:t.onFocusFromBottom()),r.firstChild.before(n),r.lastChild.after(i),{activate(){e._registerTimeout(()=>{n.tabIndex=0,i.tabIndex=0},10)},deactivate(){e._registerTimeout(()=>{n.tabIndex=-1,i.tabIndex=-1},10)}}}function sl(e){const t=e.rootDocument,r=t.createElement("input");return r.type="text",r.classList.add("htFocusCatcher"),e.getSettings().ariaTags&&Object(n["setAttribute"])(r,[Object(je["x"])(),Object(je["n"])()]),r}function ll(e){const t=dl(e);let r;const{activate:n,deactivate:i}=ol(e,{onFocusFromTop(){var n;const i=null!==(n=t(r))&&void 0!==n?n:ul(e);i&&(e.runHooks("modifyFocusOnTabNavigation","from_above",i),e.selectCell(i.row,i.col)),e.listen()},onFocusFromBottom(){var n;const i=null!==(n=t(r))&&void 0!==n?n:cl(e);i&&(e.runHooks("modifyFocusOnTabNavigation","from_below",i),e.selectCell(i.row,i.col)),e.listen()}}),a={wrapped:!1,flipped:!1};let o=!0,s=!1,l=!1;function u(){a.wrapped=!1,a.flipped=!1,e.deselectCell(),e.unlisten()}e.addHook("afterListen",()=>i()),e.addHook("afterUnlisten",()=>n()),e.addHook("afterSelection",(t,n,i,u,c)=>{var d;(s&&(a.wrapped&&a.flipped||l)&&(l=!1,c.value=!0),o)&&(r=null===(d=e.getSelectedRangeLast())||void 0===d?void 0:d.highlight)}),e.addHook("beforeRowWrap",(e,t,r)=>{a.wrapped=!0,a.flipped=r});const c={keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:al["b"],group:"focusCatcher"};e.getShortcutManager().getContext("grid").addShortcuts([{...c,callback:()=>{const{tabNavigation:t}=e.getSettings();s=!0,e.getSelectedRangeLast()&&!t&&(o=!1),t||(l=!0)},position:"before"},{...c,callback:t=>{const{tabNavigation:n,autoWrapRow:i}=e.getSettings();if(s=!1,o=!0,!n||!e.selection.isSelected()||i&&a.wrapped&&a.flipped||!i&&a.wrapped)return i&&a.wrapped&&a.flipped&&(r=t.shiftKey?ul(e):cl(e)),u(),!1;t.preventDefault()},position:"after"}])}function ul(e){const{rowIndexMapper:t,columnIndexMapper:r}=e,{navigableHeaders:n}=e.getSettings();let i=n&&e.countColHeaders()>0?-e.countColHeaders():0,a=n&&e.countRowHeaders()>0?-e.countRowHeaders():0;return 0===i&&(i=t.getVisualFromRenderableIndex(i)),0===a&&(a=r.getVisualFromRenderableIndex(a)),null===i||null===a?null:e._createCellCoords(i,a)}function cl(e){var t,r;const{rowIndexMapper:n,columnIndexMapper:i}=e,{navigableHeaders:a}=e.getSettings();let o=n.getRenderableIndexesLength()-1,s=i.getRenderableIndexesLength()-1;if(o<0){if(!a||0===e.countColHeaders())return null;o=-1}if(s<0){if(!a||0===e.countColHeaders())return null;s=-1}return e._createCellCoords(null!==(t=n.getVisualFromRenderableIndex(o))&&void 0!==t?t:o,null!==(r=i.getVisualFromRenderableIndex(s))&&void 0!==r?r:s)}function dl(e){return t=>{if(!t)return null;const r=ul(e),n=cl(e);return t.col<r.col&&(t.col=r.col),t.col>n.col&&(t.col=n.col),t.row<r.row&&(t.row=r.row),t.row>n.row&&(t.row=n.row),t}}var hl=r("6906");const pl=new Map([[" ","space"],["spacebar","space"],["scroll","scrolllock"],["del","delete"],["esc","escape"],["medianexttrack","mediatracknext"],["mediaprevioustrack","mediatrackprevious"],["volumeup","audiovolumeup"],["volumedown","audiovolumedown"],["volumemute","audiovolumemute"],["multiply","*"],["add","+"],["divide","/"],["subtract","-"],["left","arrowleft"],["right","arrowright"],["up","arrowup"],["down","arrowdown"]]),fl=e=>e.map(e=>{const t=e.toLowerCase();return pl.has(t)?pl.get(t):t}).sort().join("+"),ml=e=>e.split("+"),gl=new RegExp("^(?:Key|Digit)([A-Z0-9])$"),vl=new Set(["Backquote","Minus","Equal","BracketLeft","BracketRight","Backslash","Semicolon","Quote","Comma","Period","Slash"]),bl=e=>{let{key:t,code:r}=e,n=t;return gl.test(r)?n=r.replace(gl,"$1"):vl.has(r)&&(n=r),n.toLowerCase()},yl=Symbol("shortcut-context");function wl(e){return Object(u["isObject"])(e)&&e.__kindOf===yl}const _l=e=>{const t=Object(hl["a"])({errorIdExists:t=>`The "${t}" shortcut is already registered in the "${e}" context.`}),r=function(){let{keys:e,callback:r,group:n,runOnlyIf:o=(()=>!0),captureCtrl:s=!1,preventDefault:l=!0,stopPropagation:u=!1,relativeToGroup:c,position:d,forwardToContext:h}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object(a["isUndefined"])(n))throw new Error("You need to define the shortcut's group.");if(!1===Object(i["isFunction"])(r))throw new Error("The shortcut's callback needs to be a function.");if(!1===Array.isArray(e))throw new Error(Ye["a"]`Pass the shortcut\'s keys as an array of arrays,\x20
- using the KeyboardEvent.key properties:\x20
- https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values.`);const p={callback:r,group:n,runOnlyIf:o,captureCtrl:s,preventDefault:l,stopPropagation:u};Object(a["isDefined"])(c)&&(p.relativeToGroup=c,p.position=d),wl(h)&&(p.forwardToContext=h),e.forEach(e=>{const r=fl(e),n=t.hasItem(r);if(n){const e=t.getItem(r);let n=e.findIndex(e=>e.group===c);-1!==n?"before"===d?n-=1:n+=1:n=e.length,e.splice(n,0,p)}else t.addItem(r,[p])})},n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach(e=>{Object(u["objectEach"])(t,(r,n)=>{!1===Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=t[n])}),r(e)})},o=e=>{const r=fl(e);t.removeItem(r)},s=e=>{const r=t.getItems();r.forEach(t=>{let[r,n]=t;const i=n.filter(t=>t.group!==e);0===i.length?o(ml(r)):(n.length=0,n.push(...i))})},l=e=>{const r=fl(e),n=t.getItem(r);return Object(a["isDefined"])(n)?n.slice():[]},c=e=>{const r=fl(e);return t.hasItem(r)};return{__kindOf:yl,addShortcut:r,addShortcuts:n,getShortcuts:l,hasShortcut:c,removeShortcutsByKeys:o,removeShortcutsByGroup:s}};function Sl(){const e=new Set;return{press(t){e.add(t)},release(t){e.delete(t)},releaseAll(){e.clear()},isPressed(t){return e.has(t)}}}const El=["meta","alt","shift","control"],Ml=Sl(),Tl=[];let Cl=0;function xl(e,t,r,i,a){const s=e=>El.includes(e),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=[];return e.altKey&&r.push("alt"),t&&(e.ctrlKey||e.metaKey)?r.push("control/meta"):(e.ctrlKey&&r.push("control"),e.metaKey&&r.push("meta")),e.shiftKey&&r.push("shift"),r},u=e=>{if(!1===t(e))return;const n=r(e);if(229===e.keyCode||!1===n||Object(j["isImmediatePropagationStopped"])(e))return;const u=bl(e);let c=[];s(u)||(c=l(e));const d=[u].concat(c),h=a(e,d);!h&&(Object(o["isMacOS"])()&&c.includes("meta")||!Object(o["isMacOS"])()&&c.includes("control"))&&a(e,[u].concat(l(e,!0))),i(e)},c=e=>{if(e.key){const t=bl(e);s(t)&&Ml.press(t)}},d=e=>{if(e.key){const t=bl(e);s(t)&&Ml.release(t)}},h=()=>{Ml.releaseAll()},p=()=>{let t=e;Cl+=1;while(t)1===Cl&&(t.document.documentElement.addEventListener("keydown",c),Tl.push({event:"keydown",listener:c}),t.document.documentElement.addEventListener("keyup",d),Tl.push({event:"keyup",listener:d})),t.document.documentElement.addEventListener("keydown",u),t.document.documentElement.addEventListener("blur",h),t=Object(n["getParentWindow"])(t)},f=()=>{let t=e;Cl-=1;while(t){if(0===Cl){for(let e=0;e<Tl.length;e++){const{event:r,listener:n}=Tl[e];t.document.documentElement.removeEventListener(r,n)}Tl.length=0}t.document.documentElement.removeEventListener("keydown",u),t.document.documentElement.removeEventListener("blur",h),t=Object(n["getParentWindow"])(t)}};return{mount:p,unmount:f,isPressed:e=>Ml.isPressed(e),releasePressedKeys:()=>Ml.releaseAll()}}const Al=e=>{let{ownerWindow:t,handleEvent:r,beforeKeyDown:n,afterKeyDown:i}=e;const a=Object(hl["a"])({errorIdExists:e=>`The "${e}" context name is already registered.`});let o="grid";const s=e=>{const t=_l(e);return a.addItem(e,t),t},l=()=>o,u=e=>a.getItem(e),c=e=>{if(!a.hasItem(e))throw new Error(Ye["a"]`You've tried to activate the "${e}" shortcut context\x20
- that does not exist. Before activation, register the context using the "addContext" method.`);o=e};let d=!1;const h=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l();const n=wl(r)?r:u(r);let i=!1;if(!n.hasShortcut(t))return i;const a=n.getShortcuts(t);for(let o=0;o<a.length;o++){const{callback:r,runOnlyIf:n,preventDefault:s,stopPropagation:l,captureCtrl:u,forwardToContext:c}=a[o];if(!0===n(e)){if(d=u,i=!1===r(e,t),d=!1,s&&e.preventDefault(),l&&(Object(j["stopImmediatePropagation"])(e),e.stopPropagation()),i)break;c&&h(e,t,c)}}return i},p=xl(t,r,n,i,h);return p.mount(),{addContext:s,getActiveContextName:l,getContext:u,setActiveContextName:c,isCtrlPressed:()=>!d&&(p.isPressed("control")||p.isPressed("meta")),releasePressedKeys:()=>p.releasePressedKeys(),destroy:()=>p.unmount()}};var Nl=r("1e8c");let Ol=null;const Rl=new Map;new Set;function Ll(e,t){var r,c=this;let d=arguments.length>2&&void 0!==arguments[2]&&arguments[2],h=this;const p=new l["a"](h);let f,m,g,v,b,y,w=!0;ai(d)&&ii(this),this.rootElement=e,this.rootDocument=e.ownerDocument,this.rootWindow=this.rootDocument.defaultView,this.isDestroyed=!1,this.renderSuspendedCounter=0,this.executionSuspendedCounter=0;const _=null!==(r=null===t||void 0===t?void 0:t.layoutDirection)&&void 0!==r?r:"inherit",S=["rtl","ltr"].includes(_)?_:this.rootWindow.getComputedStyle(this.rootElement).direction;this.rootElement.setAttribute("dir",S),this.isRtl=function(){return"rtl"===S},this.isLtr=function(){return!h.isRtl()},this.getDirectionFactor=function(){return h.isLtr()?1:-1},t.language=za(t.language);const E=new Ds(h,t,[Hs,Ys]),T=E.getTableMeta(),C=E.getGlobalMeta(),x=Object(hl["a"])();this.container=this.rootDocument.createElement("div"),this.renderCall=!1,e.insertBefore(this.container,e.firstChild),oi(this)&&Object(a["_injectProductInfo"])(t.licenseKey,e),this.guid="ht_"+Object(D["randomString"])(),Rl.set(this.guid,this),this.columnIndexMapper=new va,this.rowIndexMapper=new va,this.columnIndexMapper.addLocalHook("indexesSequenceChange",e=>{h.runHooks("afterColumnSequenceChange",e)}),this.rowIndexMapper.addLocalHook("indexesSequenceChange",e=>{h.runHooks("afterRowSequenceChange",e)}),m=new ki(h),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid);const A=e=>{const{row:t,col:r}=e;return h._createCellCoords(t>=0?h.rowIndexMapper.getRenderableFromVisualIndex(t):t,r>=0?h.columnIndexMapper.getRenderableFromVisualIndex(r):r)},j=e=>{const{row:t,col:r}=e;return h._createCellCoords(t>=0?h.rowIndexMapper.getVisualFromRenderableIndex(t):t,r>=0?h.columnIndexMapper.getVisualFromRenderableIndex(r):r)},F=(e,t)=>{const r=t>e?1:-1,n=Math.min(e,t),i=Math.max(e,t),a=h.rowIndexMapper.getNearestNotHiddenIndex(e,r);return null===a||1===r&&a>i||-1===r&&a<n?null:a>=0?h.rowIndexMapper.getRenderableFromVisualIndex(a):a},H=(e,t)=>{const r=t>e?1:-1,n=Math.min(e,t),i=Math.max(e,t),a=h.columnIndexMapper.getNearestNotHiddenIndex(e,r);return null===a||1===r&&a>i||-1===r&&a<n?null:a>=0?h.columnIndexMapper.getRenderableFromVisualIndex(a):a};let B=new is(T,{rowIndexMapper:h.rowIndexMapper,columnIndexMapper:h.columnIndexMapper,countCols:()=>h.countCols(),countRows:()=>h.countRows(),propToCol:e=>f.propToCol(e),isEditorOpened:()=>!!h.getActiveEditor()&&h.getActiveEditor().isOpened(),countRenderableColumns:()=>this.view.countRenderableColumns(),countRenderableRows:()=>this.view.countRenderableRows(),countRowHeaders:()=>this.countRowHeaders(),countColHeaders:()=>this.countColHeaders(),countRenderableRowsInRange:function(){return c.view.countRenderableRowsInRange(...arguments)},countRenderableColumnsInRange:function(){return c.view.countRenderableColumnsInRange(...arguments)},getShortcutManager:()=>h.getShortcutManager(),createCellCoords:(e,t)=>h._createCellCoords(e,t),createCellRange:(e,t,r)=>h._createCellRange(e,t,r),visualToRenderableCoords:A,renderableToVisualCoords:j,findFirstNonHiddenRenderableRow:F,findFirstNonHiddenRenderableColumn:H,isDisabledCellSelection:(e,t)=>e<0||t<0?h.getSettings().disableVisualSelection:h.getCellMeta(e,t).disableVisualSelection});this.selection=B;const U=e=>{let{hiddenIndexesChanged:t}=e;t&&this.selection.refresh()};function V(e){const t=wa(e);Ba(t)?(h.runHooks("beforeLanguageChange",t),C.language=t,h.runHooks("afterLanguageChange",t)):_a(e)}function Y(e,t){const r="className"===e?h.rootElement:h.table;if(w)Object(n["addClass"])(r,t);else{let i=[],a=[];C[e]&&(i=Array.isArray(C[e])?C[e]:Object(N["stringToArray"])(C[e])),t&&(a=Array.isArray(t)?t:Object(N["stringToArray"])(t));const o=Object(N["getDifferenceOfArrays"])(i,a),s=Object(N["getDifferenceOfArrays"])(a,i);o.length&&Object(n["removeClass"])(r,o),s.length&&Object(n["addClass"])(r,s)}C[e]=t}function z(){let e=!1;return{validatorsInQueue:0,valid:!0,addValidatorToQueue(){this.validatorsInQueue+=1,e=!1},removeValidatorFormQueue(){this.validatorsInQueue=this.validatorsInQueue-1<0?0:this.validatorsInQueue-1,this.checkIfQueueIsEmpty()},onQueueEmpty(){},checkIfQueueIsEmpty(){0===this.validatorsInQueue&&!1===e&&(e=!0,this.onQueueEmpty(this.valid))}}}function W(e){const t=e.replace(",",".");return!1===isNaN(parseFloat(t))?parseFloat(t):e}function q(e,t,r){if(!e.length)return;const i=h.getActiveEditor(),a=new z;let o=!0;a.onQueueEmpty=e=>{i&&o&&i.cancelChanges(),r(e)};for(let s=e.length-1;s>=0;s--){const[r,i,,l]=e[s],u=f.propToCol(i),c=h.getCellMeta(r,u);"numeric"===c.type&&"string"===typeof l&&Object(P["isNumericLike"])(l)&&(e[s][3]=W(l)),h.getCellValidator(c)&&(a.addValidatorToQueue(),h.validateCell(e[s][3],c,function(t,r){return function(i){if("boolean"!==typeof i)throw new Error("Validation error: result is not boolean");if(!1===i&&!1===r.allowInvalid){o=!1,e.splice(t,1),r.valid=!0;const i=h.getCell(r.visualRow,r.visualCol);null!==i&&Object(n["removeClass"])(i,T.invalidCellClassName)}a.removeValidatorFormQueue()}}(s,c),t))}a.checkIfQueueIsEmpty()}function G(e,t){let r=e.length-1;if(r<0)return;for(;r>=0;r--){let n=!1;if(null!==e[r]){if(null!==e[r][2]&&void 0!==e[r][2]||null!==e[r][3]&&void 0!==e[r][3]){if(T.allowInsertRow)while(e[r][0]>h.countRows()-1){const{delta:e}=f.createRow(void 0,void 0,{source:t});if(0===e){n=!0;break}}if("array"===h.dataType&&(!T.columns||0===T.columns.length)&&T.allowInsertColumn)while(f.propToCol(e[r][1])>h.countCols()-1){const{delta:e}=f.createCol(void 0,void 0,{source:t});if(0===e){n=!0;break}}n||f.set(e[r][0],e[r][1],e[r][3])}}else e.splice(r,1)}h.forceFullRender=!0,g.adjustRowsAndCols(),h.runHooks("beforeChangeRender",e,t),v.lockEditor(),h._refreshBorders(null),v.unlockEditor(),h.view.adjustElementsSize(),h.runHooks("afterChange",e,t||"edit");const n=h.getActiveEditor();n&&Object(a["isDefined"])(n.refreshValue)&&n.refreshValue()}function K(e,t,r){return Array.isArray(e)?e:[[e,t,r]]}function X(e,t){const r=h.getActiveEditor(),n=h.runHooks("beforeChange",e,t||"edit"),i=e.filter(e=>null!==e);return!1===n||0===i.length?(r&&r.cancelChanges(),[]):i}this.columnIndexMapper.addLocalHook("cacheUpdated",U),this.rowIndexMapper.addLocalHook("cacheUpdated",U),this.selection.addLocalHook("afterSetRangeEnd",(e,t)=>{const r=Object(u["createObjectPropListener"])(!1),i=this.selection.getSelectedRange(),{from:a,to:o}=i.current(),s=i.size()-1;this.runHooks("afterSelection",a.row,a.col,o.row,o.col,r,s),this.runHooks("afterSelectionByProp",a.row,h.colToProp(a.col),o.row,h.colToProp(o.col),r,s),t&&(!r.isTouched()||r.isTouched()&&!r.value)&&y.scrollTo(e);const l=B.isSelectedByRowHeader(),c=B.isSelectedByColumnHeader();l&&c?Object(n["addClass"])(this.rootElement,["ht__selection--rows","ht__selection--columns"]):l?(Object(n["removeClass"])(this.rootElement,"ht__selection--columns"),Object(n["addClass"])(this.rootElement,"ht__selection--rows")):c?(Object(n["removeClass"])(this.rootElement,"ht__selection--rows"),Object(n["addClass"])(this.rootElement,"ht__selection--columns")):Object(n["removeClass"])(this.rootElement,["ht__selection--rows","ht__selection--columns"]),this._refreshBorders(null)}),this.selection.addLocalHook("beforeSetFocus",e=>{this.runHooks("beforeSelectionFocusSet",e.row,e.col)}),this.selection.addLocalHook("afterSetFocus",e=>{const t=Object(u["createObjectPropListener"])(!1);this.runHooks("afterSelectionFocusSet",e.row,e.col,t),(!t.isTouched()||t.isTouched()&&!t.value)&&y.scrollTo(e),this._refreshBorders(null)}),this.selection.addLocalHook("afterSelectionFinished",e=>{const t=e.length-1,{from:r,to:n}=e[t];this.runHooks("afterSelectionEnd",r.row,r.col,n.row,n.col,t),this.runHooks("afterSelectionEndByProp",r.row,h.colToProp(r.col),n.row,h.colToProp(n.col),t)}),this.selection.addLocalHook("afterIsMultipleSelection",e=>{const t=this.runHooks("afterIsMultipleSelection",e.value);e.value&&(e.value=t)}),this.selection.addLocalHook("afterDeselect",()=>{v.destroyEditor(),this._refreshBorders(),Object(n["removeClass"])(this.rootElement,["ht__selection--rows","ht__selection--columns"]),this.runHooks("afterDeselect")}),this.selection.addLocalHook("beforeHighlightSet",()=>this.runHooks("beforeSelectionHighlightSet")).addLocalHook("beforeSetRangeStart",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("beforeSetRangeStart",...t)})).addLocalHook("beforeSetRangeStartOnly",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("beforeSetRangeStartOnly",...t)})).addLocalHook("beforeSetRangeEnd",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("beforeSetRangeEnd",...t)})).addLocalHook("beforeSelectColumns",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("beforeSelectColumns",...t)})).addLocalHook("afterSelectColumns",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("afterSelectColumns",...t)})).addLocalHook("beforeSelectRows",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("beforeSelectRows",...t)})).addLocalHook("afterSelectRows",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("afterSelectRows",...t)})).addLocalHook("beforeModifyTransformStart",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("modifyTransformStart",...t)})).addLocalHook("afterModifyTransformStart",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("afterModifyTransformStart",...t)})).addLocalHook("beforeModifyTransformFocus",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("modifyTransformFocus",...t)})).addLocalHook("afterModifyTransformFocus",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("afterModifyTransformFocus",...t)})).addLocalHook("beforeModifyTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("modifyTransformEnd",...t)})).addLocalHook("afterModifyTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("afterModifyTransformEnd",...t)})).addLocalHook("beforeRowWrap",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("beforeRowWrap",...t)})).addLocalHook("beforeColumnWrap",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.runHooks("beforeColumnWrap",...t)})).addLocalHook("insertRowRequire",e=>this.alter("insert_row_above",e,1,"auto")).addLocalHook("insertColRequire",e=>this.alter("insert_col_start",e,1,"auto")),g={alter(e,t){var r,n;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0;const l=e=>{if(0===e.length)return[];const t=[...e];t.sort((e,t)=>{let[r]=e,[n]=t;return r===n?0:r>n?1:-1});const r=Object(N["arrayReduce"])(t,(e,t)=>{let[r,n]=t;const i=e[e.length-1],[a,o]=i,s=a+o;if(r<=s){const e=Math.max(n-(s-r),0);i[1]+=e}else e.push([r,n]);return e},[t[0]]);return r};switch(e){case"insert_row_below":case"insert_row_above":const s=h.countSourceRows();if(T.maxRows===s)return;const u="insert_row_below"===e?"below":"above";t=null!==(r=t)&&void 0!==r?r:"below"===u?s:0;const{delta:c,startPhysicalIndex:d}=f.createRow(t,i,{source:o,mode:u});if(c){const e=B.selectedRange.current(),t=null===e||void 0===e?void 0:e.from,r=null===t||void 0===t?void 0:t.row,n=h.toVisualRow(d);if(B.isSelectedByCorner())B.selectAll(!0,!0,{disableHeadersHighlight:!0});else if(Object(a["isDefined"])(r)&&r>=n){const{row:n,col:i}=e.to;let a=t.col;B.isSelectedByRowHeader()&&(a=-1),B.getSelectedRange().pop(),B.setRangeStartOnly(h._createCellCoords(r+c,a),!0),B.setRangeEnd(h._createCellCoords(n+c,i))}else h._refreshBorders()}break;case"insert_col_start":case"insert_col_end":const p="insert_col_end"===e?"end":"start";t=null!==(n=t)&&void 0!==n?n:"end"===p?h.countSourceCols():0;const{delta:m,startPhysicalIndex:v}=f.createCol(t,i,{source:o,mode:p});if(m){if(Array.isArray(T.colHeaders)){const e=[h.toVisualColumn(v),0];e.length+=m,Array.prototype.splice.apply(T.colHeaders,e)}const e=B.selectedRange.current(),t=null===e||void 0===e?void 0:e.from,r=null===t||void 0===t?void 0:t.col,n=h.toVisualColumn(v);if(B.isSelectedByCorner())B.selectAll(!0,!0,{disableHeadersHighlight:!0});else if(Object(a["isDefined"])(r)&&r>=n){const{row:n,col:i}=e.to;let a=t.row;B.isSelectedByColumnHeader()&&(a=-1),B.getSelectedRange().pop(),B.setRangeStartOnly(h._createCellCoords(a,r+m),!0),B.setRangeEnd(h._createCellCoords(n,i+m))}else h._refreshBorders()}break;case"remove_row":const b=e=>{let t=0;Object(N["arrayEach"])(e,e=>{let[r,n]=e;const i=Object(a["isEmpty"])(r)?h.countRows()-1:Math.max(r-t,0);Number.isInteger(r)&&(r=Math.max(r-t,0));const s=f.removeRow(r,n,o);if(!s)return;const l=h.countRows(),u=T.fixedRowsTop;u>=i+1&&(T.fixedRowsTop-=Math.min(n,u-i));const c=T.fixedRowsBottom;c&&i>=l-c&&(T.fixedRowsBottom-=Math.min(n,c)),t+=n})};Array.isArray(t)?b(l(t)):b([[t,i]]),g.adjustRowsAndCols(),h._refreshBorders();break;case"remove_col":const y=e=>{let t=0;Object(N["arrayEach"])(e,e=>{let[r,n]=e;const i=Object(a["isEmpty"])(r)?h.countCols()-1:Math.max(r-t,0);let s=h.toPhysicalColumn(i);Number.isInteger(r)&&(r=Math.max(r-t,0));const l=f.removeCol(r,n,o);if(!l)return;const u=T.fixedColumnsStart;u>=i+1&&(T.fixedColumnsStart-=Math.min(n,u-i)),Array.isArray(T.colHeaders)&&("undefined"===typeof s&&(s=-1),T.colHeaders.splice(s,n)),t+=n})};Array.isArray(t)?y(l(t)):y([[t,i]]),g.adjustRowsAndCols(),h._refreshBorders();break;default:throw new Error(`There is no such action "${e}"`)}s||g.adjustRowsAndCols()},adjustRowsAndCols(){const e=T.minRows,t=T.minSpareRows,r=T.minCols,n=T.minSpareCols;if(0===h.countRows()&&0===h.countCols()&&B.deselect(),e){const t=h.countRows();t<e&&f.createRow(t,e-t,{source:"auto"})}if(t){const e=h.countEmptyRows(!0);if(e<t){const r=t-e,n=Math.min(r,T.maxRows-h.countSourceRows());f.createRow(h.countRows(),n,{source:"auto"})}}{let e;(r||n)&&(e=h.countEmptyCols(!0));let t=h.countCols();if(r&&!T.columns&&t<r){const n=r-t;e+=n,f.createCol(t,n,{source:"auto"})}if(n&&!T.columns&&"array"===h.dataType&&e<n){t=h.countCols();const r=n-e,i=Math.min(r,T.maxCols-t);f.createCol(t,i,{source:"auto"})}}if(B.isSelected()){const e=h.countRows(),t=h.countCols();Object(N["arrayEach"])(B.selectedRange,r=>{let n=!1,i=r.from.row,a=r.from.col,o=r.to.row,s=r.to.col;i>e-1?(i=e-1,n=!0,o>i&&(o=i)):o>e-1&&(o=e-1,n=!0,i>o&&(i=o)),a>t-1?(a=t-1,n=!0,s>a&&(s=a)):s>t-1&&(s=t-1,n=!0,a>s&&(a=s)),n&&(a<0?h.selectRows(i,o,a):i<0?h.selectColumns(a,s,i):h.selectCell(i,a,o,s))})}h.view&&h.view.adjustElementsSize()},populateFromArray(e,t,r,n,i){let a,o,s,l;const c=[],d={},p=[],f=e.row,m=e.col;if(o=t.length,0===o)return!1;let g=0,v=0;switch(Object(u["isObject"])(r)&&(g=r.col-m+1,v=r.row-f+1),i){case"shift_down":const i=Object(N["pivot"])(t),b=i.length,y=Math.max(b,g),w=h.getData().slice(f),_=Object(N["pivot"])(w).slice(m,m+y);for(s=0;s<y;s+=1)if(s<b){for(a=0,o=i[s].length;a<v-o;a+=1)i[s].push(i[s][a%o]);s<_.length?p.push(i[s].concat(_[s])):p.push(i[s].concat(new Array(w.length).fill(null)))}else p.push(i[s%b].concat(_[s]));h.populateFromArray(f,m,Object(N["pivot"])(p));break;case"shift_right":const S=t.length,E=Math.max(S,v),M=h.getData().slice(f).map(e=>e.slice(m));for(a=0;a<E;a+=1)if(a<S){for(s=0,l=t[a].length;s<g-l;s+=1)t[a].push(t[a][s%l]);if(a<M.length)for(let e=0;e<M[a].length;e+=1)t[a].push(M[a][e]);else t[a].push(...new Array(M[0].length).fill(null))}else t.push(t[a%o].slice(0,E).concat(M[a]));h.populateFromArray(f,m,t);break;case"overwrite":default:d.row=e.row,d.col=e.col;let C,x=0,A=0,O=!0;const R=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=t[e%t.length];return null!==r?n[r%n.length]:n},L=t.length,k=r?r.row-e.row+1:0;for(o=r?k:Math.max(L,k),a=0;a<o;a++){if(r&&d.row>r.row&&k>L||!T.allowInsertRow&&d.row>h.countRows()-1||d.row>=T.maxRows)break;const t=a-x,i=R(t).length,p=r?r.col-e.col+1:0;if(l=r?p:Math.max(i,p),d.col=e.col,C=h.getCellMeta(d.row,d.col),"CopyPaste.paste"!==n&&"Autofill.fill"!==n||!C.skipRowOnPaste){for(A=0,s=0;s<l;s++){if(r&&d.col>r.col&&p>i||!T.allowInsertColumn&&d.col>h.countCols()-1||d.col>=T.maxCols)break;if(C=h.getCellMeta(d.row,d.col),("CopyPaste.paste"===n||"Autofill.fill"===n)&&C.skipColumnOnPaste){A+=1,d.col+=1,l+=1;continue}if(C.readOnly&&"UndoRedo.undo"!==n){d.col+=1;continue}const e=s-A;let a=R(t,e),o=h.getDataAtCell(d.row,d.col);if(null!==a&&"object"===typeof a)if(Array.isArray(a)&&null===o&&(o=[]),null===o||"object"!==typeof o)O=!1;else{const e=Object(u["duckSchema"])(Array.isArray(o)?o:o[0]||o),t=Object(u["duckSchema"])(Array.isArray(a)?a:a[0]||a);Object(u["isObjectEqual"])(e,t)||Array.isArray(e)&&Array.isArray(t)?a=Object(u["deepClone"])(a):O=!1}else null!==o&&"object"===typeof o&&(O=!1);O&&c.push([d.row,d.col,a]),O=!0,d.col+=1}d.row+=1}else x+=1,d.row+=1,o+=1}h.setDataAtCell(c,null,null,n||"populateFromArray");break}}},this.init=function(){m.setData(T.data),h.runHooks("beforeInit"),(Object(o["isMobileBrowser"])()||Object(o["isIpadOS"])())&&Object(n["addClass"])(h.rootElement,"mobile"),this.updateSettings(T,!0),this.view=new xi(this),v=s["b"].getInstance(h,T,B),y=il(h),b=new M(h),oi(this)&&ll(h),h.runHooks("init"),this.forceFullRender=!0,this.view.render(),w&&null===h.rootElement.offsetParent&&Object(n["observeVisibilityChangeOnce"])(h.rootElement,()=>{h.view._wt.wtOverlays.updateLastSpreaderSize(),h.render(),h.view.adjustElementsSize()}),"object"===typeof w&&(h.runHooks("afterChange",w[0],w[1]),w=!1),h.runHooks("afterInit")},this._createCellCoords=function(e,t){return h.view._wt.createCellCoords(e,t)},this._createCellRange=function(e,t,r){return h.view._wt.createCellRange(e,t,r)},this.validateCell=function(e,t,r,n){let o=h.getCellValidator(t);function s(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!n||!0===t.hidden)return void r(e);const i=t.visualCol,a=t.visualRow,o=h.getCell(a,i,!0);if(o&&"TH"!==o.nodeName){const e=h.rowIndexMapper.getRenderableFromVisualIndex(a),t=h.columnIndexMapper.getRenderableFromVisualIndex(i);h.view._wt.getSetting("cellRenderer",e,t,o)}r(e)}Object(a["isRegExp"])(o)&&(o=function(e){return function(t,r){r(e.test(t))}}(o)),Object(i["isFunction"])(o)?(e=h.runHooks("beforeValidate",e,t.visualRow,t.prop,n),h._registerImmediate(()=>{o.call(t,e,r=>{h&&(r=h.runHooks("afterValidate",r,e,t.visualRow,t.prop,n),t.valid=r,s(r),h.runHooks("postAfterValidate",r,e,t.visualRow,t.prop,n))})})):h._registerImmediate(()=>{t.valid=!0,s(t.valid,!1)})},this.setDataAtCell=function(e,t,r,n){const i=K(e,t,r),a=[];let o,s,l,u=n;for(o=0,s=i.length;o<s;o++){if("object"!==typeof i[o])throw new Error("Method `setDataAtCell` accepts row number or changes array of arrays as its first parameter");if("number"!==typeof i[o][1])throw new Error("Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`");l=i[o][1]>=this.countCols()?i[o][1]:f.colToProp(i[o][1]),a.push([i[o][0],l,m.getAtCell(this.toPhysicalRow(i[o][0]),i[o][1]),i[o][2]])}u||"object"!==typeof e||(u=t);const c=X(a,n);h.runHooks("afterSetDataAtCell",c,u),q(c,u,()=>{G(c,u)})},this.setDataAtRowProp=function(e,t,r,n){const i=K(e,t,r),a=[];let o,s,l=n;for(o=0,s=i.length;o<s;o++)a.push([i[o][0],i[o][1],m.getAtCell(this.toPhysicalRow(i[o][0]),i[o][1]),i[o][2]]);l||"object"!==typeof e||(l=t);const u=X(a,n);h.runHooks("afterSetDataAtRowProp",u,l),q(u,l,()=>{G(u,l)})},this.listen=function(){h&&!h.isListening()&&(Rl.forEach(e=>{h!==e&&e.unlisten()}),Ol=h.guid,h.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(Ol=null,h.runHooks("afterUnlisten"))},this.isListening=function(){return Ol===h.guid},this.destroyEditor=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];h._refreshBorders(e,t)},this.populateFromArray=function(e,t,r,n,i,a,o){if("object"!==typeof r||"object"!==typeof r[0])throw new Error("populateFromArray parameter `input` must be an array of arrays");const s="number"===typeof n?h._createCellCoords(n,i):null;return g.populateFromArray(h._createCellCoords(e,t),r,s,a,o)},this.spliceCol=function(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];return f.spliceCol(e,t,r,...i)},this.spliceRow=function(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];return f.spliceRow(e,t,r,...i)},this.getSelected=function(){if(B.isSelected())return Object(N["arrayMap"])(B.getSelectedRange(),e=>{let{from:t,to:r}=e;return[t.row,t.col,r.row,r.col]})},this.getSelectedLast=function(){const e=this.getSelected();let t;return e&&e.length>0&&(t=e[e.length-1]),t},this.getSelectedRange=function(){if(B.isSelected())return Array.from(B.getSelectedRange())},this.getSelectedRangeLast=function(){const e=this.getSelectedRange();let t;return e&&e.length>0&&(t=e[e.length-1]),t},this.emptySelectedCells=function(e){if(!B.isSelected()||0===this.countRows()||0===this.countCols())return;const t=[];Object(N["arrayEach"])(B.getSelectedRange(),e=>{if(e.isSingleHeader())return;const r=e.getTopStartCorner(),n=e.getBottomEndCorner();Object(P["rangeEach"])(r.row,n.row,e=>{Object(P["rangeEach"])(r.col,n.col,r=>{this.getCellMeta(e,r).readOnly||t.push([e,r,null])})})}),t.length>0&&this.setDataAtCell(t,e)},this.isRenderSuspended=function(){return this.renderSuspendedCounter>0},this.suspendRender=function(){this.renderSuspendedCounter+=1},this.resumeRender=function(){const e=this.renderSuspendedCounter-1;this.renderSuspendedCounter=Math.max(e,0),this.isRenderSuspended()||e!==this.renderSuspendedCounter||(this.renderCall?this.render():this._refreshBorders(null))},this.render=function(){this.view&&(this.renderCall=!0,this.forceFullRender=!0,this.isRenderSuspended()||(v.lockEditor(),this._refreshBorders(null),v.unlockEditor()))},this.batchRender=function(e){this.suspendRender();const t=e();return this.resumeRender(),t},this.isExecutionSuspended=function(){return this.executionSuspendedCounter>0},this.suspendExecution=function(){this.executionSuspendedCounter+=1,this.columnIndexMapper.suspendOperations(),this.rowIndexMapper.suspendOperations()},this.resumeExecution=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.executionSuspendedCounter-1;this.executionSuspendedCounter=Math.max(t,0),(!this.isExecutionSuspended()&&t===this.executionSuspendedCounter||e)&&(this.columnIndexMapper.resumeOperations(),this.rowIndexMapper.resumeOperations())},this.batchExecution=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.suspendExecution();const r=e();return this.resumeExecution(t),r},this.batch=function(e){this.suspendRender(),this.suspendExecution();const t=e();return this.resumeExecution(),this.resumeRender(),t},this.refreshDimensions=function(){if(!h.view)return;const{width:e,height:t}=h.view.getLastSize(),{width:r,height:n}=h.rootElement.getBoundingClientRect(),i=r!==e||n!==t,a=!1===h.runHooks("beforeRefreshDimensions",{width:e,height:t},{width:r,height:n},i);a||((i||h.view._wt.wtOverlays.scrollableElement===h.rootWindow)&&(h.view.setLastSize(r,n),h.render()),h.runHooks("afterRefreshDimensions",{width:e,height:t},{width:r,height:n},i))},this.updateData=function(e,t){Zs(e,e=>{f=e},e=>{f=e,h.columnIndexMapper.fitToLength(this.getInitialColumnCount()),h.rowIndexMapper.fitToLength(this.countSourceRows()),g.adjustRowsAndCols()},{hotInstance:h,dataMap:f,dataSource:m,internalSource:"updateData",source:t,metaManager:E,firstRun:w})},this.loadData=function(e,t){Zs(e,e=>{f=e},()=>{E.clearCellsCache(),h.initIndexMappers(),g.adjustRowsAndCols(),w&&(w=[null,"loadData"])},{hotInstance:h,dataMap:f,dataSource:m,internalSource:"loadData",source:t,metaManager:E,firstRun:w})},this.getInitialColumnCount=function(){const e=T.columns;let t=0;if(Array.isArray(e))t=e.length;else if(Object(i["isFunction"])(e))if("array"===h.dataType){const r=this.countSourceCols();for(let n=0;n<r;n+=1)e(n)&&(t+=1)}else"object"!==h.dataType&&"function"!==h.dataType||(t=f.colToPropCache.length);else if(Object(a["isDefined"])(T.dataSchema)){const e=f.getSchema();t=Array.isArray(e)?e.length:Object(u["deepObjectSize"])(e)}else t=this.countSourceCols();return t},this.initIndexMappers=function(){this.columnIndexMapper.initToLength(this.getInitialColumnCount()),this.rowIndexMapper.initToLength(this.countSourceRows())},this.getData=function(e,t,r,n){return Object(a["isUndefined"])(e)?f.getAll():f.getRange(h._createCellCoords(e,t),h._createCellCoords(r,n),f.DESTINATION_RENDERER)},this.getCopyableText=function(e,t,r,n){return f.getCopyableText(h._createCellCoords(e,t),h._createCellCoords(r,n))},this.getCopyableData=function(e,t){return f.getCopyable(e,f.colToProp(t))},this.getSchema=function(){return f.getSchema()},this.updateSettings=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=(w?h.loadData:h.updateData).bind(this);let n,o,s=!1;if(Object(a["isDefined"])(e.rows))throw new Error('The "rows" setting is no longer supported. Do you mean startRows, minRows or maxRows?');if(Object(a["isDefined"])(e.cols))throw new Error('The "cols" setting is no longer supported. Do you mean startCols, minCols or maxCols?');if(Object(a["isDefined"])(e.ganttChart))throw new Error('Since 8.0.0 the "ganttChart" setting is no longer supported.');for(n in e)"data"===n||("language"===n?V(e.language):"className"===n?Y("className",e.className):"tableClassName"===n&&h.table?(Y("tableClassName",e.tableClassName),h.view._wt.wtOverlays.syncOverlayTableClassNames()):ba["a"].getSingleton().isRegistered(n)||ba["a"].getSingleton().isDeprecated(n)?(Object(i["isFunction"])(e[n])||Array.isArray(e[n]))&&(e[n].initialHook=!0,h.addHook(n,e[n])):!t&&Object(u["hasOwnProperty"])(e,n)&&(C[n]=e[n]));void 0===e.data&&void 0===T.data?r(null,"updateSettings"):void 0!==e.data?r(e.data,"updateSettings"):void 0!==e.columns&&(f.createMap(),h.initIndexMappers());const l=h.countCols(),c=T.columns;if(c&&Object(i["isFunction"])(c)&&(s=!0),void 0===e.cell&&void 0===e.cells&&void 0===e.columns||E.clearCache(),l>0)for(n=0,o=0;n<l;n++){if(c){const e=s?c(n):c[o];e&&E.updateColumnMeta(o,e)}o+=1}Object(a["isDefined"])(e.cell)&&Object(u["objectEach"])(e.cell,e=>{h.setCellMetaObject(e.row,e.col,e)}),h.runHooks("afterCellMetaReset");let d=h.rootElement.style.height;""!==d&&(d=parseInt(h.rootElement.style.height,10));let p=e.height;if(Object(i["isFunction"])(p)&&(p=p()),t){const e=h.rootElement.getAttribute("style");e&&h.rootElement.setAttribute("data-initialstyle",h.rootElement.getAttribute("style"))}if(null===p){const e=h.rootElement.getAttribute("data-initialstyle");e&&(e.indexOf("height")>-1||e.indexOf("overflow")>-1)?h.rootElement.setAttribute("style",e):(h.rootElement.style.height="",h.rootElement.style.overflow="")}else void 0!==p&&(h.rootElement.style.height=isNaN(p)?""+p:p+"px",h.rootElement.style.overflow="hidden");if("undefined"!==typeof e.width){let t=e.width;Object(i["isFunction"])(t)&&(t=t()),h.rootElement.style.width=isNaN(t)?""+t:t+"px"}t||(h.view&&(h.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked(),h.view._wt.exportSettingsAsClassNames()),h.runHooks("afterUpdateSettings",e)),g.adjustRowsAndCols(),h.view&&!w&&(h.forceFullRender=!0,v.lockEditor(),h._refreshBorders(null),h.view._wt.wtOverlays.adjustElementsSize(),v.unlockEditor()),t||!h.view||""!==d&&""!==p&&void 0!==p||d===p||h.view._wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){const e=h.getSelectedLast();if(T.getValue){if(Object(i["isFunction"])(T.getValue))return T.getValue.call(h);if(e)return h.getData()[e[0][0]][T.getValue]}else if(e)return h.getDataAtCell(e[0],e[1])},this.getSettings=function(){return T},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(e,t,r,n,i){g.alter(e,t,r,n,i)},this.getCell=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t,i=e;if(t>=0){if(this.columnIndexMapper.isHidden(this.toPhysicalColumn(t)))return null;n=this.columnIndexMapper.getRenderableFromVisualIndex(t)}if(e>=0){if(this.rowIndexMapper.isHidden(this.toPhysicalRow(e)))return null;i=this.rowIndexMapper.getRenderableFromVisualIndex(e)}return null===i||null===n?null:h.view.getCellAtCoords(h._createCellCoords(i,n),r)},this.getCoords=function(e){const t=this.view._wt.wtTable.getCoords(e);if(null===t)return null;const{row:r,col:n}=t;let i=r,a=n;return r>=0&&(i=this.rowIndexMapper.getVisualFromRenderableIndex(r)),n>=0&&(a=this.columnIndexMapper.getVisualFromRenderableIndex(n)),h._createCellCoords(i,a)},this.colToProp=function(e){return f.colToProp(e)},this.propToCol=function(e){return f.propToCol(e)},this.toVisualRow=e=>this.rowIndexMapper.getVisualFromPhysicalIndex(e),this.toVisualColumn=e=>this.columnIndexMapper.getVisualFromPhysicalIndex(e),this.toPhysicalRow=e=>this.rowIndexMapper.getPhysicalFromVisualIndex(e),this.toPhysicalColumn=e=>this.columnIndexMapper.getPhysicalFromVisualIndex(e),this.getDataAtCell=function(e,t){return f.get(e,f.colToProp(t))},this.getDataAtRowProp=function(e,t){return f.get(e,t)},this.getDataAtCol=function(e){const t=[],r=f.getRange(h._createCellCoords(0,e),h._createCellCoords(T.data.length-1,e),f.DESTINATION_RENDERER);for(let n=0;n<r.length;n+=1)for(let e=0;e<r[n].length;e+=1)t.push(r[n][e]);return t},this.getDataAtProp=function(e){const t=[],r=f.getRange(h._createCellCoords(0,f.propToCol(e)),h._createCellCoords(T.data.length-1,f.propToCol(e)),f.DESTINATION_RENDERER);for(let n=0;n<r.length;n+=1)for(let e=0;e<r[n].length;e+=1)t.push(r[n][e]);return t},this.getSourceData=function(e,t,r,n){let i;return i=void 0===e?m.getData():m.getByRange(h._createCellCoords(e,t),h._createCellCoords(r,n)),i},this.getSourceDataArray=function(e,t,r,n){let i;return i=void 0===e?m.getData(!0):m.getByRange(h._createCellCoords(e,t),h._createCellCoords(r,n),!0),i},this.getSourceDataAtCol=function(e){return m.getAtColumn(e)},this.setSourceDataAtCell=function(e,t,r,n){const i=K(e,t,r),o=this.hasHook("afterSetSourceDataAtCell"),s=[];o&&Object(N["arrayEach"])(i,e=>{let[t,r,n]=e;s.push([t,r,m.getAtCell(t,r),n])}),Object(N["arrayEach"])(i,e=>{let[t,r,n]=e;m.setAtCell(t,r,n)}),o&&this.runHooks("afterSetSourceDataAtCell",s,n),this.render();const l=h.getActiveEditor();l&&Object(a["isDefined"])(l.refreshValue)&&l.refreshValue()},this.getSourceDataAtRow=function(e){return m.getAtRow(e)},this.getSourceDataAtCell=function(e,t){return m.getAtCell(e,t)},this.getDataAtRow=function(e){const t=f.getRange(h._createCellCoords(e,0),h._createCellCoords(e,this.countCols()-1),f.DESTINATION_RENDERER);return t[0]||[]},this.getDataType=function(e,t,r,n){const i=void 0===e?[0,0,this.countRows(),this.countCols()]:[e,t,r,n],[a,o]=i;let[,,s,l]=i,u=null,c=null;void 0===s&&(s=a),void 0===l&&(l=o);let d="mixed";return Object(P["rangeEach"])(Math.max(Math.min(a,s),0),Math.max(a,s),e=>{let t=!0;return Object(P["rangeEach"])(Math.max(Math.min(o,l),0),Math.max(o,l),r=>{const n=this.getCellMeta(e,r);return c=n.type,u?t=u===c:u=c,t}),d=t?c:"mixed",t}),d},this.removeCellMeta=function(e,t,r){const[n,i]=[this.toPhysicalRow(e),this.toPhysicalColumn(t)];let a=E.getCellMetaKeyValue(n,i,r);const o=h.runHooks("beforeRemoveCellMeta",e,t,r,a);!1!==o&&(E.removeCellMeta(n,i,r),h.runHooks("afterRemoveCellMeta",e,t,r,a)),a=null},this.spliceCellsMeta=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(n.length>0&&!Array.isArray(n[0]))throw new Error("The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array.");t>0&&E.removeRow(this.toPhysicalRow(e),t),n.length>0&&Object(N["arrayEach"])(n.reverse(),t=>{E.createRow(this.toPhysicalRow(e)),Object(N["arrayEach"])(t,(t,r)=>this.setCellMetaObject(e,r,t))}),h.render()},this.setCellMetaObject=function(e,t,r){"object"===typeof r&&Object(u["objectEach"])(r,(r,n)=>{this.setCellMeta(e,t,n,r)})},this.setCellMeta=function(e,t,r,n){const i=h.runHooks("beforeSetCellMeta",e,t,r,n);if(!1===i)return;let a=e,o=t;e<this.countRows()&&(a=this.toPhysicalRow(e)),t<this.countCols()&&(o=this.toPhysicalColumn(t)),E.setCellMeta(a,o,r,n),h.runHooks("afterSetCellMeta",e,t,r,n)},this.getCellsMeta=function(){return E.getCellsMeta()},this.getCellMeta=function(e,t){let r=this.toPhysicalRow(e),n=this.toPhysicalColumn(t);return null===r&&(r=e),null===n&&(n=t),E.getCellMeta(r,n,{visualRow:e,visualColumn:t})},this.getCellMetaAtRow=function(e){return E.getCellsMetaAtRow(e)},this.isColumnModificationAllowed=function(){return!("object"===h.dataType||T.columns)},this.getCellRenderer=function(e,t){const r="number"===typeof e?h.getCellMeta(e,t).renderer:e.renderer;return"string"===typeof r?Object(L["b"])(r):Object(a["isUndefined"])(r)?Object(L["b"])("text"):r},this.getCellEditor=function(e,t){const r="number"===typeof e?h.getCellMeta(e,t).editor:e.editor;return"string"===typeof r?Object(k["a"])(r):Object(a["isUndefined"])(r)?Object(k["a"])("text"):r},this.getCellValidator=function(e,t){const r="number"===typeof e?h.getCellMeta(e,t).validator:e.validator;return"string"===typeof r?Object(I["b"])(r):r},this.validateCells=function(e){this._validateCells(e)},this.validateRows=function(e,t){if(!Array.isArray(e))throw new Error("validateRows parameter `rows` must be an array");this._validateCells(t,e)},this.validateColumns=function(e,t){if(!Array.isArray(e))throw new Error("validateColumns parameter `columns` must be an array");this._validateCells(t,void 0,e)},this._validateCells=function(e,t,r){const n=new z;e&&(n.onQueueEmpty=e);let i=h.countRows()-1;while(i>=0){if(void 0!==t&&-1===t.indexOf(i)){i-=1;continue}let e=h.countCols()-1;while(e>=0)void 0===r||-1!==r.indexOf(e)?(n.addValidatorToQueue(),h.validateCell(h.getDataAtCell(i,e),h.getCellMeta(i,e),e=>{if("boolean"!==typeof e)throw new Error("Validation error: result is not boolean");!1===e&&(n.valid=!1),n.removeValidatorFormQueue()},"validateCells"),e-=1):e-=1;i-=1}n.checkIfQueueIsEmpty()},this.getRowHeader=function(e){let t=T.rowHeaders,r=e;return void 0!==r&&(r=h.runHooks("modifyRowHeader",r)),void 0===r?(t=[],Object(P["rangeEach"])(h.countRows()-1,e=>{t.push(h.getRowHeader(e))})):Array.isArray(t)&&void 0!==t[r]?t=t[r]:Object(i["isFunction"])(t)?t=t(r):t&&"string"!==typeof t&&"number"!==typeof t&&(t=r+1),t},this.hasRowHeaders=function(){return!!T.rowHeaders},this.hasColHeaders=function(){if(void 0!==T.colHeaders&&null!==T.colHeaders)return!!T.colHeaders;for(let e=0,t=h.countCols();e<t;e++)if(h.getColHeader(e))return!0;return!1},this.getColHeader=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;const r=h.runHooks("modifyColHeader",e);if(void 0===r){const e=[],t=h.countCols();for(let r=0;r<t;r++)e.push(h.getColHeader(r));return e}let n=T.colHeaders;const a=function(e){const t=[],r=h.countCols();let n=0;for(;n<r;n++)Object(i["isFunction"])(T.columns)&&T.columns(n)&&t.push(n);return t[e]},o=h.toPhysicalColumn(r),s=a(o);return!1===T.colHeaders?n=null:T.columns&&Object(i["isFunction"])(T.columns)&&T.columns(s)&&T.columns(s).title?n=T.columns(s).title:T.columns&&T.columns[o]&&T.columns[o].title?n=T.columns[o].title:Array.isArray(T.colHeaders)&&void 0!==T.colHeaders[o]?n=T.colHeaders[o]:Object(i["isFunction"])(T.colHeaders)?n=T.colHeaders(o):T.colHeaders&&"string"!==typeof T.colHeaders&&"number"!==typeof T.colHeaders&&(n=Object(Ai["spreadsheetColumnLabel"])(r)),n=h.runHooks("modifyColumnHeaderValue",n,e,t),n},this._getColWidthFromSettings=function(e){let t;if(e>=0){const r=h.getCellMeta(0,e);t=r.width}if(void 0!==t&&t!==T.width||(t=T.colWidths),void 0!==t&&null!==t){switch(typeof t){case"object":t=t[e];break;case"function":t=t(e);break;default:break}"string"===typeof t&&(t=parseInt(t,10))}return t},this.getColWidth=function(e){let t=h._getColWidthFromSettings(e);return t=h.runHooks("modifyColWidth",t,e),void 0===t&&(t=yn["a"].DEFAULT_WIDTH),t},this._getRowHeightFromSettings=function(e){let t=T.rowHeights;if(void 0!==t&&null!==t){switch(typeof t){case"object":t=t[e];break;case"function":t=t(e);break;default:break}"string"===typeof t&&(t=parseInt(t,10))}return t},this.getRowHeight=function(e){let t=h._getRowHeightFromSettings(e);return t=h.runHooks("modifyRowHeight",t,e),t},this.countSourceRows=function(){return m.countRows()},this.countSourceCols=function(){return m.countFirstRowKeys()},this.countRows=function(){return f.getLength()},this.countCols=function(){const e=T.maxCols,t=this.columnIndexMapper.getNotTrimmedIndexesLength();return Math.min(e,t)},this.countRenderedRows=function(){return h.view._wt.drawn?h.view._wt.wtTable.getRenderedRowsCount():-1},this.countVisibleRows=function(){return h.view._wt.drawn?h.view._wt.wtTable.getVisibleRowsCount():-1},this.countRenderedCols=function(){return h.view._wt.drawn?h.view._wt.wtTable.getRenderedColumnsCount():-1},this.countVisibleCols=function(){return h.view._wt.drawn?h.view._wt.wtTable.getVisibleColumnsCount():-1},this.countRowHeaders=function(){return this.view.getRowHeadersCount()},this.countColHeaders=function(){return this.view.getColumnHeadersCount()},this.countEmptyRows=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return Object(P["rangeEachReverse"])(h.countRows()-1,r=>{if(h.isEmptyRow(r))t+=1;else if(!0===e)return!1}),t},this.countEmptyCols=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return Object(P["rangeEachReverse"])(h.countCols()-1,r=>{if(h.isEmptyCol(r))t+=1;else if(!0===e)return!1}),t},this.isEmptyRow=function(e){return T.isEmptyRow.call(h,e)},this.isEmptyCol=function(e){return T.isEmptyCol.call(h,e)},this.selectCell=function(e,t,r,n){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!Object(a["isUndefined"])(e)&&!Object(a["isUndefined"])(t)&&this.selectCells([[e,t,r,n]],i,o)},this.selectCells=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===t&&y.suspend();const n=B.selectCells(e);return n&&r&&h.listen(),y.resume(),n},this.selectColumns=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2?arguments[2]:void 0;return B.selectColumns(e,t,r)},this.selectRows=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2?arguments[2]:void 0;return B.selectRows(e,t,r)},this.deselectCell=function(){B.deselect()},this.selectAll=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2?arguments[2]:void 0;y.skipNextScrollCycle(),B.selectAll(e,t,r)};const Z=(e,t)=>e.getNearestNotHiddenIndex(t,1,!0);function $(e){return()=>{throw new Error(`The "${e}" method cannot be called because this Handsontable instance has been destroyed`)}}this.scrollViewportTo=function(e){var t,r;"number"===typeof e&&(e={row:arguments[0],col:arguments[1],verticalSnap:arguments[2]?"bottom":"top",horizontalSnap:arguments[3]?"end":"start",considerHiddenIndexes:null===(r=arguments[4])||void 0===r||r});const{row:n,col:i,verticalSnap:a,horizontalSnap:o,considerHiddenIndexes:s}=null!==(t=e)&&void 0!==t?t:{};let l,u,c,d;void 0!==a&&(l="top"===a,u=!l),void 0!==o&&(c="start"===o,d=!c);let p=n,f=i;if(void 0===s||s){const e=Number.isInteger(n)&&n>=0,t=Number.isInteger(i)&&i>=0,r=e?Z(this.rowIndexMapper,n):void 0,a=t?Z(this.columnIndexMapper,i):void 0;if(null===r||null===a)return!1;p=e?h.rowIndexMapper.getRenderableFromVisualIndex(r):n,f=t?h.columnIndexMapper.getRenderableFromVisualIndex(a):i}const m=Number.isInteger(p),g=Number.isInteger(f);return m&&p>=0&&g&&f>=0?h.view.scrollViewport(h._createCellCoords(p,f),l,d,u,c):m&&p>=0&&(g&&f<0||!g)?h.view.scrollViewportVertically(p,l,u):!!(g&&f>=0&&(m&&p<0||!m))&&h.view.scrollViewportHorizontally(f,d,c)},this.scrollToFocusedCell=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{};if(!this.selection.isSelected())return;this.addHookOnce("afterScroll",e);const{highlight:t}=this.getSelectedRangeLast(),r=this.scrollViewportTo(t.toObject());r?this.view.render():(this.removeHook("afterScroll",e),this._registerImmediate(()=>e()))},this.destroy=function(){if(h._clearTimeouts(),h._clearImmediates(),h.view&&h.view.destroy(),m&&m.destroy(),m=null,this.getShortcutManager().destroy(),E.clearCache(),Rl.delete(this.guid),oi(h)){const e=this.rootDocument.querySelector(".hot-display-license-info");e&&e.parentNode.removeChild(e)}Object(n["empty"])(h.rootElement),p.destroy(),v&&v.destroy(),h.batchExecution(()=>{h.rowIndexMapper.unregisterAll(),h.columnIndexMapper.unregisterAll(),x.getItems().forEach(e=>{let[,t]=e;t.destroy()}),x.clear(),h.runHooks("afterDestroy")},!0),ba["a"].getSingleton().destroy(h),Object(u["objectEach"])(h,(e,t,r)=>{Object(i["isFunction"])(e)?r[t]=$(t):"guid"!==t&&(r[t]=null)}),h.isDestroyed=!0,f&&f.destroy(),f=null,g=null,B=null,v=null,h=null},this.getActiveEditor=function(){return v.getActiveEditor()},this.getPlugin=function(e){const t=Object(D["toUpperCaseFirst"])(e);return"UndoRedo"===t?this.undoRedo:x.getItem(t)},this.getPluginName=function(e){return e===this.undoRedo?this.undoRedo.constructor.PLUGIN_KEY:x.getId(e)},this.getInstance=function(){return h},this.addHook=function(e,t){ba["a"].getSingleton().add(e,t,h)},this.hasHook=function(e){return ba["a"].getSingleton().has(e,h)||ba["a"].getSingleton().has(e)},this.addHookOnce=function(e,t){ba["a"].getSingleton().once(e,t,h)},this.removeHook=function(e,t){ba["a"].getSingleton().remove(e,t,h)},this.runHooks=function(e,t,r,n,i,a,o){return ba["a"].getSingleton().run(h,e,t,r,n,i,a,o)},this.getTranslatedPhrase=function(e,t){return Va(T.language,e,t)},this.toHTML=()=>Object(O["instanceToHTML"])(this),this.toTableElement=()=>{const e=this.rootDocument.createElement("div");return e.insertAdjacentHTML("afterbegin",Object(O["instanceToHTML"])(this)),e.firstElementChild},this.timeouts=[],this._registerTimeout=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e;"function"===typeof r&&(r=setTimeout(r,t)),this.timeouts.push(r)},this._clearTimeouts=function(){Object(N["arrayEach"])(this.timeouts,e=>{clearTimeout(e)})},this.immediates=[],this._registerImmediate=function(e){this.immediates.push(setImmediate(e))},this._clearImmediates=function(){Object(N["arrayEach"])(this.immediates,e=>{clearImmediate(e)})},this._refreshBorders=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];v.destroyEditor(e),h.view.render(),t&&B.isSelected()&&v.prepareEditor()},this._getEditorManager=function(){return v},this.isRtl=function(){return"rtl"===h.rootWindow.getComputedStyle(h.rootElement).direction},this.isLtr=function(){return!h.isRtl()},this.getDirectionFactor=function(){return h.isLtr()?1:-1};const J=Al({handleEvent(){return h.isListening()},beforeKeyDown:e=>this.runHooks("beforeKeyDown",e),afterKeyDown:e=>{this.isDestroyed||h.runHooks("afterDocumentKeyDown",e)},ownerWindow:this.rootWindow});this.addHook("beforeOnCellMouseDown",e=>{!1===e.ctrlKey&&!1===e.metaKey&&J.releasePressedKeys()}),this.getShortcutManager=function(){return J},this.getFocusManager=function(){return b},Object(R["b"])().forEach(e=>{const t=Object(R["a"])(e);x.addItem(e,new t(this))}),Object(Nl["a"])(h),J.setActiveContextName("grid"),ba["a"].getSingleton().run(h,"construct")}var kl=r("ef07"),Il=r("13e1");function Dl(e,t){const r=new Ll(e,t||{},ni);return r.init(),r}Object(as["d"])(kl["a"]),Dl.editors={BaseEditor:Il["a"]},Dl.Core=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Ll(e,t,ni)},Dl.DefaultSettings=hs(),Dl.hooks=ba["a"].getSingleton(),Dl.CellCoords=ar["a"],Dl.CellRange=or["a"],Dl.packageName="handsontable",Dl.buildDate="16/04/2024 10:23:22",Dl.version="14.3.0",Dl.languages={dictionaryKeys:Ra,getLanguageDictionary:Ha,getLanguagesDictionaries:Ua,registerLanguageDictionary:ja,getTranslatedPhrase:Va};t["a"]=Dl},c0e2:function(e,t){function r(){}r.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var n=this;function i(){n.off(e,i),t.apply(r,arguments)}return i._=t,this.on(e,i,r)},emit:function(e){var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,i=r.length;for(n;n<i;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],i=[];if(n&&t)for(var a=0,o=n.length;a<o;a++)n[a].fn!==t&&n[a].fn._!==t&&i.push(n[a]);return i.length?r[e]=i:delete r[e],this}},e.exports=r,e.exports.TinyEmitter=r},c109:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t}))},c119:function(e,t,r){var n=r("8c8a");t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},c1b2:function(e,t,r){"use strict";function n(e){return e.length}function i(e){for(let t=0;t<e.length;t++){const r=e[t];r>=65&&r<=90&&(e[t]=r+32)}}function a(e){for(let t=0;t<e.length;t++){const r=e[t];r>=97&&r<=122&&(e[t]=r-32)}}function o(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],i=t[r];if(n>=65&&n<=90&&(n+=32),i>=65&&i<=90&&(i+=32),n!==i)return!1}return!0}function s(e,t){let r=0;while(1){if(r>=e.length)return!1;if(r>=t.length)return!0;if(e[r]!==t[r])return!1;r++}}function l(e,t){let r=0;while(1){if(r>=e.length)return!1;if(r>=t.length)return!0;const n=e[r],i=t[r];if(n<i)return!0;if(n>i)return!1;r++}}function u(e){return String.fromCodePoint(...e)}Object.defineProperty(t,"__esModule",{value:!0}),t.length=n,t.byteLowercase=i,t.byteUppercase=a,t.byteCaseInsensitiveMatch=o,t.startsWith=s,t.byteLessThan=l,t.isomorphicDecode=u},c1cf:function(e,t,r){"use strict";var n=r("e437");
- /**
- * @preserve
- * Authors: soakit, HChenZi
- * Last updated: Mar 09, 2023
- *
- * Description: Definition file for Chinese - China language-country.
- */const i=n["a"].languages.dictionaryKeys,a={languageCode:"zh-CN",[i.CONTEXTMENU_ITEMS_ROW_ABOVE]:"上方插入行",[i.CONTEXTMENU_ITEMS_ROW_BELOW]:"下方插入行",[i.CONTEXTMENU_ITEMS_INSERT_LEFT]:"左方插入列",[i.CONTEXTMENU_ITEMS_INSERT_RIGHT]:"右方插入列",[i.CONTEXTMENU_ITEMS_REMOVE_ROW]:["移除该行","移除多行"],[i.CONTEXTMENU_ITEMS_REMOVE_COLUMN]:["移除该列","移除多列"],[i.CONTEXTMENU_ITEMS_UNDO]:"撤销",[i.CONTEXTMENU_ITEMS_REDO]:"恢复",[i.CONTEXTMENU_ITEMS_READ_ONLY]:"只读",[i.CONTEXTMENU_ITEMS_CLEAR_COLUMN]:"清空该列",[i.CONTEXTMENU_ITEMS_ALIGNMENT]:"对齐",[i.CONTEXTMENU_ITEMS_ALIGNMENT_LEFT]:"左对齐",[i.CONTEXTMENU_ITEMS_ALIGNMENT_CENTER]:"水平居中",[i.CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT]:"右对齐",[i.CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY]:"两端对齐",[i.CONTEXTMENU_ITEMS_ALIGNMENT_TOP]:"顶端对齐",[i.CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE]:"垂直居中",[i.CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM]:"底端对齐",[i.CONTEXTMENU_ITEMS_FREEZE_COLUMN]:"冻结该列",[i.CONTEXTMENU_ITEMS_UNFREEZE_COLUMN]:"取消冻结",[i.CONTEXTMENU_ITEMS_BORDERS]:"边框",[i.CONTEXTMENU_ITEMS_BORDERS_TOP]:"上",[i.CONTEXTMENU_ITEMS_BORDERS_RIGHT]:"右",[i.CONTEXTMENU_ITEMS_BORDERS_BOTTOM]:"下",[i.CONTEXTMENU_ITEMS_BORDERS_LEFT]:"左",[i.CONTEXTMENU_ITEMS_REMOVE_BORDERS]:"移除边框",[i.CONTEXTMENU_ITEMS_ADD_COMMENT]:"插入批注",[i.CONTEXTMENU_ITEMS_EDIT_COMMENT]:"编辑批注",[i.CONTEXTMENU_ITEMS_REMOVE_COMMENT]:"删除批注",[i.CONTEXTMENU_ITEMS_READ_ONLY_COMMENT]:"只读批注",[i.CONTEXTMENU_ITEMS_MERGE_CELLS]:"合并",[i.CONTEXTMENU_ITEMS_UNMERGE_CELLS]:"取消合并",[i.CONTEXTMENU_ITEMS_COPY]:"复制",[i.CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS]:"带标题的复制",[i.CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS]:"带标题组的复制",[i.CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY]:"仅复制标题",[i.CONTEXTMENU_ITEMS_CUT]:"剪切",[i.CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD]:"插入子行",[i.CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD]:"与母行分离",[i.CONTEXTMENU_ITEMS_HIDE_COLUMN]:["隐藏该列","隐藏多列"],[i.CONTEXTMENU_ITEMS_SHOW_COLUMN]:["显示该列","显示多列"],[i.CONTEXTMENU_ITEMS_HIDE_ROW]:["隐藏该行","隐藏多行"],[i.CONTEXTMENU_ITEMS_SHOW_ROW]:["显示该行","显示多行"],[i.FILTERS_CONDITIONS_NONE]:"无",[i.FILTERS_CONDITIONS_EMPTY]:"为空",[i.FILTERS_CONDITIONS_NOT_EMPTY]:"不为空",[i.FILTERS_CONDITIONS_EQUAL]:"等于",[i.FILTERS_CONDITIONS_NOT_EQUAL]:"不等于",[i.FILTERS_CONDITIONS_BEGINS_WITH]:"开头是",[i.FILTERS_CONDITIONS_ENDS_WITH]:"结尾是",[i.FILTERS_CONDITIONS_CONTAINS]:"包含",[i.FILTERS_CONDITIONS_NOT_CONTAIN]:"不包含",[i.FILTERS_CONDITIONS_GREATER_THAN]:"大于",[i.FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL]:"大于或等于",[i.FILTERS_CONDITIONS_LESS_THAN]:"小于",[i.FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL]:"小于或等于",[i.FILTERS_CONDITIONS_BETWEEN]:"在此范围",[i.FILTERS_CONDITIONS_NOT_BETWEEN]:"不在此范围",[i.FILTERS_CONDITIONS_AFTER]:"之后",[i.FILTERS_CONDITIONS_BEFORE]:"之前",[i.FILTERS_CONDITIONS_TODAY]:"今天",[i.FILTERS_CONDITIONS_TOMORROW]:"明天",[i.FILTERS_CONDITIONS_YESTERDAY]:"昨天",[i.FILTERS_VALUES_BLANK_CELLS]:"空白单元格",[i.FILTERS_DIVS_FILTER_BY_CONDITION]:"按条件过滤",[i.FILTERS_DIVS_FILTER_BY_VALUE]:"按值过滤",[i.FILTERS_LABELS_CONJUNCTION]:"且",[i.FILTERS_LABELS_DISJUNCTION]:"或",[i.FILTERS_BUTTONS_SELECT_ALL]:"全选",[i.FILTERS_BUTTONS_CLEAR]:"清除",[i.FILTERS_BUTTONS_OK]:"确认",[i.FILTERS_BUTTONS_CANCEL]:"取消",[i.FILTERS_BUTTONS_PLACEHOLDER_SEARCH]:"搜索",[i.FILTERS_BUTTONS_PLACEHOLDER_VALUE]:"值",[i.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]:"第二值"};n["a"].languages.registerLanguageDictionary(a)},c1df:function(e,t,r){(function(e){var t;//! moment.js
- //! version : 2.29.4
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
- //! license : MIT
- //! momentjs.com
- (function(t,r){e.exports=r()})(0,(function(){"use strict";var n,i;function a(){return n.apply(null,arguments)}function o(e){n=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(u(e,t))return!1;return!0}function d(e){return void 0===e}function h(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function m(e,t){for(var r in t)u(t,r)&&(e[r]=t[r]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function g(e,t,r,n){return Xr(e,t,r,n,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function b(e){return null==e._pf&&(e._pf=v()),e._pf}function y(e){if(null==e._isValid){var t=b(e),r=i.call(t.parsedDateParts,(function(e){return null!=e})),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function w(e){var t=g(NaN);return null!=e?m(b(t),e):b(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var _=a.momentProperties=[],S=!1;function E(e,t){var r,n,i,a=_.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=b(t)),d(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=_[r],i=t[n],d(i)||(e[n]=i);return e}function M(e){E(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===S&&(S=!0,a.updateOffset(this),S=!1)}function T(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function C(e){!1===a.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return m((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),r){var n,i,o,s=[],l=arguments.length;for(i=0;i<l;i++){if(n="","object"===typeof arguments[i]){for(o in n+="\n["+i+"] ",arguments[0])u(arguments[0],o)&&(n+=o+": "+arguments[0][o]+", ");n=n.slice(0,-2)}else n=arguments[i];s.push(n)}C(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)}),t)}var A,N={};function O(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),N[e]||(C(t),N[e]=!0)}function R(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,r;for(r in e)u(e,r)&&(t=e[r],R(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function k(e,t){var r,n=m({},e);for(r in t)u(t,r)&&(l(e[r])&&l(t[r])?(n[r]={},m(n[r],e[r]),m(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)u(e,r)&&!u(t,r)&&l(e[r])&&(n[r]=m({},n[r]));return n}function I(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,A=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)u(e,t)&&r.push(t);return r};var D={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function P(e,t,r){var n=this._calendar[e]||this._calendar["sameElse"];return R(n)?n.call(t,r):n}function j(e,t,r){var n=""+Math.abs(e),i=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},U={};function V(e,t,r,n){var i=n;"string"===typeof n&&(i=function(){return this[n]()}),e&&(U[e]=i),t&&(U[t[0]]=function(){return j(i.apply(this,arguments),t[1],t[2])}),r&&(U[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function z(e){var t,r,n=e.match(F);for(t=0,r=n.length;t<r;t++)U[n[t]]?n[t]=U[n[t]]:n[t]=Y(n[t]);return function(t){var i,a="";for(i=0;i<r;i++)a+=R(n[i])?n[i].call(t,e):n[i];return a}}function W(e,t){return e.isValid()?(t=q(t,e.localeData()),B[t]=B[t]||z(t),B[t](e)):e.localeData().invalidDate()}function q(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}H.lastIndex=0;while(r>=0&&H.test(e))e=e.replace(H,n),H.lastIndex=0,r-=1;return e}var G={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function K(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var X="Invalid date";function Z(){return this._invalidDate}var $="%d",J=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var ee={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function te(e,t,r,n){var i=this._relativeTime[r];return R(i)?i(e,t,r,n):i.replace(/%d/i,e)}function re(e,t){var r=this._relativeTime[e>0?"future":"past"];return R(r)?r(t):r.replace(/%s/i,t)}var ne={};function ie(e,t){var r=e.toLowerCase();ne[r]=ne[r+"s"]=ne[t]=e}function ae(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function oe(e){var t,r,n={};for(r in e)u(e,r)&&(t=ae(r),t&&(n[t]=e[r]));return n}var se={};function le(e,t){se[e]=t}function ue(e){var t,r=[];for(t in e)u(e,t)&&r.push({unit:t,priority:se[t]});return r.sort((function(e,t){return e.priority-t.priority})),r}function ce(e){return e%4===0&&e%100!==0||e%400===0}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=de(t)),r}function pe(e,t){return function(r){return null!=r?(me(this,e,r),a.updateOffset(this,t),this):fe(this,e)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(r=he(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),tt(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function ge(e){return e=ae(e),R(this[e])?this[e]():this}function ve(e,t){if("object"===typeof e){e=oe(e);var r,n=ue(e),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=ae(e),R(this[e]))return this[e](t);return this}var be,ye=/\d/,we=/\d\d/,_e=/\d{3}/,Se=/\d{4}/,Ee=/[+-]?\d{6}/,Me=/\d\d?/,Te=/\d\d\d\d?/,Ce=/\d\d\d\d\d\d?/,xe=/\d{1,3}/,Ae=/\d{1,4}/,Ne=/[+-]?\d{1,6}/,Oe=/\d+/,Re=/[+-]?\d+/,Le=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,Ie=/[+-]?\d+(\.\d{1,3})?/,De=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Pe(e,t,r){be[e]=R(t)?t:function(e,n){return e&&r?r:t}}function je(e,t){return u(be,e)?be[e](t._strict,t._locale):new RegExp(Fe(e))}function Fe(e){return He(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i})))}function He(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}be={};var Be={};function Ue(e,t){var r,n,i=t;for("string"===typeof e&&(e=[e]),h(t)&&(i=function(e,r){r[t]=he(e)}),n=e.length,r=0;r<n;r++)Be[e[r]]=i}function Ve(e,t){Ue(e,(function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)}))}function Ye(e,t,r){null!=t&&u(Be,e)&&Be[e](t,r._a,r,e)}var ze,We=0,qe=1,Ge=2,Ke=3,Xe=4,Ze=5,$e=6,Je=7,Qe=8;function et(e,t){return(e%t+t)%t}function tt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=et(t,12);return e+=(t-r)/12,1===r?ce(e)?29:28:31-r%7%2}ze=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),V("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ie("month","M"),le("month",8),Pe("M",Me),Pe("MM",Me,we),Pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Pe("MMMM",(function(e,t){return t.monthsRegex(e)})),Ue(["M","MM"],(function(e,t){t[qe]=he(e)-1})),Ue(["MMM","MMMM"],(function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[qe]=i:b(r).invalidMonth=e}));var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),it=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=De,ot=De;function st(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||it).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months["standalone"]}function lt(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[it.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ut(e,t,r){var n,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=g([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?"MMM"===t?(i=ze.call(this._shortMonthsParse,o),-1!==i?i:null):(i=ze.call(this._longMonthsParse,o),-1!==i?i:null):"MMM"===t?(i=ze.call(this._shortMonthsParse,o),-1!==i?i:(i=ze.call(this._longMonthsParse,o),-1!==i?i:null)):(i=ze.call(this._longMonthsParse,o),-1!==i?i:(i=ze.call(this._shortMonthsParse,o),-1!==i?i:null))}function ct(e,t,r){var n,i,a;if(this._monthsParseExact)return ut.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=g([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function dt(e,t){var r;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=he(t);else if(t=e.localeData().monthsParse(t),!h(t))return e;return r=Math.min(e.date(),tt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function ht(e){return null!=e?(dt(this,e),a.updateOffset(this,!0),this):fe(this,"Month")}function pt(){return tt(this.year(),this.month())}function ft(e){return this._monthsParseExact?(u(this,"_monthsRegex")||gt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(e){return this._monthsParseExact?(u(this,"_monthsRegex")||gt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function gt(){function e(e,t){return t.length-e.length}var t,r,n=[],i=[],a=[];for(t=0;t<12;t++)r=g([2e3,t]),n.push(this.monthsShort(r,"")),i.push(this.months(r,"")),a.push(this.months(r,"")),a.push(this.monthsShort(r,""));for(n.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)n[t]=He(n[t]),i[t]=He(i[t]);for(t=0;t<24;t++)a[t]=He(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function vt(e){return ce(e)?366:365}V("Y",0,0,(function(){var e=this.year();return e<=9999?j(e,4):"+"+e})),V(0,["YY",2],0,(function(){return this.year()%100})),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),ie("year","y"),le("year",1),Pe("Y",Re),Pe("YY",Me,we),Pe("YYYY",Ae,Se),Pe("YYYYY",Ne,Ee),Pe("YYYYYY",Ne,Ee),Ue(["YYYYY","YYYYYY"],We),Ue("YYYY",(function(e,t){t[We]=2===e.length?a.parseTwoDigitYear(e):he(e)})),Ue("YY",(function(e,t){t[We]=a.parseTwoDigitYear(e)})),Ue("Y",(function(e,t){t[We]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};var bt=pe("FullYear",!0);function yt(){return ce(this.year())}function wt(e,t,r,n,i,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,i,a,o),s}function _t(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function St(e,t,r){var n=7+t-r,i=(7+_t(e,0,n).getUTCDay()-t)%7;return-i+n-1}function Et(e,t,r,n,i){var a,o,s=(7+r-n)%7,l=St(e,n,i),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=vt(a)+u):u>vt(e)?(a=e+1,o=u-vt(e)):(a=e,o=u),{year:a,dayOfYear:o}}function Mt(e,t,r){var n,i,a=St(e.year(),t,r),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(i=e.year()-1,n=o+Tt(i,t,r)):o>Tt(e.year(),t,r)?(n=o-Tt(e.year(),t,r),i=e.year()+1):(i=e.year(),n=o),{week:n,year:i}}function Tt(e,t,r){var n=St(e,t,r),i=St(e+1,t,r);return(vt(e)-n+i)/7}function Ct(e){return Mt(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),ie("week","w"),ie("isoWeek","W"),le("week",5),le("isoWeek",5),Pe("w",Me),Pe("ww",Me,we),Pe("W",Me),Pe("WW",Me,we),Ve(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=he(e)}));var xt={dow:0,doy:6};function At(){return this._week.dow}function Nt(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Rt(e){var t=Mt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Lt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function kt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function It(e,t){return e.slice(t,7).concat(e.slice(0,t))}V("d",0,"do","day"),V("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),V("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),V("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),ie("day","d"),ie("weekday","e"),ie("isoWeekday","E"),le("day",11),le("weekday",11),le("isoWeekday",11),Pe("d",Me),Pe("e",Me),Pe("E",Me),Pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ve(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:b(r).invalidWeekday=e})),Ve(["d","e","E"],(function(e,t,r,n){t[n]=he(e)}));var Dt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=De,Ht=De,Bt=De;function Ut(e,t){var r=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?It(r,this._week.dow):e?r[e.day()]:r}function Vt(e){return!0===e?It(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Yt(e){return!0===e?It(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function zt(e,t,r){var n,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=g([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?"dddd"===t?(i=ze.call(this._weekdaysParse,o),-1!==i?i:null):"ddd"===t?(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:null):(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:null):"dddd"===t?(i=ze.call(this._weekdaysParse,o),-1!==i?i:(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:null))):"ddd"===t?(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:(i=ze.call(this._weekdaysParse,o),-1!==i?i:(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:null))):(i=ze.call(this._minWeekdaysParse,o),-1!==i?i:(i=ze.call(this._weekdaysParse,o),-1!==i?i:(i=ze.call(this._shortWeekdaysParse,o),-1!==i?i:null)))}function Wt(e,t,r){var n,i,a;if(this._weekdaysParseExact)return zt.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=g([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Lt(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Kt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=kt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Xt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ht),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $t(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,r,n,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)r=g([2e3,1]).day(t),n=He(this.weekdaysMin(r,"")),i=He(this.weekdaysShort(r,"")),a=He(this.weekdays(r,"")),o.push(n),s.push(i),l.push(a),u.push(n),u.push(i),u.push(a);o.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Qt(){return this.hours()%12||12}function er(){return this.hours()||24}function tr(e,t){V(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function rr(e,t){return t._meridiemParse}function nr(e){return"p"===(e+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Qt),V("k",["kk",2],0,er),V("hmm",0,0,(function(){return""+Qt.apply(this)+j(this.minutes(),2)})),V("hmmss",0,0,(function(){return""+Qt.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+j(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)})),tr("a",!0),tr("A",!1),ie("hour","h"),le("hour",13),Pe("a",rr),Pe("A",rr),Pe("H",Me),Pe("h",Me),Pe("k",Me),Pe("HH",Me,we),Pe("hh",Me,we),Pe("kk",Me,we),Pe("hmm",Te),Pe("hmmss",Ce),Pe("Hmm",Te),Pe("Hmmss",Ce),Ue(["H","HH"],Ke),Ue(["k","kk"],(function(e,t,r){var n=he(e);t[Ke]=24===n?0:n})),Ue(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),Ue(["h","hh"],(function(e,t,r){t[Ke]=he(e),b(r).bigHour=!0})),Ue("hmm",(function(e,t,r){var n=e.length-2;t[Ke]=he(e.substr(0,n)),t[Xe]=he(e.substr(n)),b(r).bigHour=!0})),Ue("hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[Ke]=he(e.substr(0,n)),t[Xe]=he(e.substr(n,2)),t[Ze]=he(e.substr(i)),b(r).bigHour=!0})),Ue("Hmm",(function(e,t,r){var n=e.length-2;t[Ke]=he(e.substr(0,n)),t[Xe]=he(e.substr(n))})),Ue("Hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[Ke]=he(e.substr(0,n)),t[Xe]=he(e.substr(n,2)),t[Ze]=he(e.substr(i))}));var ir=/[ap]\.?m?\.?/i,ar=pe("Hours",!0);function or(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var sr,lr={calendar:D,longDateFormat:G,invalidDate:X,ordinal:$,dayOfMonthOrdinalParse:J,relativeTime:ee,months:rt,monthsShort:nt,week:xt,weekdays:Dt,weekdaysMin:jt,weekdaysShort:Pt,meridiemParse:ir},ur={},cr={};function dr(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function hr(e){return e?e.toLowerCase().replace("_","-"):e}function pr(e){var t,r,n,i,a=0;while(a<e.length){i=hr(e[a]).split("-"),t=i.length,r=hr(e[a+1]),r=r?r.split("-"):null;while(t>0){if(n=mr(i.slice(0,t).join("-")),n)return n;if(r&&r.length>=t&&dr(i,r)>=t-1)break;t--}a++}return sr}function fr(e){return null!=e.match("^[^/\\\\]*$")}function mr(n){var i=null;if(void 0===ur[n]&&"undefined"!==typeof e&&e&&e.exports&&fr(n))try{i=sr._abbr,t,r("4678")("./"+n),gr(i)}catch(a){ur[n]=null}return ur[n]}function gr(e,t){var r;return e&&(r=d(t)?yr(e):vr(e,t),r?sr=r:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sr._abbr}function vr(e,t){if(null!==t){var r,n=lr;if(t.abbr=e,null!=ur[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ur[e]._config;else if(null!=t.parentLocale)if(null!=ur[t.parentLocale])n=ur[t.parentLocale]._config;else{if(r=mr(t.parentLocale),null==r)return cr[t.parentLocale]||(cr[t.parentLocale]=[]),cr[t.parentLocale].push({name:e,config:t}),null;n=r._config}return ur[e]=new I(k(n,t)),cr[e]&&cr[e].forEach((function(e){vr(e.name,e.config)})),gr(e),ur[e]}return delete ur[e],null}function br(e,t){if(null!=t){var r,n,i=lr;null!=ur[e]&&null!=ur[e].parentLocale?ur[e].set(k(ur[e]._config,t)):(n=mr(e),null!=n&&(i=n._config),t=k(i,t),null==n&&(t.abbr=e),r=new I(t),r.parentLocale=ur[e],ur[e]=r),gr(e)}else null!=ur[e]&&(null!=ur[e].parentLocale?(ur[e]=ur[e].parentLocale,e===gr()&&gr(e)):null!=ur[e]&&delete ur[e]);return ur[e]}function yr(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sr;if(!s(e)){if(t=mr(e),t)return t;e=[e]}return pr(e)}function wr(){return A(ur)}function _r(e){var t,r=e._a;return r&&-2===b(e).overflow&&(t=r[qe]<0||r[qe]>11?qe:r[Ge]<1||r[Ge]>tt(r[We],r[qe])?Ge:r[Ke]<0||r[Ke]>24||24===r[Ke]&&(0!==r[Xe]||0!==r[Ze]||0!==r[$e])?Ke:r[Xe]<0||r[Xe]>59?Xe:r[Ze]<0||r[Ze]>59?Ze:r[$e]<0||r[$e]>999?$e:-1,b(e)._overflowDayOfYear&&(t<We||t>Ge)&&(t=Ge),b(e)._overflowWeeks&&-1===t&&(t=Je),b(e)._overflowWeekday&&-1===t&&(t=Qe),b(e).overflow=t),e}var Sr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Er=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mr=/Z|[+-]\d\d(?::?\d\d)?/,Tr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Cr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xr=/^\/?Date\((-?\d+)/i,Ar=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Nr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Or(e){var t,r,n,i,a,o,s=e._i,l=Sr.exec(s)||Er.exec(s),u=Tr.length,c=Cr.length;if(l){for(b(e).iso=!0,t=0,r=u;t<r;t++)if(Tr[t][1].exec(l[1])){i=Tr[t][0],n=!1!==Tr[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,r=c;t<r;t++)if(Cr[t][1].exec(l[3])){a=(l[2]||" ")+Cr[t][0];break}if(null==a)return void(e._isValid=!1)}if(!n&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Mr.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Vr(e)}else e._isValid=!1}function Rr(e,t,r,n,i,a){var o=[Lr(e),nt.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Lr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function kr(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ir(e,t,r){if(e){var n=Pt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return b(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Dr(e,t,r){if(e)return Nr[e];if(t)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return 60*a+i}function Pr(e){var t,r=Ar.exec(kr(e._i));if(r){if(t=Rr(r[4],r[3],r[2],r[5],r[6],r[7]),!Ir(r[1],t,e))return;e._a=t,e._tzm=Dr(r[8],r[9],r[10]),e._d=_t.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),b(e).rfc2822=!0}else e._isValid=!1}function jr(e){var t=xr.exec(e._i);null===t?(Or(e),!1===e._isValid&&(delete e._isValid,Pr(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fr(e,t,r){return null!=e?e:null!=t?t:r}function Hr(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Br(e){var t,r,n,i,a,o=[];if(!e._d){for(n=Hr(e),e._w&&null==e._a[Ge]&&null==e._a[qe]&&Ur(e),null!=e._dayOfYear&&(a=Fr(e._a[We],n[We]),(e._dayOfYear>vt(a)||0===e._dayOfYear)&&(b(e)._overflowDayOfYear=!0),r=_t(a,0,e._dayOfYear),e._a[qe]=r.getUTCMonth(),e._a[Ge]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ke]&&0===e._a[Xe]&&0===e._a[Ze]&&0===e._a[$e]&&(e._nextDay=!0,e._a[Ke]=0),e._d=(e._useUTC?_t:wt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ke]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(b(e).weekdayMismatch=!0)}}function Ur(e){var t,r,n,i,a,o,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,r=Fr(t.GG,e._a[We],Mt(Zr(),1,4).year),n=Fr(t.W,1),i=Fr(t.E,1),(i<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,u=Mt(Zr(),a,o),r=Fr(t.gg,e._a[We],u.year),n=Fr(t.w,u.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a),n<1||n>Tt(r,a,o)?b(e)._overflowWeeks=!0:null!=l?b(e)._overflowWeekday=!0:(s=Et(r,n,i,a,o),e._a[We]=s.year,e._dayOfYear=s.dayOfYear)}function Vr(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],b(e).empty=!0;var t,r,n,i,o,s,l,u=""+e._i,c=u.length,d=0;for(n=q(e._f,e._locale).match(F)||[],l=n.length,t=0;t<l;t++)i=n[t],r=(u.match(je(i,e))||[])[0],r&&(o=u.substr(0,u.indexOf(r)),o.length>0&&b(e).unusedInput.push(o),u=u.slice(u.indexOf(r)+r.length),d+=r.length),U[i]?(r?b(e).empty=!1:b(e).unusedTokens.push(i),Ye(i,r,e)):e._strict&&!r&&b(e).unusedTokens.push(i);b(e).charsLeftOver=c-d,u.length>0&&b(e).unusedInput.push(u),e._a[Ke]<=12&&!0===b(e).bigHour&&e._a[Ke]>0&&(b(e).bigHour=void 0),b(e).parsedDateParts=e._a.slice(0),b(e).meridiem=e._meridiem,e._a[Ke]=Yr(e._locale,e._a[Ke],e._meridiem),s=b(e).era,null!==s&&(e._a[We]=e._locale.erasConvertYear(s,e._a[We])),Br(e),_r(e)}else Pr(e);else Or(e)}function Yr(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?(n=e.isPM(r),n&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function zr(e){var t,r,n,i,a,o,s=!1,l=e._f.length;if(0===l)return b(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)a=0,o=!1,t=E({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Vr(t),y(t)&&(o=!0),a+=b(t).charsLeftOver,a+=10*b(t).unusedTokens.length,b(t).score=a,s?a<n&&(n=a,r=t):(null==n||a<n||o)&&(n=a,r=t,o&&(s=!0));m(e,r||t)}function Wr(e){if(!e._d){var t=oe(e._i),r=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Br(e)}}function qr(e){var t=new M(_r(Gr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gr(e){var t=e._i,r=e._f;return e._locale=e._locale||yr(e._l),null===t||void 0===r&&""===t?w({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),T(t)?new M(_r(t)):(p(t)?e._d=t:s(r)?zr(e):r?Vr(e):Kr(e),y(e)||(e._d=null),e))}function Kr(e){var t=e._i;d(t)?e._d=new Date(a.now()):p(t)?e._d=new Date(t.valueOf()):"string"===typeof t?jr(e):s(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),Br(e)):l(t)?Wr(e):h(t)?e._d=new Date(t):a.createFromInputFallback(e)}function Xr(e,t,r,n,i){var a={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(l(e)&&c(e)||s(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=e,a._f=t,a._strict=n,qr(a)}function Zr(e,t,r,n){return Xr(e,t,r,n,!1)}a.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var $r=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zr.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:w()})),Jr=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zr.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:w()}));function Qr(e,t){var r,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Zr();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}function en(){var e=[].slice.call(arguments,0);return Qr("isBefore",e)}function tn(){var e=[].slice.call(arguments,0);return Qr("isAfter",e)}var rn=function(){return Date.now?Date.now():+new Date},nn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function an(e){var t,r,n=!1,i=nn.length;for(t in e)if(u(e,t)&&(-1===ze.call(nn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[nn[r]]){if(n)return!1;parseFloat(e[nn[r]])!==he(e[nn[r]])&&(n=!0)}return!0}function on(){return this._isValid}function sn(){return On(NaN)}function ln(e){var t=oe(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=an(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*n+12*r,this._data={},this._locale=yr(),this._bubble()}function un(e){return e instanceof ln}function cn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dn(e,t,r){var n,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(n=0;n<i;n++)(r&&e[n]!==t[n]||!r&&he(e[n])!==he(t[n]))&&o++;return o+a}function hn(e,t){V(e,0,0,(function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+j(~~(e/60),2)+t+j(~~e%60,2)}))}hn("Z",":"),hn("ZZ",""),Pe("Z",ke),Pe("ZZ",ke),Ue(["Z","ZZ"],(function(e,t,r){r._useUTC=!0,r._tzm=fn(ke,e)}));var pn=/([\+\-]|\d\d)/gi;function fn(e,t){var r,n,i,a=(t||"").match(e);return null===a?null:(r=a[a.length-1]||[],n=(r+"").match(pn)||["-",0,0],i=60*n[1]+he(n[2]),0===i?0:"+"===n[0]?i:-i)}function mn(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(T(e)||p(e)?e.valueOf():Zr(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),a.updateOffset(r,!1),r):Zr(e).local()}function gn(e){return-Math.round(e._d.getTimezoneOffset())}function vn(e,t,r){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=fn(ke,e),null===e)return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=gn(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Dn(this,On(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:gn(this)}function bn(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function yn(e){return this.utcOffset(0,e)}function wn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(gn(this),"m")),this}function _n(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fn(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Sn(e){return!!this.isValid()&&(e=e?Zr(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function En(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mn(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return E(t,this),t=Gr(t),t._a?(e=t._isUTC?g(t._a):Zr(t._a),this._isDSTShifted=this.isValid()&&dn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tn(){return!!this.isValid()&&!this._isUTC}function Cn(){return!!this.isValid()&&this._isUTC}function xn(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var An=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Nn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function On(e,t){var r,n,i,a=e,o=null;return un(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=An.exec(e))?(r="-"===o[1]?-1:1,a={y:0,d:he(o[Ge])*r,h:he(o[Ke])*r,m:he(o[Xe])*r,s:he(o[Ze])*r,ms:he(cn(1e3*o[$e]))*r}):(o=Nn.exec(e))?(r="-"===o[1]?-1:1,a={y:Rn(o[2],r),M:Rn(o[3],r),w:Rn(o[4],r),d:Rn(o[5],r),h:Rn(o[6],r),m:Rn(o[7],r),s:Rn(o[8],r)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(i=kn(Zr(a.from),Zr(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),n=new ln(a),un(e)&&u(e,"_locale")&&(n._locale=e._locale),un(e)&&u(e,"_isValid")&&(n._isValid=e._isValid),n}function Rn(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Ln(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function kn(e,t){var r;return e.isValid()&&t.isValid()?(t=mn(t,e),e.isBefore(t)?r=Ln(e,t):(r=Ln(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function In(e,t){return function(r,n){var i,a;return null===n||isNaN(+n)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),i=On(r,n),Dn(this,i,e),this}}function Dn(e,t,r,n){var i=t._milliseconds,o=cn(t._days),s=cn(t._months);e.isValid()&&(n=null==n||n,s&&dt(e,fe(e,"Month")+s*r),o&&me(e,"Date",fe(e,"Date")+o*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&a.updateOffset(e,o||s))}On.fn=ln.prototype,On.invalid=sn;var Pn=In(1,"add"),jn=In(-1,"subtract");function Fn(e){return"string"===typeof e||e instanceof String}function Hn(e){return T(e)||p(e)||Fn(e)||h(e)||Un(e)||Bn(e)||null===e||void 0===e}function Bn(e){var t,r,n=l(e)&&!c(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(t=0;t<o;t+=1)r=a[t],i=i||u(e,r);return n&&i}function Un(e){var t=s(e),r=!1;return t&&(r=0===e.filter((function(t){return!h(t)&&Fn(e)})).length),t&&r}function Vn(e){var t,r,n=l(e)&&!c(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)r=a[t],i=i||u(e,r);return n&&i}function Yn(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function zn(e,t){1===arguments.length&&(arguments[0]?Hn(arguments[0])?(e=arguments[0],t=void 0):Vn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Zr(),n=mn(r,this).startOf("day"),i=a.calendarFormat(this,n)||"sameElse",o=t&&(R(t[i])?t[i].call(this,r):t[i]);return this.format(o||this.localeData().calendar(i,this,Zr(r)))}function Wn(){return new M(this)}function qn(e,t){var r=T(e)?e:Zr(e);return!(!this.isValid()||!r.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())}function Gn(e,t){var r=T(e)?e:Zr(e);return!(!this.isValid()||!r.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())}function Kn(e,t,r,n){var i=T(e)?e:Zr(e),a=T(t)?t:Zr(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&(n=n||"()",("("===n[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(a,r):!this.isAfter(a,r)))}function Xn(e,t){var r,n=T(e)?e:Zr(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))}function Zn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $n(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jn(e,t,r){var n,i,a;if(!this.isValid())return NaN;if(n=mn(e,this),!n.isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=ae(t),t){case"year":a=Qn(this,n)/12;break;case"month":a=Qn(this,n);break;case"quarter":a=Qn(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-i)/864e5;break;case"week":a=(this-n-i)/6048e5;break;default:a=this-n}return r?a:de(a)}function Qn(e,t){if(e.date()<t.date())return-Qn(t,e);var r,n,i=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(i,"months");return t-a<0?(r=e.clone().add(i-1,"months"),n=(t-a)/(a-r)):(r=e.clone().add(i+1,"months"),n=(t-a)/(r-a)),-(i+n)||0}function ei(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ti(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?W(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(r,"Z")):W(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ri(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(e+t+r+n)}function ni(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function ii(e,t){return this.isValid()&&(T(e)&&e.isValid()||Zr(e).isValid())?On({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.from(Zr(),e)}function oi(e,t){return this.isValid()&&(T(e)&&e.isValid()||Zr(e).isValid())?On({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to(Zr(),e)}function li(e){var t;return void 0===e?this._locale._abbr:(t=yr(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ui=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var di=1e3,hi=60*di,pi=60*hi,fi=3506328*pi;function mi(e,t){return(e%t+t)%t}function gi(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-fi:new Date(e,t,r).valueOf()}function vi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-fi:Date.UTC(e,t,r)}function bi(e){var t,r;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?vi:gi,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*hi),pi);break;case"minute":t=this._d.valueOf(),t-=mi(t,hi);break;case"second":t=this._d.valueOf(),t-=mi(t,di);break}return this._d.setTime(t),a.updateOffset(this,!0),this}function yi(e){var t,r;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?vi:gi,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=pi-mi(t+(this._isUTC?0:this.utcOffset()*hi),pi)-1;break;case"minute":t=this._d.valueOf(),t+=hi-mi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=di-mi(t,di)-1;break}return this._d.setTime(t),a.updateOffset(this,!0),this}function wi(){return this._d.valueOf()-6e4*(this._offset||0)}function _i(){return Math.floor(this.valueOf()/1e3)}function Si(){return new Date(this.valueOf())}function Ei(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ti(){return this.isValid()?this.toISOString():null}function Ci(){return y(this)}function xi(){return m({},b(this))}function Ai(){return b(this).overflow}function Ni(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Oi(e,t){var r,n,i,o=this._eras||yr("en")._eras;for(r=0,n=o.length;r<n;++r){switch(typeof o[r].since){case"string":i=a(o[r].since).startOf("day"),o[r].since=i.valueOf();break}switch(typeof o[r].until){case"undefined":o[r].until=1/0;break;case"string":i=a(o[r].until).startOf("day").valueOf(),o[r].until=i.valueOf();break}}return o}function Ri(e,t,r){var n,i,a,o,s,l=this.eras();for(e=e.toUpperCase(),n=0,i=l.length;n<i;++n)if(a=l[n].name.toUpperCase(),o=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[n];break;case"NNNN":if(a===e)return l[n];break;case"NNNNN":if(s===e)return l[n];break}else if([a,o,s].indexOf(e)>=0)return l[n]}function Li(e,t){var r=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*r}function ki(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].name;if(n[e].until<=r&&r<=n[e].since)return n[e].name}return""}function Ii(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].narrow;if(n[e].until<=r&&r<=n[e].since)return n[e].narrow}return""}function Di(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until)return n[e].abbr;if(n[e].until<=r&&r<=n[e].since)return n[e].abbr}return""}function Pi(){var e,t,r,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return(this.year()-a(i[e].since).year())*r+i[e].offset;return this.year()}function ji(e){return u(this,"_erasNameRegex")||zi.call(this),e?this._erasNameRegex:this._erasRegex}function Fi(e){return u(this,"_erasAbbrRegex")||zi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Hi(e){return u(this,"_erasNarrowRegex")||zi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Bi(e,t){return t.erasAbbrRegex(e)}function Ui(e,t){return t.erasNameRegex(e)}function Vi(e,t){return t.erasNarrowRegex(e)}function Yi(e,t){return t._eraYearOrdinalRegex||Oe}function zi(){var e,t,r=[],n=[],i=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)n.push(He(o[e].name)),r.push(He(o[e].abbr)),i.push(He(o[e].narrow)),a.push(He(o[e].name)),a.push(He(o[e].abbr)),a.push(He(o[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Wi(e,t){V(0,[e,e.length],0,t)}function qi(e){return Ji.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Gi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ki(){return Tt(this.year(),1,4)}function Xi(){return Tt(this.isoWeekYear(),1,4)}function Zi(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function $i(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Ji(e,t,r,n,i){var a;return null==e?Mt(this,n,i).year:(a=Tt(e,n,i),t>a&&(t=a),Qi.call(this,e,t,r,n,i))}function Qi(e,t,r,n,i){var a=Et(e,t,r,n,i),o=_t(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function ea(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),Pe("N",Bi),Pe("NN",Bi),Pe("NNN",Bi),Pe("NNNN",Ui),Pe("NNNNN",Vi),Ue(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?b(r).era=i:b(r).invalidEra=e})),Pe("y",Oe),Pe("yy",Oe),Pe("yyy",Oe),Pe("yyyy",Oe),Pe("yo",Yi),Ue(["y","yy","yyy","yyyy"],We),Ue(["yo"],(function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[We]=r._locale.eraYearOrdinalParse(e,i):t[We]=parseInt(e,10)})),V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wi("gggg","weekYear"),Wi("ggggg","weekYear"),Wi("GGGG","isoWeekYear"),Wi("GGGGG","isoWeekYear"),ie("weekYear","gg"),ie("isoWeekYear","GG"),le("weekYear",1),le("isoWeekYear",1),Pe("G",Re),Pe("g",Re),Pe("GG",Me,we),Pe("gg",Me,we),Pe("GGGG",Ae,Se),Pe("gggg",Ae,Se),Pe("GGGGG",Ne,Ee),Pe("ggggg",Ne,Ee),Ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=he(e)})),Ve(["gg","GG"],(function(e,t,r,n){t[n]=a.parseTwoDigitYear(e)})),V("Q",0,"Qo","quarter"),ie("quarter","Q"),le("quarter",7),Pe("Q",ye),Ue("Q",(function(e,t){t[qe]=3*(he(e)-1)})),V("D",["DD",2],"Do","date"),ie("date","D"),le("date",9),Pe("D",Me),Pe("DD",Me,we),Pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ue(["D","DD"],Ge),Ue("Do",(function(e,t){t[Ge]=he(e.match(Me)[0])}));var ta=pe("Date",!0);function ra(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),ie("dayOfYear","DDD"),le("dayOfYear",4),Pe("DDD",xe),Pe("DDDD",_e),Ue(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=he(e)})),V("m",["mm",2],0,"minute"),ie("minute","m"),le("minute",14),Pe("m",Me),Pe("mm",Me,we),Ue(["m","mm"],Xe);var na=pe("Minutes",!1);V("s",["ss",2],0,"second"),ie("second","s"),le("second",15),Pe("s",Me),Pe("ss",Me,we),Ue(["s","ss"],Ze);var ia,aa,oa=pe("Seconds",!1);for(V("S",0,0,(function(){return~~(this.millisecond()/100)})),V(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),V(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),V(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),V(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),V(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),V(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ie("millisecond","ms"),le("millisecond",16),Pe("S",xe,ye),Pe("SS",xe,we),Pe("SSS",xe,_e),ia="SSSS";ia.length<=9;ia+="S")Pe(ia,Oe);function sa(e,t){t[$e]=he(1e3*("0."+e))}for(ia="S";ia.length<=9;ia+="S")Ue(ia,sa);function la(){return this._isUTC?"UTC":""}function ua(){return this._isUTC?"Coordinated Universal Time":""}aa=pe("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var ca=M.prototype;function da(e){return Zr(1e3*e)}function ha(){return Zr.apply(null,arguments).parseZone()}function pa(e){return e}ca.add=Pn,ca.calendar=zn,ca.clone=Wn,ca.diff=Jn,ca.endOf=yi,ca.format=ni,ca.from=ii,ca.fromNow=ai,ca.to=oi,ca.toNow=si,ca.get=ge,ca.invalidAt=Ai,ca.isAfter=qn,ca.isBefore=Gn,ca.isBetween=Kn,ca.isSame=Xn,ca.isSameOrAfter=Zn,ca.isSameOrBefore=$n,ca.isValid=Ci,ca.lang=ui,ca.locale=li,ca.localeData=ci,ca.max=Jr,ca.min=$r,ca.parsingFlags=xi,ca.set=ve,ca.startOf=bi,ca.subtract=jn,ca.toArray=Ei,ca.toObject=Mi,ca.toDate=Si,ca.toISOString=ti,ca.inspect=ri,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Ti,ca.toString=ei,ca.unix=_i,ca.valueOf=wi,ca.creationData=Ni,ca.eraName=ki,ca.eraNarrow=Ii,ca.eraAbbr=Di,ca.eraYear=Pi,ca.year=bt,ca.isLeapYear=yt,ca.weekYear=qi,ca.isoWeekYear=Gi,ca.quarter=ca.quarters=ea,ca.month=ht,ca.daysInMonth=pt,ca.week=ca.weeks=Ot,ca.isoWeek=ca.isoWeeks=Rt,ca.weeksInYear=Zi,ca.weeksInWeekYear=$i,ca.isoWeeksInYear=Ki,ca.isoWeeksInISOWeekYear=Xi,ca.date=ta,ca.day=ca.days=qt,ca.weekday=Gt,ca.isoWeekday=Kt,ca.dayOfYear=ra,ca.hour=ca.hours=ar,ca.minute=ca.minutes=na,ca.second=ca.seconds=oa,ca.millisecond=ca.milliseconds=aa,ca.utcOffset=vn,ca.utc=yn,ca.local=wn,ca.parseZone=_n,ca.hasAlignedHourOffset=Sn,ca.isDST=En,ca.isLocal=Tn,ca.isUtcOffset=Cn,ca.isUtc=xn,ca.isUTC=xn,ca.zoneAbbr=la,ca.zoneName=ua,ca.dates=x("dates accessor is deprecated. Use date instead.",ta),ca.months=x("months accessor is deprecated. Use month instead",ht),ca.years=x("years accessor is deprecated. Use year instead",bt),ca.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",bn),ca.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mn);var fa=I.prototype;function ma(e,t,r,n){var i=yr(),a=g().set(n,t);return i[r](a,e)}function ga(e,t,r){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return ma(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=ma(e,n,r,"month");return i}function va(e,t,r,n){"boolean"===typeof e?(h(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,h(t)&&(r=t,t=void 0),t=t||"");var i,a=yr(),o=e?a._week.dow:0,s=[];if(null!=r)return ma(t,(r+o)%7,n,"day");for(i=0;i<7;i++)s[i]=ma(t,(i+o)%7,n,"day");return s}function ba(e,t){return ga(e,t,"months")}function ya(e,t){return ga(e,t,"monthsShort")}function wa(e,t,r){return va(e,t,r,"weekdays")}function _a(e,t,r){return va(e,t,r,"weekdaysShort")}function Sa(e,t,r){return va(e,t,r,"weekdaysMin")}fa.calendar=P,fa.longDateFormat=K,fa.invalidDate=Z,fa.ordinal=Q,fa.preparse=pa,fa.postformat=pa,fa.relativeTime=te,fa.pastFuture=re,fa.set=L,fa.eras=Oi,fa.erasParse=Ri,fa.erasConvertYear=Li,fa.erasAbbrRegex=Fi,fa.erasNameRegex=ji,fa.erasNarrowRegex=Hi,fa.months=st,fa.monthsShort=lt,fa.monthsParse=ct,fa.monthsRegex=mt,fa.monthsShortRegex=ft,fa.week=Ct,fa.firstDayOfYear=Nt,fa.firstDayOfWeek=At,fa.weekdays=Ut,fa.weekdaysMin=Yt,fa.weekdaysShort=Vt,fa.weekdaysParse=Wt,fa.weekdaysRegex=Xt,fa.weekdaysShortRegex=Zt,fa.weekdaysMinRegex=$t,fa.isPM=nr,fa.meridiem=or,gr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",gr),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",yr);var Ea=Math.abs;function Ma(){var e=this._data;return this._milliseconds=Ea(this._milliseconds),this._days=Ea(this._days),this._months=Ea(this._months),e.milliseconds=Ea(e.milliseconds),e.seconds=Ea(e.seconds),e.minutes=Ea(e.minutes),e.hours=Ea(e.hours),e.months=Ea(e.months),e.years=Ea(e.years),this}function Ta(e,t,r,n){var i=On(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Ca(e,t){return Ta(this,e,t,1)}function xa(e,t){return Ta(this,e,t,-1)}function Aa(e){return e<0?Math.floor(e):Math.ceil(e)}function Na(){var e,t,r,n,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Aa(Ra(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=de(a/1e3),l.seconds=e%60,t=de(e/60),l.minutes=t%60,r=de(t/60),l.hours=r%24,o+=de(r/24),i=de(Oa(o)),s+=i,o-=Aa(Ra(i)),n=de(s/12),s%=12,l.days=o,l.months=s,l.years=n,this}function Oa(e){return 4800*e/146097}function Ra(e){return 146097*e/4800}function La(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=ae(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Oa(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Ra(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function ka(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function Ia(e){return function(){return this.as(e)}}var Da=Ia("ms"),Pa=Ia("s"),ja=Ia("m"),Fa=Ia("h"),Ha=Ia("d"),Ba=Ia("w"),Ua=Ia("M"),Va=Ia("Q"),Ya=Ia("y");function za(){return On(this)}function Wa(e){return e=ae(e),this.isValid()?this[e+"s"]():NaN}function qa(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ga=qa("milliseconds"),Ka=qa("seconds"),Xa=qa("minutes"),Za=qa("hours"),$a=qa("days"),Ja=qa("months"),Qa=qa("years");function eo(){return de(this.days()/7)}var to=Math.round,ro={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function io(e,t,r,n){var i=On(e).abs(),a=to(i.as("s")),o=to(i.as("m")),s=to(i.as("h")),l=to(i.as("d")),u=to(i.as("M")),c=to(i.as("w")),d=to(i.as("y")),h=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||o<=1&&["m"]||o<r.m&&["mm",o]||s<=1&&["h"]||s<r.h&&["hh",s]||l<=1&&["d"]||l<r.d&&["dd",l];return null!=r.w&&(h=h||c<=1&&["w"]||c<r.w&&["ww",c]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=n,no.apply(null,h)}function ao(e){return void 0===e?to:"function"===typeof e&&(to=e,!0)}function oo(e,t){return void 0!==ro[e]&&(void 0===t?ro[e]:(ro[e]=t,"s"===e&&(ro.ss=t-1),!0))}function so(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,a=ro;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(a=Object.assign({},ro,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),r=this.localeData(),n=io(this,!i,a,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)}var lo=Math.abs;function uo(e){return(e>0)-(e<0)||+e}function co(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,a,o,s,l=lo(this._milliseconds)/1e3,u=lo(this._days),c=lo(this._months),d=this.asSeconds();return d?(e=de(l/60),t=de(e/60),l%=60,e%=60,r=de(c/12),c%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=uo(this._months)!==uo(d)?"-":"",o=uo(this._days)!==uo(d)?"-":"",s=uo(this._milliseconds)!==uo(d)?"-":"",i+"P"+(r?a+r+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+n+"S":"")):"P0D"}var ho=ln.prototype;return ho.isValid=on,ho.abs=Ma,ho.add=Ca,ho.subtract=xa,ho.as=La,ho.asMilliseconds=Da,ho.asSeconds=Pa,ho.asMinutes=ja,ho.asHours=Fa,ho.asDays=Ha,ho.asWeeks=Ba,ho.asMonths=Ua,ho.asQuarters=Va,ho.asYears=Ya,ho.valueOf=ka,ho._bubble=Na,ho.clone=za,ho.get=Wa,ho.milliseconds=Ga,ho.seconds=Ka,ho.minutes=Xa,ho.hours=Za,ho.days=$a,ho.weeks=eo,ho.months=Ja,ho.years=Qa,ho.humanize=so,ho.toISOString=co,ho.toString=co,ho.toJSON=co,ho.locale=li,ho.localeData=ci,ho.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),ho.lang=ui,V("X",0,0,"unix"),V("x",0,0,"valueOf"),Pe("x",Re),Pe("X",Ie),Ue("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),Ue("x",(function(e,t,r){r._d=new Date(he(e))})),
- //! moment.js
- a.version="2.29.4",o(Zr),a.fn=ca,a.min=en,a.max=tn,a.now=rn,a.utc=g,a.unix=da,a.months=ba,a.isDate=p,a.locale=gr,a.invalid=w,a.duration=On,a.isMoment=T,a.weekdays=wa,a.parseZone=ha,a.localeData=yr,a.isDuration=un,a.monthsShort=ya,a.weekdaysMin=Sa,a.defineLocale=vr,a.updateLocale=br,a.locales=wr,a.weekdaysShort=_a,a.normalizeUnits=ae,a.relativeTimeRounding=ao,a.relativeTimeThreshold=oo,a.calendarFormat=Yn,a.prototype=ca,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}))}).call(this,r("62e4")(e))},c1f3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc");n.dom.setFeatures(!0);var i=r("9ccc");t.DOMImplementation=i.DOMImplementation;var a=r("e234");t.DOMParser=a.DOMParser;var o=r("6faa");t.XMLSerializer=o.XMLSerializer},c24d:function(e,t,r){"use strict";r.d(t,"a",(function(){return W}));var n=r("c0d8"),i=r("2b0e");function a(e,t,r){return t=v(t),w(e,o()?Reflect.construct(t,r||[],v(e).constructor):t.apply(e,r))}function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(o=function(){return!!e})()}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function c(e){var t=u(e,"string");return"symbol"==typeof t?t:t+""}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function f(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e,t,r){return t=c(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(t&&("object"===typeof t||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}var _=Symbol("unassigned"),S=null,E="The Handsontable instance bound to this component was destroyed and cannot be used properly.";function M(e){e.hotInstance&&(e.hotInstance.addHook("beforeChange",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeCreateRow",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeCreateCol",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeRemoveRow",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeRemoveCol",(function(){e.__internalEdit=!0})))}function T(e){var t=n["a"].hooks.getRegistered(),r={};for(var i in Object.assign(r,n["a"].DefaultSettings),r)r[i]={default:_};for(var a=0;a<t.length;a++)r[t[a]]={default:_};return r.settings={default:_},"HotTable"===e&&(r.id={type:String,default:"hot-"+Math.random().toString(36).substring(5)},r.wrapperRendererCacheSize={type:Number,default:3e3}),r}function C(e){var t={},r=e["settings"];if(r!==_)for(var n in r)r.hasOwnProperty(n)&&r[n]!==_&&(t[n]=r[n]);for(var i in e)e.hasOwnProperty(i)&&"settings"!==i&&e[i]!==_&&(t[i]=e[i]);return t}function x(e,t){var r=C(e),n=e.settings?e.settings:r,i=e.settings?r:null,a={};for(var o in n)!n.hasOwnProperty(o)||void 0===n[o]||t&&"data"!==o&&R(t[o],n[o])||(a[o]=n[o]);for(var s in i)!i.hasOwnProperty(s)||"id"===s||"settings"===s||"wrapperRendererCacheSize"===s||void 0===i[s]||t&&"data"!==s&&R(t[s],i[s])||(a[s]=i[s]);return a}function A(e,t){var r=null;return e.every((function(e,n){return!e.data||!e.data.attrs||void 0===e.data.attrs[t]||(r=e,!1)})),r}function N(e){return e.filter((function(e){return"HotColumn"===e.$options.name}))}function O(e,t,r,n){var i=t.$el?t.$el.ownerDocument:document,a={propsData:r,parent:t,data:n};S||(S=i.createElement("DIV"),S.id="vueHotComponents",i.body.appendChild(S));var o=i.createElement("DIV");return S.appendChild(o),new e.componentOptions.Ctor(a).$mount(o)}function R(e,t){var r=function(e){var t=function(){var e=new WeakSet;return function(t,r){if("object"===d(r)&&null!==r){if(e.has(r))return;e.add(r)}return r}}();return JSON.stringify(e,t)};return"function"===typeof e&&"function"===typeof t?e.toString()===t.toString():d(e)===d(t)&&r(e)===r(t)}var L="14.3.0";"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self&&self;function k(e,t){return t={exports:{}},e(t,t.exports),t.exports}var I=k((function(e,t){(function(e,r){var n=t;r(n)})(0,(function(e){var t=Symbol("newer"),r=Symbol("older");function n(e,t){"number"!==typeof e&&(t=e,e=0),this.size=0,this.limit=e,this.oldest=this.newest=void 0,this._keymap=new Map,t&&(this.assign(t),e<1&&(this.limit=this.size))}function i(e,n){this.key=e,this.value=n,this[t]=void 0,this[r]=void 0}e.LRUMap=n,n.prototype._markEntryAsUsed=function(e){e!==this.newest&&(e[t]&&(e===this.oldest&&(this.oldest=e[t]),e[t][r]=e[r]),e[r]&&(e[r][t]=e[t]),e[t]=void 0,e[r]=this.newest,this.newest&&(this.newest[t]=e),this.newest=e)},n.prototype.assign=function(e){var n,a=this.limit||Number.MAX_VALUE;this._keymap.clear();for(var o=e[Symbol.iterator](),s=o.next();!s.done;s=o.next()){var l=new i(s.value[0],s.value[1]);if(this._keymap.set(l.key,l),n?(n[t]=l,l[r]=n):this.oldest=l,n=l,0==a--)throw new Error("overflow")}this.newest=n,this.size=this._keymap.size},n.prototype.get=function(e){var t=this._keymap.get(e);if(t)return this._markEntryAsUsed(t),t.value},n.prototype.set=function(e,n){var a=this._keymap.get(e);return a?(a.value=n,this._markEntryAsUsed(a),this):(this._keymap.set(e,a=new i(e,n)),this.newest?(this.newest[t]=a,a[r]=this.newest):this.oldest=a,this.newest=a,++this.size,this.size>this.limit&&this.shift(),this)},n.prototype.shift=function(){var e=this.oldest;if(e)return this.oldest[t]?(this.oldest=this.oldest[t],this.oldest[r]=void 0):(this.oldest=void 0,this.newest=void 0),e[t]=e[r]=void 0,this._keymap["delete"](e.key),--this.size,[e.key,e.value]},n.prototype.has=function(e){return this._keymap.has(e)}}))})),D=I.LRUMap,P={name:"HotTable",props:T("HotTable"),watch:{mergedHotSettings:function(e){this.hotInstance&&void 0!==e&&(e.data&&(this.hotInstance.isColumnModificationAllowed()||!this.hotInstance.isColumnModificationAllowed()&&this.hotInstance.countSourceCols()===this.miscCache.currentSourceColumns)&&(this.matchHotMappersSize(),delete e.data),Object.keys(e).length?this.hotInstance.updateSettings(e):this.hotInstance.render(),this.miscCache.currentSourceColumns=this.hotInstance.countSourceCols())}},data:function(){var e=this,t=new D(this.wrapperRendererCacheSize);return t.shift=function(){var e=D.prototype.shift.call(this);return e[1].component.$destroy(),e},{__internalEdit:!1,miscCache:{currentSourceColumns:null},__hotInstance:null,columnSettings:null,rendererCache:t,editorCache:new Map,get hotInstance(){return!e.__hotInstance||e.__hotInstance&&!e.__hotInstance.isDestroyed?e.__hotInstance:(console.warn(E),null)},set hotInstance(t){e.__hotInstance=t}}},computed:{mergedHotSettings:function(){return x(this.$props,this.hotInstance?this.hotInstance.getSettings():void 0)}},methods:{hotInit:function(){var e=this.getGlobalRendererVNode(),t=this.getGlobalEditorVNode(),r=x(this.$props);r.columns=this.columnSettings?this.columnSettings:r.columns,t&&(r.editor=this.getEditorClass(t,this),t.child.$destroy()),e&&(r.renderer=this.getRendererWrapper(e,this),e.child.$destroy()),this.hotInstance=new n["a"].Core(this.$el,r),this.hotInstance.init(),M(this),this.miscCache.currentSourceColumns=this.hotInstance.countSourceCols()},matchHotMappersSize:function(){var e=this;if(this.hotInstance){var t,r=this.hotInstance.getSourceData(),n=[],i=[],a=this.hotInstance.rowIndexMapper.getNumberOfIndexes(),o=this.hotInstance.isColumnModificationAllowed(),s=0;if(r&&r.length!==a&&r.length<a)for(var l=r.length;l<a;l++)n.push(l);if(o)if(s=this.hotInstance.columnIndexMapper.getNumberOfIndexes(),r&&r[0]&&(null===(t=r[0])||void 0===t?void 0:t.length)!==s&&r[0].length<s)for(var u=r[0].length;u<s;u++)i.push(u);this.hotInstance.batch((function(){n.length>0?e.hotInstance.rowIndexMapper.removeIndexes(n):e.hotInstance.rowIndexMapper.insertIndexes(a-1,r.length-a),o&&0!==r.length&&(i.length>0?e.hotInstance.columnIndexMapper.removeIndexes(i):e.hotInstance.columnIndexMapper.insertIndexes(s-1,r[0].length-s))}))}},getGlobalRendererVNode:function(){var e=this.$slots["default"]||[];return A(e,"hot-renderer")},getGlobalEditorVNode:function(){var e=this.$slots["default"]||[];return A(e,"hot-editor")},getColumnSettings:function(){var e=N(this.$children),t=!1,r=e.map((function(e){return e.usesRendererComponent&&(t=!0),l({},e.columnSettings)}));return t&&this.settings&&(!1!==this.settings.autoColumnSize||this.settings.autoRowSize)&&(!1!==this.autoColumnSize||this.autoRowSize)&&console.warn("Your `hot-table` configuration includes both `hot-column` and `autoRowSize`/`autoColumnSize`, which are not compatible with each other in this version of `@handsontable/vue`. Disable `autoRowSize` and `autoColumnSize` to prevent row and column misalignment."),r.length?r:void 0},getRendererWrapper:function(e,t){var r=this;return function(n,i,a,o,s,l,u){if(i&&!i.getAttribute("ghost-table")){var c=r.rendererCache,d={hotInstance:n,TD:i,row:a,col:o,prop:s,value:l,cellProperties:u,isRenderer:!0};if(c&&!c.has("".concat(a,"-").concat(o))){var h=O(e,t,e.componentOptions.propsData,d);c.set("".concat(a,"-").concat(o),{component:h,lastUsedTD:null})}var p=c.get("".concat(a,"-").concat(o)),f=p.component,m=p.lastUsedTD;if(Object.assign(f.$data,d),!f.$el.parentElement||m!==i){while(i.firstChild)i.removeChild(i.firstChild);i.appendChild(f.$el),p.lastUsedTD=i}}return i}},getEditorClass:function(e,t){var r=e.key?e.key.toString():null,n=e.componentOptions.Ctor.options.name,i=r?"".concat(n,":").concat(r):n,a=this.editorCache,o=null;return a.has(i)?o=a.get(i):(o=O(e,t,e.componentOptions.propsData,{isEditor:!0}),a.set(i,o)),o.$data.hotCustomEditorClass}},mounted:function(){return this.columnSettings=this.getColumnSettings(),this.hotInit()},beforeDestroy:function(){this.hotInstance&&this.hotInstance.destroy()},version:L};function j(e,t,r,n,i,a,o,s,l,u){"boolean"!==typeof o&&(l=s,s=o,o=!1);const c="function"===typeof r?r.options:r;let d;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,i&&(c.functional=!0)),n&&(c._scopeId=n),a?(d=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__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=d):t&&(d=o?function(e){t.call(this,u(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(c.functional){const e=c.render;c.render=function(t,r){return d.call(r),e(t,r)}}else{const e=c.beforeCreate;c.beforeCreate=e?[].concat(e,d):[d]}return r}var F=P,H=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:e.id}},[e._t("default")],2)},B=[],U=void 0,V=void 0,Y=void 0,z=!1,W=j({render:H,staticRenderFns:B},U,F,V,z,Y,!1,void 0,void 0,void 0);T("HotColumn");
- /*! *****************************************************************************
- 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.
- ***************************************************************************** */
- function q(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o}function G(e){return G="function"===typeof Symbol&&"symbol"===d(Symbol.iterator)?function(e){return d(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":d(e)},G(e)}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(e){return Z(e)||$(e)||J()}function Z(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function $(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function J(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function Q(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function ee(e,t){te(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(r){te(e.prototype,t.prototype,r)})),Object.getOwnPropertyNames(t).forEach((function(r){te(e,t,r)}))}function te(e,t,r){var n=r?Reflect.getOwnMetadataKeys(t,r):Reflect.getOwnMetadataKeys(t);n.forEach((function(n){var i=r?Reflect.getOwnMetadata(n,t,r):Reflect.getOwnMetadata(n,t);r?Reflect.defineMetadata(n,i,e,r):Reflect.defineMetadata(n,i,e)}))}var re={__proto__:[]},ne=re instanceof Array;function ie(e){var t=G(e);return null==e||"object"!==t&&"function"!==t}function ae(e,t){var r=t.prototype._init;t.prototype._init=function(){var t=this,r=Object.getOwnPropertyNames(e);if(e.$options.props)for(var n in e.$options.props)e.hasOwnProperty(n)||r.push(n);r.forEach((function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){e[r]=t},configurable:!0})}))};var n=new t;t.prototype._init=r;var i={};return Object.keys(n).forEach((function(e){void 0!==n[e]&&(i[e]=n[e])})),i}var oe=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var r=e.prototype;Object.getOwnPropertyNames(r).forEach((function(e){if("constructor"!==e)if(oe.indexOf(e)>-1)t[e]=r[e];else{var n=Object.getOwnPropertyDescriptor(r,e);void 0!==n.value?"function"===typeof n.value?(t.methods||(t.methods={}))[e]=n.value:(t.mixins||(t.mixins=[])).push({data:function(){return K({},e,n.value)}}):(n.get||n.set)&&((t.computed||(t.computed={}))[e]={get:n.get,set:n.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return ae(this,e)}});var n=e.__decorators__;n&&(n.forEach((function(e){return e(t)})),delete e.__decorators__);var a=Object.getPrototypeOf(e.prototype),o=a instanceof i["default"]?a.constructor:i["default"],s=o.extend(t);return ue(s,e,o),Q()&&ee(s,e),s}var le={prototype:!0,arguments:!0,callee:!0,caller:!0};function ue(e,t,r){Object.getOwnPropertyNames(t).forEach((function(n){if(!le[n]){var i=Object.getOwnPropertyDescriptor(e,n);if(!i||i.configurable){var a=Object.getOwnPropertyDescriptor(t,n);if(!ne){if("cid"===n)return;var o=Object.getOwnPropertyDescriptor(r,n);if(!ie(a.value)&&o&&o.value===a.value)return}Object.defineProperty(e,n,a)}}}))}function ce(e){return"function"===typeof e?se(e):function(t){return se(t,e)}}ce.registerHooks=function(e){oe.push.apply(oe,X(e))};var de=function(e){function t(){var e;return h(this,t),e=a(this,t,arguments),e.name="BaseEditorComponent",e.instance=null,e.row=null,e.col=null,e.prop=null,e.TD=null,e.originalValue=null,e.cellProperties=null,e.state=null,e.hot=null,e}return g(t,e),f(t,[{key:"mounted",value:function(){var e=this;this.$data.hotCustomEditorClass=function(){var t=function(t){function r(t){var n;return h(this,r),n=a(this,r,[t]),e.$data.hotCustomEditorInstance=n,n}return g(r,t),f(r,[{key:"focus",value:function(){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(){}},{key:"open",value:function(){}},{key:"close",value:function(){}}])}(n["a"].editors.BaseEditor);return Object.getOwnPropertyNames(n["a"].editors.BaseEditor.prototype).forEach((function(r){"constructor"!==r&&(t.prototype[r]=function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return(t=e[r]).call.apply(t,[this].concat(i))})})),t}()}},{key:"_fireCallbacks",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];(e=n["a"].editors.BaseEditor.prototype._fireCallbacks).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"beginEditing",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.beginEditing).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"cancelChanges",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.cancelChanges).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"checkEditorSection",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.checkEditorSection).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"close",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.close).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"discardEditor",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.discardEditor).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"enableFullEditMode",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.enableFullEditMode).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"extend",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.extend).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"finishEditing",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.finishEditing).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"focus",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.focus).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"getValue",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.getValue).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"init",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.init).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"isInFullEditMode",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.isInFullEditMode).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"isOpened",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.isOpened).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"isWaiting",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.isWaiting).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"open",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.open).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"prepare",value:function(e,t,r,i,a,o){return this.$data.hotInstance=o.instance,this.$data.row=e,this.$data.col=t,this.$data.prop=r,this.$data.TD=i,this.$data.originalValue=a,this.$data.cellProperties=o,n["a"].editors.BaseEditor.prototype.prepare.call(this.$data.hotCustomEditorInstance,e,t,r,i,a,o)}},{key:"saveValue",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.saveValue).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"setValue",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.setValue).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"addHook",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.addHook).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"removeHooksByKey",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.removeHooksByKey).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"clearHooks",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.clearHooks).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"getEditedCell",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.getEditedCell).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"getEditedCellRect",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.getEditedCellRect).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"getEditedCellsZIndex",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}},{key:"getEditedCellsLayerClass",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return(e=n["a"].editors.BaseEditor.prototype.getEditedCellsLayerClass).call.apply(e,[this.$data.hotCustomEditorInstance].concat(r))}}])}(i["default"]);de=q([ce({})],de)},c24de:function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},c272:function(e,t,r){"use strict";e.exports={}},c2bf:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=r("06b0"),a=r("400e"),o=r("2f60"),s=n(n({},i.namedReferences),{all:i.namedReferences.html5});function l(e,t,r){t.lastIndex=0;var n,i=t.exec(e);if(i){n="";var a=0;do{a!==i.index&&(n+=e.substring(a,i.index));var o=i[0];n+=r(o),a=i.index+o.length}while(i=t.exec(e));a!==e.length&&(n+=e.substring(a))}else n=e;return n}var u={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},c={mode:"specialChars",level:"all",numeric:"decimal"};function d(e,t){var r=void 0===t?c:t,n=r.mode,i=void 0===n?"specialChars":n,a=r.numeric,d=void 0===a?"decimal":a,h=r.level,p=void 0===h?"all":h;if(!e)return"";var f=u[i],m=s[p].characters,g="hexadecimal"===d;return l(e,f,(function(e){var t=m[e];if(!t){var r=e.length>1?o.getCodePoint(e,0):e.charCodeAt(0);t=(g?"&#x"+r.toString(16):"&#"+r)+";"}return t}))}t.encode=d;var h={scope:"body",level:"all"},p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,m={xml:{strict:p,attribute:f,body:i.bodyRegExps.xml},html4:{strict:p,attribute:f,body:i.bodyRegExps.html4},html5:{strict:p,attribute:f,body:i.bodyRegExps.html5}},g=n(n({},m),{all:m.html5}),v=String.fromCharCode,b=v(65533),y={level:"all"};function w(e,t,r,n){var i=e,s=e[e.length-1];if(r&&"="===s)i=e;else if(n&&";"!==s)i=e;else{var l=t[e];if(l)i=l;else if("&"===e[0]&&"#"===e[1]){var u=e[2],c="x"==u||"X"==u?parseInt(e.substr(3),16):parseInt(e.substr(2));i=c>=1114111?b:c>65535?o.fromCodePoint(c):v(a.numericUnicodeMap[c]||c)}}return i}function _(e,t){var r=(void 0===t?y:t).level,n=void 0===r?"all":r;return e?w(e,s[n].entities,!1,!1):""}function S(e,t){var r=void 0===t?h:t,n=r.level,i=void 0===n?"all":n,a=r.scope,o=void 0===a?"xml"===i?"strict":"body":a;if(!e)return"";var u=g[i][o],c=s[i].entities,d="attribute"===o,p="strict"===o;return l(e,u,(function(e){return w(e,c,d,p)}))}t.decodeEntity=_,t.decode=S},c3c0:function(e,t,r){"use strict";var n=r("da3e"),i=r("3fb5");function a(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function o(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"===typeof e)if(t){if("hex"===t)for(e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?r[n++]=o:o<2048?(r[n++]=o>>6|192,r[n++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),r[n++]=o>>18|240,r[n++]=o>>12&63|128,r[n++]=o>>6&63|128,r[n++]=63&o|128):(r[n++]=o>>12|224,r[n++]=o>>6&63|128,r[n++]=63&o|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r}function s(e){for(var t="",r=0;r<e.length;r++)t+=c(e[r].toString(16));return t}function l(e){var t=e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24;return t>>>0}function u(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=l(i)),r+=d(i.toString(16))}return r}function c(e){return 1===e.length?"0"+e:e}function d(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}function h(e,t,r,i){var a=r-t;n(a%4===0);for(var o=new Array(a/4),s=0,l=t;s<o.length;s++,l+=4){var u;u="big"===i?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],o[s]=u>>>0}return o}function p(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var a=e[n];"big"===t?(r[i]=a>>>24,r[i+1]=a>>>16&255,r[i+2]=a>>>8&255,r[i+3]=255&a):(r[i+3]=a>>>24,r[i+2]=a>>>16&255,r[i+1]=a>>>8&255,r[i]=255&a)}return r}function f(e,t){return e>>>t|e<<32-t}function m(e,t){return e<<t|e>>>32-t}function g(e,t){return e+t>>>0}function v(e,t,r){return e+t+r>>>0}function b(e,t,r,n){return e+t+r+n>>>0}function y(e,t,r,n,i){return e+t+r+n+i>>>0}function w(e,t,r,n){var i=e[t],a=e[t+1],o=n+a>>>0,s=(o<n?1:0)+r+i;e[t]=s>>>0,e[t+1]=o}function _(e,t,r,n){var i=t+n>>>0,a=(i<t?1:0)+e+r;return a>>>0}function S(e,t,r,n){var i=t+n;return i>>>0}function E(e,t,r,n,i,a,o,s){var l=0,u=t;u=u+n>>>0,l+=u<t?1:0,u=u+a>>>0,l+=u<a?1:0,u=u+s>>>0,l+=u<s?1:0;var c=e+r+i+o+l;return c>>>0}function M(e,t,r,n,i,a,o,s){var l=t+n+a+s;return l>>>0}function T(e,t,r,n,i,a,o,s,l,u){var c=0,d=t;d=d+n>>>0,c+=d<t?1:0,d=d+a>>>0,c+=d<a?1:0,d=d+s>>>0,c+=d<s?1:0,d=d+u>>>0,c+=d<u?1:0;var h=e+r+i+o+l+c;return h>>>0}function C(e,t,r,n,i,a,o,s,l,u){var c=t+n+a+s+u;return c>>>0}function x(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}function A(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}function N(e,t,r){return e>>>r}function O(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}t.inherits=i,t.toArray=o,t.toHex=s,t.htonl=l,t.toHex32=u,t.zero2=c,t.zero8=d,t.join32=h,t.split32=p,t.rotr32=f,t.rotl32=m,t.sum32=g,t.sum32_3=v,t.sum32_4=b,t.sum32_5=y,t.sum64=w,t.sum64_hi=_,t.sum64_lo=S,t.sum64_4_hi=E,t.sum64_4_lo=M,t.sum64_5_hi=T,t.sum64_5_lo=C,t.rotr64_hi=x,t.rotr64_lo=A,t.shr64_hi=N,t.shr64_lo=O},c4c0:function(e,t,r){"use strict";var n=r("966d");function i(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,e)):n.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(o,r,e)):n.nextTick(o,r,e):t&&t(e)})),this)}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:a}},c4e3:function(e,t,r){(function(t,r,n){var i;!function(t){e.exports=t()}((function(){return function e(t,r,n){function a(s,l){if(!r[s]){if(!t[s]){var u="function"==typeof i&&i;if(!l&&u)return i(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=r[s]={exports:{}};t[s][0].call(d.exports,(function(e){var r=t[s][1][e];return a(r||e)}),d,d.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof i&&i,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,o,s,l,u,c=[],d=0,h=e.length,p=h,f="string"!==n.getTypeOf(e);d<e.length;)p=h-d,i=f?(t=e[d++],r=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),r=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|r>>4,l=1<p?(15&r)<<2|i>>6:64,u=2<p?63&i:64,c.push(a.charAt(o)+a.charAt(s)+a.charAt(l)+a.charAt(u));return c.join("")},r.decode=function(e){var t,r,n,o,s,l,u=0,c=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&p--,e.charAt(e.length-2)===a.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=i.uint8array?new Uint8Array(0|p):new Array(0|p);u<e.length;)t=a.indexOf(e.charAt(u++))<<2|(o=a.indexOf(e.charAt(u++)))>>4,r=(15&o)<<4|(s=a.indexOf(e.charAt(u++)))>>2,n=(3&s)<<6|(l=a.indexOf(e.charAt(u++))),h[c++]=t,64!==s&&(h[c++]=r),64!==l&&(h[c++]=n);return h}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var n=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var a=i,o=n+r;e^=-1;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var a=i,o=n+r;e^=-1;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),s=n?"uint8array":"array";function l(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",a.inherits(l,o),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},l.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function i(e,t,r,i,o,c){var d,h,p=e.file,f=e.compression,m=c!==s.utf8encode,g=a.transformTo("string",c(p.name)),v=a.transformTo("string",s.utf8encode(p.name)),b=p.comment,y=a.transformTo("string",c(b)),w=a.transformTo("string",s.utf8encode(b)),_=v.length!==p.name.length,S=w.length!==b.length,E="",M="",T="",C=p.dir,x=p.date,A={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(A.crc32=e.crc32,A.compressedSize=e.compressedSize,A.uncompressedSize=e.uncompressedSize);var N=0;t&&(N|=8),m||!_&&!S||(N|=2048);var O=0,R=0;C&&(O|=16),"UNIX"===o?(R=798,O|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(p.unixPermissions,C)):(R=20,O|=function(e){return 63&(e||0)}(p.dosPermissions)),d=x.getUTCHours(),d<<=6,d|=x.getUTCMinutes(),d<<=5,d|=x.getUTCSeconds()/2,h=x.getUTCFullYear()-1980,h<<=4,h|=x.getUTCMonth()+1,h<<=5,h|=x.getUTCDate(),_&&(M=n(1,1)+n(l(g),4)+v,E+="up"+n(M.length,2)+M),S&&(T=n(1,1)+n(l(y),4)+w,E+="uc"+n(T.length,2)+T);var L="";return L+="\n\0",L+=n(N,2),L+=f.magic,L+=n(d,2),L+=n(h,2),L+=n(A.crc32,4),L+=n(A.compressedSize,4),L+=n(A.uncompressedSize,4),L+=n(g.length,2),L+=n(E.length,2),{fileRecord:u.LOCAL_FILE_HEADER+L+g+E,dirRecord:u.CENTRAL_FILE_HEADER+n(R,2)+L+n(y.length,2)+"\0\0\0\0"+n(O,4)+n(i,4)+g+E+y}}var a=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),u=e("../signature");function c(e,t,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(c,o),c.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return u.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,i=function(e,t,r,i,o){var s=a.transformTo("string",o(i));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(e,2)+n(e,2)+n(t,4)+n(r,4)+n(s.length,2)+s}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},c.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},c.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var n=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var a=new i(t.streamFiles,r,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,r){o++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},l=r.dir,u=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:l,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(a)})),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./external"),a=e("./utf8"),o=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function u(e){return new i.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),l.isNode&&l.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new o(t);return r.load(e),r})).then((function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var a=0;a<n.length;a++)r.push(u(n[a]));return i.Promise.all(r)})).then((function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],l=s.fileNameStr,u=n.resolve(s.fileNameStr);r.file(u,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(u).unsafeOriginalName=l)}return i.zipComment.length&&(r.comment=i.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../stream/GenericWorker");function a(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(a,i),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var n=e("readable-stream").Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),r&&r(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,r,n){"use strict";r.exports={isNode:"undefined"!=typeof t,newBufferFrom:function(e,r){if(t.from&&t.from!==Uint8Array.from)return t.from(e,r);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,r)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var r=new t(e);return r.fill(0),r},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";function n(e,t,r){var n,i=a.getTypeOf(t),s=a.extend(r||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=m(e)),s.createFolders&&(n=f(e))&&g.call(this,n,!0);var d="string"===i&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!d),(t instanceof u&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string");var v=null;v=t instanceof u||t instanceof o?t:h.isNode&&h.isStream(t)?new p(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var b=new c(e,v,s);this.files[e]=b}var i=e("./utf8"),a=e("./utils"),o=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),u=e("./compressedObject"),c=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),p=e("./nodejs/NodejsStreamInputAdapter"),f=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function v(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(v(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(v(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},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 r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=a.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");a.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=d.generateWorker(this,r,n)}catch(e){(t=new o("error")).error(e)}return new s(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var n=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+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(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new l(n.transformTo("uint8array",e)):new a(n.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../utils");function a(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,n),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../crc32");function a(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,n),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,r,n){"use strict";var i=e("../utils"),a=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),l=e("../support"),u=e("../external"),c=null;if(l.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,r){return new u.Promise((function(n,a){var o=[],l=e._internalType,u=e._outputType,c=e._mimeType;e.on("data",(function(e,t){o.push(e),r&&r(t)})).on("error",(function(e){o=[],a(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),r);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(u,function(e,r){var n,i=0,a=null,o=0;for(n=0;n<r.length;n++)o+=r[n].length;switch(e){case"string":return r.join("");case"array":return Array.prototype.concat.apply([],r);case"uint8array":for(a=new Uint8Array(o),n=0;n<r.length;n++)a.set(r[n],i),i+=r[n].length;return a;case"nodebuffer":return t.concat(r);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,o),c);n(e)}catch(e){a(e)}o=[]})).resume()}))}function h(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,i.checkSupport(n),this._worker=e.pipe(new a(n)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,r)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,r,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof t,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(i),n.blob=0===a.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){"use strict";for(var n=e("./utils"),i=e("./support"),a=e("./nodejsUtils"),o=e("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(){o.call(this,"utf-8 decode"),this.leftOver=null}function c(){o.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,r,n,a,o,s=e.length,l=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),a=o=0;o<l;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,a,o=e.length,l=new Array(2*o);for(t=r=0;t<o;)if((i=e[t++])<128)l[r++]=i;else if(4<(a=s[i]))l[r++]=65533,t+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&t<o;)i=i<<6|63&e[t++],a--;1<a?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),n.applyFromCharCode(l)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(u,o),u.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}(t),l=t;o!==t.length&&(i.uint8array?(l=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(l=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:r.utf8decode(l),meta:e.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(c,o),c.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){"use strict";var n=e("./support"),i=e("./base64"),a=e("./nodejsUtils"),o=e("./external");function s(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(t,n){r.checkSupport("blob");try{return new Blob([t],{type:n})}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(n)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=u.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return u.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return u.stringifyByChar(e)}function d(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=c;var h={};h.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,a.allocBuffer(e.length))}},h.array={string:c,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},h.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:c,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},h.nodebuffer={string:c,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var n=r.getTypeOf(t);return h[n][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&a.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate((function(){e.apply(r||null,t||[])}))},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,a,s,u){return o.Promise.resolve(t).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var c=r.getTypeOf(t);return c?("arraybuffer"===c?t=r.transformTo("uint8array",t):"string"===c&&(u?t=i.decode(t):a&&!0!==s&&(t=function(e){return l(e,n.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),i=e("./utils"),a=e("./signature"),o=e("./zipEntry"),s=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},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);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),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={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)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(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),i=e("./utils"),a=e("./compressedObject"),o=e("./crc32"),s=e("./utf8"),l=e("./compressions"),u=e("./support");function c(e,t){this.options=e,this.loadOptions=t}c.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(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);var t=e.readInt(2);if(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");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){"use strict";function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var i=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),o=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var a=!this._dataBinary;a&&!n&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&n&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new i(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new a(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<u.length;d++)n.prototype[u[d]]=c;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){"use strict";var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(c),s=e.document.createTextNode("");o.observe(s,{characterData:!0}),r=function(){s.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var l=new e.MessageChannel;l.port1.onmessage=c,r=function(){l.port2.postMessage(0)}}var u=[];function c(){var e,t;n=!0;for(var r=u.length;r;){for(t=u,u=[],e=-1;++e<r;)t[e]();r=u.length}n=!1}t.exports=function(e){1!==u.push(e)||n||r()}}).call(this,"undefined"!=typeof r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){"use strict";var n=e("immediate");function i(){}var a={},o=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}function c(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function d(e,t,r){n((function(){var n;try{n=t(r)}catch(n){return a.reject(e,n)}n===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,n)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var r=!1;function n(t){r||(r=!0,a.reject(e,t))}function i(t){r||(r=!0,a.resolve(e,t))}var o=f((function(){t(i,n)}));"error"===o.status&&n(o.value)}function f(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=u).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===o)return this;var r=new this.constructor(i);return this.state!==l?d(r,this.state===s?e:t,this.outcome):this.queue.push(new c(r,e,t)),r},c.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){a.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var r=f(h,t);if("error"===r.status)return a.reject(e,r.value);var n=r.value;if(n)p(e,n);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return a.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o=new Array(r),s=0,l=-1,u=new this(i);++l<r;)c(e[l],l);return u;function c(e,i){t.resolve(e).then((function(e){o[i]=e,++s!==r||n||(n=!0,a.resolve(u,o))}),(function(e){n||(n=!0,a.reject(u,e))}))}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o,s=-1,l=new this(i);++s<r;)o=e[s],t.resolve(o).then((function(e){n||(n=!0,a.resolve(l,e))}),(function(e){n||(n=!0,a.reject(l,e))}));return l}},{immediate:36}],38:[function(e,t,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){"use strict";var n=e("./zlib/deflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString,u=0,c=-1,d=0,h=8;function p(e){if(!(this instanceof p))return new p(e);this.options=i.assign({level:c,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&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 r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==u)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var f;if(f="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=n.deflateSetDictionary(this.strm,f))!==u)throw new Error(o[r]);this._dict_set=!0}}function f(e,t){var r=new p(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}p.prototype.push=function(e,t){var r,o,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(c),s.next_out=0,s.avail_out=c),1!==(r=n.deflate(s,o))&&r!==u)return this.onEnd(r),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===u):2!==o||(this.onEnd(u),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===u&&("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},r.Deflate=p,r.deflate=f,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,f(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){"use strict";var n=e("./zlib/inflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),u=e("./zlib/gzheader"),c=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&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 r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(e,t){var r,s,l,u,d,h,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?p.input=a.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new i.Buf8(f),p.next_out=0,p.avail_out=f),(r=n.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&m&&(h="string"==typeof m?a.string2buf(m):"[object ArrayBuffer]"===c.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,h)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&r!==o.Z_STREAM_END&&(0!==p.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(l=a.utf8border(p.output,p.next_out),u=p.next_out-l,d=a.buf2string(p.output,l),p.next_out=u,p.avail_out=f-u,u&&i.arraySet(p.output,p.output,l,u,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((0<p.avail_in||0===p.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.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},r.Inflate=d,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.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,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),t=i=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],42:[function(e,t,r){"use strict";var n=e("./common"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,r.string2buf=function(e){var t,r,i,a,o,s=e.length,l=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(l),a=o=0;o<l;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,a,s=t||e.length,u=new Array(2*s);for(r=n=0;r<s;)if((i=e[r++])<128)u[n++]=i;else if(4<(a=o[i]))u[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&r<s;)i=i<<6|63&e[r++],a--;1<a?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return l(u,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){for(r-=o=2e3<r?2e3:r;a=a+(i=i+t[n++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],44:[function(e,t,r){"use strict";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}},{}],45:[function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var a=n,o=i+r;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,r){"use strict";var n,i=e("../utils/common"),a=e("./trees"),o=e("./adler32"),s=e("./crc32"),l=e("./messages"),u=0,c=4,d=0,h=-2,p=-1,f=4,m=2,g=8,v=9,b=286,y=30,w=19,_=2*b+1,S=15,E=3,M=258,T=M+E+1,C=42,x=113,A=1,N=2,O=3,R=4;function L(e,t){return e.msg=l[t],t}function k(e){return(e<<1)-(4<e?9:0)}function I(e){for(var t=e.length;0<=--t;)e[t]=0}function D(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function P(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,D(e.strm)}function j(e,t){e.pending_buf[e.pending++]=t}function F(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function H(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,u=e.window,c=e.w_mask,d=e.prev,h=e.strstart+M,p=u[a+o-1],f=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+o]===f&&u[r+o-1]===p&&u[r]===u[a]&&u[++r]===u[a+1]){a+=2,r++;do{}while(u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&a<h);if(n=M-(h-a),a=h-M,o<n){if(e.match_start=t,s<=(o=n))break;p=u[a+o-1],f=u[a+o]}}}while((t=d[t&c])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function B(e){var t,r,n,a,l,u,c,d,h,p,f=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-T)){for(i.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=r=e.hash_size;n=e.head[--t],e.head[t]=f<=n?n-f:0,--r;);for(t=r=f;n=e.prev[--t],e.prev[t]=f<=n?n-f:0,--r;);a+=f}if(0===e.strm.avail_in)break;if(u=e.strm,c=e.window,d=e.strstart+e.lookahead,h=a,p=void 0,p=u.avail_in,h<p&&(p=h),r=0===p?0:(u.avail_in-=p,i.arraySet(c,u.input,u.next_in,p,d),1===u.state.wrap?u.adler=o(u.adler,c,p,d):2===u.state.wrap&&(u.adler=s(u.adler,c,p,d)),u.next_in+=p,u.total_in+=p,p),e.lookahead+=r,e.lookahead+e.insert>=E)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+E-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<E)););}while(e.lookahead<T&&0!==e.strm.avail_in)}function U(e,t){for(var r,n;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===u)return A;if(0===e.lookahead)break}if(r=0,e.lookahead>=E&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-T&&(e.match_length=H(e,r)),e.match_length>=E)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-E),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=E){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,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 n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=e.strstart<E-1?e.strstart:E-1,t===c?(P(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}function V(e,t){for(var r,n,i;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===u)return A;if(0===e.lookahead)break}if(r=0,e.lookahead>=E&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=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=E-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-T&&(e.match_length=H(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===E&&4096<e.strstart-e.match_start)&&(e.match_length=E-1)),e.prev_length>=E&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-E,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-E),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=E-1,e.strstart++,n&&(P(e,!1),0===e.strm.avail_out))return A}else if(e.match_available){if((n=a._tr_tally(e,0,e.window[e.strstart-1]))&&P(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return A}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<E-1?e.strstart:E-1,t===c?(P(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}function Y(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function z(){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=g,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 i.Buf16(2*_),this.dyn_dtree=new i.Buf16(2*(2*y+1)),this.bl_tree=new i.Buf16(2*(2*w+1)),I(this.dyn_ltree),I(this.dyn_dtree),I(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*b+1),I(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*b+1),I(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 W(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?C:x,e.adler=2===t.wrap?0:1,t.last_flush=u,a._tr_init(t),d):L(e,h)}function q(e){var t=W(e);return t===d&&function(e){e.window_size=2*e.w_size,I(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=E-1,e.match_available=0,e.ins_h=0}(e.state),t}function G(e,t,r,n,a,o){if(!e)return h;var s=1;if(t===p&&(t=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),a<1||v<a||r!==g||n<8||15<n||t<0||9<t||o<0||f<o)return L(e,h);8===n&&(n=9);var l=new z;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=a+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+E-1)/E),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<a+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=r,q(e)}n=[new Y(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),0===e.lookahead&&t===u)return A;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,P(e,!1),0===e.strm.avail_out))return A;if(e.strstart-e.block_start>=e.w_size-T&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===c?(P(e,!0),0===e.strm.avail_out?O:R):(e.strstart>e.block_start&&(P(e,!1),e.strm.avail_out),A)})),new Y(4,4,8,4,U),new Y(4,5,16,8,U),new Y(4,6,32,32,U),new Y(4,4,16,16,V),new Y(8,16,32,32,V),new Y(8,16,128,128,V),new Y(8,32,128,256,V),new Y(32,128,258,1024,V),new Y(32,258,258,4096,V)],r.deflateInit=function(e,t){return G(e,t,g,15,8,0)},r.deflateInit2=G,r.deflateReset=q,r.deflateResetKeep=W,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,d):h},r.deflate=function(e,t){var r,i,o,l;if(!e||!e.state||5<t||t<0)return e?L(e,h):h;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==c)return L(e,0===e.avail_out?-5:h);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===C)if(2===i.wrap)e.adler=0,j(i,31),j(i,139),j(i,8),i.gzhead?(j(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),j(i,255&i.gzhead.time),j(i,i.gzhead.time>>8&255),j(i,i.gzhead.time>>16&255),j(i,i.gzhead.time>>24&255),j(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),j(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(j(i,255&i.gzhead.extra.length),j(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(j(i,0),j(i,0),j(i,0),j(i,0),j(i,0),j(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),j(i,3),i.status=x);else{var p=g+(i.w_bits-8<<4)<<8;p|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(p|=32),p+=31-p%31,i.status=x,F(i,p),0!==i.strstart&&(F(i,e.adler>>>16),F(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),D(e),o=i.pending,i.pending!==i.pending_buf_size));)j(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),D(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,j(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),D(e),o=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,j(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&D(e),i.pending+2<=i.pending_buf_size&&(j(i,255&e.adler),j(i,e.adler>>8&255),e.adler=0,i.status=x)):i.status=x),0!==i.pending){if(D(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&k(t)<=k(r)&&t!==c)return L(e,-5);if(666===i.status&&0!==e.avail_in)return L(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==u&&666!==i.status){var f=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(B(e),0===e.lookahead)){if(t===u)return A;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===c?(P(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}(i,t):3===i.strategy?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=M){if(B(e),e.lookahead<=M&&t===u)return A;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=E&&0<e.strstart&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=e.strstart+M;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=M-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=E?(r=a._tr_tally(e,1,e.match_length-E),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===c?(P(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}(i,t):n[i.level].func(i,t);if(f!==O&&f!==R||(i.status=666),f===A||f===O)return 0===e.avail_out&&(i.last_flush=-1),d;if(f===N&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(I(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),D(e),0===e.avail_out))return i.last_flush=-1,d}return t!==c?d:i.wrap<=0?1:(2===i.wrap?(j(i,255&e.adler),j(i,e.adler>>8&255),j(i,e.adler>>16&255),j(i,e.adler>>24&255),j(i,255&e.total_in),j(i,e.total_in>>8&255),j(i,e.total_in>>16&255),j(i,e.total_in>>24&255)):(F(i,e.adler>>>16),F(i,65535&e.adler)),D(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?d:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==C&&69!==t&&73!==t&&91!==t&&103!==t&&t!==x&&666!==t?L(e,h):(e.state=null,t===x?L(e,-3):d):h},r.deflateSetDictionary=function(e,t){var r,n,a,s,l,u,c,p,f=t.length;if(!e||!e.state)return h;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==C||r.lookahead)return h;for(1===s&&(e.adler=o(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===s&&(I(r.head),r.strstart=0,r.block_start=0,r.insert=0),p=new i.Buf8(r.w_size),i.arraySet(p,t,f-r.w_size,r.w_size,0),t=p,f=r.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=f,e.next_in=0,e.input=t,B(r);r.lookahead>=E;){for(n=r.strstart,a=r.lookahead-(E-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+E-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--a;);r.strstart=n,r.lookahead=E-1,B(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=E-1,r.match_available=0,e.next_in=u,e.input=c,e.avail_in=l,r.wrap=s,d},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){"use strict";t.exports=function(){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}},{}],48:[function(e,t,r){"use strict";t.exports=function(e,t){var r,n,i,a,o,s,l,u,c,d,h,p,f,m,g,v,b,y,w,_,S,E,M,T,C;r=e.state,n=e.next_in,T=e.input,i=n+(e.avail_in-5),a=e.next_out,C=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=r.dmax,u=r.wsize,c=r.whave,d=r.wnext,h=r.window,p=r.hold,f=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{f<15&&(p+=T[n++]<<f,f+=8,p+=T[n++]<<f,f+=8),y=m[p&v];t:for(;;){if(p>>>=w=y>>>24,f-=w,0===(w=y>>>16&255))C[a++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=m[(65535&y)+(p&(1<<w)-1)];continue t}if(32&w){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}_=65535&y,(w&=15)&&(f<w&&(p+=T[n++]<<f,f+=8),_+=p&(1<<w)-1,p>>>=w,f-=w),f<15&&(p+=T[n++]<<f,f+=8,p+=T[n++]<<f,f+=8),y=g[p&b];r:for(;;){if(p>>>=w=y>>>24,f-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=g[(65535&y)+(p&(1<<w)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(S=65535&y,f<(w&=15)&&(p+=T[n++]<<f,(f+=8)<w&&(p+=T[n++]<<f,f+=8)),l<(S+=p&(1<<w)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(p>>>=w,f-=w,(w=a-o)<S){if(c<(w=S-w)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(M=h,(E=0)===d){if(E+=u-w,w<_){for(_-=w;C[a++]=h[E++],--w;);E=a-S,M=C}}else if(d<w){if(E+=u+d-w,(w-=d)<_){for(_-=w;C[a++]=h[E++],--w;);if(E=0,d<_){for(_-=w=d;C[a++]=h[E++],--w;);E=a-S,M=C}}}else if(E+=d-w,w<_){for(_-=w;C[a++]=h[E++],--w;);E=a-S,M=C}for(;2<_;)C[a++]=M[E++],C[a++]=M[E++],C[a++]=M[E++],_-=3;_&&(C[a++]=M[E++],1<_&&(C[a++]=M[E++]))}else{for(E=a-S;C[a++]=C[E++],C[a++]=C[E++],C[a++]=C[E++],2<(_-=3););_&&(C[a++]=C[E++],1<_&&(C[a++]=C[E++]))}break}}break}}while(n<i&&a<s);n-=_=f>>3,p&=(1<<(f-=_<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=p,r.bits=f}},{}],49:[function(e,t,r){"use strict";var n=e("../utils/common"),i=e("./adler32"),a=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),l=1,u=2,c=0,d=-2,h=1,p=852,f=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(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=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(p),t.distcode=t.distdyn=new n.Buf32(f),t.sane=1,t.back=-1,c):d}function b(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,v(e)):d}function y(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,b(e))):d}function w(e,t){var r,n;return e?(n=new g,(e.state=n).window=null,(r=y(e,t))!==c&&(e.state=null),r):d}var _,S,E=!0;function M(e){if(E){var t;for(_=new n.Buf32(512),S=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(l,e.lens,0,288,_,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(u,e.lens,0,32,S,0,e.work,{bits:5}),E=!1}e.lencode=_,e.lenbits=9,e.distcode=S,e.distbits=5}function T(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),(i-=a)?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}r.inflateReset=b,r.inflateReset2=y,r.inflateResetKeep=v,r.inflateInit=function(e){return w(e,15)},r.inflateInit2=w,r.inflate=function(e,t){var r,p,f,g,v,b,y,w,_,S,E,C,x,A,N,O,R,L,k,I,D,P,j,F,H=0,B=new n.Buf8(4),U=[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 d;12===(r=e.state).mode&&(r.mode=13),v=e.next_out,f=e.output,y=e.avail_out,g=e.next_in,p=e.input,b=e.avail_in,w=r.hold,_=r.bits,S=b,E=y,P=c;e:for(;;)switch(r.mode){case h:if(0===r.wrap){r.mode=13;break}for(;_<16;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(2&r.wrap&&35615===w){B[r.check=0]=255&w,B[1]=w>>>8&255,r.check=a(r.check,B,2,0),_=w=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",r.mode=30;break}if(_-=4,D=8+(15&(w>>>=4)),0===r.wbits)r.wbits=D;else if(D>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<D,e.adler=r.check=1,r.mode=512&w?10:12,_=w=0;break;case 2:for(;_<16;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(r.flags=w,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=w>>8&1),512&r.flags&&(B[0]=255&w,B[1]=w>>>8&255,r.check=a(r.check,B,2,0)),_=w=0,r.mode=3;case 3:for(;_<32;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}r.head&&(r.head.time=w),512&r.flags&&(B[0]=255&w,B[1]=w>>>8&255,B[2]=w>>>16&255,B[3]=w>>>24&255,r.check=a(r.check,B,4,0)),_=w=0,r.mode=4;case 4:for(;_<16;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}r.head&&(r.head.xflags=255&w,r.head.os=w>>8),512&r.flags&&(B[0]=255&w,B[1]=w>>>8&255,r.check=a(r.check,B,2,0)),_=w=0,r.mode=5;case 5:if(1024&r.flags){for(;_<16;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}r.length=w,r.head&&(r.head.extra_len=w),512&r.flags&&(B[0]=255&w,B[1]=w>>>8&255,r.check=a(r.check,B,2,0)),_=w=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(b<(C=r.length)&&(C=b),C&&(r.head&&(D=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,p,g,C,D)),512&r.flags&&(r.check=a(r.check,p,C,g)),b-=C,g+=C,r.length-=C),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===b)break e;for(C=0;D=p[g+C++],r.head&&D&&r.length<65536&&(r.head.name+=String.fromCharCode(D)),D&&C<b;);if(512&r.flags&&(r.check=a(r.check,p,C,g)),b-=C,g+=C,D)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===b)break e;for(C=0;D=p[g+C++],r.head&&D&&r.length<65536&&(r.head.comment+=String.fromCharCode(D)),D&&C<b;);if(512&r.flags&&(r.check=a(r.check,p,C,g)),b-=C,g+=C,D)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;_<16;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(w!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}_=w=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;_<32;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}e.adler=r.check=m(w),_=w=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=v,e.avail_out=y,e.next_in=g,e.avail_in=b,r.hold=w,r.bits=_,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){w>>>=7&_,_-=7&_,r.mode=27;break}for(;_<3;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}switch(r.last=1&w,_-=1,3&(w>>>=1)){case 0:r.mode=14;break;case 1:if(M(r),r.mode=20,6!==t)break;w>>>=2,_-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}w>>>=2,_-=2;break;case 14:for(w>>>=7&_,_-=7&_;_<32;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if((65535&w)!=(w>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&w,_=w=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(C=r.length){if(b<C&&(C=b),y<C&&(C=y),0===C)break e;n.arraySet(f,p,g,C,v),b-=C,g+=C,y-=C,v+=C,r.length-=C;break}r.mode=12;break;case 17:for(;_<14;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(r.nlen=257+(31&w),w>>>=5,_-=5,r.ndist=1+(31&w),w>>>=5,_-=5,r.ncode=4+(15&w),w>>>=4,_-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;_<3;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}r.lens[U[r.have++]]=7&w,w>>>=3,_-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,j={bits:r.lenbits},P=s(0,r.lens,0,19,r.lencode,0,r.work,j),r.lenbits=j.bits,P){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;O=(H=r.lencode[w&(1<<r.lenbits)-1])>>>16&255,R=65535&H,!((N=H>>>24)<=_);){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(R<16)w>>>=N,_-=N,r.lens[r.have++]=R;else{if(16===R){for(F=N+2;_<F;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(w>>>=N,_-=N,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}D=r.lens[r.have-1],C=3+(3&w),w>>>=2,_-=2}else if(17===R){for(F=N+3;_<F;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}_-=N,D=0,C=3+(7&(w>>>=N)),w>>>=3,_-=3}else{for(F=N+7;_<F;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}_-=N,D=0,C=11+(127&(w>>>=N)),w>>>=7,_-=7}if(r.have+C>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;C--;)r.lens[r.have++]=D}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,j={bits:r.lenbits},P=s(l,r.lens,0,r.nlen,r.lencode,0,r.work,j),r.lenbits=j.bits,P){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,j={bits:r.distbits},P=s(u,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,j),r.distbits=j.bits,P){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=b&&258<=y){e.next_out=v,e.avail_out=y,e.next_in=g,e.avail_in=b,r.hold=w,r.bits=_,o(e,E),v=e.next_out,f=e.output,y=e.avail_out,g=e.next_in,p=e.input,b=e.avail_in,w=r.hold,_=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;O=(H=r.lencode[w&(1<<r.lenbits)-1])>>>16&255,R=65535&H,!((N=H>>>24)<=_);){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(O&&0==(240&O)){for(L=N,k=O,I=R;O=(H=r.lencode[I+((w&(1<<L+k)-1)>>L)])>>>16&255,R=65535&H,!(L+(N=H>>>24)<=_);){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}w>>>=L,_-=L,r.back+=L}if(w>>>=N,_-=N,r.back+=N,r.length=R,0===O){r.mode=26;break}if(32&O){r.back=-1,r.mode=12;break}if(64&O){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&O,r.mode=22;case 22:if(r.extra){for(F=r.extra;_<F;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}r.length+=w&(1<<r.extra)-1,w>>>=r.extra,_-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;O=(H=r.distcode[w&(1<<r.distbits)-1])>>>16&255,R=65535&H,!((N=H>>>24)<=_);){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(0==(240&O)){for(L=N,k=O,I=R;O=(H=r.distcode[I+((w&(1<<L+k)-1)>>L)])>>>16&255,R=65535&H,!(L+(N=H>>>24)<=_);){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}w>>>=L,_-=L,r.back+=L}if(w>>>=N,_-=N,r.back+=N,64&O){e.msg="invalid distance code",r.mode=30;break}r.offset=R,r.extra=15&O,r.mode=24;case 24:if(r.extra){for(F=r.extra;_<F;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}r.offset+=w&(1<<r.extra)-1,w>>>=r.extra,_-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===y)break e;if(C=E-y,r.offset>C){if((C=r.offset-C)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}x=C>r.wnext?(C-=r.wnext,r.wsize-C):r.wnext-C,C>r.length&&(C=r.length),A=r.window}else A=f,x=v-r.offset,C=r.length;for(y<C&&(C=y),y-=C,r.length-=C;f[v++]=A[x++],--C;);0===r.length&&(r.mode=21);break;case 26:if(0===y)break e;f[v++]=r.length,y--,r.mode=21;break;case 27:if(r.wrap){for(;_<32;){if(0===b)break e;b--,w|=p[g++]<<_,_+=8}if(E-=y,e.total_out+=E,r.total+=E,E&&(e.adler=r.check=r.flags?a(r.check,f,E,v-E):i(r.check,f,E,v-E)),E=y,(r.flags?w:m(w))!==r.check){e.msg="incorrect data check",r.mode=30;break}_=w=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;_<32;){if(0===b)break e;b--,w+=p[g++]<<_,_+=8}if(w!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}_=w=0}r.mode=29;case 29:P=1;break e;case 30:P=-3;break e;case 31:return-4;case 32:default:return d}return e.next_out=v,e.avail_out=y,e.next_in=g,e.avail_in=b,r.hold=w,r.bits=_,(r.wsize||E!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&T(e,e.output,e.next_out,E-e.avail_out)?(r.mode=31,-4):(S-=e.avail_in,E-=e.avail_out,e.total_in+=S,e.total_out+=E,r.total+=E,r.wrap&&E&&(e.adler=r.check=r.flags?a(r.check,f,E,e.next_out-E):i(r.check,f,E,e.next_out-E)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==S&&0===E||4===t)&&P===c&&(P=-5),P)},r.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,c},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?d:((r.head=t).done=!1,c):d},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?d:11===r.mode&&i(1,t,n,0)!==r.check?-3:T(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,c):d},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){"use strict";var n=e("../utils/common"),i=[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],a=[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],o=[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],s=[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,r,l,u,c,d,h){var p,f,m,g,v,b,y,w,_,S=h.bits,E=0,M=0,T=0,C=0,x=0,A=0,N=0,O=0,R=0,L=0,k=null,I=0,D=new n.Buf16(16),P=new n.Buf16(16),j=null,F=0;for(E=0;E<=15;E++)D[E]=0;for(M=0;M<l;M++)D[t[r+M]]++;for(x=S,C=15;1<=C&&0===D[C];C--);if(C<x&&(x=C),0===C)return u[c++]=20971520,u[c++]=20971520,h.bits=1,0;for(T=1;T<C&&0===D[T];T++);for(x<T&&(x=T),E=O=1;E<=15;E++)if(O<<=1,(O-=D[E])<0)return-1;if(0<O&&(0===e||1!==C))return-1;for(P[1]=0,E=1;E<15;E++)P[E+1]=P[E]+D[E];for(M=0;M<l;M++)0!==t[r+M]&&(d[P[t[r+M]]++]=M);if(b=0===e?(k=j=d,19):1===e?(k=i,I-=257,j=a,F-=257,256):(k=o,j=s,-1),E=T,v=c,N=M=L=0,m=-1,g=(R=1<<(A=x))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(y=E-N,_=d[M]<b?(w=0,d[M]):d[M]>b?(w=j[F+d[M]],k[I+d[M]]):(w=96,0),p=1<<E-N,T=f=1<<A;u[v+(L>>N)+(f-=p)]=y<<24|w<<16|_|0,0!==f;);for(p=1<<E-1;L&p;)p>>=1;if(0!==p?(L&=p-1,L+=p):L=0,M++,0==--D[E]){if(E===C)break;E=t[r+d[M]]}if(x<E&&(L&g)!==m){for(0===N&&(N=x),v+=T,O=1<<(A=E-N);A+N<C&&!((O-=D[A+N])<=0);)A++,O<<=1;if(R+=1<<A,1===e&&852<R||2===e&&592<R)return 1;u[m=L&g]=x<<24|A<<16|v-c|0}}return 0!==L&&(u[v+L]=E-N<<24|64<<16|0),h.bits=x,0}},{"../utils/common":41}],51:[function(e,t,r){"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"}},{}],52:[function(e,t,r){"use strict";var n=e("../utils/common"),i=0,a=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,l=29,u=256,c=u+1+l,d=30,h=19,p=2*c+1,f=15,m=16,g=7,v=256,b=16,y=17,w=18,_=[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],S=[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],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=new Array(2*(c+2));o(T);var C=new Array(2*d);o(C);var x=new Array(512);o(x);var A=new Array(256);o(A);var N=new Array(l);o(N);var O,R,L,k=new Array(d);function I(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function D(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function P(e){return e<256?x[e]:x[256+(e>>>7)]}function j(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function F(e,t,r){e.bi_valid>m-r?(e.bi_buf|=t<<e.bi_valid&65535,j(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=r-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function H(e,t,r){F(e,r[2*t],r[2*t+1])}function B(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function U(e,t,r){var n,i,a=new Array(f+1),o=0;for(n=1;n<=f;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=B(a[s]++,s))}}function V(e){var t;for(t=0;t<c;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*v]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Y(e){8<e.bi_valid?j(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function z(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function W(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&z(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!z(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function q(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)for(;n=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===n?H(e,i,t):(H(e,(a=A[i])+u+1,t),0!==(o=_[a])&&F(e,i-=N[a],o),H(e,a=P(--n),r),0!==(o=S[a])&&F(e,n-=k[a],o)),s<e.last_lit;);H(e,v,t)}function G(e,t){var r,n,i,a=t.dyn_tree,o=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=p,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;1<=r;r--)W(e,a,r);for(i=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],W(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,W(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,l=t.dyn_tree,u=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,v=0;for(a=0;a<=f;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<p;r++)g<(a=l[2*l[2*(n=e.heap[r])+1]+1]+1)&&(a=g,v++),l[2*n+1]=a,u<n||(e.bl_count[a]++,o=0,m<=n&&(o=h[n-m]),s=l[2*n],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(c[2*n+1]+o)));if(0!==v){do{for(a=g-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[g]--,v-=2}while(0<v);for(a=g;0!==a;a--)for(n=e.bl_count[a];0!==n;)u<(i=e.heap[--r])||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),n--)}}(e,t),U(a,u,e.bl_count)}function K(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*b]++):s<=10?e.bl_tree[2*y]++:e.bl_tree[2*w]++,a=i,u=(s=0)===o?(l=138,3):i===o?(l=6,3):(l=7,4))}function X(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<u)for(;H(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==a&&(H(e,i,e.bl_tree),s--),H(e,b,e.bl_tree),F(e,s-3,2)):s<=10?(H(e,y,e.bl_tree),F(e,s-3,3)):(H(e,w,e.bl_tree),F(e,s-11,7));a=i,u=(s=0)===o?(l=138,3):i===o?(l=6,3):(l=7,4)}}o(k);var Z=!1;function $(e,t,r,i){F(e,(s<<1)+(i?1:0),3),function(e,t,r,i){Y(e),i&&(j(e,r),j(e,~r)),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r._tr_init=function(e){Z||(function(){var e,t,r,n,i,a=new Array(f+1);for(n=r=0;n<l-1;n++)for(N[n]=r,e=0;e<1<<_[n];e++)A[r++]=n;for(A[r-1]=n,n=i=0;n<16;n++)for(k[n]=i,e=0;e<1<<S[n];e++)x[i++]=n;for(i>>=7;n<d;n++)for(k[n]=i<<7,e=0;e<1<<S[n]-7;e++)x[256+i++]=n;for(t=0;t<=f;t++)a[t]=0;for(e=0;e<=143;)T[2*e+1]=8,e++,a[8]++;for(;e<=255;)T[2*e+1]=9,e++,a[9]++;for(;e<=279;)T[2*e+1]=7,e++,a[7]++;for(;e<=287;)T[2*e+1]=8,e++,a[8]++;for(U(T,c+1,a),e=0;e<d;e++)C[2*e+1]=5,C[2*e]=B(e,5);O=new I(T,_,u+1,c,f),R=new I(C,S,0,d,f),L=new I(new Array(0),E,0,h,g)}(),Z=!0),e.l_desc=new D(e.dyn_ltree,O),e.d_desc=new D(e.dyn_dtree,R),e.bl_desc=new D(e.bl_tree,L),e.bi_buf=0,e.bi_valid=0,V(e)},r._tr_stored_block=$,r._tr_flush_block=function(e,t,r,n){var o,s,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<u;t++)if(0!==e.dyn_ltree[2*t])return a;return i}(e)),G(e,e.l_desc),G(e,e.d_desc),l=function(e){var t;for(K(e,e.dyn_ltree,e.l_desc.max_code),K(e,e.dyn_dtree,e.d_desc.max_code),G(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*M[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=r+5,r+4<=o&&-1!==t?$(e,t,r,n):4===e.strategy||s===o?(F(e,2+(n?1:0),3),q(e,T,C)):(F(e,4+(n?1:0),3),function(e,t,r,n){var i;for(F(e,t-257,5),F(e,r-1,5),F(e,n-4,4),i=0;i<n;i++)F(e,e.bl_tree[2*M[i]+1],3);X(e,e.dyn_ltree,t-1),X(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),q(e,e.dyn_ltree,e.dyn_dtree)),V(e),n&&Y(e)},r._tr_tally=function(e,t,r){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&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(A[r]+u+1)]++,e.dyn_dtree[2*P(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){F(e,2,3),H(e,v,T),function(e){16===e.bi_valid?(j(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){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}},{}],54:[function(e,t,i){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var r,i,a,o,s=1,l={},u=!1,c=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,r="[object process]"==={}.toString.call(e.process)?function(e){n.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(o="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",f,!1):e.attachEvent("onmessage",f),function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(i=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(p,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return l[s]=i,r(s),s++},d.clearImmediate=h}function h(e){delete l[e]}function p(e){if(u)setTimeout(p,0,e);else{var r=l[e];if(r){u=!0;try{!function(e){var r=e.callback,n=e.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(t,n)}}(r)}finally{h(e),u=!1}}}}function f(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&p(+t.data.slice(o.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))}).call(this,r("b639").Buffer,r("c8ba"),r("4362"))},c4fa:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i}));const n="gridDefault",i="editorManager.handlingEditor"},c5158:function(e,t,r){"use strict";(function(e,t,n){r("c4e3"),r("4850");var i=r("3f41"),a=r.n(i),o=(r("c2bf"),r("1c46"),r("3e8f")),s=r.n(o),l=r("df7c"),u=r.n(l),c=r("3022"),d=r.n(c),h=r("faa1"),p=r.n(h),f=r("d485"),m=r.n(f),g=r("9490"),v=r.n(g),b=r("0b16"),y=r.n(b),w=r("1985"),_=r.n(w),S=r("24f8"),E=r.n(S),M=r("470b"),T=r.n(M),C=(r("0e7a"),function(e){return e&&"VirtualNode"===e.type&&"2"===e.version}),x=function(e){return e&&"Widget"===e.type},A=function(e){return e&&"Thunk"===e.type},N=function(e){return e&&("function"==typeof e.hook&&!e.hasOwnProperty("hook")||"function"==typeof e.unhook&&!e.hasOwnProperty("unhook"))},O=k,R={},L=[];function k(e,t,r,n,i){this.tagName=e,this.properties=t||R,this.children=r||L,this.key=null!=n?String(n):void 0,this.namespace="string"==typeof i?i:null;var a,o=r&&r.length||0,s=0,l=!1,u=!1,c=!1;for(var d in t)if(t.hasOwnProperty(d)){var h=t[d];N(h)&&h.unhook&&(a||(a={}),a[d]=h)}for(var p=0;p<o;p++){var f=r[p];C(f)?(s+=f.count||0,!l&&f.hasWidgets&&(l=!0),!u&&f.hasThunks&&(u=!0),c||!f.hooks&&!f.descendantHooks||(c=!0)):!l&&x(f)?"function"==typeof f.destroy&&(l=!0):!u&&A(f)&&(u=!0)}this.count=o+s,this.hasWidgets=l,this.hasThunks=u,this.hooks=a,this.descendantHooks=c}k.prototype.version="2",k.prototype.type="VirtualNode";var I=D;function D(e){this.text=String(e)}D.prototype.version="2",D.prototype.type="VirtualText";var P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};function j(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function F(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}function H(e){return e&&e.default||e}var B=F((function(e,t){(function(){var r="Expected a function",n="__lodash_placeholder__",i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],a="[object Arguments]",o="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object GeneratorFunction]",h="[object Map]",p="[object Number]",f="[object Object]",m="[object RegExp]",g="[object Set]",v="[object String]",b="[object Symbol]",y="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",S="[object Float32Array]",E="[object Float64Array]",M="[object Int8Array]",T="[object Int16Array]",C="[object Int32Array]",x="[object Uint8Array]",A="[object Uint8ClampedArray]",N="[object Uint16Array]",O="[object Uint32Array]",R=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,k=/(__e\(.*?\)|\b__t\)) \+\n'';/g,I=/&(?:amp|lt|gt|quot|#39);/g,D=/[&<>"']/g,j=RegExp(I.source),F=RegExp(D.source),H=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,q=RegExp(W.source),G=/^\s+/,K=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,$=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Q=/[()=,{}\[\]\/\s]/,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ne=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,oe=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,ce=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",he="\\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",pe="[\\ud800-\\udfff]",fe="["+he+"]",me="["+de+"]",ge="\\d+",ve="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",ye="[^\\ud800-\\udfff"+he+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",Se="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",Me="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Te="(?:"+be+"|"+ye+")",Ce="(?:"+Me+"|"+ye+")",xe="(?:"+me+"|"+we+")?",Ae="[\\ufe0e\\ufe0f]?"+xe+"(?:\\u200d(?:"+[_e,Se,Ee].join("|")+")[\\ufe0e\\ufe0f]?"+xe+")*",Ne="(?:"+[ve,Se,Ee].join("|")+")"+Ae,Oe="(?:"+[_e+me+"?",me,Se,Ee,pe].join("|")+")",Re=RegExp("['’]","g"),Le=RegExp(me,"g"),ke=RegExp(we+"(?="+we+")|"+Oe+Ae,"g"),Ie=RegExp([Me+"?"+be+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[fe,Me,"$"].join("|")+")",Ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[fe,Me+Te,"$"].join("|")+")",Me+"?"+Te+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Me+"+(?:['’](?: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_])",ge,Ne].join("|"),"g"),De=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),Pe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,je=["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"],Fe=-1,He={};He[S]=He[E]=He[M]=He[T]=He[C]=He[x]=He["[object Uint8ClampedArray]"]=He[N]=He[O]=!0,He[a]=He[o]=He[w]=He[s]=He[_]=He[l]=He[u]=He[c]=He[h]=He[p]=He[f]=He[m]=He[g]=He[v]=He[y]=!1;var Be={};Be[a]=Be[o]=Be[w]=Be[_]=Be[s]=Be[l]=Be[S]=Be[E]=Be[M]=Be[T]=Be[C]=Be[h]=Be[p]=Be[f]=Be[m]=Be[g]=Be[v]=Be[b]=Be[x]=Be["[object Uint8ClampedArray]"]=Be[N]=Be[O]=!0,Be[u]=Be[c]=Be[y]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,Ye=parseInt,ze="object"==typeof P&&P&&P.Object===Object&&P,We="object"==typeof self&&self&&self.Object===Object&&self,qe=ze||We||Function("return this")(),Ge=t&&!t.nodeType&&t,Ke=Ge&&e&&!e.nodeType&&e,Xe=Ke&&Ke.exports===Ge,Ze=Xe&&ze.process,$e=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Ze&&Ze.binding&&Ze.binding("util")}catch(t){}}(),Je=$e&&$e.isArrayBuffer,Qe=$e&&$e.isDate,et=$e&&$e.isMap,tt=$e&&$e.isRegExp,rt=$e&&$e.isSet,nt=$e&&$e.isTypedArray;function it(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function at(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(n,o,r(o),e)}return n}function ot(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function st(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function lt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function ut(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function ct(e,t){return!(null==e||!e.length)&&wt(e,t,0)>-1}function dt(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function ht(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function pt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function ft(e,t,r,n){var i=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function mt(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}function gt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var vt=Mt("length");function bt(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function yt(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function wt(e,t,r){return t==t?function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):yt(e,St,r)}function _t(e,t,r,n){for(var i=r-1,a=e.length;++i<a;)if(n(e[i],t))return i;return-1}function St(e){return e!=e}function Et(e,t){var r=null==e?0:e.length;return r?xt(e,t)/r:NaN}function Mt(e){return function(t){return null==t?void 0:t[e]}}function Tt(e){return function(t){return null==e?void 0:e[t]}}function Ct(e,t,r,n,i){return i(e,(function(e,i,a){r=n?(n=!1,e):t(r,e,i,a)})),r}function xt(e,t){for(var r,n=-1,i=e.length;++n<i;){var a=t(e[n]);void 0!==a&&(r=void 0===r?a:r+a)}return r}function At(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Nt(e){return e?e.slice(0,Gt(e)+1).replace(G,""):e}function Ot(e){return function(t){return e(t)}}function Rt(e,t){return ht(t,(function(t){return e[t]}))}function Lt(e,t){return e.has(t)}function kt(e,t){for(var r=-1,n=e.length;++r<n&&wt(t,e[r],0)>-1;);return r}function It(e,t){for(var r=e.length;r--&&wt(t,e[r],0)>-1;);return r}function Dt(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var Pt=Tt({"À":"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"}),jt=Tt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ft(e){return"\\"+Ue[e]}function Ht(e){return De.test(e)}function Bt(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function Ut(e,t){return function(r){return e(t(r))}}function Vt(e,t){for(var r=-1,i=e.length,a=0,o=[];++r<i;){var s=e[r];s!==t&&s!==n||(e[r]=n,o[a++]=r)}return o}function Yt(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function zt(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function Wt(e){return Ht(e)?function(e){for(var t=ke.lastIndex=0;ke.test(e);)++t;return t}(e):vt(e)}function qt(e){return Ht(e)?function(e){return e.match(ke)||[]}(e):function(e){return e.split("")}(e)}function Gt(e){for(var t=e.length;t--&&K.test(e.charAt(t)););return t}var Kt=Tt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Xt=function e(t){var P,K=(t=null==t?qe:Xt.defaults(qe.Object(),t,Xt.pick(qe,je))).Array,de=t.Date,he=t.Error,pe=t.Function,fe=t.Math,me=t.Object,ge=t.RegExp,ve=t.String,be=t.TypeError,ye=K.prototype,we=pe.prototype,_e=me.prototype,Se=t["__core-js_shared__"],Ee=we.toString,Me=_e.hasOwnProperty,Te=0,Ce=(P=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"",xe=_e.toString,Ae=Ee.call(me),Ne=qe._,Oe=ge("^"+Ee.call(Me).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ke=Xe?t.Buffer:void 0,De=t.Symbol,Ue=t.Uint8Array,ze=ke?ke.allocUnsafe:void 0,We=Ut(me.getPrototypeOf,me),Ge=me.create,Ke=_e.propertyIsEnumerable,Ze=ye.splice,$e=De?De.isConcatSpreadable:void 0,vt=De?De.iterator:void 0,Tt=De?De.toStringTag:void 0,Zt=function(){try{var e=ta(me,"defineProperty");return e({},"",{}),e}catch(t){}}(),$t=t.clearTimeout!==qe.clearTimeout&&t.clearTimeout,Jt=de&&de.now!==qe.Date.now&&de.now,Qt=t.setTimeout!==qe.setTimeout&&t.setTimeout,er=fe.ceil,tr=fe.floor,rr=me.getOwnPropertySymbols,nr=ke?ke.isBuffer:void 0,ir=t.isFinite,ar=ye.join,or=Ut(me.keys,me),sr=fe.max,lr=fe.min,ur=de.now,cr=t.parseInt,dr=fe.random,hr=ye.reverse,pr=ta(t,"DataView"),fr=ta(t,"Map"),mr=ta(t,"Promise"),gr=ta(t,"Set"),vr=ta(t,"WeakMap"),br=ta(me,"create"),yr=vr&&new vr,wr={},_r=Aa(pr),Sr=Aa(fr),Er=Aa(mr),Mr=Aa(gr),Tr=Aa(vr),Cr=De?De.prototype:void 0,xr=Cr?Cr.valueOf:void 0,Ar=Cr?Cr.toString:void 0;function Nr(e){if(qo(e)&&!Do(e)&&!(e instanceof kr)){if(e instanceof Lr)return e;if(Me.call(e,"__wrapped__"))return Na(e)}return new Lr(e)}var Or=function(){function e(){}return function(t){if(!Wo(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Rr(){}function Lr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function kr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Ir(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Dr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Pr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function jr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Pr;++t<r;)this.add(e[t])}function Fr(e){var t=this.__data__=new Dr(e);this.size=t.size}function Hr(e,t){var r=Do(e),n=!r&&Io(e),i=!r&&!n&&Ho(e),a=!r&&!n&&!i&&es(e),o=r||n||i||a,s=o?At(e.length,ve):[],l=s.length;for(var u in e)!t&&!Me.call(e,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||la(u,l))||s.push(u);return s}function Br(e){var t=e.length;return t?e[Fn(0,t-1)]:void 0}function Ur(e,t){return Ta(yi(e),Zr(t,0,e.length))}function Vr(e){return Ta(yi(e))}function Yr(e,t,r){(void 0!==r&&!Ro(e[t],r)||void 0===r&&!(t in e))&&Kr(e,t,r)}function zr(e,t,r){var n=e[t];Me.call(e,t)&&Ro(n,r)&&(void 0!==r||t in e)||Kr(e,t,r)}function Wr(e,t){for(var r=e.length;r--;)if(Ro(e[r][0],t))return r;return-1}function qr(e,t,r,n){return tn(e,(function(e,i,a){t(n,e,r(e),a)})),n}function Gr(e,t){return e&&wi(t,Ss(t),e)}function Kr(e,t,r){"__proto__"==t&&Zt?Zt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Xr(e,t){for(var r=-1,n=t.length,i=K(n),a=null==e;++r<n;)i[r]=a?void 0:vs(e,t[r]);return i}function Zr(e,t,r){return e==e&&(void 0!==r&&(e=e<=r?e:r),void 0!==t&&(e=e>=t?e:t)),e}function $r(e,t,r,n,i,o){var u,y=1&t,R=2&t,L=4&t;if(r&&(u=i?r(e,n,i,o):r(e)),void 0!==u)return u;if(!Wo(e))return e;var k=Do(e);if(k){if(u=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&Me.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!y)return yi(e,u)}else{var I=ia(e),D=I==c||I==d;if(Ho(e))return pi(e,y);if(I==f||I==a||D&&!i){if(u=R||D?{}:oa(e),!y)return R?function(e,t){return wi(e,na(e),t)}(e,function(e,t){return e&&wi(t,Es(t),e)}(u,e)):function(e,t){return wi(e,ra(e),t)}(e,Gr(u,e))}else{if(!Be[I])return i?e:{};u=function(e,t,r){var n,i=e.constructor;switch(t){case w:return fi(e);case s:case l:return new i(+e);case _:return function(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case S:case E:case M:case T:case C:case x:case A:case N:case O:return mi(e,r);case h:return new i;case p:case v:return new i(e);case m:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return new i;case b:return n=e,xr?me(xr.call(n)):{}}}(e,I,y)}}o||(o=new Fr);var P=o.get(e);if(P)return P;o.set(e,u),$o(e)?e.forEach((function(n){u.add($r(n,t,r,n,e,o))})):Go(e)&&e.forEach((function(n,i){u.set(i,$r(n,t,r,i,e,o))}));var j=k?void 0:(L?R?Ki:Gi:R?Es:Ss)(e);return ot(j||e,(function(n,i){j&&(n=e[i=n]),zr(u,i,$r(n,t,r,i,e,o))})),u}function Jr(e,t,r){var n=r.length;if(null==e)return!n;for(e=me(e);n--;){var i=r[n],a=t[i],o=e[i];if(void 0===o&&!(i in e)||!a(o))return!1}return!0}function Qr(e,t,n){if("function"!=typeof e)throw new be(r);return _a((function(){e.apply(void 0,n)}),t)}function en(e,t,r,n){var i=-1,a=ct,o=!0,s=e.length,l=[],u=t.length;if(!s)return l;r&&(t=ht(t,Ot(r))),n?(a=dt,o=!1):t.length>=200&&(a=Lt,o=!1,t=new jr(t));e:for(;++i<s;){var c=e[i],d=null==r?c:r(c);if(c=n||0!==c?c:0,o&&d==d){for(var h=u;h--;)if(t[h]===d)continue e;l.push(c)}else a(t,d,n)||l.push(c)}return l}Nr.templateSettings={escape:H,evaluate:B,interpolate:U,variable:"",imports:{_:Nr}},Nr.prototype=Rr.prototype,Nr.prototype.constructor=Nr,Lr.prototype=Or(Rr.prototype),Lr.prototype.constructor=Lr,kr.prototype=Or(Rr.prototype),kr.prototype.constructor=kr,Ir.prototype.clear=function(){this.__data__=br?br(null):{},this.size=0},Ir.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ir.prototype.get=function(e){var t=this.__data__;if(br){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Me.call(t,e)?t[e]:void 0},Ir.prototype.has=function(e){var t=this.__data__;return br?void 0!==t[e]:Me.call(t,e)},Ir.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=br&&void 0===t?"__lodash_hash_undefined__":t,this},Dr.prototype.clear=function(){this.__data__=[],this.size=0},Dr.prototype.delete=function(e){var t=this.__data__,r=Wr(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ze.call(t,r,1),--this.size,!0)},Dr.prototype.get=function(e){var t=this.__data__,r=Wr(t,e);return r<0?void 0:t[r][1]},Dr.prototype.has=function(e){return Wr(this.__data__,e)>-1},Dr.prototype.set=function(e,t){var r=this.__data__,n=Wr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Pr.prototype.clear=function(){this.size=0,this.__data__={hash:new Ir,map:new(fr||Dr),string:new Ir}},Pr.prototype.delete=function(e){var t=Qi(this,e).delete(e);return this.size-=t?1:0,t},Pr.prototype.get=function(e){return Qi(this,e).get(e)},Pr.prototype.has=function(e){return Qi(this,e).has(e)},Pr.prototype.set=function(e,t){var r=Qi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},jr.prototype.add=jr.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},jr.prototype.has=function(e){return this.__data__.has(e)},Fr.prototype.clear=function(){this.__data__=new Dr,this.size=0},Fr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Fr.prototype.get=function(e){return this.__data__.get(e)},Fr.prototype.has=function(e){return this.__data__.has(e)},Fr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Dr){var n=r.__data__;if(!fr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Pr(n)}return r.set(e,t),this.size=r.size,this};var tn=Ei(cn),rn=Ei(dn,!0);function nn(e,t){var r=!0;return tn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function an(e,t,r){for(var n=-1,i=e.length;++n<i;){var a=e[n],o=t(a);if(null!=o&&(void 0===s?o==o&&!Qo(o):r(o,s)))var s=o,l=a}return l}function on(e,t){var r=[];return tn(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function sn(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=sa),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?sn(s,t-1,r,n,i):pt(i,s):n||(i[i.length]=s)}return i}var ln=Mi(),un=Mi(!0);function cn(e,t){return e&&ln(e,t,Ss)}function dn(e,t){return e&&un(e,t,Ss)}function hn(e,t){return ut(t,(function(t){return Vo(e[t])}))}function pn(e,t){for(var r=0,n=(t=ui(t,e)).length;null!=e&&r<n;)e=e[xa(t[r++])];return r&&r==n?e:void 0}function fn(e,t,r){var n=t(e);return Do(e)?n:pt(n,r(e))}function mn(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Tt&&Tt in me(e)?function(e){var t=Me.call(e,Tt),r=e[Tt];try{e[Tt]=void 0;var n=!0}catch(a){}var i=xe.call(e);return n&&(t?e[Tt]=r:delete e[Tt]),i}(e):function(e){return xe.call(e)}(e)}function gn(e,t){return e>t}function vn(e,t){return null!=e&&Me.call(e,t)}function bn(e,t){return null!=e&&t in me(e)}function yn(e,t,r){for(var n=r?dt:ct,i=e[0].length,a=e.length,o=a,s=K(a),l=1/0,u=[];o--;){var c=e[o];o&&t&&(c=ht(c,Ot(t))),l=lr(c.length,l),s[o]=!r&&(t||i>=120&&c.length>=120)?new jr(o&&c):void 0}c=e[0];var d=-1,h=s[0];e:for(;++d<i&&u.length<l;){var p=c[d],f=t?t(p):p;if(p=r||0!==p?p:0,!(h?Lt(h,f):n(u,f,r))){for(o=a;--o;){var m=s[o];if(!(m?Lt(m,f):n(e[o],f,r)))continue e}h&&h.push(f),u.push(p)}}return u}function wn(e,t,r){var n=null==(e=va(e,t=ui(t,e)))?e:e[xa(Ba(t))];return null==n?void 0:it(n,e,r)}function _n(e){return qo(e)&&mn(e)==a}function Sn(e,t,r,n,i){return e===t||(null==e||null==t||!qo(e)&&!qo(t)?e!=e&&t!=t:function(e,t,r,n,i,c){var d=Do(e),y=Do(t),S=d?o:ia(e),E=y?o:ia(t),M=(S=S==a?f:S)==f,T=(E=E==a?f:E)==f,C=S==E;if(C&&Ho(e)){if(!Ho(t))return!1;d=!0,M=!1}if(C&&!M)return c||(c=new Fr),d||es(e)?Wi(e,t,r,n,i,c):function(e,t,r,n,i,a,o){switch(r){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!a(new Ue(e),new Ue(t)));case s:case l:case p:return Ro(+e,+t);case u:return e.name==t.name&&e.message==t.message;case m:case v:return e==t+"";case h:var c=Bt;case g:var d=1&n;if(c||(c=Yt),e.size!=t.size&&!d)return!1;var f=o.get(e);if(f)return f==t;n|=2,o.set(e,t);var y=Wi(c(e),c(t),n,i,a,o);return o.delete(e),y;case b:if(xr)return xr.call(e)==xr.call(t)}return!1}(e,t,S,r,n,i,c);if(!(1&r)){var x=M&&Me.call(e,"__wrapped__"),A=T&&Me.call(t,"__wrapped__");if(x||A){var N=x?e.value():e,O=A?t.value():t;return c||(c=new Fr),i(N,O,r,n,c)}}return!!C&&(c||(c=new Fr),function(e,t,r,n,i,a){var o=1&r,s=Gi(e),l=s.length,u=Gi(t).length;if(l!=u&&!o)return!1;for(var c=l;c--;){var d=s[c];if(!(o?d in t:Me.call(t,d)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var f=!0;a.set(e,t),a.set(t,e);for(var m=o;++c<l;){var g=e[d=s[c]],v=t[d];if(n)var b=o?n(v,g,d,t,e,a):n(g,v,d,e,t,a);if(!(void 0===b?g===v||i(g,v,r,n,a):b)){f=!1;break}m||(m="constructor"==d)}if(f&&!m){var y=e.constructor,w=t.constructor;y==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,r,n,i,c))}(e,t,r,n,Sn,i))}function En(e,t,r,n){var i=r.length,a=i,o=!n;if(null==e)return!a;for(e=me(e);i--;){var s=r[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var l=(s=r[i])[0],u=e[l],c=s[1];if(o&&s[2]){if(void 0===u&&!(l in e))return!1}else{var d=new Fr;if(n)var h=n(u,c,l,e,t,d);if(!(void 0===h?Sn(c,u,3,n,d):h))return!1}}return!0}function Mn(e){return!(!Wo(e)||(t=e,Ce&&Ce in t))&&(Vo(e)?Oe:ae).test(Aa(e));var t}function Tn(e){return"function"==typeof e?e:null==e?Ks:"object"==typeof e?Do(e)?Rn(e[0],e[1]):On(e):nl(e)}function Cn(e){if(!pa(e))return or(e);var t=[];for(var r in me(e))Me.call(e,r)&&"constructor"!=r&&t.push(r);return t}function xn(e){if(!Wo(e))return function(e){var t=[];if(null!=e)for(var r in me(e))t.push(r);return t}(e);var t=pa(e),r=[];for(var n in e)("constructor"!=n||!t&&Me.call(e,n))&&r.push(n);return r}function An(e,t){return e<t}function Nn(e,t){var r=-1,n=jo(e)?K(e.length):[];return tn(e,(function(e,i,a){n[++r]=t(e,i,a)})),n}function On(e){var t=ea(e);return 1==t.length&&t[0][2]?ma(t[0][0],t[0][1]):function(r){return r===e||En(r,e,t)}}function Rn(e,t){return ca(e)&&fa(t)?ma(xa(e),t):function(r){var n=vs(r,e);return void 0===n&&n===t?bs(r,e):Sn(t,n,3)}}function Ln(e,t,r,n,i){e!==t&&ln(t,(function(a,o){if(i||(i=new Fr),Wo(a))!function(e,t,r,n,i,a,o){var s=ya(e,r),l=ya(t,r),u=o.get(l);if(u)Yr(e,r,u);else{var c=a?a(s,l,r+"",e,t,o):void 0,d=void 0===c;if(d){var h=Do(l),p=!h&&Ho(l),f=!h&&!p&&es(l);c=l,h||p||f?Do(s)?c=s:Fo(s)?c=yi(s):p?(d=!1,c=pi(l,!0)):f?(d=!1,c=mi(l,!0)):c=[]:Xo(l)||Io(l)?(c=s,Io(s)?c=ls(s):Wo(s)&&!Vo(s)||(c=oa(l))):d=!1}d&&(o.set(l,c),i(c,l,n,a,o),o.delete(l)),Yr(e,r,c)}}(e,t,o,r,Ln,n,i);else{var s=n?n(ya(e,o),a,o+"",e,t,i):void 0;void 0===s&&(s=a),Yr(e,o,s)}}),Es)}function kn(e,t){var r=e.length;if(r)return la(t+=t<0?r:0,r)?e[t]:void 0}function In(e,t,r){t=t.length?ht(t,(function(e){return Do(e)?function(t){return pn(t,1===e.length?e[0]:e)}:e})):[Ks];var n=-1;t=ht(t,Ot(Ji()));var i=Nn(e,(function(e,r,i){var a=ht(t,(function(t){return t(e)}));return{criteria:a,index:++n,value:e}}));return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(i,(function(e,t){return function(e,t,r){for(var n=-1,i=e.criteria,a=t.criteria,o=i.length,s=r.length;++n<o;){var l=gi(i[n],a[n]);if(l)return n>=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Dn(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=pn(e,o);r(s,o)&&Yn(a,ui(o,e),s)}return a}function Pn(e,t,r,n){var i=n?_t:wt,a=-1,o=t.length,s=e;for(e===t&&(t=yi(t)),r&&(s=ht(e,Ot(r)));++a<o;)for(var l=0,u=t[a],c=r?r(u):u;(l=i(s,c,l,n))>-1;)s!==e&&Ze.call(s,l,1),Ze.call(e,l,1);return e}function jn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;la(i)?Ze.call(e,i,1):ti(e,i)}}return e}function Fn(e,t){return e+tr(dr()*(t-e+1))}function Hn(e,t){var r="";if(!e||t<1||t>9007199254740991)return r;do{t%2&&(r+=e),(t=tr(t/2))&&(e+=e)}while(t);return r}function Bn(e,t){return Sa(ga(e,t,Ks),e+"")}function Un(e){return Br(Rs(e))}function Vn(e,t){var r=Rs(e);return Ta(r,Zr(t,0,r.length))}function Yn(e,t,r,n){if(!Wo(e))return e;for(var i=-1,a=(t=ui(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var l=xa(t[i]),u=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=o){var c=s[l];void 0===(u=n?n(c,l,s):void 0)&&(u=Wo(c)?c:la(t[i+1])?[]:{})}zr(s,l,u),s=s[l]}return e}var zn=yr?function(e,t){return yr.set(e,t),e}:Ks,Wn=Zt?function(e,t){return Zt(e,"toString",{configurable:!0,enumerable:!1,value:Ws(t),writable:!0})}:Ks;function qn(e){return Ta(Rs(e))}function Gn(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=K(i);++n<i;)a[n]=e[n+t];return a}function Kn(e,t){var r;return tn(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}function Xn(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;n<i;){var a=n+i>>>1,o=e[a];null!==o&&!Qo(o)&&(r?o<=t:o<t)?n=a+1:i=a}return i}return Zn(e,t,Ks,r)}function Zn(e,t,r,n){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var o=(t=r(t))!=t,s=null===t,l=Qo(t),u=void 0===t;i<a;){var c=tr((i+a)/2),d=r(e[c]),h=void 0!==d,p=null===d,f=d==d,m=Qo(d);if(o)var g=n||f;else g=u?f&&(n||h):s?f&&h&&(n||!p):l?f&&h&&!p&&(n||!m):!p&&!m&&(n?d<=t:d<t);g?i=c+1:a=c}return lr(a,4294967294)}function $n(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r],s=t?t(o):o;if(!r||!Ro(s,l)){var l=s;a[i++]=0===o?0:o}}return a}function Jn(e){return"number"==typeof e?e:Qo(e)?NaN:+e}function Qn(e){if("string"==typeof e)return e;if(Do(e))return ht(e,Qn)+"";if(Qo(e))return Ar?Ar.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ei(e,t,r){var n=-1,i=ct,a=e.length,o=!0,s=[],l=s;if(r)o=!1,i=dt;else if(a>=200){var u=t?null:Hi(e);if(u)return Yt(u);o=!1,i=Lt,l=new jr}else l=t?[]:s;e:for(;++n<a;){var c=e[n],d=t?t(c):c;if(c=r||0!==c?c:0,o&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;t&&l.push(d),s.push(c)}else i(l,d,r)||(l!==s&&l.push(d),s.push(c))}return s}function ti(e,t){return null==(e=va(e,t=ui(t,e)))||delete e[xa(Ba(t))]}function ri(e,t,r,n){return Yn(e,t,r(pn(e,t)),n)}function ni(e,t,r,n){for(var i=e.length,a=n?i:-1;(n?a--:++a<i)&&t(e[a],a,e););return r?Gn(e,n?0:a,n?a+1:i):Gn(e,n?a+1:0,n?i:a)}function ii(e,t){var r=e;return r instanceof kr&&(r=r.value()),ft(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),r)}function ai(e,t,r){var n=e.length;if(n<2)return n?ei(e[0]):[];for(var i=-1,a=K(n);++i<n;)for(var o=e[i],s=-1;++s<n;)s!=i&&(a[i]=en(a[i]||o,e[s],t,r));return ei(sn(a,1),t,r)}function oi(e,t,r){for(var n=-1,i=e.length,a=t.length,o={};++n<i;){var s=n<a?t[n]:void 0;r(o,e[n],s)}return o}function si(e){return Fo(e)?e:[]}function li(e){return"function"==typeof e?e:Ks}function ui(e,t){return Do(e)?e:ca(e,t)?[e]:Ca(us(e))}var ci=Bn;function di(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:Gn(e,t,r)}var hi=$t||function(e){return qe.clearTimeout(e)};function pi(e,t){if(t)return e.slice();var r=e.length,n=ze?ze(r):new e.constructor(r);return e.copy(n),n}function fi(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function mi(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function gi(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,a=Qo(e),o=void 0!==t,s=null===t,l=t==t,u=Qo(t);if(!s&&!u&&!a&&e>t||a&&o&&l&&!s&&!u||n&&o&&l||!r&&l||!i)return 1;if(!n&&!a&&!u&&e<t||u&&r&&i&&!n&&!a||s&&r&&i||!o&&i||!l)return-1}return 0}function vi(e,t,r,n){for(var i=-1,a=e.length,o=r.length,s=-1,l=t.length,u=sr(a-o,0),c=K(l+u),d=!n;++s<l;)c[s]=t[s];for(;++i<o;)(d||i<a)&&(c[r[i]]=e[i]);for(;u--;)c[s++]=e[i++];return c}function bi(e,t,r,n){for(var i=-1,a=e.length,o=-1,s=r.length,l=-1,u=t.length,c=sr(a-s,0),d=K(c+u),h=!n;++i<c;)d[i]=e[i];for(var p=i;++l<u;)d[p+l]=t[l];for(;++o<s;)(h||i<a)&&(d[p+r[o]]=e[i++]);return d}function yi(e,t){var r=-1,n=e.length;for(t||(t=K(n));++r<n;)t[r]=e[r];return t}function wi(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),i?Kr(r,s,l):zr(r,s,l)}return r}function _i(e,t){return function(r,n){var i=Do(r)?at:qr,a=t?t():{};return i(r,e,Ji(n,2),a)}}function Si(e){return Bn((function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,o&&ua(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=me(t);++n<i;){var s=r[n];s&&e(t,s,n,a)}return t}))}function Ei(e,t){return function(r,n){if(null==r)return r;if(!jo(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=me(r);(t?a--:++a<i)&&!1!==n(o[a],a,o););return r}}function Mi(e){return function(t,r,n){for(var i=-1,a=me(t),o=n(t),s=o.length;s--;){var l=o[e?s:++i];if(!1===r(a[l],l,a))break}return t}}function Ti(e){return function(t){var r=Ht(t=us(t))?qt(t):void 0,n=r?r[0]:t.charAt(0),i=r?di(r,1).join(""):t.slice(1);return n[e]()+i}}function Ci(e){return function(t){return ft(Vs(Is(t).replace(Re,"")),e,"")}}function xi(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 r=Or(e.prototype),n=e.apply(r,t);return Wo(n)?n:r}}function Ai(e){return function(t,r,n){var i=me(t);if(!jo(t)){var a=Ji(r,3);t=Ss(t),r=function(e){return a(i[e],e,i)}}var o=e(t,r,n);return o>-1?i[a?t[o]:o]:void 0}}function Ni(e){return qi((function(t){var n=t.length,i=n,a=Lr.prototype.thru;for(e&&t.reverse();i--;){var o=t[i];if("function"!=typeof o)throw new be(r);if(a&&!s&&"wrapper"==Zi(o))var s=new Lr([],!0)}for(i=s?i:n;++i<n;){var l=Zi(o=t[i]),u="wrapper"==l?Xi(o):void 0;s=u&&da(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?s[Zi(u[0])].apply(s,u[3]):1==o.length&&da(o)?s[l]():s.thru(o)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Do(r))return s.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i<n;)a=t[i].call(this,a);return a}}))}function Oi(e,t,r,n,i,a,o,s,l,u){var c=128&t,d=1&t,h=2&t,p=24&t,f=512&t,m=h?void 0:xi(e);return function g(){for(var v=arguments.length,b=K(v),y=v;y--;)b[y]=arguments[y];if(p)var w=$i(g),_=Dt(b,w);if(n&&(b=vi(b,n,i,p)),a&&(b=bi(b,a,o,p)),v-=_,p&&v<u){var S=Vt(b,w);return ji(e,t,Oi,g.placeholder,r,b,S,s,l,u-v)}var E=d?r:this,M=h?E[e]:e;return v=b.length,s?b=ba(b,s):f&&v>1&&b.reverse(),c&&l<v&&(b.length=l),this&&this!==qe&&this instanceof g&&(M=m||xi(M)),M.apply(E,b)}}function Ri(e,t){return function(r,n){return function(e,t,r,n){return cn(e,(function(e,i,a){t(n,r(e),i,a)})),n}(r,e,t(n),{})}}function Li(e,t){return function(r,n){var i;if(void 0===r&&void 0===n)return t;if(void 0!==r&&(i=r),void 0!==n){if(void 0===i)return n;"string"==typeof r||"string"==typeof n?(r=Qn(r),n=Qn(n)):(r=Jn(r),n=Jn(n)),i=e(r,n)}return i}}function ki(e){return qi((function(t){return t=ht(t,Ot(Ji())),Bn((function(r){var n=this;return e(t,(function(e){return it(e,n,r)}))}))}))}function Ii(e,t){var r=(t=void 0===t?" ":Qn(t)).length;if(r<2)return r?Hn(t,e):t;var n=Hn(t,er(e/Wt(t)));return Ht(t)?di(qt(n),0,e).join(""):n.slice(0,e)}function Di(e){return function(t,r,n){return n&&"number"!=typeof n&&ua(t,r,n)&&(r=n=void 0),t=is(t),void 0===r?(r=t,t=0):r=is(r),function(e,t,r,n){for(var i=-1,a=sr(er((t-e)/(r||1)),0),o=K(a);a--;)o[n?a:++i]=e,e+=r;return o}(t,r,n=void 0===n?t<r?1:-1:is(n),e)}}function Pi(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=ss(t),r=ss(r)),e(t,r)}}function ji(e,t,r,n,i,a,o,s,l,u){var c=8&t;t|=c?32:64,4&(t&=~(c?64:32))||(t&=-4);var d=[e,t,i,c?a:void 0,c?o:void 0,c?void 0:a,c?void 0:o,s,l,u],h=r.apply(void 0,d);return da(e)&&wa(h,d),h.placeholder=n,Ea(h,e,t)}function Fi(e){var t=fe[e];return function(e,r){if(e=ss(e),(r=null==r?0:lr(as(r),292))&&ir(e)){var n=(us(e)+"e").split("e");return+((n=(us(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Hi=gr&&1/Yt(new gr([,-0]))[1]==1/0?function(e){return new gr(e)}:Qs;function Bi(e){return function(t){var r=ia(t);return r==h?Bt(t):r==g?zt(t):function(e,t){return ht(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ui(e,t,i,a,o,s,l,u){var c=2&t;if(!c&&"function"!=typeof e)throw new be(r);var d=a?a.length:0;if(d||(t&=-97,a=o=void 0),l=void 0===l?l:sr(as(l),0),u=void 0===u?u:as(u),d-=o?o.length:0,64&t){var h=a,p=o;a=o=void 0}var f=c?void 0:Xi(e),m=[e,t,i,a,o,h,p,s,l,u];if(f&&function(e,t){var r=e[1],i=t[1],a=r|i,o=a<131,s=128==i&&8==r||128==i&&256==r&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==r;if(!o&&!s)return e;1&i&&(e[2]=t[2],a|=1&r?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?vi(u,l,t[4]):l,e[4]=u?Vt(e[3],n):t[4]}(l=t[5])&&(u=e[5],e[5]=u?bi(u,l,t[6]):l,e[6]=u?Vt(e[5],n):t[6]),(l=t[7])&&(e[7]=l),128&i&&(e[8]=null==e[8]?t[8]:lr(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=a}(m,f),e=m[0],t=m[1],i=m[2],a=m[3],o=m[4],!(u=m[9]=void 0===m[9]?c?0:e.length:sr(m[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,r){var n=xi(e);return function i(){for(var a=arguments.length,o=K(a),s=a,l=$i(i);s--;)o[s]=arguments[s];var u=a<3&&o[0]!==l&&o[a-1]!==l?[]:Vt(o,l);return(a-=u.length)<r?ji(e,t,Oi,i.placeholder,void 0,o,u,void 0,void 0,r-a):it(this&&this!==qe&&this instanceof i?n:e,this,o)}}(e,t,u):32!=t&&33!=t||o.length?Oi.apply(void 0,m):function(e,t,r,n){var i=1&t,a=xi(e);return function t(){for(var o=-1,s=arguments.length,l=-1,u=n.length,c=K(u+s),d=this&&this!==qe&&this instanceof t?a:e;++l<u;)c[l]=n[l];for(;s--;)c[l++]=arguments[++o];return it(d,i?r:this,c)}}(e,t,i,a);else var g=function(e,t,r){var n=1&t,i=xi(e);return function t(){return(this&&this!==qe&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,i);return Ea((f?zn:wa)(g,m),e,t)}function Vi(e,t,r,n){return void 0===e||Ro(e,_e[r])&&!Me.call(n,r)?t:e}function Yi(e,t,r,n,i,a){return Wo(e)&&Wo(t)&&(a.set(t,e),Ln(e,t,void 0,Yi,a),a.delete(t)),e}function zi(e){return Xo(e)?void 0:e}function Wi(e,t,r,n,i,a){var o=1&r,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,h=!0,p=2&r?new jr:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var f=e[d],m=t[d];if(n)var g=o?n(m,f,d,t,e,a):n(f,m,d,e,t,a);if(void 0!==g){if(g)continue;h=!1;break}if(p){if(!gt(t,(function(e,t){if(!Lt(p,t)&&(f===e||i(f,e,r,n,a)))return p.push(t)}))){h=!1;break}}else if(f!==m&&!i(f,m,r,n,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function qi(e){return Sa(ga(e,void 0,Da),e+"")}function Gi(e){return fn(e,Ss,ra)}function Ki(e){return fn(e,Es,na)}var Xi=yr?function(e){return yr.get(e)}:Qs;function Zi(e){for(var t=e.name+"",r=wr[t],n=Me.call(wr,t)?r.length:0;n--;){var i=r[n],a=i.func;if(null==a||a==e)return i.name}return t}function $i(e){return(Me.call(Nr,"placeholder")?Nr:e).placeholder}function Ji(){var e=Nr.iteratee||Xs;return e=e===Xs?Tn:e,arguments.length?e(arguments[0],arguments[1]):e}function Qi(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function ea(e){for(var t=Ss(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,fa(i)]}return t}function ta(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Mn(r)?r:void 0}var ra=rr?function(e){return null==e?[]:(e=me(e),ut(rr(e),(function(t){return Ke.call(e,t)})))}:ol,na=rr?function(e){for(var t=[];e;)pt(t,ra(e)),e=We(e);return t}:ol,ia=mn;function aa(e,t,r){for(var n=-1,i=(t=ui(t,e)).length,a=!1;++n<i;){var o=xa(t[n]);if(!(a=null!=e&&r(e,o)))break;e=e[o]}return a||++n!=i?a:!!(i=null==e?0:e.length)&&zo(i)&&la(o,i)&&(Do(e)||Io(e))}function oa(e){return"function"!=typeof e.constructor||pa(e)?{}:Or(We(e))}function sa(e){return Do(e)||Io(e)||!!($e&&e&&e[$e])}function la(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&se.test(e))&&e>-1&&e%1==0&&e<t}function ua(e,t,r){if(!Wo(r))return!1;var n=typeof t;return!!("number"==n?jo(r)&&la(t,r.length):"string"==n&&t in r)&&Ro(r[t],e)}function ca(e,t){if(Do(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Qo(e))||Y.test(e)||!V.test(e)||null!=t&&e in me(t)}function da(e){var t=Zi(e),r=Nr[t];if("function"!=typeof r||!(t in kr.prototype))return!1;if(e===r)return!0;var n=Xi(r);return!!n&&e===n[0]}(pr&&ia(new pr(new ArrayBuffer(1)))!=_||fr&&ia(new fr)!=h||mr&&"[object Promise]"!=ia(mr.resolve())||gr&&ia(new gr)!=g||vr&&ia(new vr)!=y)&&(ia=function(e){var t=mn(e),r=t==f?e.constructor:void 0,n=r?Aa(r):"";if(n)switch(n){case _r:return _;case Sr:return h;case Er:return"[object Promise]";case Mr:return g;case Tr:return y}return t});var ha=Se?Vo:sl;function pa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function fa(e){return e==e&&!Wo(e)}function ma(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in me(r))}}function ga(e,t,r){return t=sr(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=sr(n.length-t,0),o=K(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=K(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),it(e,this,s)}}function va(e,t){return t.length<2?e:pn(e,Gn(t,0,-1))}function ba(e,t){for(var r=e.length,n=lr(t.length,r),i=yi(e);n--;){var a=t[n];e[n]=la(a,r)?i[a]:void 0}return e}function ya(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var wa=Ma(zn),_a=Qt||function(e,t){return qe.setTimeout(e,t)},Sa=Ma(Wn);function Ea(e,t,r){var n=t+"";return Sa(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return ot(i,(function(r){var n="_."+r[0];t&r[1]&&!ct(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(Z);return t?t[1].split($):[]}(n),r)))}function Ma(e){var t=0,r=0;return function(){var n=ur(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ta(e,t){var r=-1,n=e.length,i=n-1;for(t=void 0===t?n:t;++r<t;){var a=Fn(r,i),o=e[a];e[a]=e[r],e[r]=o}return e.length=t,e}var Ca=function(e){var t=To(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(z,(function(e,r,n,i){t.push(n?i.replace(ee,"$1"):r||e)})),t}));function xa(e){if("string"==typeof e||Qo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Aa(e){if(null!=e){try{return Ee.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Na(e){if(e instanceof kr)return e.clone();var t=new Lr(e.__wrapped__,e.__chain__);return t.__actions__=yi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Oa=Bn((function(e,t){return Fo(e)?en(e,sn(t,1,Fo,!0)):[]})),Ra=Bn((function(e,t){var r=Ba(t);return Fo(r)&&(r=void 0),Fo(e)?en(e,sn(t,1,Fo,!0),Ji(r,2)):[]})),La=Bn((function(e,t){var r=Ba(t);return Fo(r)&&(r=void 0),Fo(e)?en(e,sn(t,1,Fo,!0),void 0,r):[]}));function ka(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:as(r);return i<0&&(i=sr(n+i,0)),yt(e,Ji(t,3),i)}function Ia(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n-1;return void 0!==r&&(i=as(r),i=r<0?sr(n+i,0):lr(i,n-1)),yt(e,Ji(t,3),i,!0)}function Da(e){return null!=e&&e.length?sn(e,1):[]}function Pa(e){return e&&e.length?e[0]:void 0}var ja=Bn((function(e){var t=ht(e,si);return t.length&&t[0]===e[0]?yn(t):[]})),Fa=Bn((function(e){var t=Ba(e),r=ht(e,si);return t===Ba(r)?t=void 0:r.pop(),r.length&&r[0]===e[0]?yn(r,Ji(t,2)):[]})),Ha=Bn((function(e){var t=Ba(e),r=ht(e,si);return(t="function"==typeof t?t:void 0)&&r.pop(),r.length&&r[0]===e[0]?yn(r,void 0,t):[]}));function Ba(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ua=Bn(Va);function Va(e,t){return e&&e.length&&t&&t.length?Pn(e,t):e}var Ya=qi((function(e,t){var r=null==e?0:e.length,n=Xr(e,t);return jn(e,ht(t,(function(e){return la(e,r)?+e:e})).sort(gi)),n}));function za(e){return null==e?e:hr.call(e)}var Wa=Bn((function(e){return ei(sn(e,1,Fo,!0))})),qa=Bn((function(e){var t=Ba(e);return Fo(t)&&(t=void 0),ei(sn(e,1,Fo,!0),Ji(t,2))})),Ga=Bn((function(e){var t=Ba(e);return t="function"==typeof t?t:void 0,ei(sn(e,1,Fo,!0),void 0,t)}));function Ka(e){if(!e||!e.length)return[];var t=0;return e=ut(e,(function(e){if(Fo(e))return t=sr(e.length,t),!0})),At(t,(function(t){return ht(e,Mt(t))}))}function Xa(e,t){if(!e||!e.length)return[];var r=Ka(e);return null==t?r:ht(r,(function(e){return it(t,void 0,e)}))}var Za=Bn((function(e,t){return Fo(e)?en(e,t):[]})),$a=Bn((function(e){return ai(ut(e,Fo))})),Ja=Bn((function(e){var t=Ba(e);return Fo(t)&&(t=void 0),ai(ut(e,Fo),Ji(t,2))})),Qa=Bn((function(e){var t=Ba(e);return t="function"==typeof t?t:void 0,ai(ut(e,Fo),void 0,t)})),eo=Bn(Ka),to=Bn((function(e){var t=e.length,r=t>1?e[t-1]:void 0;return r="function"==typeof r?(e.pop(),r):void 0,Xa(e,r)}));function ro(e){var t=Nr(e);return t.__chain__=!0,t}function no(e,t){return t(e)}var io=qi((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return Xr(t,e)};return!(t>1||this.__actions__.length)&&n instanceof kr&&la(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:no,args:[i],thisArg:void 0}),new Lr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)})),ao=_i((function(e,t,r){Me.call(e,r)?++e[r]:Kr(e,r,1)})),oo=Ai(ka),so=Ai(Ia);function lo(e,t){return(Do(e)?ot:tn)(e,Ji(t,3))}function uo(e,t){return(Do(e)?st:rn)(e,Ji(t,3))}var co=_i((function(e,t,r){Me.call(e,r)?e[r].push(t):Kr(e,r,[t])})),ho=Bn((function(e,t,r){var n=-1,i="function"==typeof t,a=jo(e)?K(e.length):[];return tn(e,(function(e){a[++n]=i?it(t,e,r):wn(e,t,r)})),a})),po=_i((function(e,t,r){Kr(e,r,t)}));function fo(e,t){return(Do(e)?ht:Nn)(e,Ji(t,3))}var mo=_i((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]})),go=Bn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ua(e,t[0],t[1])?t=[]:r>2&&ua(t[0],t[1],t[2])&&(t=[t[0]]),In(e,sn(t,1),[])})),vo=Jt||function(){return qe.Date.now()};function bo(e,t,r){return t=r?void 0:t,Ui(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function yo(e,t){var n;if("function"!=typeof t)throw new be(r);return e=as(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var wo=Bn((function(e,t,r){var n=1;if(r.length){var i=Vt(r,$i(wo));n|=32}return Ui(e,n,t,r,i)})),_o=Bn((function(e,t,r){var n=3;if(r.length){var i=Vt(r,$i(_o));n|=32}return Ui(t,n,e,r,i)}));function So(e,t,n){var i,a,o,s,l,u,c=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new be(r);function f(t){var r=i,n=a;return i=a=void 0,c=t,s=e.apply(n,r)}function m(e){return c=e,l=_a(v,t),d?f(e):s}function g(e){var r=e-u;return void 0===u||r>=t||r<0||h&&e-c>=o}function v(){var e=vo();if(g(e))return b(e);l=_a(v,function(e){var r=t-(e-u);return h?lr(r,o-(e-c)):r}(e))}function b(e){return l=void 0,p&&i?f(e):(i=a=void 0,s)}function y(){var e=vo(),r=g(e);if(i=arguments,a=this,u=e,r){if(void 0===l)return m(u);if(h)return hi(l),l=_a(v,t),f(u)}return void 0===l&&(l=_a(v,t)),s}return t=ss(t)||0,Wo(n)&&(d=!!n.leading,o=(h="maxWait"in n)?sr(ss(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==l&&hi(l),c=0,i=u=a=l=void 0},y.flush=function(){return void 0===l?s:b(vo())},y}var Eo=Bn((function(e,t){return Qr(e,1,t)})),Mo=Bn((function(e,t,r){return Qr(e,ss(t)||0,r)}));function To(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new be(r);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(To.Cache||Pr),n}function Co(e){if("function"!=typeof e)throw new be(r);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)}}To.Cache=Pr;var xo=ci((function(e,t){var r=(t=1==t.length&&Do(t[0])?ht(t[0],Ot(Ji())):ht(sn(t,1),Ot(Ji()))).length;return Bn((function(n){for(var i=-1,a=lr(n.length,r);++i<a;)n[i]=t[i].call(this,n[i]);return it(e,this,n)}))})),Ao=Bn((function(e,t){return Ui(e,32,void 0,t,Vt(t,$i(Ao)))})),No=Bn((function(e,t){return Ui(e,64,void 0,t,Vt(t,$i(No)))})),Oo=qi((function(e,t){return Ui(e,256,void 0,void 0,void 0,t)}));function Ro(e,t){return e===t||e!=e&&t!=t}var Lo=Pi(gn),ko=Pi((function(e,t){return e>=t})),Io=_n(function(){return arguments}())?_n:function(e){return qo(e)&&Me.call(e,"callee")&&!Ke.call(e,"callee")},Do=K.isArray,Po=Je?Ot(Je):function(e){return qo(e)&&mn(e)==w};function jo(e){return null!=e&&zo(e.length)&&!Vo(e)}function Fo(e){return qo(e)&&jo(e)}var Ho=nr||sl,Bo=Qe?Ot(Qe):function(e){return qo(e)&&mn(e)==l};function Uo(e){if(!qo(e))return!1;var t=mn(e);return t==u||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Xo(e)}function Vo(e){if(!Wo(e))return!1;var t=mn(e);return t==c||t==d||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(e){return"number"==typeof e&&e==as(e)}function zo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Wo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qo(e){return null!=e&&"object"==typeof e}var Go=et?Ot(et):function(e){return qo(e)&&ia(e)==h};function Ko(e){return"number"==typeof e||qo(e)&&mn(e)==p}function Xo(e){if(!qo(e)||mn(e)!=f)return!1;var t=We(e);if(null===t)return!0;var r=Me.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ee.call(r)==Ae}var Zo=tt?Ot(tt):function(e){return qo(e)&&mn(e)==m},$o=rt?Ot(rt):function(e){return qo(e)&&ia(e)==g};function Jo(e){return"string"==typeof e||!Do(e)&&qo(e)&&mn(e)==v}function Qo(e){return"symbol"==typeof e||qo(e)&&mn(e)==b}var es=nt?Ot(nt):function(e){return qo(e)&&zo(e.length)&&!!He[mn(e)]},ts=Pi(An),rs=Pi((function(e,t){return e<=t}));function ns(e){if(!e)return[];if(jo(e))return Jo(e)?qt(e):yi(e);if(vt&&e[vt])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[vt]());var t=ia(e);return(t==h?Bt:t==g?Yt:Rs)(e)}function is(e){return e?1/0===(e=ss(e))||-1/0===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function as(e){var t=is(e),r=t%1;return t==t?r?t-r:t:0}function os(e){return e?Zr(as(e),0,4294967295):0}function ss(e){if("number"==typeof e)return e;if(Qo(e))return NaN;if(Wo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Wo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Nt(e);var r=ie.test(e);return r||oe.test(e)?Ye(e.slice(2),r?2:8):ne.test(e)?NaN:+e}function ls(e){return wi(e,Es(e))}function us(e){return null==e?"":Qn(e)}var cs=Si((function(e,t){if(pa(t)||jo(t))wi(t,Ss(t),e);else for(var r in t)Me.call(t,r)&&zr(e,r,t[r])})),ds=Si((function(e,t){wi(t,Es(t),e)})),hs=Si((function(e,t,r,n){wi(t,Es(t),e,n)})),ps=Si((function(e,t,r,n){wi(t,Ss(t),e,n)})),fs=qi(Xr),ms=Bn((function(e,t){e=me(e);var r=-1,n=t.length,i=n>2?t[2]:void 0;for(i&&ua(t[0],t[1],i)&&(n=1);++r<n;)for(var a=t[r],o=Es(a),s=-1,l=o.length;++s<l;){var u=o[s],c=e[u];(void 0===c||Ro(c,_e[u])&&!Me.call(e,u))&&(e[u]=a[u])}return e})),gs=Bn((function(e){return e.push(void 0,Yi),it(Ts,void 0,e)}));function vs(e,t,r){var n=null==e?void 0:pn(e,t);return void 0===n?r:n}function bs(e,t){return null!=e&&aa(e,t,bn)}var ys=Ri((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),e[t]=r}),Ws(Ks)),ws=Ri((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),Me.call(e,t)?e[t].push(r):e[t]=[r]}),Ji),_s=Bn(wn);function Ss(e){return jo(e)?Hr(e):Cn(e)}function Es(e){return jo(e)?Hr(e,!0):xn(e)}var Ms=Si((function(e,t,r){Ln(e,t,r)})),Ts=Si((function(e,t,r,n){Ln(e,t,r,n)})),Cs=qi((function(e,t){var r={};if(null==e)return r;var n=!1;t=ht(t,(function(t){return t=ui(t,e),n||(n=t.length>1),t})),wi(e,Ki(e),r),n&&(r=$r(r,7,zi));for(var i=t.length;i--;)ti(r,t[i]);return r})),xs=qi((function(e,t){return null==e?{}:function(e,t){return Dn(e,t,(function(t,r){return bs(e,r)}))}(e,t)}));function As(e,t){if(null==e)return{};var r=ht(Ki(e),(function(e){return[e]}));return t=Ji(t),Dn(e,r,(function(e,r){return t(e,r[0])}))}var Ns=Bi(Ss),Os=Bi(Es);function Rs(e){return null==e?[]:Rt(e,Ss(e))}var Ls=Ci((function(e,t,r){return t=t.toLowerCase(),e+(r?ks(t):t)}));function ks(e){return Us(us(e).toLowerCase())}function Is(e){return(e=us(e))&&e.replace(le,Pt).replace(Le,"")}var Ds=Ci((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ps=Ci((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),js=Ti("toLowerCase"),Fs=Ci((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()})),Hs=Ci((function(e,t,r){return e+(r?" ":"")+Us(t)})),Bs=Ci((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Us=Ti("toUpperCase");function Vs(e,t,r){return e=us(e),void 0===(t=r?void 0:t)?function(e){return Pe.test(e)}(e)?function(e){return e.match(Ie)||[]}(e):function(e){return e.match(J)||[]}(e):e.match(t)||[]}var Ys=Bn((function(e,t){try{return it(e,void 0,t)}catch(r){return Uo(r)?r:new he(r)}})),zs=qi((function(e,t){return ot(t,(function(t){t=xa(t),Kr(e,t,wo(e[t],e))})),e}));function Ws(e){return function(){return e}}var qs=Ni(),Gs=Ni(!0);function Ks(e){return e}function Xs(e){return Tn("function"==typeof e?e:$r(e,1))}var Zs=Bn((function(e,t){return function(r){return wn(r,e,t)}})),$s=Bn((function(e,t){return function(r){return wn(e,r,t)}}));function Js(e,t,r){var n=Ss(t),i=hn(t,n);null!=r||Wo(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=hn(t,Ss(t)));var a=!(Wo(r)&&"chain"in r&&!r.chain),o=Vo(e);return ot(i,(function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__),i=r.__actions__=yi(this.__actions__);return i.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,pt([this.value()],arguments))})})),e}function Qs(){}var el=ki(ht),tl=ki(lt),rl=ki(gt);function nl(e){return ca(e)?Mt(xa(e)):function(e){return function(t){return pn(t,e)}}(e)}var il=Di(),al=Di(!0);function ol(){return[]}function sl(){return!1}var ll,ul=Li((function(e,t){return e+t}),0),cl=Fi("ceil"),dl=Li((function(e,t){return e/t}),1),hl=Fi("floor"),pl=Li((function(e,t){return e*t}),1),fl=Fi("round"),ml=Li((function(e,t){return e-t}),0);return Nr.after=function(e,t){if("function"!=typeof t)throw new be(r);return e=as(e),function(){if(--e<1)return t.apply(this,arguments)}},Nr.ary=bo,Nr.assign=cs,Nr.assignIn=ds,Nr.assignInWith=hs,Nr.assignWith=ps,Nr.at=fs,Nr.before=yo,Nr.bind=wo,Nr.bindAll=zs,Nr.bindKey=_o,Nr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Do(e)?e:[e]},Nr.chain=ro,Nr.chunk=function(e,t,r){t=(r?ua(e,t,r):void 0===t)?1:sr(as(t),0);var n=null==e?0:e.length;if(!n||t<1)return[];for(var i=0,a=0,o=K(er(n/t));i<n;)o[a++]=Gn(e,i,i+=t);return o},Nr.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var a=e[t];a&&(i[n++]=a)}return i},Nr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=K(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return pt(Do(r)?yi(r):[r],sn(t,1))},Nr.cond=function(e){var t=null==e?0:e.length,n=Ji();return e=t?ht(e,(function(e){if("function"!=typeof e[1])throw new be(r);return[n(e[0]),e[1]]})):[],Bn((function(r){for(var n=-1;++n<t;){var i=e[n];if(it(i[0],this,r))return it(i[1],this,r)}}))},Nr.conforms=function(e){return function(e){var t=Ss(e);return function(r){return Jr(r,e,t)}}($r(e,1))},Nr.constant=Ws,Nr.countBy=ao,Nr.create=function(e,t){var r=Or(e);return null==t?r:Gr(r,t)},Nr.curry=function e(t,r,n){var i=Ui(t,8,void 0,void 0,void 0,void 0,void 0,r=n?void 0:r);return i.placeholder=e.placeholder,i},Nr.curryRight=function e(t,r,n){var i=Ui(t,16,void 0,void 0,void 0,void 0,void 0,r=n?void 0:r);return i.placeholder=e.placeholder,i},Nr.debounce=So,Nr.defaults=ms,Nr.defaultsDeep=gs,Nr.defer=Eo,Nr.delay=Mo,Nr.difference=Oa,Nr.differenceBy=Ra,Nr.differenceWith=La,Nr.drop=function(e,t,r){var n=null==e?0:e.length;return n?Gn(e,(t=r||void 0===t?1:as(t))<0?0:t,n):[]},Nr.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?Gn(e,0,(t=n-(t=r||void 0===t?1:as(t)))<0?0:t):[]},Nr.dropRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0,!0):[]},Nr.dropWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!0):[]},Nr.fill=function(e,t,r,n){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&ua(e,t,r)&&(r=0,n=i),function(e,t,r,n){var i=e.length;for((r=as(r))<0&&(r=-r>i?0:i+r),(n=void 0===n||n>i?i:as(n))<0&&(n+=i),n=r>n?0:os(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},Nr.filter=function(e,t){return(Do(e)?ut:on)(e,Ji(t,3))},Nr.flatMap=function(e,t){return sn(fo(e,t),1)},Nr.flatMapDeep=function(e,t){return sn(fo(e,t),1/0)},Nr.flatMapDepth=function(e,t,r){return r=void 0===r?1:as(r),sn(fo(e,t),r)},Nr.flatten=Da,Nr.flattenDeep=function(e){return null!=e&&e.length?sn(e,1/0):[]},Nr.flattenDepth=function(e,t){return null!=e&&e.length?sn(e,t=void 0===t?1:as(t)):[]},Nr.flip=function(e){return Ui(e,512)},Nr.flow=qs,Nr.flowRight=Gs,Nr.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},Nr.functions=function(e){return null==e?[]:hn(e,Ss(e))},Nr.functionsIn=function(e){return null==e?[]:hn(e,Es(e))},Nr.groupBy=co,Nr.initial=function(e){return null!=e&&e.length?Gn(e,0,-1):[]},Nr.intersection=ja,Nr.intersectionBy=Fa,Nr.intersectionWith=Ha,Nr.invert=ys,Nr.invertBy=ws,Nr.invokeMap=ho,Nr.iteratee=Xs,Nr.keyBy=po,Nr.keys=Ss,Nr.keysIn=Es,Nr.map=fo,Nr.mapKeys=function(e,t){var r={};return t=Ji(t,3),cn(e,(function(e,n,i){Kr(r,t(e,n,i),e)})),r},Nr.mapValues=function(e,t){var r={};return t=Ji(t,3),cn(e,(function(e,n,i){Kr(r,n,t(e,n,i))})),r},Nr.matches=function(e){return On($r(e,1))},Nr.matchesProperty=function(e,t){return Rn(e,$r(t,1))},Nr.memoize=To,Nr.merge=Ms,Nr.mergeWith=Ts,Nr.method=Zs,Nr.methodOf=$s,Nr.mixin=Js,Nr.negate=Co,Nr.nthArg=function(e){return e=as(e),Bn((function(t){return kn(t,e)}))},Nr.omit=Cs,Nr.omitBy=function(e,t){return As(e,Co(Ji(t)))},Nr.once=function(e){return yo(2,e)},Nr.orderBy=function(e,t,r,n){return null==e?[]:(Do(t)||(t=null==t?[]:[t]),Do(r=n?void 0:r)||(r=null==r?[]:[r]),In(e,t,r))},Nr.over=el,Nr.overArgs=xo,Nr.overEvery=tl,Nr.overSome=rl,Nr.partial=Ao,Nr.partialRight=No,Nr.partition=mo,Nr.pick=xs,Nr.pickBy=As,Nr.property=nl,Nr.propertyOf=function(e){return function(t){return null==e?void 0:pn(e,t)}},Nr.pull=Ua,Nr.pullAll=Va,Nr.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Pn(e,t,Ji(r,2)):e},Nr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Pn(e,t,void 0,r):e},Nr.pullAt=Ya,Nr.range=il,Nr.rangeRight=al,Nr.rearg=Oo,Nr.reject=function(e,t){return(Do(e)?ut:on)(e,Co(Ji(t,3)))},Nr.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],a=e.length;for(t=Ji(t,3);++n<a;){var o=e[n];t(o,n,e)&&(r.push(o),i.push(n))}return jn(e,i),r},Nr.rest=function(e,t){if("function"!=typeof e)throw new be(r);return Bn(e,t=void 0===t?t:as(t))},Nr.reverse=za,Nr.sampleSize=function(e,t,r){return t=(r?ua(e,t,r):void 0===t)?1:as(t),(Do(e)?Ur:Vn)(e,t)},Nr.set=function(e,t,r){return null==e?e:Yn(e,t,r)},Nr.setWith=function(e,t,r,n){return n="function"==typeof n?n:void 0,null==e?e:Yn(e,t,r,n)},Nr.shuffle=function(e){return(Do(e)?Vr:qn)(e)},Nr.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ua(e,t,r)?(t=0,r=n):(t=null==t?0:as(t),r=void 0===r?n:as(r)),Gn(e,t,r)):[]},Nr.sortBy=go,Nr.sortedUniq=function(e){return e&&e.length?$n(e):[]},Nr.sortedUniqBy=function(e,t){return e&&e.length?$n(e,Ji(t,2)):[]},Nr.split=function(e,t,r){return r&&"number"!=typeof r&&ua(e,t,r)&&(t=r=void 0),(r=void 0===r?4294967295:r>>>0)?(e=us(e))&&("string"==typeof t||null!=t&&!Zo(t))&&!(t=Qn(t))&&Ht(e)?di(qt(e),0,r):e.split(t,r):[]},Nr.spread=function(e,t){if("function"!=typeof e)throw new be(r);return t=null==t?0:sr(as(t),0),Bn((function(r){var n=r[t],i=di(r,0,t);return n&&pt(i,n),it(e,this,i)}))},Nr.tail=function(e){var t=null==e?0:e.length;return t?Gn(e,1,t):[]},Nr.take=function(e,t,r){return e&&e.length?Gn(e,0,(t=r||void 0===t?1:as(t))<0?0:t):[]},Nr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?Gn(e,(t=n-(t=r||void 0===t?1:as(t)))<0?0:t,n):[]},Nr.takeRightWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3),!1,!0):[]},Nr.takeWhile=function(e,t){return e&&e.length?ni(e,Ji(t,3)):[]},Nr.tap=function(e,t){return t(e),e},Nr.throttle=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new be(r);return Wo(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),So(e,t,{leading:i,maxWait:t,trailing:a})},Nr.thru=no,Nr.toArray=ns,Nr.toPairs=Ns,Nr.toPairsIn=Os,Nr.toPath=function(e){return Do(e)?ht(e,xa):Qo(e)?[e]:yi(Ca(us(e)))},Nr.toPlainObject=ls,Nr.transform=function(e,t,r){var n=Do(e),i=n||Ho(e)||es(e);if(t=Ji(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:Wo(e)&&Vo(a)?Or(We(e)):{}}return(i?ot:cn)(e,(function(e,n,i){return t(r,e,n,i)})),r},Nr.unary=function(e){return bo(e,1)},Nr.union=Wa,Nr.unionBy=qa,Nr.unionWith=Ga,Nr.uniq=function(e){return e&&e.length?ei(e):[]},Nr.uniqBy=function(e,t){return e&&e.length?ei(e,Ji(t,2)):[]},Nr.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?ei(e,void 0,t):[]},Nr.unset=function(e,t){return null==e||ti(e,t)},Nr.unzip=Ka,Nr.unzipWith=Xa,Nr.update=function(e,t,r){return null==e?e:ri(e,t,li(r))},Nr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:void 0,null==e?e:ri(e,t,li(r),n)},Nr.values=Rs,Nr.valuesIn=function(e){return null==e?[]:Rt(e,Es(e))},Nr.without=Za,Nr.words=Vs,Nr.wrap=function(e,t){return Ao(li(t),e)},Nr.xor=$a,Nr.xorBy=Ja,Nr.xorWith=Qa,Nr.zip=eo,Nr.zipObject=function(e,t){return oi(e||[],t||[],zr)},Nr.zipObjectDeep=function(e,t){return oi(e||[],t||[],Yn)},Nr.zipWith=to,Nr.entries=Ns,Nr.entriesIn=Os,Nr.extend=ds,Nr.extendWith=hs,Js(Nr,Nr),Nr.add=ul,Nr.attempt=Ys,Nr.camelCase=Ls,Nr.capitalize=ks,Nr.ceil=cl,Nr.clamp=function(e,t,r){return void 0===r&&(r=t,t=void 0),void 0!==r&&(r=(r=ss(r))==r?r:0),void 0!==t&&(t=(t=ss(t))==t?t:0),Zr(ss(e),t,r)},Nr.clone=function(e){return $r(e,4)},Nr.cloneDeep=function(e){return $r(e,5)},Nr.cloneDeepWith=function(e,t){return $r(e,5,t="function"==typeof t?t:void 0)},Nr.cloneWith=function(e,t){return $r(e,4,t="function"==typeof t?t:void 0)},Nr.conformsTo=function(e,t){return null==t||Jr(e,t,Ss(t))},Nr.deburr=Is,Nr.defaultTo=function(e,t){return null==e||e!=e?t:e},Nr.divide=dl,Nr.endsWith=function(e,t,r){e=us(e),t=Qn(t);var n=e.length,i=r=void 0===r?n:Zr(as(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},Nr.eq=Ro,Nr.escape=function(e){return(e=us(e))&&F.test(e)?e.replace(D,jt):e},Nr.escapeRegExp=function(e){return(e=us(e))&&q.test(e)?e.replace(W,"\\$&"):e},Nr.every=function(e,t,r){var n=Do(e)?lt:nn;return r&&ua(e,t,r)&&(t=void 0),n(e,Ji(t,3))},Nr.find=oo,Nr.findIndex=ka,Nr.findKey=function(e,t){return bt(e,Ji(t,3),cn)},Nr.findLast=so,Nr.findLastIndex=Ia,Nr.findLastKey=function(e,t){return bt(e,Ji(t,3),dn)},Nr.floor=hl,Nr.forEach=lo,Nr.forEachRight=uo,Nr.forIn=function(e,t){return null==e?e:ln(e,Ji(t,3),Es)},Nr.forInRight=function(e,t){return null==e?e:un(e,Ji(t,3),Es)},Nr.forOwn=function(e,t){return e&&cn(e,Ji(t,3))},Nr.forOwnRight=function(e,t){return e&&dn(e,Ji(t,3))},Nr.get=vs,Nr.gt=Lo,Nr.gte=ko,Nr.has=function(e,t){return null!=e&&aa(e,t,vn)},Nr.hasIn=bs,Nr.head=Pa,Nr.identity=Ks,Nr.includes=function(e,t,r,n){e=jo(e)?e:Rs(e),r=r&&!n?as(r):0;var i=e.length;return r<0&&(r=sr(i+r,0)),Jo(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&wt(e,t,r)>-1},Nr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:as(r);return i<0&&(i=sr(n+i,0)),wt(e,t,i)},Nr.inRange=function(e,t,r){return t=is(t),void 0===r?(r=t,t=0):r=is(r),function(e,t,r){return e>=lr(t,r)&&e<sr(t,r)}(e=ss(e),t,r)},Nr.invoke=_s,Nr.isArguments=Io,Nr.isArray=Do,Nr.isArrayBuffer=Po,Nr.isArrayLike=jo,Nr.isArrayLikeObject=Fo,Nr.isBoolean=function(e){return!0===e||!1===e||qo(e)&&mn(e)==s},Nr.isBuffer=Ho,Nr.isDate=Bo,Nr.isElement=function(e){return qo(e)&&1===e.nodeType&&!Xo(e)},Nr.isEmpty=function(e){if(null==e)return!0;if(jo(e)&&(Do(e)||"string"==typeof e||"function"==typeof e.splice||Ho(e)||es(e)||Io(e)))return!e.length;var t=ia(e);if(t==h||t==g)return!e.size;if(pa(e))return!Cn(e).length;for(var r in e)if(Me.call(e,r))return!1;return!0},Nr.isEqual=function(e,t){return Sn(e,t)},Nr.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:void 0)?r(e,t):void 0;return void 0===n?Sn(e,t,void 0,r):!!n},Nr.isError=Uo,Nr.isFinite=function(e){return"number"==typeof e&&ir(e)},Nr.isFunction=Vo,Nr.isInteger=Yo,Nr.isLength=zo,Nr.isMap=Go,Nr.isMatch=function(e,t){return e===t||En(e,t,ea(t))},Nr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:void 0,En(e,t,ea(t),r)},Nr.isNaN=function(e){return Ko(e)&&e!=+e},Nr.isNative=function(e){if(ha(e))throw new he("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Mn(e)},Nr.isNil=function(e){return null==e},Nr.isNull=function(e){return null===e},Nr.isNumber=Ko,Nr.isObject=Wo,Nr.isObjectLike=qo,Nr.isPlainObject=Xo,Nr.isRegExp=Zo,Nr.isSafeInteger=function(e){return Yo(e)&&e>=-9007199254740991&&e<=9007199254740991},Nr.isSet=$o,Nr.isString=Jo,Nr.isSymbol=Qo,Nr.isTypedArray=es,Nr.isUndefined=function(e){return void 0===e},Nr.isWeakMap=function(e){return qo(e)&&ia(e)==y},Nr.isWeakSet=function(e){return qo(e)&&"[object WeakSet]"==mn(e)},Nr.join=function(e,t){return null==e?"":ar.call(e,t)},Nr.kebabCase=Ds,Nr.last=Ba,Nr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return void 0!==r&&(i=(i=as(r))<0?sr(n+i,0):lr(i,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,i):yt(e,St,i,!0)},Nr.lowerCase=Ps,Nr.lowerFirst=js,Nr.lt=ts,Nr.lte=rs,Nr.max=function(e){return e&&e.length?an(e,Ks,gn):void 0},Nr.maxBy=function(e,t){return e&&e.length?an(e,Ji(t,2),gn):void 0},Nr.mean=function(e){return Et(e,Ks)},Nr.meanBy=function(e,t){return Et(e,Ji(t,2))},Nr.min=function(e){return e&&e.length?an(e,Ks,An):void 0},Nr.minBy=function(e,t){return e&&e.length?an(e,Ji(t,2),An):void 0},Nr.stubArray=ol,Nr.stubFalse=sl,Nr.stubObject=function(){return{}},Nr.stubString=function(){return""},Nr.stubTrue=function(){return!0},Nr.multiply=pl,Nr.nth=function(e,t){return e&&e.length?kn(e,as(t)):void 0},Nr.noConflict=function(){return qe._===this&&(qe._=Ne),this},Nr.noop=Qs,Nr.now=vo,Nr.pad=function(e,t,r){e=us(e);var n=(t=as(t))?Wt(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Ii(tr(i),r)+e+Ii(er(i),r)},Nr.padEnd=function(e,t,r){e=us(e);var n=(t=as(t))?Wt(e):0;return t&&n<t?e+Ii(t-n,r):e},Nr.padStart=function(e,t,r){e=us(e);var n=(t=as(t))?Wt(e):0;return t&&n<t?Ii(t-n,r)+e:e},Nr.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),cr(us(e).replace(G,""),t||0)},Nr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ua(e,t,r)&&(t=r=void 0),void 0===r&&("boolean"==typeof t?(r=t,t=void 0):"boolean"==typeof e&&(r=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=is(e),void 0===t?(t=e,e=0):t=is(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var i=dr();return lr(e+i*(t-e+Ve("1e-"+((i+"").length-1))),t)}return Fn(e,t)},Nr.reduce=function(e,t,r){var n=Do(e)?ft:Ct,i=arguments.length<3;return n(e,Ji(t,4),r,i,tn)},Nr.reduceRight=function(e,t,r){var n=Do(e)?mt:Ct,i=arguments.length<3;return n(e,Ji(t,4),r,i,rn)},Nr.repeat=function(e,t,r){return t=(r?ua(e,t,r):void 0===t)?1:as(t),Hn(us(e),t)},Nr.replace=function(){var e=arguments,t=us(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Nr.result=function(e,t,r){var n=-1,i=(t=ui(t,e)).length;for(i||(i=1,e=void 0);++n<i;){var a=null==e?void 0:e[xa(t[n])];void 0===a&&(n=i,a=r),e=Vo(a)?a.call(e):a}return e},Nr.round=fl,Nr.runInContext=e,Nr.sample=function(e){return(Do(e)?Br:Un)(e)},Nr.size=function(e){if(null==e)return 0;if(jo(e))return Jo(e)?Wt(e):e.length;var t=ia(e);return t==h||t==g?e.size:Cn(e).length},Nr.snakeCase=Fs,Nr.some=function(e,t,r){var n=Do(e)?gt:Kn;return r&&ua(e,t,r)&&(t=void 0),n(e,Ji(t,3))},Nr.sortedIndex=function(e,t){return Xn(e,t)},Nr.sortedIndexBy=function(e,t,r){return Zn(e,t,Ji(r,2))},Nr.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=Xn(e,t);if(n<r&&Ro(e[n],t))return n}return-1},Nr.sortedLastIndex=function(e,t){return Xn(e,t,!0)},Nr.sortedLastIndexBy=function(e,t,r){return Zn(e,t,Ji(r,2),!0)},Nr.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var r=Xn(e,t,!0)-1;if(Ro(e[r],t))return r}return-1},Nr.startCase=Hs,Nr.startsWith=function(e,t,r){return e=us(e),r=null==r?0:Zr(as(r),0,e.length),t=Qn(t),e.slice(r,r+t.length)==t},Nr.subtract=ml,Nr.sum=function(e){return e&&e.length?xt(e,Ks):0},Nr.sumBy=function(e,t){return e&&e.length?xt(e,Ji(t,2)):0},Nr.template=function(e,t,r){var n=Nr.templateSettings;r&&ua(e,t,r)&&(t=void 0),e=us(e),t=hs({},t,n,Vi);var i,a,o=hs({},t.imports,n.imports,Vi),s=Ss(o),l=Rt(o,s),u=0,c=t.interpolate||ue,d="__p += '",h=ge((t.escape||ue).source+"|"+c.source+"|"+(c===U?te:ue).source+"|"+(t.evaluate||ue).source+"|$","g"),p="//# sourceURL="+(Me.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fe+"]")+"\n";e.replace(h,(function(t,r,n,o,s,l){return n||(n=o),d+=e.slice(u,l).replace(ce,Ft),r&&(i=!0,d+="' +\n__e("+r+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),n&&(d+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),d+="';\n";var f=Me.call(t,"variable")&&t.variable;if(f){if(Q.test(f))throw new he("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(a?d.replace(R,""):d).replace(L,"$1").replace(k,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Ys((function(){return pe(s,p+"return "+d).apply(void 0,l)}));if(m.source=d,Uo(m))throw m;return m},Nr.times=function(e,t){if((e=as(e))<1||e>9007199254740991)return[];var r=4294967295,n=lr(e,4294967295);e-=4294967295;for(var i=At(n,t=Ji(t));++r<e;)t(r);return i},Nr.toFinite=is,Nr.toInteger=as,Nr.toLength=os,Nr.toLower=function(e){return us(e).toLowerCase()},Nr.toNumber=ss,Nr.toSafeInteger=function(e){return e?Zr(as(e),-9007199254740991,9007199254740991):0===e?e:0},Nr.toString=us,Nr.toUpper=function(e){return us(e).toUpperCase()},Nr.trim=function(e,t,r){if((e=us(e))&&(r||void 0===t))return Nt(e);if(!e||!(t=Qn(t)))return e;var n=qt(e),i=qt(t);return di(n,kt(n,i),It(n,i)+1).join("")},Nr.trimEnd=function(e,t,r){if((e=us(e))&&(r||void 0===t))return e.slice(0,Gt(e)+1);if(!e||!(t=Qn(t)))return e;var n=qt(e);return di(n,0,It(n,qt(t))+1).join("")},Nr.trimStart=function(e,t,r){if((e=us(e))&&(r||void 0===t))return e.replace(G,"");if(!e||!(t=Qn(t)))return e;var n=qt(e);return di(n,kt(n,qt(t))).join("")},Nr.truncate=function(e,t){var r=30,n="...";if(Wo(t)){var i="separator"in t?t.separator:i;r="length"in t?as(t.length):r,n="omission"in t?Qn(t.omission):n}var a=(e=us(e)).length;if(Ht(e)){var o=qt(e);a=o.length}if(r>=a)return e;var s=r-Wt(n);if(s<1)return n;var l=o?di(o,0,s).join(""):e.slice(0,s);if(void 0===i)return l+n;if(o&&(s+=l.length-s),Zo(i)){if(e.slice(s).search(i)){var u,c=l;for(i.global||(i=ge(i.source,us(re.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var d=u.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(Qn(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+n},Nr.unescape=function(e){return(e=us(e))&&j.test(e)?e.replace(I,Kt):e},Nr.uniqueId=function(e){var t=++Te;return us(e)+t},Nr.upperCase=Bs,Nr.upperFirst=Us,Nr.each=lo,Nr.eachRight=uo,Nr.first=Pa,Js(Nr,(ll={},cn(Nr,(function(e,t){Me.call(Nr.prototype,t)||(ll[t]=e)})),ll),{chain:!1}),Nr.VERSION="4.17.21",ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Nr[e].placeholder=Nr})),ot(["drop","take"],(function(e,t){kr.prototype[e]=function(r){r=void 0===r?1:sr(as(r),0);var n=this.__filtered__&&!t?new kr(this):this.clone();return n.__filtered__?n.__takeCount__=lr(r,n.__takeCount__):n.__views__.push({size:lr(r,4294967295),type:e+(n.__dir__<0?"Right":"")}),n},kr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ot(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;kr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ji(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),ot(["head","last"],(function(e,t){var r="take"+(t?"Right":"");kr.prototype[e]=function(){return this[r](1).value()[0]}})),ot(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");kr.prototype[e]=function(){return this.__filtered__?new kr(this):this[r](1)}})),kr.prototype.compact=function(){return this.filter(Ks)},kr.prototype.find=function(e){return this.filter(e).head()},kr.prototype.findLast=function(e){return this.reverse().find(e)},kr.prototype.invokeMap=Bn((function(e,t){return"function"==typeof e?new kr(this):this.map((function(r){return wn(r,e,t)}))})),kr.prototype.reject=function(e){return this.filter(Co(Ji(e)))},kr.prototype.slice=function(e,t){e=as(e);var r=this;return r.__filtered__&&(e>0||t<0)?new kr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),void 0!==t&&(r=(t=as(t))<0?r.dropRight(-t):r.take(t-e)),r)},kr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},kr.prototype.toArray=function(){return this.take(4294967295)},cn(kr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=Nr[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(Nr.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,s=t instanceof kr,l=o[0],u=s||Do(t),c=function(e){var t=i.apply(Nr,pt([e],o));return n&&d?t[0]:t};u&&r&&"function"==typeof l&&1!=l.length&&(s=u=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,f=s&&!h;if(!a&&u){t=f?t:new kr(this);var m=e.apply(t,o);return m.__actions__.push({func:no,args:[c],thisArg:void 0}),new Lr(m,d)}return p&&f?e.apply(this,o):(m=this.thru(c),p?n?m.value()[0]:m.value():m)})})),ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Nr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Do(i)?i:[],e)}return this[r]((function(r){return t.apply(Do(r)?r:[],e)}))}})),cn(kr.prototype,(function(e,t){var r=Nr[t];if(r){var n=r.name+"";Me.call(wr,n)||(wr[n]=[]),wr[n].push({name:t,func:r})}})),wr[Oi(void 0,2).name]=[{name:"wrapper",func:void 0}],kr.prototype.clone=function(){var e=new kr(this.__wrapped__);return e.__actions__=yi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yi(this.__views__),e},kr.prototype.reverse=function(){if(this.__filtered__){var e=new kr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},kr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Do(e),n=t<0,i=r?e.length:0,a=function(e,t,r){for(var n=-1,i=r.length;++n<i;){var a=r[n],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=lr(t,e+o);break;case"takeRight":e=sr(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,l=s-o,u=n?s:o-1,c=this.__iteratees__,d=c.length,h=0,p=lr(l,this.__takeCount__);if(!r||!n&&i==l&&p==l)return ii(e,this.__actions__);var f=[];e:for(;l--&&h<p;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],b=v.iteratee,y=v.type,w=b(g);if(2==y)g=w;else if(!w){if(1==y)continue e;break e}}f[h++]=g}return f},Nr.prototype.at=io,Nr.prototype.chain=function(){return ro(this)},Nr.prototype.commit=function(){return new Lr(this.value(),this.__chain__)},Nr.prototype.next=function(){void 0===this.__values__&&(this.__values__=ns(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Nr.prototype.plant=function(e){for(var t,r=this;r instanceof Rr;){var n=Na(r);n.__index__=0,n.__values__=void 0,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},Nr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof kr){var t=e;return this.__actions__.length&&(t=new kr(this)),(t=t.reverse()).__actions__.push({func:no,args:[za],thisArg:void 0}),new Lr(t,this.__chain__)}return this.thru(za)},Nr.prototype.toJSON=Nr.prototype.valueOf=Nr.prototype.value=function(){return ii(this.__wrapped__,this.__actions__)},Nr.prototype.first=Nr.prototype.head,vt&&(Nr.prototype[vt]=function(){return this}),Nr}();Ke?((Ke.exports=Xt)._=Xt,Ge._=Xt):qe._=Xt}).call(P)}));const U={top:1440,right:1800,bottom:1440,left:1800,header:720,footer:720,gutter:0};B.cloneDeep(U),new Date,new Date;var V=F((function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}})),Y=F((function(e){try{var t=d.a;if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(r){e.exports=V}})),z=p.a.EventEmitter,W=G,q=G;function G(e){if(!(this instanceof G))return new G(e);z.call(this),e=e||{},this.concurrency=e.concurrency||1/0,this.timeout=e.timeout||0,this.autostart=e.autostart||!1,this.results=e.results||null,this.pending=0,this.session=0,this.running=!1,this.jobs=[],this.timers={}}function K(){for(var e in this.timers){var t=this.timers[e];delete this.timers[e],clearTimeout(t)}}function X(e){var t=this;function r(e){t.end(e)}this.on("error",r),this.on("end",(function n(i){t.removeListener("error",r),t.removeListener("end",n),e(i,this.results)}))}function Z(e){this.session++,this.running=!1,this.emit("end",e)}Y(G,z),["pop","shift","indexOf","lastIndexOf"].forEach((function(e){G.prototype[e]=function(){return Array.prototype[e].apply(this.jobs,arguments)}})),G.prototype.slice=function(e,t){return this.jobs=this.jobs.slice(e,t),this},G.prototype.reverse=function(){return this.jobs.reverse(),this},["push","unshift","splice"].forEach((function(e){G.prototype[e]=function(){var t=Array.prototype[e].apply(this.jobs,arguments);return this.autostart&&this.start(),t}})),Object.defineProperty(G.prototype,"length",{get:function(){return this.pending+this.jobs.length}}),G.prototype.start=function(e){if(e&&X.call(this,e),this.running=!0,!(this.pending>=this.concurrency))if(0!==this.jobs.length){var t=this,r=this.jobs.shift(),n=!0,i=this.session,a=null,o=!1,s=null,l=r.hasOwnProperty("timeout")?r.timeout:this.timeout;l&&(a=setTimeout((function(){o=!0,t.listeners("timeout").length>0?t.emit("timeout",c,r):c()}),l),this.timers[a]=a),this.results&&(s=this.results.length,this.results[s]=null),this.pending++,t.emit("start",r);var u=r(c);u&&u.then&&"function"==typeof u.then&&u.then((function(e){return c(null,e)})).catch((function(e){return c(e||!0)})),this.running&&this.jobs.length>0&&this.start()}else 0===this.pending&&Z.call(this);function c(e,l){n&&t.session===i&&(n=!1,t.pending--,null!==a&&(delete t.timers[a],clearTimeout(a)),e?t.emit("error",e,r):!1===o&&(null!==s&&(t.results[s]=Array.prototype.slice.call(arguments,1)),t.emit("success",l,r)),t.session===i&&(0===t.pending&&0===t.jobs.length?Z.call(t):t.running&&t.start()))}},G.prototype.stop=function(){this.running=!1},G.prototype.end=function(e){K.call(this),this.jobs.length=0,this.pending=0,Z.call(this,e)},W.default=q;var $=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BMP=void 0,t.BMP={validate:e=>"BM"===e.toString("ascii",0,2),calculate:e=>({height:Math.abs(e.readInt32LE(22)),width:e.readUInt32LE(18)})}}));j($),$.BMP;var J=F((function(e,t){function r(e,t){const r=e.readUInt8(t);return 0===r?256:r}function n(e,t){const n=6+16*t;return{height:r(e,n+1),width:r(e,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.ICO=void 0,t.ICO={validate(e){const t=e.readUInt16LE(0),r=e.readUInt16LE(4);return 0===t&&0!==r&&1===e.readUInt16LE(2)},calculate(e){const t=e.readUInt16LE(4),r=n(e,0);if(1===t)return r;const i=[r];for(let a=1;a<t;a+=1)i.push(n(e,a));return{height:r.height,images:i,width:r.width}}}}));j(J),J.ICO;var Q=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CUR=void 0,t.CUR={validate(e){const t=e.readUInt16LE(0),r=e.readUInt16LE(4);return 0===t&&0!==r&&2===e.readUInt16LE(2)},calculate:e=>J.ICO.calculate(e)}}));j(Q),Q.CUR;var ee=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DDS=void 0,t.DDS={validate:e=>542327876===e.readUInt32LE(0),calculate:e=>({height:e.readUInt32LE(12),width:e.readUInt32LE(16)})}}));j(ee),ee.DDS;var te=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GIF=void 0;const r=/^GIF8[79]a/;t.GIF={validate(e){const t=e.toString("ascii",0,6);return r.test(t)},calculate:e=>({height:e.readUInt16LE(8),width:e.readUInt16LE(6)})}}));j(te),te.GIF;var re=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ICNS=void 0;const r={ICON:32,"ICN#":32,"icm#":16,icm4:16,icm8:16,"ics#":16,ics4:16,ics8:16,is32:16,s8mk:16,icp4:16,icl4:32,icl8:32,il32:32,l8mk:32,icp5:32,ic11:32,ich4:48,ich8:48,ih32:48,h8mk:48,icp6:64,ic12:32,it32:128,t8mk:128,ic07:128,ic08:256,ic13:256,ic09:512,ic14:512,ic10:1024};function n(e,t){const r=t+4;return[e.toString("ascii",t,r),e.readUInt32BE(r)]}function i(e){const t=r[e];return{width:t,height:t,type:e}}t.ICNS={validate:e=>"icns"===e.toString("ascii",0,4),calculate(e){const t=e.length,r=e.readUInt32BE(4);let a=8,o=n(e,a),s=i(o[0]);if(a+=o[1],a===r)return s;const l={height:s.height,images:[s],width:s.width};for(;a<r&&a<t;)o=n(e,a),s=i(o[0]),a+=o[1],l.images.push(s);return l}}}));j(re),re.ICNS;var ne=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.J2C=void 0,t.J2C={validate:e=>"ff4fff51"===e.toString("hex",0,4),calculate:e=>({height:e.readUInt32BE(12),width:e.readUInt32BE(8)})}}));j(ne),ne.J2C;var ie=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.JP2=void 0;const r="66747970",n="6a703268",i="6a502020",a="72726571",o=e=>({height:e.readUInt32BE(4),width:e.readUInt32BE(8)});t.JP2={validate(e){const t=e.toString("hex",4,8),n=e.readUInt32BE(0);if(t!==i||n<1)return!1;const a=n+4,o=e.readUInt32BE(n);return e.slice(a,a+o).toString("hex",0,4)===r},calculate(e){const t=e.readUInt32BE(0);let r=t+4+e.readUInt16BE(t+2);switch(e.toString("hex",r,r+4)){case a:return r=r+4+4+(e=>{const t=e.readUInt8(0);let r=1+2*t;return r=r+2+e.readUInt16BE(r)*(2+t),r+2+e.readUInt16BE(r)*(16+t)})(e.slice(r+4)),o(e.slice(r+8,r+24));case n:return o(e.slice(r+8,r+24));default:throw new TypeError("Unsupported header found: "+e.toString("ascii",r,r+4))}}}}));j(ie),ie.JP2;var ae=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.readUInt=void 0,t.readUInt=function(e,t,r,n){return r=r||0,e["readUInt"+t+(n?"BE":"LE")].call(e,r)}}));j(ae),ae.readUInt;var oe=F((function(e,t){function r(e){return"45786966"===e.toString("hex",2,6)}function n(e,t){return{height:e.readUInt16BE(t),width:e.readUInt16BE(t+2)}}function i(e,t){const r=e.slice(2,t),n=r.toString("hex",6,8),i="4d4d"===n;if(i||"4949"===n)return function(e,t){const r=(0,ae.readUInt)(e,16,14,t);for(let n=0;n<r;n++){const r=16+12*n,i=r+12;if(r>e.length)return;const a=e.slice(r,i);if(274===(0,ae.readUInt)(a,16,0,t)){if(3!==(0,ae.readUInt)(a,16,2,t))return;if(1!==(0,ae.readUInt)(a,32,4,t))return;return(0,ae.readUInt)(a,16,8,t)}}}(r,i)}function a(e,t){if(t>e.length)throw new TypeError("Corrupt JPG, exceeded buffer limits");if(255!==e[t])throw new TypeError("Invalid JPG, marker table corrupted")}Object.defineProperty(t,"__esModule",{value:!0}),t.JPG=void 0,t.JPG={validate:e=>"ffd8"===e.toString("hex",0,2),calculate(e){let t,o;for(e=e.slice(4);e.length;){const s=e.readUInt16BE(0);if(r(e)&&(t=i(e,s)),a(e,s),o=e[s+1],192===o||193===o||194===o){const r=n(e,s+5);return t?{height:r.height,orientation:t,width:r.width}:r}e=e.slice(s+2)}throw new TypeError("Invalid JPG, no size found")}}}));j(oe),oe.JPG;var se=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.KTX=void 0,t.KTX={validate:e=>"KTX 11"===e.toString("ascii",1,7),calculate:e=>({height:e.readUInt32LE(40),width:e.readUInt32LE(36)})}}));j(se),se.KTX;var le=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PNG=void 0,t.PNG={validate(e){if("PNG\r\n\n"===e.toString("ascii",1,8)){let t=e.toString("ascii",12,16);if("CgBI"===t&&(t=e.toString("ascii",28,32)),"IHDR"!==t)throw new TypeError("Invalid PNG");return!0}return!1},calculate:e=>"CgBI"===e.toString("ascii",12,16)?{height:e.readUInt32BE(36),width:e.readUInt32BE(32)}:{height:e.readUInt32BE(20),width:e.readUInt32BE(16)}}}));j(le),le.PNG;var ue=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PNM=void 0;const r={P1:"pbm/ascii",P2:"pgm/ascii",P3:"ppm/ascii",P4:"pbm",P5:"pgm",P6:"ppm",P7:"pam",PF:"pfm"},n=Object.keys(r),i={default:e=>{let t=[];for(;e.length>0;){const r=e.shift();if("#"!==r[0]){t=r.split(" ");break}}if(2===t.length)return{height:parseInt(t[1],10),width:parseInt(t[0],10)};throw new TypeError("Invalid PNM")},pam:e=>{const t={};for(;e.length>0;){const r=e.shift();if(r.length>16||r.charCodeAt(0)>128)continue;const[n,i]=r.split(" ");if(n&&i&&(t[n.toLowerCase()]=parseInt(i,10)),t.height&&t.width)break}if(t.height&&t.width)return{height:t.height,width:t.width};throw new TypeError("Invalid PAM")}};t.PNM={validate(e){const t=e.toString("ascii",0,2);return n.includes(t)},calculate(e){const t=e.toString("ascii",0,2),n=r[t],a=e.toString("ascii",3).split(/[\r\n]+/);return(i[n]||i.default)(a)}}}));j(ue),ue.PNM;var ce=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PSD=void 0,t.PSD={validate:e=>"8BPS"===e.toString("ascii",0,4),calculate:e=>({height:e.readUInt32BE(14),width:e.readUInt32BE(18)})}}));j(ce),ce.PSD;var de=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SVG=void 0;const r=/<svg\s([^>"']|"[^"]*"|'[^']*')*>/,n={height:/\sheight=(['"])([^%]+?)\1/,root:r,viewbox:/\sviewBox=(['"])(.+?)\1/i,width:/\swidth=(['"])([^%]+?)\1/},i={in:96,cm:96/2.54,em:16,ex:8,m:96/2.54*100,mm:96/2.54/10,pc:96/72/12,pt:96/72,px:1},a=new RegExp(`^([0-9.]+(?:e\\d+)?)(${Object.keys(i).join("|")})?$`);function o(e){const t=a.exec(e);if(t)return Math.round(Number(t[1])*(i[t[2]]||1))}function s(e){const t=e.split(" ");return{height:o(t[3]),width:o(t[2])}}t.SVG={validate(e){const t=String(e);return r.test(t)},calculate(e){const t=e.toString("utf8").match(n.root);if(t){const e=function(e){const t=e.match(n.width),r=e.match(n.height),i=e.match(n.viewbox);return{height:r&&o(r[2]),viewbox:i&&s(i[2]),width:t&&o(t[2])}}(t[0]);if(e.width&&e.height)return function(e){return{height:e.height,width:e.width}}(e);if(e.viewbox)return function(e,t){const r=t.width/t.height;return e.width?{height:Math.floor(e.width/r),width:e.width}:e.height?{height:e.height,width:Math.floor(e.height*r)}:{height:t.height,width:t.width}}(e,e.viewbox)}throw new TypeError("Invalid SVG")}}}));j(de),de.SVG;var he=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TGA=void 0,t.TGA={validate:e=>0===e.readUInt16LE(0)&&0===e.readUInt16LE(4),calculate:e=>({height:e.readUInt16LE(14),width:e.readUInt16LE(12)})}}));j(he),he.TGA;var pe=F((function(e,r){function n(e,t){const r=(0,ae.readUInt)(e,16,8,t);return((0,ae.readUInt)(e,16,10,t)<<16)+r}function i(e){if(e.length>24)return e.slice(12)}Object.defineProperty(r,"__esModule",{value:!0}),r.TIFF=void 0;const a=["49492a00","4d4d002a"];r.TIFF={validate:e=>a.includes(e.toString("hex",0,4)),calculate(e,r){if(!r)throw new TypeError("Tiff doesn't support buffer");const a="BE"===function(e){const t=e.toString("ascii",0,2);return"II"===t?"LE":"MM"===t?"BE":void 0}(e),o=function(e,r,n){const i=(0,ae.readUInt)(e,32,4,n);let a=1024;const o=s.a.statSync(r).size;i+a>o&&(a=o-i-10);const l=t.alloc(a),u=s.a.openSync(r,"r");return s.a.readSync(u,l,0,a,i),s.a.closeSync(u),l.slice(2)}(e,r,a),l=function(e,t){const r={};let a=e;for(;a&&a.length;){const e=(0,ae.readUInt)(a,16,0,t),o=(0,ae.readUInt)(a,16,2,t),s=(0,ae.readUInt)(a,32,4,t);if(0===e)break;1!==s||3!==o&&4!==o||(r[e]=n(a,t)),a=i(a)}return r}(o,a),u=l[256],c=l[257];if(!u||!c)throw new TypeError("Invalid Tiff. Missing tags");return{height:c,width:u}}}}));j(pe),pe.TIFF;var fe=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.WEBP=void 0,t.WEBP={validate(e){const t="RIFF"===e.toString("ascii",0,4),r="WEBP"===e.toString("ascii",8,12),n="VP8"===e.toString("ascii",12,15);return t&&r&&n},calculate(e){const t=e.toString("ascii",12,16);if(e=e.slice(20,30),"VP8X"===t){const t=e[0],r=0==(1&t);if(0==(192&t)&&r)return function(e){return{height:1+e.readUIntLE(7,3),width:1+e.readUIntLE(4,3)}}(e);throw new TypeError("Invalid WebP")}if("VP8 "===t&&47!==e[0])return function(e){return{height:16383&e.readInt16LE(8),width:16383&e.readInt16LE(6)}}(e);const r=e.toString("hex",3,6);if("VP8L"===t&&"9d012a"!==r)return function(e){return{height:1+((15&e[4])<<10|e[3]<<2|(192&e[2])>>6),width:1+((63&e[2])<<8|e[1])}}(e);throw new TypeError("Invalid WebP")}}}));j(fe),fe.WEBP;var me=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.typeHandlers=void 0,t.typeHandlers={bmp:$.BMP,cur:Q.CUR,dds:ee.DDS,gif:te.GIF,icns:re.ICNS,ico:J.ICO,j2c:ne.J2C,jp2:ie.JP2,jpg:oe.JPG,ktx:se.KTX,png:le.PNG,pnm:ue.PNM,psd:ce.PSD,svg:de.SVG,tga:he.TGA,tiff:pe.TIFF,webp:fe.WEBP}}));j(me),me.typeHandlers;var ge=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.detector=void 0;const r=Object.keys(me.typeHandlers),n={56:"psd",66:"bmp",68:"dds",71:"gif",73:"tiff",77:"tiff",82:"webp",105:"icns",137:"png",255:"jpg"};t.detector=function(e){const t=e[0];if(t in n){const r=n[t];if(r&&me.typeHandlers[r].validate(e))return r}return r.find(t=>me.typeHandlers[t].validate(e))}}));j(ge),ge.detector;var ve=F((function(e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.types=r.setConcurrency=r.disableTypes=r.disableFS=r.imageSize=void 0;const i=new W.default({concurrency:100,autostart:!0}),a={disabledFS:!1,disabledTypes:[]};function o(e,t){const r=(0,ge.detector)(e);if(void 0!==r){if(a.disabledTypes.indexOf(r)>-1)throw new TypeError("disabled file type: "+r);if(r in me.typeHandlers){const n=me.typeHandlers[r].calculate(e,t);if(void 0!==n)return n.type=r,n}}throw new TypeError("unsupported file type: "+r+" (file: "+t+")")}function l(e,r){if(t.isBuffer(e))return o(e);if("string"!=typeof e||a.disabledFS)throw new TypeError("invalid invocation. input should be a Buffer");const l=u.a.resolve(e);if("function"!=typeof r){const e=function(e){const r=s.a.openSync(e,"r");try{const{size:e}=s.a.fstatSync(r);if(e<=0)throw new Error("Empty file");const n=Math.min(e,524288),i=t.alloc(n);return s.a.readSync(r,i,0,n,0),i}finally{s.a.closeSync(r)}}(l);return o(e,l)}i.push(()=>async function(e){const r=await s.a.promises.open(e,"r");try{const{size:e}=await r.stat();if(e<=0)throw new Error("Empty file");const n=Math.min(e,524288),i=t.alloc(n);return await r.read(i,0,n,0),i}finally{await r.close()}}(l).then(e=>n.nextTick(r,null,o(e,l))).catch(r))}e.exports=r=l,r.default=l,r.imageSize=l,r.disableFS=e=>{a.disabledFS=e},r.disableTypes=e=>{a.disabledTypes=e},r.setConcurrency=e=>{i.concurrency=e},r.types=Object.keys(me.typeHandlers)}));j(ve);ve.types,ve.setConcurrency,ve.disableTypes,ve.disableFS,ve.imageSize;var be={},ye=be;function we(e){return e<0?-1:1}function _e(e,t){t.unsigned||--e;const r=t.unsigned?0:-Math.pow(2,e),n=Math.pow(2,e)-1,i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),a=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,o){o||(o={});let s=+e;if(o.enforceRange){if(!Number.isFinite(s))throw new TypeError("Argument is not a finite number");if(s=we(s)*Math.floor(Math.abs(s)),s<r||s>n)throw new TypeError("Argument is not in byte range");return s}if(!isNaN(s)&&o.clamp)return s=function(e){return e%1==.5&&0==(1&e)?Math.floor(e):Math.round(e)}(s),s<r&&(s=r),s>n&&(s=n),s;if(!Number.isFinite(s)||0===s)return 0;if(s=we(s)*Math.floor(Math.abs(s)),s%=i,!t.unsigned&&s>=a)return s-i;if(t.unsigned)if(s<0)s+=i;else if(-0===s)return 0;return s}}be.void=function(){},be.boolean=function(e){return!!e},be.byte=_e(8,{unsigned:!1}),be.octet=_e(8,{unsigned:!0}),be.short=_e(16,{unsigned:!1}),be["unsigned short"]=_e(16,{unsigned:!0}),be.long=_e(32,{unsigned:!1}),be["unsigned long"]=_e(32,{unsigned:!0}),be["long long"]=_e(32,{unsigned:!1,moduloBitLength:64}),be["unsigned long long"]=_e(32,{unsigned:!0,moduloBitLength:64}),be.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},be["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},be.float=be.double,be["unrestricted float"]=be["unrestricted double"],be.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},be.ByteString=function(e,t){const r=String(e);let n;for(let i=0;void 0!==(n=r.codePointAt(i));++i)if(n>255)throw new TypeError("Argument is not a valid bytestring");return r},be.USVString=function(e){const t=String(e),r=t.length,n=[];for(let i=0;i<r;++i){const e=t.charCodeAt(i);if(e<55296||e>57343)n.push(String.fromCodePoint(e));else if(56320<=e&&e<=57343)n.push(String.fromCodePoint(65533));else if(i===r-1)n.push(String.fromCodePoint(65533));else{const r=t.charCodeAt(i+1);if(56320<=r&&r<=57343){const t=1023&e,a=1023&r;n.push(String.fromCodePoint(65536+1024*t+a)),++i}else n.push(String.fromCodePoint(65533))}}return n.join("")},be.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},be.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e};var Se=F((function(e){e.exports.mixin=function(e,t){const r=Object.getOwnPropertyNames(t);for(let n=0;n<r.length;++n)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]))},e.exports.wrapperSymbol=Symbol("wrapper"),e.exports.implSymbol=Symbol("impl"),e.exports.wrapperForImpl=function(t){return t[e.exports.wrapperSymbol]},e.exports.implForWrapper=function(t){return t[e.exports.implSymbol]}}));Se.mixin,Se.wrapperSymbol,Se.implSymbol,Se.wrapperForImpl,Se.implForWrapper;var Ee=H(Object.freeze({__proto__:null,default:[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1e3,1e3],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6e3],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8e3,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8e3]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9e3],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[3e4]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13e3,13e3],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43e3,43e3],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64e3,64e3],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66e3,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[12e4,12e4],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128e3,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23e3]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149e3]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32e3]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195e3,195e3],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[4e4]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918e3,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]})),Me={TRANSITIONAL:0,NONTRANSITIONAL:1};function Te(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function Ce(e){for(var t=0,r=Ee.length-1;t<=r;){var n=Math.floor((t+r)/2),i=Ee[n];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?r=n-1:t=n+1}return null}var xe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function Ae(e){return e.replace(xe,"_").length}var Ne=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function Oe(e,t){"xn--"===e.substr(0,4)&&(e=_.a.toUnicode(e));var r=!1;(Te(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(Ne))&&(r=!0);for(var n=Ae(e),i=0;i<n;++i){var a=Ce(e.codePointAt(i));if(Re===Me.TRANSITIONAL&&"valid"!==a[1]||Re===Me.NONTRANSITIONAL&&"valid"!==a[1]&&"deviation"!==a[1]){r=!0;break}}return{label:e,error:r}}function Re(e,t,r){var n=function(e,t,r){for(var n=!1,i="",a=Ae(e),o=0;o<a;++o){var s=e.codePointAt(o),l=Ce(s);switch(l[1]){case"disallowed":n=!0,i+=String.fromCodePoint(s);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,l[2]);break;case"deviation":i+=r===Me.TRANSITIONAL?String.fromCodePoint.apply(String,l[2]):String.fromCodePoint(s);break;case"valid":i+=String.fromCodePoint(s);break;case"disallowed_STD3_mapped":t?(n=!0,i+=String.fromCodePoint(s)):i+=String.fromCodePoint.apply(String,l[2]);break;case"disallowed_STD3_valid":t&&(n=!0),i+=String.fromCodePoint(s)}}return{string:i,error:n}}(e,t,r);n.string=Te(n.string);for(var i=n.string.split("."),a=0;a<i.length;++a)try{var o=Oe(i[a]);i[a]=o.label,n.error=n.error||o.error}catch(s){n.error=!0}return{string:i.join("."),error:n.error}}var Le={toASCII:function(e,t,r,n){var i=Re(e,t,r),a=i.string.split(".");if(a=a.map((function(e){try{return _.a.toASCII(e)}catch(t){return i.error=!0,e}})),n){var o=a.slice(0,a.length-1).join(".").length;(o.length>253||0===o.length)&&(i.error=!0);for(var s=0;s<a.length;++s)if(a.length>63||0===a.length){i.error=!0;break}}return i.error?null:a.join(".")},toUnicode:function(e,t){var r=Re(e,t,Me.NONTRANSITIONAL);return{domain:r.string,error:r.error}},PROCESSING_OPTIONS:Me},ke=F((function(e){const r={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},n=Symbol("failure");function i(e){return _.a.ucs2.decode(e).length}function a(e,t){const r=e[t];return isNaN(r)?void 0:String.fromCodePoint(r)}function o(e){return e>=48&&e<=57}function s(e){return e>=65&&e<=90||e>=97&&e<=122}function l(e){return o(e)||e>=65&&e<=70||e>=97&&e<=102}function u(e){return"."===e||"%2e"===e.toLowerCase()}function c(e){return 2===e.length&&s(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function d(e){return void 0!==r[e]}function h(e){return d(e.scheme)}function p(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t="0"+t),"%"+t}function f(e){return e<=31||e>126}const m=new Set([32,34,35,60,62,63,96,123,125]);function g(e){return f(e)||m.has(e)}const v=new Set([47,58,59,61,64,91,92,93,94,124]);function b(e){return g(e)||v.has(e)}function y(e,r){const n=String.fromCodePoint(e);return r(e)?function(e){const r=new t(e);let n="";for(let t=0;t<r.length;++t)n+=p(r[t]);return n}(n):n}function w(e){let t=10;return e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e?0:(10===t?/[^0-9]/:16===t?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?n:parseInt(e,t)}function S(e,r){if("["===e[0])return"]"!==e[e.length-1]?n:function(e){const t=[0,0,0,0,0,0,0,0];let r=0,i=null,s=0;if(58===(e=_.a.ucs2.decode(e))[s]){if(58!==e[s+1])return n;s+=2,++r,i=r}for(;s<e.length;){if(8===r)return n;if(58===e[s]){if(null!==i)return n;++s,++r,i=r;continue}let u=0,c=0;for(;c<4&&l(e[s]);)u=16*u+parseInt(a(e,s),16),++s,++c;if(46===e[s]){if(0===c)return n;if(s-=c,r>6)return n;let i=0;for(;void 0!==e[s];){let l=null;if(i>0){if(!(46===e[s]&&i<4))return n;++s}if(!o(e[s]))return n;for(;o(e[s]);){const t=parseInt(a(e,s));if(null===l)l=t;else{if(0===l)return n;l=10*l+t}if(l>255)return n;++s}t[r]=256*t[r]+l,++i,2!==i&&4!==i||++r}if(4!==i)return n;break}if(58===e[s]){if(++s,void 0===e[s])return n}else if(void 0!==e[s])return n;t[r]=u,++r}if(null!==i){let e=r-i;for(r=7;0!==r&&e>0;){const n=t[i+e-1];t[i+e-1]=t[r],t[r]=n,--r,--e}}else if(null===i&&8!==r)return n;return t}(e.substring(1,e.length-1));if(!r)return function(e){if(t=e,-1!==t.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return n;var t;let r="";const i=_.a.ucs2.decode(e);for(let n=0;n<i.length;++n)r+=y(i[n],f);return r}(e);const i=function(e){const r=new t(e),n=[];for(let t=0;t<r.length;++t)37!==r[t]?n.push(r[t]):37===r[t]&&l(r[t+1])&&l(r[t+2])?(n.push(parseInt(r.slice(t+1,t+3).toString(),16)),t+=2):n.push(r[t]);return new t(n).toString()}(e),s=Le.toASCII(i,!1,Le.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(null===s)return n;if(-1!==s.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/))return n;const u=function(e){const t=e.split(".");if(""===t[t.length-1]&&t.length>1&&t.pop(),t.length>4)return e;const r=[];for(const o of t){if(""===o)return e;const t=w(o);if(t===n)return e;r.push(t)}for(let o=0;o<r.length-1;++o)if(r[o]>255)return n;if(r[r.length-1]>=Math.pow(256,5-r.length))return n;let i=r.pop(),a=0;for(const n of r)i+=n*Math.pow(256,3-a),++a;return i}(s);return"number"==typeof u||u===n?u:s}function E(e){return"number"==typeof e?function(e){let t="",r=e;for(let n=1;n<=4;++n)t=String(r%256)+t,4!==n&&(t="."+t),r=Math.floor(r/256);return t}(e):e instanceof Array?"["+function(e){let t="";const r=function(e){let t=null,r=1,n=null,i=0;for(let a=0;a<e.length;++a)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r&&(t=n,r=i),{idx:t,len:r}}(e).idx;let n=!1;for(let i=0;i<=7;++i)n&&0===e[i]||(n&&(n=!1),r!==i?(t+=e[i].toString(16),7!==i&&(t+=":")):(t+=0===i?"::":":",n=!0));return t}(e)+"]":e}function M(e){const t=e.path;var r;0!==t.length&&("file"===e.scheme&&1===t.length&&(r=t[0],/^[A-Za-z]:$/.test(r))||t.pop())}function T(e){return""!==e.username||""!==e.password}function C(e,t,r,i,a){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=r||"utf-8",this.stateOverride=a,this.url=i,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const o=function(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(o!==this.input&&(this.parseError=!0),this.input=o,this.state=a||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=_.a.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),r=this["parse "+this.state](e,t);if(!r)break;if(r===n){this.failure=!0;break}}}C.prototype["parse scheme start"]=function(e,t){if(s(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,n;this.state="no scheme",--this.pointer}return!0},C.prototype["parse scheme"]=function(e,t){if(function(e){return s(e)||o(e)}(e)||43===e||45===e||46===e)this.buffer+=t.toLowerCase();else if(58===e){if(this.stateOverride){if(h(this.url)&&!d(this.buffer))return!1;if(!h(this.url)&&d(this.buffer))return!1;if((T(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&(""===this.url.host||null===this.url.host))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;"file"===this.url.scheme?(47===this.input[this.pointer+1]&&47===this.input[this.pointer+2]||(this.parseError=!0),this.state="file"):h(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":h(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,n;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},C.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?n:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},C.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},C.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},C.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):h(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},C.prototype["parse relative slash"]=function(e){return!h(this.url)||47!==e&&92!==e?47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},C.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},C.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},C.prototype["parse authority"]=function(e,t){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const e=i(this.buffer);for(let t=0;t<e;++t){const e=this.buffer.codePointAt(t);if(58===e&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const r=y(e,b);this.passwordTokenSeenFlag?this.url.password+=r:this.url.username+=r}this.buffer=""}else if(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e){if(this.atFlag&&""===this.buffer)return this.parseError=!0,n;this.pointer-=i(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=t;return!0},C.prototype["parse hostname"]=C.prototype["parse host"]=function(e,t){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(58!==e||this.arrFlag)if(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e){if(--this.pointer,h(this.url)&&""===this.buffer)return this.parseError=!0,n;if(this.stateOverride&&""===this.buffer&&(T(this.url)||null!==this.url.port))return this.parseError=!0,!1;const e=S(this.buffer,h(this.url));if(e===n)return n;if(this.url.host=e,this.buffer="",this.state="path start",this.stateOverride)return!1}else 91===e?this.arrFlag=!0:93===e&&(this.arrFlag=!1),this.buffer+=t;else{if(""===this.buffer)return this.parseError=!0,n;const e=S(this.buffer,h(this.url));if(e===n)return n;if(this.url.host=e,this.buffer="",this.state="port","hostname"===this.stateOverride)return!1}return!0},C.prototype["parse port"]=function(e,t){if(o(e))this.buffer+=t;else{if(!(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e||this.stateOverride))return this.parseError=!0,n;if(""!==this.buffer){const e=parseInt(this.buffer);if(e>Math.pow(2,16)-1)return this.parseError=!0,n;this.url.port=e===(i=this.url.scheme,r[i])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var i;return!0};const x=new Set([47,92,63,35]);C.prototype["parse file"]=function(e){var t,r;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(t=e,r=this.input[this.pointer+1],!s(t)||58!==r&&124!==r)||this.input.length-this.pointer-1>=2&&!x.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),M(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},C.prototype["parse file slash"]=function(e){var t;return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(t=this.base.path[0]).length&&s(t.codePointAt(0))&&":"===t[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},C.prototype["parse file host"]=function(e,t){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&c(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=S(this.buffer,h(this.url));if(e===n)return n;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},C.prototype["parse path start"]=function(e){return h(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},C.prototype["parse path"]=function(e){if(isNaN(e)||47===e||h(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(h(this.url)&&92===e&&(this.parseError=!0),".."===(t=(t=this.buffer).toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t?(M(this.url),47===e||h(this.url)&&92===e||this.url.path.push("")):!u(this.buffer)||47===e||h(this.url)&&92===e?u(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&c(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=y(e,g);var t;return!0},C.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+y(e,f))),!0},C.prototype["parse query"]=function(e,r){if(isNaN(e)||!this.stateOverride&&35===e){h(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");const r=new t(this.buffer);for(let e=0;e<r.length;++e)r[e]<33||r[e]>126||34===r[e]||35===r[e]||60===r[e]||62===r[e]?this.url.query+=p(r[e]):this.url.query+=String.fromCodePoint(r[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=r;return!0},C.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=y(e,f))),!0},e.exports.serializeURL=function(e,t){let r=e.scheme+":";if(null!==e.host?(r+="//",""===e.username&&""===e.password||(r+=e.username,""!==e.password&&(r+=":"+e.password),r+="@"),r+=E(e.host),null!==e.port&&(r+=":"+e.port)):null===e.host&&"file"===e.scheme&&(r+="//"),e.cannotBeABaseURL)r+=e.path[0];else for(const n of e.path)r+="/"+n;return null!==e.query&&(r+="?"+e.query),t||null===e.fragment||(r+="#"+e.fragment),r},e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(r){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(e){let t=e.scheme+"://";return t+=E(e.host),null!==e.port&&(t+=":"+e.port),t}({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const r=new C(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return r.failure?"failure":r.url},e.exports.setTheUsername=function(e,t){e.username="";const r=_.a.ucs2.decode(t);for(let n=0;n<r.length;++n)e.username+=y(r[n],b)},e.exports.setThePassword=function(e,t){e.password="";const r=_.a.ucs2.decode(t);for(let n=0;n<r.length;++n)e.password+=y(r[n],b)},e.exports.serializeHost=E,e.exports.cannotHaveAUsernamePasswordPort=function(e){return null===e.host||""===e.host||e.cannotBeABaseURL||"file"===e.scheme},e.exports.serializeInteger=function(e){return String(e)},e.exports.parseURL=function(t,r){return void 0===r&&(r={}),e.exports.basicURLParse(t,{baseURL:r.baseURL,encodingOverride:r.encodingOverride})}}));ke.serializeURL,ke.serializeURLOrigin,ke.basicURLParse,ke.setTheUsername,ke.setThePassword,ke.serializeHost,ke.cannotHaveAUsernamePasswordPort,ke.serializeInteger,ke.parseURL;var Ie=class{constructor(e){const t=e[0],r=e[1];let n=null;if(void 0!==r&&(n=ke.basicURLParse(r),"failure"===n))throw new TypeError("Invalid base URL");const i=ke.basicURLParse(t,{baseURL:n});if("failure"===i)throw new TypeError("Invalid URL");this._url=i}get href(){return ke.serializeURL(this._url)}set href(e){const t=ke.basicURLParse(e);if("failure"===t)throw new TypeError("Invalid URL");this._url=t}get origin(){return ke.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){ke.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){ke.cannotHaveAUsernamePasswordPort(this._url)||ke.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){ke.cannotHaveAUsernamePasswordPort(this._url)||ke.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?ke.serializeHost(e.host):ke.serializeHost(e.host)+":"+ke.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||ke.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":ke.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||ke.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":ke.serializeInteger(this._url.port)}set port(e){ke.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:ke.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],ke.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(e){const t=this._url;if(""===e)return void(t.query=null);const r="?"===e[0]?e.substring(1):e;t.query="",ke.basicURLParse(r,{url:t,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(e){if(""===e)return void(this._url.fragment=null);const t="#"===e[0]?e.substring(1):e;this._url.fragment="",ke.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}},De=F((function(e){const t=Se.implSymbol;function r(n){if(!this||this[t]||!(this instanceof r))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const i=[];for(let e=0;e<arguments.length&&e<2;++e)i[e]=arguments[e];i[0]=ye.USVString(i[0]),void 0!==i[1]&&(i[1]=ye.USVString(i[1])),e.exports.setup(this,i)}r.prototype.toJSON=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");const r=[];for(let e=0;e<arguments.length&&e<0;++e)r[e]=arguments[e];return this[t].toJSON.apply(this[t],r)},Object.defineProperty(r.prototype,"href",{get(){return this[t].href},set(e){e=ye.USVString(e),this[t].href=e},enumerable:!0,configurable:!0}),r.prototype.toString=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");return this.href},Object.defineProperty(r.prototype,"origin",{get(){return this[t].origin},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"protocol",{get(){return this[t].protocol},set(e){e=ye.USVString(e),this[t].protocol=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"username",{get(){return this[t].username},set(e){e=ye.USVString(e),this[t].username=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"password",{get(){return this[t].password},set(e){e=ye.USVString(e),this[t].password=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"host",{get(){return this[t].host},set(e){e=ye.USVString(e),this[t].host=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hostname",{get(){return this[t].hostname},set(e){e=ye.USVString(e),this[t].hostname=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"port",{get(){return this[t].port},set(e){e=ye.USVString(e),this[t].port=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pathname",{get(){return this[t].pathname},set(e){e=ye.USVString(e),this[t].pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"search",{get(){return this[t].search},set(e){e=ye.USVString(e),this[t].search=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hash",{get(){return this[t].hash},set(e){e=ye.USVString(e),this[t].hash=e},enumerable:!0,configurable:!0}),e.exports={is:e=>!!e&&e[t]instanceof Ie,create(e,t){let n=Object.create(r.prototype);return this.setup(n,e,t),n},setup(e,r,n){n||(n={}),n.wrapper=e,e[t]=new Ie(r,n),e[t][Se.wrapperSymbol]=e},interface:r,expose:{Window:{URL:r},Worker:{URL:r}}}}));De.is,De.create,De.setup,De.expose;var Pe={URL:De.interface,serializeURL:ke.serializeURL,serializeURLOrigin:ke.serializeURLOrigin,basicURLParse:ke.basicURLParse,setTheUsername:ke.setTheUsername,setThePassword:ke.setThePassword,serializeHost:ke.serializeHost,serializeInteger:ke.serializeInteger,parseURL:ke.parseURL};const je=m.a.Readable,Fe=Symbol("buffer"),He=Symbol("type");class Be{constructor(){this[He]="";const e=arguments[0],r=arguments[1],n=[];let i=0;if(e){const r=e,a=Number(r.length);for(let e=0;e<a;e++){const a=r[e];let o;o=a instanceof t?a:ArrayBuffer.isView(a)?t.from(a.buffer,a.byteOffset,a.byteLength):a instanceof ArrayBuffer?t.from(a):a instanceof Be?a[Fe]:t.from("string"==typeof a?a:String(a)),i+=o.length,n.push(o)}}this[Fe]=t.concat(n);let a=r&&void 0!==r.type&&String(r.type).toLowerCase();a&&!/[^\u0020-\u007E]/.test(a)&&(this[He]=a)}get size(){return this[Fe].length}get type(){return this[He]}text(){return Promise.resolve(this[Fe].toString())}arrayBuffer(){const e=this[Fe],t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new je;return e._read=function(){},e.push(this[Fe]),e.push(null),e}toString(){return"[object Blob]"}slice(){const e=this.size,t=arguments[0],r=arguments[1];let n,i;n=void 0===t?0:t<0?Math.max(e+t,0):Math.min(t,e),i=void 0===r?e:r<0?Math.max(e+r,0):Math.min(r,e);const a=Math.max(i-n,0),o=this[Fe].slice(n,n+a),s=new Be([],{type:arguments[2]});return s[Fe]=o,s}}function Ue(e,t,r){Error.call(this,e),this.message=e,this.type=t,r&&(this.code=this.errno=r.code),Error.captureStackTrace(this,this.constructor)}let Ve;Object.defineProperties(Be.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}}),Object.defineProperty(Be.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0}),Ue.prototype=Object.create(Error.prototype),Ue.prototype.constructor=Ue,Ue.prototype.name="FetchError";try{Ve=r(!function(){var e=new Error("Cannot find module 'encoding'");throw e.code="MODULE_NOT_FOUND",e}()).convert}catch(xt){}const Ye=Symbol("Body internals"),ze=m.a.PassThrough;function We(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.size;let a=void 0===i?0:i;var o=n.timeout;let s=void 0===o?0:o;null==e?e=null:Ge(e)?e=t.from(e.toString()):Ke(e)||t.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=t.from(e):ArrayBuffer.isView(e)?e=t.from(e.buffer,e.byteOffset,e.byteLength):e instanceof m.a||(e=t.from(String(e)))),this[Ye]={body:e,disturbed:!1,error:null},this.size=a,this.timeout=s,e instanceof m.a&&e.on("error",(function(e){const t="AbortError"===e.name?e:new Ue(`Invalid response body while trying to fetch ${r.url}: ${e.message}`,"system",e);r[Ye].error=t}))}function qe(){var e=this;if(this[Ye].disturbed)return We.Promise.reject(new TypeError("body used already for: "+this.url));if(this[Ye].disturbed=!0,this[Ye].error)return We.Promise.reject(this[Ye].error);let r=this.body;if(null===r)return We.Promise.resolve(t.alloc(0));if(Ke(r)&&(r=r.stream()),t.isBuffer(r))return We.Promise.resolve(r);if(!(r instanceof m.a))return We.Promise.resolve(t.alloc(0));let n=[],i=0,a=!1;return new We.Promise((function(o,s){let l;e.timeout&&(l=setTimeout((function(){a=!0,s(new Ue(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),r.on("error",(function(t){"AbortError"===t.name?(a=!0,s(t)):s(new Ue(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),r.on("data",(function(t){if(!a&&null!==t){if(e.size&&i+t.length>e.size)return a=!0,void s(new Ue(`content size at ${e.url} over limit: ${e.size}`,"max-size"));i+=t.length,n.push(t)}})),r.on("end",(function(){if(!a){clearTimeout(l);try{o(t.concat(n,i))}catch(r){s(new Ue(`Could not create Buffer from response body for ${e.url}: ${r.message}`,"system",r))}}}))}))}function Ge(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function Ke(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function Xe(e){let t,r,n=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return n instanceof m.a&&"function"!=typeof n.getBoundary&&(t=new ze,r=new ze,n.pipe(t),n.pipe(r),e[Ye].body=t,n=r),n}function Ze(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":Ge(e)?"application/x-www-form-urlencoded;charset=UTF-8":Ke(e)?e.type||null:t.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?"multipart/form-data;boundary="+e.getBoundary():e instanceof m.a?null:"text/plain;charset=UTF-8"}function $e(e){const r=e.body;return null===r?0:Ke(r)?r.size:t.isBuffer(r)?r.length:r&&"function"==typeof r.getLengthSync&&(r._lengthRetrievers&&0==r._lengthRetrievers.length||r.hasKnownLength&&r.hasKnownLength())?r.getLengthSync():null}We.prototype={get body(){return this[Ye].body},get bodyUsed(){return this[Ye].disturbed},arrayBuffer(){return qe.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return qe.call(this).then((function(t){return Object.assign(new Be([],{type:e.toLowerCase()}),{[Fe]:t})}))},json(){var e=this;return qe.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(r){return We.Promise.reject(new Ue(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}}))},text(){return qe.call(this).then((function(e){return e.toString()}))},buffer(){return qe.call(this)},textConverted(){var e=this;return qe.call(this).then((function(t){return function(e,t){if("function"!=typeof Ve)throw new Error("The package `encoding` must be installed to use the textConverted() function");const r=t.get("content-type");let n,i,a="utf-8";return r&&(n=/charset=([^;]*)/i.exec(r)),i=e.slice(0,1024).toString(),!n&&i&&(n=/<meta.+?charset=(['"])(.+?)\1/i.exec(i)),!n&&i&&(n=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(i),n||(n=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(i),n&&n.pop()),n&&(n=/charset=(.*)/i.exec(n.pop()))),!n&&i&&(n=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(i)),n&&(a=n.pop(),"gb2312"!==a&&"gbk"!==a||(a="gb18030")),Ve(e,"UTF-8",a).toString()}(t,e.headers)}))}},Object.defineProperties(We.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),We.mixIn=function(e){for(const t of Object.getOwnPropertyNames(We.prototype))if(!(t in e)){const r=Object.getOwnPropertyDescriptor(We.prototype,t);Object.defineProperty(e,t,r)}},We.Promise=e.Promise;const Je=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,Qe=/[^\t\x20-\x7e\x80-\xff]/;function et(e){if(e=""+e,Je.test(e)||""===e)throw new TypeError(e+" is not a legal HTTP header name")}function tt(e){if(e=""+e,Qe.test(e))throw new TypeError(e+" is not a legal HTTP header value")}function rt(e,t){t=t.toLowerCase();for(const r in e)if(r.toLowerCase()===t)return r}const nt=Symbol("map");class it{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[nt]=Object.create(null),e instanceof it){const t=e.raw(),r=Object.keys(t);for(const e of r)for(const r of t[e])this.append(e,r)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const r=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");r.push(Array.from(t))}for(const e of r){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const r of Object.keys(e)){const t=e[r];this.append(r,t)}}}}get(e){et(e=""+e);const t=rt(this[nt],e);return void 0===t?null:this[nt][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=at(this),n=0;for(;n<r.length;){var i=r[n];const a=i[0],o=i[1];e.call(t,o,a,this),r=at(this),n++}}set(e,t){t=""+t,et(e=""+e),tt(t);const r=rt(this[nt],e);this[nt][void 0!==r?r:e]=[t]}append(e,t){t=""+t,et(e=""+e),tt(t);const r=rt(this[nt],e);void 0!==r?this[nt][r].push(t):this[nt][e]=[t]}has(e){return et(e=""+e),void 0!==rt(this[nt],e)}delete(e){et(e=""+e);const t=rt(this[nt],e);void 0!==t&&delete this[nt][t]}raw(){return this[nt]}keys(){return st(this,"key")}values(){return st(this,"value")}[Symbol.iterator](){return st(this,"key+value")}}function at(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key+value";const r=Object.keys(e[nt]).sort();return r.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[nt][t].join(", ")}:function(t){return[t.toLowerCase(),e[nt][t].join(", ")]})}it.prototype.entries=it.prototype[Symbol.iterator],Object.defineProperty(it.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(it.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const ot=Symbol("internal");function st(e,t){const r=Object.create(lt);return r[ot]={target:e,kind:t,index:0},r}const lt=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==lt)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[ot];const t=e.target,r=e.kind,n=e.index,i=at(t,r);return n>=i.length?{value:void 0,done:!0}:(this[ot].index=n+1,{value:i[n],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function ut(e){const t=Object.assign({__proto__:null},e[nt]),r=rt(e[nt],"Host");return void 0!==r&&(t[r]=t[r][0]),t}Object.defineProperty(lt,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const ct=Symbol("Response internals"),dt=v.a.STATUS_CODES;class ht{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};We.call(this,e,t);const r=t.status||200,n=new it(t.headers);if(null!=e&&!n.has("Content-Type")){const t=Ze(e);t&&n.append("Content-Type",t)}this[ct]={url:t.url,status:r,statusText:t.statusText||dt[r],headers:n,counter:t.counter}}get url(){return this[ct].url||""}get status(){return this[ct].status}get ok(){return this[ct].status>=200&&this[ct].status<300}get redirected(){return this[ct].counter>0}get statusText(){return this[ct].statusText}get headers(){return this[ct].headers}clone(){return new ht(Xe(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}We.mixIn(ht.prototype),Object.defineProperties(ht.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(ht.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const pt=Symbol("Request internals"),ft=y.a.URL||Pe.URL,mt=y.a.parse,gt=y.a.format;function vt(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new ft(e).toString()),mt(e)}const bt="destroy"in m.a.Readable.prototype;function yt(e){return"object"==typeof e&&"object"==typeof e[pt]}class wt{constructor(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};yt(e)?t=vt(e.url):(t=e&&e.href?vt(e.href):vt(""+e),e={});let n=r.method||e.method||"GET";if(n=n.toUpperCase(),(null!=r.body||yt(e)&&null!==e.body)&&("GET"===n||"HEAD"===n))throw new TypeError("Request with GET/HEAD method cannot have body");let i=null!=r.body?r.body:yt(e)&&null!==e.body?Xe(e):null;We.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const a=new it(r.headers||e.headers||{});if(null!=i&&!a.has("Content-Type")){const e=Ze(i);e&&a.append("Content-Type",e)}let o=yt(e)?e.signal:null;if("signal"in r&&(o=r.signal),null!=o&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(o))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[pt]={method:n,redirect:r.redirect||e.redirect||"follow",headers:a,parsedURL:t,signal:o},this.follow=void 0!==r.follow?r.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==r.compress?r.compress:void 0===e.compress||e.compress,this.counter=r.counter||e.counter||0,this.agent=r.agent||e.agent}get method(){return this[pt].method}get url(){return gt(this[pt].parsedURL)}get headers(){return this[pt].headers}get redirect(){return this[pt].redirect}get signal(){return this[pt].signal}clone(){return new wt(this)}}function _t(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}We.mixIn(wt.prototype),Object.defineProperty(wt.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(wt.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),_t.prototype=Object.create(Error.prototype),_t.prototype.constructor=_t,_t.prototype.name="AbortError";const St=y.a.URL||Pe.URL,Et=m.a.PassThrough;function Mt(e,r){if(!Mt.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return We.Promise=Mt.Promise,new Mt.Promise((function(n,i){const a=new wt(e,r),o=function(e){const t=e[pt].parsedURL,r=new it(e[pt].headers);if(r.has("Accept")||r.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof m.a.Readable&&!bt)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let n=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(n="0"),null!=e.body){const t=$e(e);"number"==typeof t&&(n=String(t))}n&&r.set("Content-Length",n),r.has("User-Agent")||r.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!r.has("Accept-Encoding")&&r.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(t)),r.has("Connection")||i||r.set("Connection","close"),Object.assign({},t,{method:e.method,headers:ut(r),agent:i})}(a),s=("https:"===o.protocol?E.a:v.a).request,l=a.signal;let u=null;const c=function(){let e=new _t("The user aborted a request.");i(e),a.body&&a.body instanceof m.a.Readable&&a.body.destroy(e),u&&u.body&&u.body.emit("error",e)};if(l&&l.aborted)return void c();const d=function(){c(),f()},h=s(o);let p;function f(){h.abort(),l&&l.removeEventListener("abort",d),clearTimeout(p)}l&&l.addEventListener("abort",d),a.timeout&&h.once("socket",(function(e){p=setTimeout((function(){i(new Ue("network timeout at: "+a.url,"request-timeout")),f()}),a.timeout)})),h.on("error",(function(e){i(new Ue(`request to ${a.url} failed, reason: ${e.message}`,"system",e)),f()})),h.on("response",(function(e){clearTimeout(p);const t=function(e){const t=new it;for(const r of Object.keys(e))if(!Je.test(r))if(Array.isArray(e[r]))for(const n of e[r])Qe.test(n)||(void 0===t[nt][r]?t[nt][r]=[n]:t[nt][r].push(n));else Qe.test(e[r])||(t[nt][r]=[e[r]]);return t}(e.headers);if(Mt.isRedirect(e.statusCode)){const r=t.get("Location");let o=null;try{o=null===r?null:new St(r,a.url).toString()}catch(h){if("manual"!==a.redirect)return i(new Ue("uri requested responds with an invalid redirect URL: "+r,"invalid-redirect")),void f()}switch(a.redirect){case"error":return i(new Ue("uri requested responds with a redirect, redirect mode is set to error: "+a.url,"no-redirect")),void f();case"manual":if(null!==o)try{t.set("Location",o)}catch(h){i(h)}break;case"follow":if(null===o)break;if(a.counter>=a.follow)return i(new Ue("maximum redirect reached at: "+a.url,"max-redirect")),void f();const r={headers:new it(a.headers),follow:a.follow,counter:a.counter+1,agent:a.agent,compress:a.compress,method:a.method,body:a.body,signal:a.signal,timeout:a.timeout,size:a.size};if(!function(e,t){const r=new St(t).hostname,n=new St(e).hostname;return r===n||"."===r[r.length-n.length-1]&&r.endsWith(n)}(a.url,o))for(const e of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(e);return 303!==e.statusCode&&a.body&&null===$e(a)?(i(new Ue("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void f()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==a.method)||(r.method="GET",r.body=void 0,r.headers.delete("content-length")),n(Mt(new wt(o,r))),void f())}}e.once("end",(function(){l&&l.removeEventListener("abort",d)}));let r=e.pipe(new Et);const o={url:a.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:a.size,timeout:a.timeout,counter:a.counter},s=t.get("Content-Encoding");if(!a.compress||"HEAD"===a.method||null===s||204===e.statusCode||304===e.statusCode)return u=new ht(r,o),void n(u);const c={flush:T.a.Z_SYNC_FLUSH,finishFlush:T.a.Z_SYNC_FLUSH};if("gzip"==s||"x-gzip"==s)return r=r.pipe(T.a.createGunzip(c)),u=new ht(r,o),void n(u);if("deflate"!=s&&"x-deflate"!=s){if("br"==s&&"function"==typeof T.a.createBrotliDecompress)return r=r.pipe(T.a.createBrotliDecompress()),u=new ht(r,o),void n(u);u=new ht(r,o),n(u)}else e.pipe(new Et).once("data",(function(e){r=8==(15&e[0])?r.pipe(T.a.createInflate()):r.pipe(T.a.createInflateRaw()),u=new ht(r,o),n(u)}))})),function(e,r){const n=r.body;null===n?e.end():Ke(n)?n.stream().pipe(e):t.isBuffer(n)?(e.write(n),e.end()):n.pipe(e)}(h,a)}))}Mt.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},Mt.Promise=e.Promise;H(Object.freeze({__proto__:null,default:Mt,Headers:it,Request:wt,Response:ht,FetchError:Ue}));var Tt=H(Object.freeze({__proto__:null,default:{"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}})),Ct=F((function(e,t){var r=u.a.extname,n=/^\s*([^;\s]*)(?:;|\s|$)/,i=/^text\//i;function a(e){if(!e||"string"!=typeof e)return!1;var t=n.exec(e),r=t&&Tt[t[1].toLowerCase()];return r&&r.charset?r.charset:!(!t||!i.test(t[1]))&&"UTF-8"}t.charset=a,t.charsets={lookup:a},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var r=-1===e.indexOf("/")?t.lookup(e):e;if(!r)return!1;if(-1===r.indexOf("charset")){var n=t.charset(r);n&&(r+="; charset="+n.toLowerCase())}return r},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var r=n.exec(e),i=r&&t.extensions[r[1].toLowerCase()];return!(!i||!i.length)&&i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=r("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),function(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Tt).forEach((function(n){var i=Tt[n],a=i.extensions;if(a&&a.length){e[n]=a;for(var o=0;o<a.length;o++){var s=a[o];if(t[s]){var l=r.indexOf(Tt[t[s]].source),u=r.indexOf(i.source);if("application/octet-stream"!==t[s]&&(l>u||l===u&&"application/"===t[s].substr(0,12)))continue}t[s]=n}}}))}(t.extensions,t.types)}));Ct.charset,Ct.charsets,Ct.contentType,Ct.extension,Ct.extensions,Ct.lookup,Ct.types;a()({VNode:O,VText:I});a()({VNode:O,VText:I})}).call(this,r("c8ba"),r("b639").Buffer,r("4362"))},c592:function(e,t,r){"use strict";function n(e,t){e.push(t)}function i(e){return e.pop()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.push=n,t.pop=i},c598:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("4b7d");function a(e,t){const r=e[0],o=e[1],s=t[0],l=t[1];if(console.assert(i.tree_rootNode(r)===i.tree_rootNode(s),"Boundary points must share the same root node."),r===s)return o===l?n.BoundaryPosition.Equal:o<l?n.BoundaryPosition.Before:n.BoundaryPosition.After;if(i.tree_isFollowing(s,r)){const e=a([s,l],[r,o]);if(e===n.BoundaryPosition.Before)return n.BoundaryPosition.After;if(e===n.BoundaryPosition.After)return n.BoundaryPosition.Before}if(i.tree_isAncestorOf(s,r)){let e=s;while(!i.tree_isChildOf(r,e))null!==e._parent&&(e=e._parent);if(i.tree_index(e)<o)return n.BoundaryPosition.After}return n.BoundaryPosition.Before}t.boundaryPoint_position=a},c5ae:function(e,t,r){"use strict";var n=r("9e75"),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},c5c4:function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));r("7a89");var n=r("f938"),i=r("de3b"),a=r("491c"),o=r("87d6"),s=r("7b9c");function l(e,t){u(e,t),t.add(e)}function u(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,r){return t=d(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=h(e,"string");return"symbol"==typeof t?t:t+""}function h(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function p(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const f="editorManager.navigation";var m=new WeakSet;class g{constructor(e,t,r){l(this,m),c(this,"hot",void 0),c(this,"tableMeta",void 0),c(this,"selection",void 0),c(this,"eventManager",void 0),c(this,"destroyed",!1),c(this,"lock",!1),c(this,"activeEditor",void 0),c(this,"cellProperties",void 0),this.hot=e,this.tableMeta=t,this.selection=r,this.eventManager=new o["a"](e),this.hot.addHook("afterDocumentKeyDown",e=>p(m,this,v).call(this,e)),this.eventManager.addEventListener(this.hot.rootDocument.documentElement,"compositionstart",e=>{!this.destroyed&&this.hot.isListening()&&this.openEditor("",e)}),this.hot.view._wt.update("onCellDblClick",(e,t,r)=>p(m,this,b).call(this,e,t,r))}lockEditor(){this.lock=!0}unlockEditor(){this.lock=!1}destroyEditor(e){this.lock||this.closeEditor(e)}getActiveEditor(){return this.activeEditor}prepareEditor(){var e;if(this.lock)return;if(this.activeEditor&&this.activeEditor.isWaiting())return void this.closeEditor(!1,!1,e=>{e&&this.prepareEditor()});const t=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;if(!t||t.isHeader())return;const{row:r,col:n}=t,i=this.hot.runHooks("modifyGetCellCoords",r,n);let o=r,s=n;if(Array.isArray(i)&&([o,s]=i),this.cellProperties=this.hot.getCellMeta(o,s),!this.isCellEditable())return void this.clearActiveEditor();const l=this.hot.getCell(r,n,!0);if(l){const e=this.hot.getCellEditor(this.cellProperties),t=this.hot.colToProp(s),i=this.hot.getSourceDataAtCell(this.hot.toPhysicalRow(o),s);this.activeEditor=Object(a["b"])(e,this.hot),this.activeEditor.prepare(r,n,t,l,i,this.cellProperties)}}isEditorOpened(){return this.activeEditor&&this.activeEditor.isOpened()}openEditor(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!this.isCellEditable())return void this.clearActiveEditor();const n=this.hot.getSelectedRangeLast();let i=this.hot.runHooks("beforeBeginEditing",n.highlight.row,n.highlight.col,e,t,r);t instanceof MouseEvent&&"boolean"!==typeof i&&(i=0===this.hot.selection.getLayerLevel()&&n.isSingle()),!1!==i?(this.activeEditor||(this.hot.scrollToFocusedCell(),this.prepareEditor()),this.activeEditor&&(r&&this.activeEditor.enableFullEditMode(),this.activeEditor.beginEditing(e,t))):this.clearActiveEditor()}closeEditor(e,t,r){this.activeEditor?this.activeEditor.finishEditing(e,t,r):r&&r(!1)}closeEditorAndSaveChanges(e){this.closeEditor(!1,e)}closeEditorAndRestoreOriginalValue(e){this.closeEditor(!0,e)}clearActiveEditor(){this.activeEditor=void 0}isCellEditable(){const e=this.hot.getSelectedRangeLast();if(!e)return!1;const t=this.hot.getCellEditor(this.cellProperties),{row:r,col:n}=e.highlight,{rowIndexMapper:i,columnIndexMapper:a}=this.hot,o=i.isHidden(this.hot.toPhysicalRow(r))||a.isHidden(this.hot.toPhysicalColumn(n));return!(this.cellProperties.readOnly||!t||o)}moveSelectionAfterEnter(e){const t={..."function"===typeof this.tableMeta.enterMoves?this.tableMeta.enterMoves(e):this.tableMeta.enterMoves};e.shiftKey&&(t.row=-t.row,t.col=-t.col),this.hot.selection.isMultiple()?this.selection.transformFocus(t.row,t.col):this.selection.transformStart(t.row,t.col,!0)}destroy(){this.destroyed=!0,this.eventManager.destroy()}}function v(e){const t=this.hot.getSelectedRangeLast();if(!this.hot.isListening()||!t||t.highlight.isHeader()||Object(i["isImmediatePropagationStopped"])(e))return;const{keyCode:r}=e,a=(e.ctrlKey||e.metaKey)&&!e.altKey;if((!this.activeEditor||this.activeEditor&&!this.activeEditor.isWaiting())&&!Object(n["isFunctionKey"])(r)&&!Object(n["isCtrlMetaKey"])(r)&&!a&&!this.isEditorOpened()){const t=this.hot.getShortcutManager(),r=t.getContext("editor"),n={runOnlyIf:()=>Object(s["isDefined"])(this.hot.getSelected()),group:f};r.addShortcuts([{keys:[["ArrowUp"]],callback:()=>{this.hot.selection.transformStart(-1,0)}},{keys:[["ArrowDown"]],callback:()=>{this.hot.selection.transformStart(1,0)}},{keys:[["ArrowLeft"]],callback:()=>{this.hot.selection.transformStart(0,-1*this.hot.getDirectionFactor())}},{keys:[["ArrowRight"]],callback:()=>{this.hot.selection.transformStart(0,this.hot.getDirectionFactor())}}],n),this.openEditor("",e)}}function b(e,t){t.isCell()&&this.openEditor(null,e,!0)}const y=new WeakMap;g.getInstance=function(e,t,r){let n=y.get(e);return n||(n=new g(e,t,r),y.set(e,n)),n},t["b"]=g},c5cd:function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return d}));r("7a89");var n=r("7b9c"),i=r("351d"),a=r("7ae0");function o(e,t,r){return t=s(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=l(e,"string");return"symbol"==typeof t?t:t+""}function l(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}let u=0;class c{constructor(){o(this,"collection",new Map)}register(e,t){!1===this.collection.has(e)&&(this.collection.set(e,t),t.addLocalHook("change",()=>this.runLocalHooks("change",t)),u+=1)}unregister(e){const t=this.collection.get(e);Object(n["isDefined"])(t)&&(t.destroy(),this.collection.delete(e),this.runLocalHooks("change",t),u-=1)}unregisterAll(){this.collection.forEach((e,t)=>this.unregister(t)),this.collection.clear()}get(e){return Object(n["isUndefined"])(e)?Array.from(this.collection.values()):this.collection.get(e)}getLength(){return this.collection.size}removeFromEvery(e){this.collection.forEach(t=>{t.remove(e)})}insertToEvery(e,t){this.collection.forEach(r=>{r.insert(e,t)})}initEvery(e){this.collection.forEach(t=>{t.init(e)})}}function d(){return u}Object(i["mixin"])(c,a["a"])},c606:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9af8");class i{get previousElementSibling(){let e=n.Cast.asNode(this)._previousSibling;while(e){if(n.Guard.isElementNode(e))return e;e=e._previousSibling}return null}get nextElementSibling(){let e=n.Cast.asNode(this)._nextSibling;while(e){if(n.Guard.isElementNode(e))return e;e=e._nextSibling}return null}}t.NonDocumentTypeChildNodeImpl=i},c69f:function(e,t,r){"use strict";var n=r("966d");function i(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,e)):n.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(o,r,e)):n.nextTick(o,r,e):t&&t(e)})),this)}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:a}},c733:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}check(e,t){if(this._items.get(e)===t)return!0;if(this._items.get(t)===e)return!1;const r=Math.random()<.5;if(r?this._items.set(e,t):this._items.set(t,e),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}return r}}t.CompareCache=n},c7aa:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,r){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?r?'לפנה"צ':"לפני הצהריים":e<18?r?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},c834:function(e,t,r){"use strict";function n(e,t,r,n){var i=65535&e|0,a=e>>>16&65535|0,o=0;while(0!==r){o=r>2e3?2e3:r,r-=o;do{i=i+t[n++]|0,a=a+i|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}e.exports=n},c8ba6:function(e,t,r){"use strict";var n=r("16e7"),i=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),a="";for(var o in i)a+=o;return e!==a},a=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1};e.exports=function(){return Object.assign?i()||a()?n:Object.assign:n}},c8f3:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,r){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},c90b:function(e,t,r){(function(e,n,i){var a=r("a9f1"),o=r("3fb5"),s=r("3d1b"),l=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=t.IncomingMessage=function(t,r,o,l){var u=this;if(s.Readable.call(u),u._mode=o,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",(function(){e.nextTick((function(){u.emit("close")}))})),"fetch"===o){if(u._fetchResponse=r,u.url=r.url,u.statusCode=r.status,u.statusMessage=r.statusText,r.headers.forEach((function(e,t){u.headers[t.toLowerCase()]=e,u.rawHeaders.push(t,e)})),a.writableStream){var c=new WritableStream({write:function(e){return new Promise((function(t,r){u._destroyed?r():u.push(new n(e))?t():u._resumeFetch=t}))},close:function(){i.clearTimeout(l),u._destroyed||u.push(null)},abort:function(e){u._destroyed||u.emit("error",e)}});try{return void r.body.pipeTo(c).catch((function(e){i.clearTimeout(l),u._destroyed||u.emit("error",e)}))}catch(g){}}var d=r.body.getReader();function h(){d.read().then((function(e){if(!u._destroyed){if(e.done)return i.clearTimeout(l),void u.push(null);u.push(new n(e.value)),h()}})).catch((function(e){i.clearTimeout(l),u._destroyed||u.emit("error",e)}))}h()}else{u._xhr=t,u._pos=0,u.url=t.responseURL,u.statusCode=t.status,u.statusMessage=t.statusText;var p=t.getAllResponseHeaders().split(/\r?\n/);if(p.forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===u.headers[r]&&(u.headers[r]=[]),u.headers[r].push(t[2])):void 0!==u.headers[r]?u.headers[r]+=", "+t[2]:u.headers[r]=t[2],u.rawHeaders.push(t[1],t[2])}})),u._charset="x-user-defined",!a.overrideMimeType){var f=u.rawHeaders["mime-type"];if(f){var m=f.match(/;\s*charset=([^;])(;|$)/);m&&(u._charset=m[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};o(u,s.Readable),u.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())},u.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==l.DONE)break;try{r=new i.VBArray(t.responseBody).toArray()}catch(c){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(c){e._mode="text:vbarray";break}if(r.length>e._pos){var a=r.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new n(a.length),s=0;s<a.length;s++)o[s]=255&a.charCodeAt(s);e.push(o)}else e.push(a,e._charset);e._pos=r.length}break;case"arraybuffer":if(t.readyState!==l.DONE||!t.response)break;r=t.response,e.push(new n(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=t.response,t.readyState!==l.LOADING||!r)break;e.push(new n(new Uint8Array(r)));break;case"ms-stream":if(r=t.response,t.readyState!==l.LOADING)break;var u=new i.MSStreamReader;u.onprogress=function(){u.result.byteLength>e._pos&&(e.push(new n(new Uint8Array(u.result.slice(e._pos)))),e._pos=u.result.byteLength)},u.onload=function(){e.push(null)},u.readAsArrayBuffer(r);break}e._xhr.readyState===l.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r("4362"),r("b639").Buffer,r("c8ba"))},c91e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("3bc6");function i(e,t){t._abortedFlag||t._abortAlgorithms.add(e)}function a(e,t){t._abortAlgorithms.delete(e)}function o(e){if(!e._abortedFlag){e._abortedFlag=!0;for(const t of e._abortAlgorithms)t.call(e);e._abortAlgorithms.clear(),n.event_fireAnEvent("abort",e)}}t.abort_add=i,t.abort_remove=a,t.abort_signalAbort=o},caa7:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTML="http://www.w3.org/1999/xhtml",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/",t.MathML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLink="http://www.w3.org/1999/xlink"},cac7:function(e,t,r){"use strict";var n=r("d128"),i=r("a60d"),a=r("1caf");e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},cbf2:function(e,t,r){"use strict";var n=r("80dd"),i=r("c272"),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},cc6f:function(e,t,r){"use strict";r.d(t,"a",(function(){return ds})),r.d(t,"b",(function(){return Vt}));var n,i,a={};r.r(a),r.d(a,"AddressPlugin",(function(){return ys})),r.d(a,"ArrayPlugin",(function(){return ws})),r.d(a,"AbsPlugin",(function(){return _s})),r.d(a,"BitShiftPlugin",(function(){return Ts})),r.d(a,"BitwiseLogicOperationsPlugin",(function(){return Ns})),r.d(a,"BooleanPlugin",(function(){return Os})),r.d(a,"CharPlugin",(function(){return Rs})),r.d(a,"CodePlugin",(function(){return Ls})),r.d(a,"CountBlankPlugin",(function(){return ks})),r.d(a,"CountUniquePlugin",(function(){return Is})),r.d(a,"DateTimePlugin",(function(){return Ds})),r.d(a,"DegreesPlugin",(function(){return Bs})),r.d(a,"DeltaPlugin",(function(){return Us})),r.d(a,"ExpPlugin",(function(){return Vs})),r.d(a,"FinancialPlugin",(function(){return Ys})),r.d(a,"FormulaTextPlugin",(function(){return Xs})),r.d(a,"HyperlinkPlugin",(function(){return Zs})),r.d(a,"InformationPlugin",(function(){return $s})),r.d(a,"IsEvenPlugin",(function(){return Js})),r.d(a,"IsOddPlugin",(function(){return Qs})),r.d(a,"LogarithmPlugin",(function(){return el})),r.d(a,"MathConstantsPlugin",(function(){return rl})),r.d(a,"MatrixPlugin",(function(){return al})),r.d(a,"MedianPlugin",(function(){return ol})),r.d(a,"ModuloPlugin",(function(){return sl})),r.d(a,"NumericAggregationPlugin",(function(){return cl})),r.d(a,"PowerPlugin",(function(){return pl})),r.d(a,"RadiansPlugin",(function(){return fl})),r.d(a,"RadixConversionPlugin",(function(){return wl})),r.d(a,"RandomPlugin",(function(){return Al})),r.d(a,"RoundingPlugin",(function(){return Rl})),r.d(a,"SqrtPlugin",(function(){return Ll})),r.d(a,"ConditionalAggregationPlugin",(function(){return Wl})),r.d(a,"SumprodPlugin",(function(){return ql})),r.d(a,"TextPlugin",(function(){return Gl})),r.d(a,"TrigonometryPlugin",(function(){return Kl})),r.d(a,"LookupPlugin",(function(){return Zl})),r.d(a,"RomanPlugin",(function(){return $l})),r.d(a,"SimpleArithmerticPlugin",(function(){return tu})),r.d(a,"StatisticalPlugin",(function(){return $u})),r.d(a,"MathPlugin",(function(){return Ju})),r.d(a,"ComplexPlugin",(function(){return rc})),r.d(a,"StatisticalAggregationPlugin",(function(){return mc})),function(e){e["RELATIVE"]="RELATIVE",e["ABSOLUTE"]="ABSOLUTE"}(n||(n={}));class o{constructor(e,t,r){this.type=e,this.col=t,this.sheet=r}static absolute(e,t){return new o(n.ABSOLUTE,e,t)}static relative(e,t){return new o(n.RELATIVE,e,t)}static compareByAbsoluteAddress(e){return(t,r)=>t.toSimpleColumnAddress(e).col-r.toSimpleColumnAddress(e).col}isColumnAbsolute(){return this.type===n.ABSOLUTE}isColumnRelative(){return this.type===n.RELATIVE}isAbsolute(){return this.type===n.ABSOLUTE&&void 0!==this.sheet}moved(e,t,r){const n=void 0===this.sheet?void 0:e;return new o(this.type,this.col+t,n)}shiftedByColumns(e){return new o(this.type,this.col+e,this.sheet)}toSimpleColumnAddress(e){const t=bn(this,e);let r=this.col;return this.isColumnRelative()&&(r=e.col+this.col),dn(t,r)}shiftRelativeDimensions(e,t){const r=this.isColumnRelative()?this.col+e:this.col;return new o(this.type,r,this.sheet)}shiftAbsoluteDimensions(e,t){const r=this.isColumnAbsolute()?this.col+e:this.col;return new o(this.type,r,this.sheet)}withSheet(e){return new o(this.type,this.col,e)}isInvalid(e){return this.toSimpleColumnAddress(e).col<0}hash(e){const t=e&&void 0!==this.sheet?"#"+this.sheet:"";switch(this.type){case n.RELATIVE:return`${t}#COLR${this.col}`;case n.ABSOLUTE:return`${t}#COLA${this.col}`}}unparse(e){const t=this.toSimpleColumnAddress(e);if(hn(t))return;const r=F(t.col),i=this.type===n.ABSOLUTE?"$":"";return`${i}${r}`}exceedsSheetSizeLimits(e){return this.col>=e}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class s{constructor(e,t,r){this.type=e,this.row=t,this.sheet=r}static absolute(e,t){return new s(n.ABSOLUTE,e,t)}static relative(e,t){return new s(n.RELATIVE,e,t)}static compareByAbsoluteAddress(e){return(t,r)=>t.toSimpleRowAddress(e).row-r.toSimpleRowAddress(e).row}isRowAbsolute(){return this.type===n.ABSOLUTE}isRowRelative(){return this.type===n.RELATIVE}isAbsolute(){return this.type===n.ABSOLUTE&&void 0!==this.sheet}moved(e,t,r){const n=void 0===this.sheet?void 0:e;return new s(this.type,this.row+r,n)}shiftedByRows(e){return new s(this.type,this.row+e,this.sheet)}toSimpleRowAddress(e){const t=bn(this,e);let r=this.row;return this.isRowRelative()&&(r=e.row+this.row),un(t,r)}shiftRelativeDimensions(e,t){const r=this.isRowRelative()?this.row+t:this.row;return new s(this.type,r,this.sheet)}shiftAbsoluteDimensions(e,t){const r=this.isRowAbsolute()?this.row+t:this.row;return new s(this.type,r,this.sheet)}withSheet(e){return new s(this.type,this.row,e)}isInvalid(e){return this.toSimpleRowAddress(e).row<0}hash(e){const t=e&&void 0!==this.sheet?"#"+this.sheet:"";switch(this.type){case n.RELATIVE:return`${t}#ROWR${this.row}`;case n.ABSOLUTE:return`${t}#ROWA${this.row}`}}unparse(e){const t=this.toSimpleRowAddress(e);if(cn(t))return;const r=this.type===n.ABSOLUTE?"$":"";return`${r}${t.row+1}`}exceedsSheetSizeLimits(e){return this.row>=e}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e["CELL_REFERENCE_RELATIVE"]="CELL_REFERENCE",e["CELL_REFERENCE_ABSOLUTE"]="CELL_REFERENCE_ABSOLUTE",e["CELL_REFERENCE_ABSOLUTE_COL"]="CELL_REFERENCE_ABSOLUTE_COL",e["CELL_REFERENCE_ABSOLUTE_ROW"]="CELL_REFERENCE_ABSOLUTE_ROW"})(i||(i={}));class l{constructor(e,t,r,n){this.col=e,this.row=t,this.type=r,this.sheet=n}static fromColAndRow(e,t,r){const n=e.isColumnAbsolute()&&t.isRowAbsolute()?l.absolute.bind(this):e.isColumnAbsolute()?l.absoluteCol.bind(this):t.isRowAbsolute()?l.absoluteRow.bind(this):l.relative.bind(this);return n(e.col,t.row,r)}static relative(e,t,r){return new l(e,t,i.CELL_REFERENCE_RELATIVE,r)}static absolute(e,t,r){return new l(e,t,i.CELL_REFERENCE_ABSOLUTE,r)}static absoluteCol(e,t,r){return new l(e,t,i.CELL_REFERENCE_ABSOLUTE_COL,r)}static absoluteRow(e,t,r){return new l(e,t,i.CELL_REFERENCE_ABSOLUTE_ROW,r)}toSimpleCellAddress(e){const t=bn(this,e);return this.type===i.CELL_REFERENCE_ABSOLUTE?pn(t,this.col,this.row):this.type===i.CELL_REFERENCE_ABSOLUTE_ROW?pn(t,e.col+this.col,this.row):this.type===i.CELL_REFERENCE_ABSOLUTE_COL?pn(t,this.col,e.row+this.row):pn(t,e.col+this.col,e.row+this.row)}toColumnAddress(){const e=this.isColumnRelative()?n.RELATIVE:n.ABSOLUTE;return new o(e,this.col,this.sheet)}toRowAddress(){const e=this.isRowRelative()?n.RELATIVE:n.ABSOLUTE;return new s(e,this.row,this.sheet)}toSimpleColumnAddress(e){const t=bn(this,e);let r=this.col;return this.isColumnRelative()&&(r+=e.col),dn(t,r)}toSimpleRowAddress(e){const t=bn(this,e);let r=this.row;return this.isRowRelative()&&(r+=e.row),un(t,r)}isRowAbsolute(){return this.type===i.CELL_REFERENCE_ABSOLUTE||this.type===i.CELL_REFERENCE_ABSOLUTE_ROW}isColumnAbsolute(){return this.type===i.CELL_REFERENCE_ABSOLUTE||this.type===i.CELL_REFERENCE_ABSOLUTE_COL}isColumnRelative(){return this.type===i.CELL_REFERENCE_RELATIVE||this.type===i.CELL_REFERENCE_ABSOLUTE_ROW}isRowRelative(){return this.type===i.CELL_REFERENCE_RELATIVE||this.type===i.CELL_REFERENCE_ABSOLUTE_COL}isAbsolute(){return this.type===i.CELL_REFERENCE_ABSOLUTE&&void 0!==this.sheet}shiftedByRows(e){return new l(this.col,this.row+e,this.type,this.sheet)}shiftedByColumns(e){return new l(this.col+e,this.row,this.type,this.sheet)}moved(e,t,r){const n=void 0===this.sheet?void 0:e;return new l(this.col+t,this.row+r,this.type,n)}withSheet(e){return new l(this.col,this.row,this.type,e)}isInvalid(e){return fn(this.toSimpleCellAddress(e))}shiftRelativeDimensions(e,t){const r=this.isColumnAbsolute()?this.col:this.col+e,n=this.isRowAbsolute()?this.row:this.row+t;return new l(r,n,this.type,this.sheet)}shiftAbsoluteDimensions(e,t){const r=this.isColumnRelative()?this.col:this.col+e,n=this.isRowRelative()?this.row:this.row+t;return new l(r,n,this.type,this.sheet)}hash(e){const t=e&&void 0!==this.sheet?"#"+this.sheet:"";switch(this.type){case i.CELL_REFERENCE_RELATIVE:return`${t}#${this.row}R${this.col}`;case i.CELL_REFERENCE_ABSOLUTE:return`${t}#${this.row}A${this.col}`;case i.CELL_REFERENCE_ABSOLUTE_COL:return`${t}#${this.row}AC${this.col}`;case i.CELL_REFERENCE_ABSOLUTE_ROW:return`${t}#${this.row}AR${this.col}`}}unparse(e){const t=this.toSimpleCellAddress(e);if(fn(t))return;const r=F(t.col),n=this.type===i.CELL_REFERENCE_ABSOLUTE||this.type===i.CELL_REFERENCE_ABSOLUTE_ROW?"$":"",a=this.type===i.CELL_REFERENCE_ABSOLUTE||this.type===i.CELL_REFERENCE_ABSOLUTE_COL?"$":"";return`${a}${r}${n}${t.row+1}`}exceedsSheetSizeLimits(e,t){return this.row>=t||this.col>=e}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const u=":",c="$",d="\\s+",h="[ \\t\\n\\r]+",p="A-Za-zÀ-ʯ",f=p+"0-9_.",m=`[${p}0-9_]+`,g="'(((?!').|'')*)'",v=`(${m}|${g})!`,b=`(${v})?\\${c}?[A-Za-z]+\\${c}?[0-9]+`,y=`(${v})?\\${c}?[A-Za-z]+`,w=`(${v})?\\${c}?[0-9]+`,_="[rR][0-9]*[cC][0-9]*",S=`(${b})[^${f}]`,E=`[${p}_][${f}]*`,M=["0","1","2","3","4","5","6","7","8","9"],T=[...Array.from(Array(26)).map((e,t)=>t+"A".charCodeAt(0)),...Array.from(Array(26)).map((e,t)=>t+"a".charCodeAt(0)),...Array.from(Array(496)).map((e,t)=>t+192)].map(e=>String.fromCharCode(e)),C=new RegExp(`^(${v})?(\\${c}?)([A-Za-z]+)(\\${c}?)([0-9]+)$`),x=new RegExp(`^(${v})?(\\${c}?)([A-Za-z]+)$`),A=new RegExp(`^(${v})?(\\${c}?)([0-9]+)$`),N=new RegExp(`^${m}$`),O=(e,t,r)=>{const n=C.exec(t),i=j(n[6]);let a=B(n,e);if(void 0===a)return;null===a&&(a=void 0);const o=Number(n[8])-1;return n[5]===c&&n[7]===c?l.absolute(i,o,a):n[5]===c?l.absoluteCol(i,o-r.row,a):n[7]===c?l.absoluteRow(i-r.col,o,a):l.relative(i-r.col,o-r.row,a)},R=(e,t,r)=>{const n=x.exec(t);let i=B(n,e);if(void 0===i)return;null===i&&(i=void 0);const a=j(n[6]);return n[5]===c?o.absolute(a,i):o.relative(a-r.col,i)},L=(e,t,r)=>{const n=A.exec(t);let i=B(n,e);if(void 0===i)return;null===i&&(i=void 0);const a=Number(n[6])-1;return n[5]===c?s.absolute(a,i):s.relative(a-r.row,i)},k=(e,t,r)=>{const n=C.exec(t);if(!n)return;const i=j(n[6]);let a=B(n,e);if(void 0===a)return;null===a&&(a=r);const o=Number(n[8])-1;return pn(a,i,o)},I=(e,t,r)=>{const n=t.split(u);if(2!==n.length)return;const[i,a]=n,o=k(e,i,r);if(void 0===o)return;const s=k(e,a,o.sheet);return void 0!==s&&o.sheet===s.sheet?Sn(o,s):void 0},D=(e,t,r)=>{const n=F(t.col),i=H(t.sheet,e);if(void 0!==i)return r!==t.sheet?`${i}!${n}${t.row+1}`:`${n}${t.row+1}`},P=(e,t,r)=>{const n=D(e,t.start,r),i=D(e,t.end,t.start.sheet);return void 0===n||void 0===i?void 0:`${n}${u}${i}`};function j(e){return 1===e.length?e.toUpperCase().charCodeAt(0)-65:e.split("").reduce((e,t)=>26*e+(t.toUpperCase().charCodeAt(0)-64),0)-1}function F(e){let t="";while(e>=0)t=String.fromCharCode(e%26+97)+t,e=Math.floor(e/26)-1;return t.toUpperCase()}function H(e,t){let r=t(e);if(void 0!==r)return N.test(r)?r:(r=r.replace(/'/g,"''"),`'${r}'`)}function B(e,t){var r;let n=null!==(r=e[3])&&void 0!==r?r:e[2];return n?(n=n.replace(/''/g,"'"),t(n)):null}var U=r("fa83");
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const V=(e,t)=>({type:e,message:t});var Y,z,W;(function(e){e["LexingError"]="LexingError",e["ParserError"]="ParsingError",e["StaticOffsetError"]="StaticOffsetError",e["StaticOffsetOutOfRangeError"]="StaticOffsetOutOfRangeError",e["RangeOffsetNotAllowed"]="RangeOffsetNotAllowed",e["InvalidRangeSize"]="InvalidRangeSize"})(Y||(Y={})),function(e){e["EMPTY"]="EMPTY",e["NUMBER"]="NUMBER",e["STRING"]="STRING",e["MINUS_UNARY_OP"]="MINUS_UNARY_OP",e["PLUS_UNARY_OP"]="PLUS_UNARY_OP",e["PERCENT_OP"]="PERCENT_OP",e["CONCATENATE_OP"]="CONCATENATE_OP",e["EQUALS_OP"]="EQUALS_OP",e["NOT_EQUAL_OP"]="NOT_EQUAL_OP",e["GREATER_THAN_OP"]="GREATER_THAN_OP",e["LESS_THAN_OP"]="LESS_THAN_OP",e["GREATER_THAN_OR_EQUAL_OP"]="GREATER_THAN_OR_EQUAL_OP",e["LESS_THAN_OR_EQUAL_OP"]="LESS_THAN_OR_EQUAL_OP",e["PLUS_OP"]="PLUS_OP",e["MINUS_OP"]="MINUS_OP",e["TIMES_OP"]="TIMES_OP",e["DIV_OP"]="DIV_OP",e["POWER_OP"]="POWER_OP",e["FUNCTION_CALL"]="FUNCTION_CALL",e["NAMED_EXPRESSION"]="NAMED_EXPRESSION",e["PARENTHESIS"]="PARENTHESES",e["CELL_REFERENCE"]="CELL_REFERENCE",e["CELL_RANGE"]="CELL_RANGE",e["COLUMN_RANGE"]="COLUMN_RANGE",e["ROW_RANGE"]="ROW_RANGE",e["ERROR"]="ERROR",e["ERROR_WITH_RAW_INPUT"]="ERROR_WITH_RAW_INPUT",e["ARRAY"]="ARRAY"}(z||(z={})),function(e){e[e["RELATIVE"]=0]="RELATIVE",e[e["START_ABSOLUTE"]=1]="START_ABSOLUTE",e[e["BOTH_ABSOLUTE"]=2]="BOTH_ABSOLUTE"}(W||(W={}));const q=e=>({type:z.EMPTY,leadingWhitespace:null===e||void 0===e?void 0:e.image}),G=(e,t)=>({type:z.NUMBER,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),K=e=>{var t;return{type:z.STRING,value:e.image.slice(1,-1),leadingWhitespace:null===(t=e.leadingWhitespace)||void 0===t?void 0:t.image}},X=(e,t)=>({type:z.CELL_REFERENCE,reference:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),Z=(e,t,r,n)=>(_e(e,t,r),{type:z.CELL_RANGE,start:e,end:t,sheetReferenceType:r,leadingWhitespace:n}),$=(e,t,r,n)=>(_e(e,t,r),{type:z.COLUMN_RANGE,start:e,end:t,sheetReferenceType:r,leadingWhitespace:null===n||void 0===n?void 0:n.image}),J=(e,t,r,n)=>(_e(e,t,r),{type:z.ROW_RANGE,start:e,end:t,sheetReferenceType:r,leadingWhitespace:null===n||void 0===n?void 0:n.image}),Q=(e,t,r)=>({type:z.CONCATENATE_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ee=(e,t,r)=>({type:z.EQUALS_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),te=(e,t,r)=>({type:z.NOT_EQUAL_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),re=(e,t,r)=>({type:z.GREATER_THAN_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ne=(e,t,r)=>({type:z.LESS_THAN_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ie=(e,t,r)=>({type:z.GREATER_THAN_OR_EQUAL_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ae=(e,t,r)=>({type:z.LESS_THAN_OR_EQUAL_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),oe=(e,t,r)=>({type:z.PLUS_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),se=(e,t,r)=>({type:z.MINUS_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),le=(e,t,r)=>({type:z.TIMES_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ue=(e,t,r)=>({type:z.DIV_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ce=(e,t,r)=>({type:z.POWER_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),de=(e,t)=>({type:z.MINUS_UNARY_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),he=(e,t)=>({type:z.PLUS_UNARY_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),pe=(e,t)=>({type:z.PERCENT_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),fe=(e,t,r,n,i)=>({type:z.FUNCTION_CALL,procedureName:e,args:t,leadingWhitespace:null===r||void 0===r?void 0:r.image,internalWhitespace:null===n||void 0===n?void 0:n.image,hyperlink:i}),me=(e,t,r)=>({type:z.ARRAY,args:e,leadingWhitespace:null===t||void 0===t?void 0:t.image,internalWhitespace:null===r||void 0===r?void 0:r.image}),ge=(e,t)=>({type:z.NAMED_EXPRESSION,expressionName:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),ve=(e,t,r)=>({type:z.PARENTHESIS,expression:e,leadingWhitespace:null===t||void 0===t?void 0:t.image,internalWhitespace:null===r||void 0===r?void 0:r.image}),be=(e,t)=>({type:z.ERROR,error:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),ye=(e,t,r)=>({type:z.ERROR_WITH_RAW_INPUT,error:t,rawInput:e,leadingWhitespace:null===r||void 0===r?void 0:r.image}),we=()=>({type:z.ERROR,error:ln.parsingError()});function _e(e,t,r){if(void 0!==e.sheet&&void 0===t.sheet||void 0===e.sheet&&void 0!==t.sheet)throw new Error("Start address inconsistent with end address");if(void 0===e.sheet&&r!==W.RELATIVE||void 0!==e.sheet&&r===W.RELATIVE)throw new Error("Sheet address inconsistent with sheet reference type")}function Se(e,t){return(null!==t&&void 0!==t?t:"")+e}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const Ee={[z.PLUS_OP]:"+",[z.MINUS_OP]:"-",[z.TIMES_OP]:"*",[z.DIV_OP]:"/",[z.CONCATENATE_OP]:"&",[z.POWER_OP]:"^",[z.EQUALS_OP]:"=",[z.NOT_EQUAL_OP]:"<>",[z.GREATER_THAN_OP]:">",[z.GREATER_THAN_OR_EQUAL_OP]:">=",[z.LESS_THAN_OP]:"<",[z.LESS_THAN_OR_EQUAL_OP]:"<="},Me=(e,t,r,n)=>({ast:e,relativeDependencies:t,hasVolatileFunction:r,hasStructuralChangeFunction:n});
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Te{constructor(e){this.functionRegistry=e,this.cache=new Map}set(e,t){const r=pt(t,this.functionRegistry),n=Me(t,r,Ce(t,this.functionRegistry.isFunctionVolatile),Ce(t,this.functionRegistry.isFunctionDependentOnSheetStructureChange));return this.cache.set(e,n),n}get(e){return this.cache.get(e)}maybeSetAndThenGet(e,t){const r=this.cache.get(e);return void 0!==r?r.ast:(this.set(e,t),t)}}const Ce=(e,t)=>{switch(e.type){case z.EMPTY:case z.NUMBER:case z.STRING:case z.ERROR:case z.ERROR_WITH_RAW_INPUT:case z.CELL_REFERENCE:case z.CELL_RANGE:case z.COLUMN_RANGE:case z.ROW_RANGE:case z.NAMED_EXPRESSION:return!1;case z.PERCENT_OP:case z.PLUS_UNARY_OP:case z.MINUS_UNARY_OP:return Ce(e.value,t);case z.CONCATENATE_OP:case z.EQUALS_OP:case z.NOT_EQUAL_OP:case z.LESS_THAN_OP:case z.GREATER_THAN_OP:case z.LESS_THAN_OR_EQUAL_OP:case z.GREATER_THAN_OR_EQUAL_OP:case z.MINUS_OP:case z.PLUS_OP:case z.TIMES_OP:case z.DIV_OP:case z.POWER_OP:return Ce(e.left,t)||Ce(e.right,t);case z.PARENTHESIS:return Ce(e.expression,t);case z.FUNCTION_CALL:return!!t(e.procedureName)||e.args.some(e=>Ce(e,t));case z.ARRAY:return e.args.some(e=>e.some(e=>Ce(e,t)))}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class xe{}xe.DistinctSigns="Distinct signs.",xe.WrongArgNumber="Wrong number of arguments.",xe.EmptyArg="Empty function argument.",xe.EmptyArray="Empty array not allowed.",xe.ArrayDimensions="Array dimensions are not compatible.",xe.NoSpaceForArrayResult="No space for array result.",xe.ValueSmall="Value too small.",xe.ValueLarge="Value too large.",xe.BadCriterion="Incorrect criterion.",xe.RangeManySheets="Range spans more than one sheet.",xe.CellRangeExpected="Cell range expected.",xe.WrongDimension="Wrong range dimension.",xe.ScalarExpected="Cell range not allowed.",xe.NumberCoercion="Value cannot be coerced to number.",xe.NumberExpected="Number argument expected.",xe.IntegerExpected="Value needs to be an integer.",xe.BadMode="Mode not recognized.",xe.DateBounds="Date outside of bounds.",xe.OutOfSheet="Resulting reference is out of the sheet.",xe.WrongType="Wrong type of argument.",xe.NaN="NaN or infinite value encountered.",xe.EqualLength="Ranges need to be of equal length.",xe.Negative="Value cannot be negative.",xe.NotBinary="String does not represent a binary number.",xe.NotOctal="String does not represent an octal number.",xe.NotHex="String does not represent a hexadecimal number.",xe.EndStartPeriod="End period needs to be at least start period.",xe.CellRefExpected="Cell reference expected.",xe.EmptyRange="Empty range not allowed.",xe.BadRef="Address is not correct.",xe.NumberRange="Number-only range expected.",xe.ValueNotFound="Value not found.",xe.ValueBaseLarge="Value in base too large.",xe.ValueBaseSmall="Value in base too small.",xe.ValueBaseLong="Value in base too long.",xe.NegativeLength="Length cannot be negative.",xe.PatternNotFound="Pattern not found.",xe.OneValue="Needs at least one value.",xe.TwoValues="Range needs to contain at least two elements.",xe.ThreeValues="Range needs to contain at least three elements.",xe.IndexBounds="Index out of bounds.",xe.IndexLarge="Index too large.",xe.Formula="Expected formula.",xe.NegativeCount="Count cannot be negative.",xe.ParseError="Parsing error.",xe.SheetRef="Sheet does not exist.",xe.PeriodLong="Period number cannot exceed life length.",xe.InvalidDate="Invalid date.",xe.BitshiftLong="Result of bitshift is too long.",xe.EmptyString="Empty-string argument not allowed.",xe.LengthBounds="Length out of bounds.",xe.NegativeTime="Time cannot be negative.",xe.NoDefault="No default option.",xe.NoConditionMet="None of the conditions were met.",xe.Selector="Selector cannot exceed the number of arguments.",xe.StartEndDate="Start date needs to be earlier than end date.",xe.IncorrectDateTime="String does not represent correct DateTime.",xe.CharacterCodeBounds="Character code out of bounds.",xe.NonZero="Argument cannot be 0.",xe.LessThanOne="Argument cannot be less than 1.",xe.WeekendString="Incorrect weekend bitmask string.",xe.InvalidRoman="Invalid roman numeral.",xe.WrongOrder="Wrong order of values.",xe.ComplexNumberExpected="Complex number expected.",xe.ShouldBeIorJ="Should be 'i' or 'j'.",xe.SizeMismatch="Array dimensions mismatched.",xe.FunctionName=e=>`Function name ${e} not recognized.`,xe.NamedExpressionName=e=>`Named expression ${e} not recognized.`,xe.LicenseKey=e=>`License key is ${e}.`
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */;class Ae{constructor(){this.POSSIBLE_START_CHARACTERS=[...T,...M,c,"'","_"],this.cellReferenceRegexp=new RegExp(S,"y")}match(e,t){this.cellReferenceRegexp.lastIndex=t;const r=this.cellReferenceRegexp.exec(e+"@");return null==r||null==r[1]?null:(r[0]=r[1],r)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ne{constructor(){this.POSSIBLE_START_CHARACTERS=[...T,"_"],this.namedExpressionRegexp=new RegExp(E,"y"),this.r1c1CellRefRegexp=new RegExp(`^${_}$`)}match(e,t){this.namedExpressionRegexp.lastIndex=t;const r=this.namedExpressionRegexp.exec(e);return null==r||null==r[0]||this.r1c1CellRefRegexp.test(r[0])?null:r}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const Oe=Object(U["createToken"])({name:"AdditionOp",pattern:U["Lexer"].NA}),Re=Object(U["createToken"])({name:"PlusOp",pattern:/\+/,categories:Oe}),Le=Object(U["createToken"])({name:"MinusOp",pattern:/-/,categories:Oe}),ke=Object(U["createToken"])({name:"MultiplicationOp",pattern:U["Lexer"].NA}),Ie=Object(U["createToken"])({name:"TimesOp",pattern:/\*/,categories:ke}),De=Object(U["createToken"])({name:"DivOp",pattern:/\//,categories:ke}),Pe=Object(U["createToken"])({name:"PowerOp",pattern:/\^/}),je=Object(U["createToken"])({name:"PercentOp",pattern:/%/}),Fe=Object(U["createToken"])({name:"BooleanOp",pattern:U["Lexer"].NA}),He=Object(U["createToken"])({name:"EqualsOp",pattern:/=/,categories:Fe}),Be=Object(U["createToken"])({name:"NotEqualOp",pattern:/<>/,categories:Fe}),Ue=Object(U["createToken"])({name:"GreaterThanOp",pattern:/>/,categories:Fe}),Ve=Object(U["createToken"])({name:"LessThanOp",pattern:/</,categories:Fe}),Ye=Object(U["createToken"])({name:"GreaterThanOrEqualOp",pattern:/>=/,categories:Fe}),ze=Object(U["createToken"])({name:"LessThanOrEqualOp",pattern:/<=/,categories:Fe}),We=Object(U["createToken"])({name:"ConcatenateOp",pattern:/&/}),qe=Object(U["createToken"])({name:"LParen",pattern:/\(/}),Ge=Object(U["createToken"])({name:"RParen",pattern:/\)/}),Ke=Object(U["createToken"])({name:"ArrayLParen",pattern:/{/}),Xe=Object(U["createToken"])({name:"ArrayRParen",pattern:/}/}),Ze=Object(U["createToken"])({name:"StringLiteral",pattern:/"([^"\\]*(\\.[^"\\]*)*)"/}),$e=Object(U["createToken"])({name:"ErrorLiteral",pattern:/#[A-Za-z0-9\/]+[?!]?/}),Je=Object(U["createToken"])({name:"RangeSeparator",pattern:new RegExp(u)}),Qe=Object(U["createToken"])({name:"ColumnRange",pattern:new RegExp(`${y}${u}${y}`)}),et=Object(U["createToken"])({name:"RowRange",pattern:new RegExp(`${w}${u}${w}`)}),tt=Object(U["createToken"])({name:"ProcedureName",pattern:new RegExp(`([${p}][${f}]*)\\(`)}),rt=new Ae,nt=Object(U["createToken"])({name:"CellReference",pattern:rt.match.bind(rt),start_chars_hint:rt.POSSIBLE_START_CHARACTERS,line_breaks:!1}),it=new Ne,at=Object(U["createToken"])({name:"NamedExpression",pattern:it.match.bind(it),start_chars_hint:it.POSSIBLE_START_CHARACTERS,line_breaks:!1}),ot=e=>{const t=e.translationPackage.getFunctionTranslation("OFFSET"),r=e.errorMapping,n=e.translationPackage.buildFunctionMapping(),i=new RegExp("standard"===e.ignoreWhiteSpace?h:d),a=Object(U["createToken"])({name:"WhiteSpace",pattern:i}),o=Object(U["createToken"])({name:"ArrayRowSep",pattern:e.arrayRowSeparator}),s=Object(U["createToken"])({name:"ArrayColSep",pattern:e.arrayColumnSeparator}),l=Object(U["createToken"])({name:"NumberLiteral",pattern:new RegExp(`(([${e.decimalSeparator}]\\d+)|(\\d+([${e.decimalSeparator}]\\d*)?))(e[+-]?\\d+)?`)}),u=Object(U["createToken"])({name:"OffsetProcedureName",pattern:new RegExp(t,"i")});let c,p;e.functionArgSeparator===e.arrayColumnSeparator?(c=s,p=[]):e.functionArgSeparator===e.arrayRowSeparator?(c=o,p=[]):(c=Object(U["createToken"])({name:"ArgSeparator",pattern:e.functionArgSeparator}),p=[c]);const f=[a,Re,Le,Ie,De,Pe,He,Be,je,Ye,ze,Ue,Ve,qe,Ge,Ke,Xe,u,tt,Je,...p,Qe,et,l,Ze,$e,We,Fe,Oe,ke,nt,at,o,s];return{ArgSeparator:c,NumberLiteral:l,OffsetProcedureName:u,ArrayRowSeparator:o,ArrayColSeparator:s,WhiteSpace:a,allTokens:f,errorMapping:r,functionMapping:n,decimalSeparator:e.decimalSeparator,maxColumns:e.maxColumns,maxRows:e.maxRows}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class st extends U["EmbeddedActionsParser"]{constructor(e,t){super(e.allTokens,{outputCst:!1,maxLookahead:7}),this.booleanExpressionOrEmpty=this.RULE("booleanExpressionOrEmpty",()=>this.OR([{ALT:()=>this.SUBRULE(this.booleanExpression)},{ALT:Object(U["EMPTY_ALT"])(q())}])),this.procedureExpression=this.RULE("procedureExpression",()=>{var e;const t=this.CONSUME(tt),r=t.image.toUpperCase().slice(0,-1),n=null!==(e=this.lexerConfig.functionMapping[r])&&void 0!==e?e:r,i=[];let a=this.SUBRULE(this.booleanExpressionOrEmpty);this.MANY(()=>{var e;const t=this.CONSUME(this.lexerConfig.ArgSeparator);a.type===z.EMPTY&&(a.leadingWhitespace=null===(e=t.leadingWhitespace)||void 0===e?void 0:e.image),i.push(a),a=this.SUBRULE2(this.booleanExpressionOrEmpty)}),i.push(a),1===i.length&&i[0].type===z.EMPTY&&(i.length=0);const o=this.CONSUME(Ge);return fe(n,i,t.leadingWhitespace,o.leadingWhitespace)}),this.namedExpressionExpression=this.RULE("namedExpressionExpression",()=>{const e=this.CONSUME(at);return ge(e.image,e.leadingWhitespace)}),this.offsetProcedureExpression=this.RULE("offsetProcedureExpression",()=>{const e=[];return this.CONSUME(this.lexerConfig.OffsetProcedureName),this.CONSUME(qe),this.MANY_SEP({SEP:this.lexerConfig.ArgSeparator,DEF:()=>{e.push(this.SUBRULE(this.booleanExpression))}}),this.CONSUME(Ge),this.handleOffsetHeuristic(e)}),this.columnRangeExpression=this.RULE("columnRangeExpression",()=>{const e=this.CONSUME(Qe),[t,r]=e.image.split(":"),n=this.ACTION(()=>R(this.sheetMapping,t,this.formulaAddress)),i=this.ACTION(()=>R(this.sheetMapping,r,this.formulaAddress));if(void 0===n||void 0===i)return be(new ln(Ur.REF));if(n.exceedsSheetSizeLimits(this.lexerConfig.maxColumns)||i.exceedsSheetSizeLimits(this.lexerConfig.maxColumns))return ye(e.image,new ln(Ur.NAME),e.leadingWhitespace);if(void 0===n.sheet&&void 0!==i.sheet)return this.parsingError(Y.ParserError,"Malformed range expression");const{firstEnd:a,secondEnd:o,sheetRefType:s}=st.fixSheetIdsForRangeEnds(n,i);return $(a,o,s,e.leadingWhitespace)}),this.rowRangeExpression=this.RULE("rowRangeExpression",()=>{const e=this.CONSUME(et),[t,r]=e.image.split(":"),n=this.ACTION(()=>L(this.sheetMapping,t,this.formulaAddress)),i=this.ACTION(()=>L(this.sheetMapping,r,this.formulaAddress));if(void 0===n||void 0===i)return be(new ln(Ur.REF));if(n.exceedsSheetSizeLimits(this.lexerConfig.maxRows)||i.exceedsSheetSizeLimits(this.lexerConfig.maxRows))return ye(e.image,new ln(Ur.NAME),e.leadingWhitespace);if(void 0===n.sheet&&void 0!==i.sheet)return this.parsingError(Y.ParserError,"Malformed range expression");const{firstEnd:a,secondEnd:o,sheetRefType:s}=st.fixSheetIdsForRangeEnds(n,i);return J(a,o,s,e.leadingWhitespace)}),this.cellReference=this.RULE("cellReference",()=>{const e=this.CONSUME(nt),t=this.ACTION(()=>O(this.sheetMapping,e.image,this.formulaAddress));return void 0===t?ye(e.image,new ln(Ur.REF),e.leadingWhitespace):t.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)?ye(e.image,new ln(Ur.NAME),e.leadingWhitespace):X(t,e.leadingWhitespace)}),this.endRangeReference=this.RULE("endRangeReference",e=>{var t;const r=this.CONSUME(nt),n=this.ACTION(()=>O(this.sheetMapping,e.image,this.formulaAddress)),i=this.ACTION(()=>O(this.sheetMapping,r.image,this.formulaAddress));return void 0===n||void 0===i?this.ACTION(()=>ye(`${e.image}:${r.image}`,new ln(Ur.REF),e.leadingWhitespace)):n.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)||i.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)?this.ACTION(()=>ye(`${e.image}:${r.image}`,new ln(Ur.NAME),e.leadingWhitespace)):this.buildCellRange(n,i,null===(t=e.leadingWhitespace)||void 0===t?void 0:t.image)}),this.endOfRangeExpression=this.RULE("endOfRangeExpression",e=>this.OR([{ALT:()=>this.SUBRULE(this.endRangeReference,{ARGS:[e]})},{ALT:()=>{var t;const r=this.SUBRULE(this.offsetProcedureExpression),n=this.ACTION(()=>O(this.sheetMapping,e.image,this.formulaAddress));return void 0===n?be(new ln(Ur.REF)):r.type===z.CELL_REFERENCE?this.buildCellRange(n,r.reference,null===(t=e.leadingWhitespace)||void 0===t?void 0:t.image):this.parsingError(Y.RangeOffsetNotAllowed,"Range offset not allowed here")}}])),this.cellRangeExpression=this.RULE("cellRangeExpression",()=>{const e=this.CONSUME(nt);return this.CONSUME2(Je),this.SUBRULE(this.endOfRangeExpression,{ARGS:[e]})}),this.endRangeWithOffsetStartReference=this.RULE("endRangeWithOffsetStartReference",e=>{const t=this.CONSUME(nt),r=this.ACTION(()=>O(this.sheetMapping,t.image,this.formulaAddress));return void 0===r?this.ACTION(()=>be(new ln(Ur.REF))):this.buildCellRange(e.reference,r,e.leadingWhitespace)}),this.endOfRangeWithOffsetStartExpression=this.RULE("endOfRangeWithOffsetStartExpression",e=>this.OR([{ALT:()=>this.SUBRULE(this.endRangeWithOffsetStartReference,{ARGS:[e]})},{ALT:()=>{const t=this.SUBRULE(this.offsetProcedureExpression);return t.type===z.CELL_REFERENCE?this.buildCellRange(e.reference,t.reference,e.leadingWhitespace):this.parsingError(Y.RangeOffsetNotAllowed,"Range offset not allowed here")}}])),this.offsetExpression=this.RULE("offsetExpression",()=>{const e=this.SUBRULE(this.offsetProcedureExpression);let t;return this.OPTION(()=>{this.CONSUME(Je),t=e.type===z.CELL_RANGE?this.parsingError(Y.RangeOffsetNotAllowed,"Range offset not allowed here"):this.SUBRULE(this.endOfRangeWithOffsetStartExpression,{ARGS:[e]})}),void 0!==t?t:e}),this.insideArrayExpression=this.RULE("insideArrayExpression",()=>{const e=[[]];return e[e.length-1].push(this.SUBRULE(this.booleanExpression)),this.MANY(()=>{this.OR([{ALT:()=>{this.CONSUME(this.lexerConfig.ArrayColSeparator),e[e.length-1].push(this.SUBRULE2(this.booleanExpression))}},{ALT:()=>{this.CONSUME(this.lexerConfig.ArrayRowSeparator),e.push([]),e[e.length-1].push(this.SUBRULE3(this.booleanExpression))}}])}),me(e)}),this.parenthesisExpression=this.RULE("parenthesisExpression",()=>{const e=this.CONSUME(qe),t=this.SUBRULE(this.booleanExpression),r=this.CONSUME(Ge);return ve(t,e.leadingWhitespace,r.leadingWhitespace)}),this.arrayExpression=this.RULE("arrayExpression",()=>this.OR([{ALT:()=>{const e=this.CONSUME(Ke),t=this.SUBRULE(this.insideArrayExpression),r=this.CONSUME(Xe);return me(t.args,e.leadingWhitespace,r.leadingWhitespace)}},{ALT:()=>this.SUBRULE(this.parenthesisExpression)}])),this.numericStringToNumber=e=>{const t=e.replace(this.lexerConfig.decimalSeparator,".");return Number(t)},this.positiveAtomicExpression=this.RULE("positiveAtomicExpression",()=>{var e;return this.OR(null!==(e=this.atomicExpCache)&&void 0!==e?e:this.atomicExpCache=[{ALT:()=>this.SUBRULE(this.arrayExpression)},{ALT:()=>this.SUBRULE(this.cellRangeExpression)},{ALT:()=>this.SUBRULE(this.columnRangeExpression)},{ALT:()=>this.SUBRULE(this.rowRangeExpression)},{ALT:()=>this.SUBRULE(this.offsetExpression)},{ALT:()=>this.SUBRULE(this.cellReference)},{ALT:()=>this.SUBRULE(this.procedureExpression)},{ALT:()=>this.SUBRULE(this.namedExpressionExpression)},{ALT:()=>{const e=this.CONSUME(this.lexerConfig.NumberLiteral);return G(this.numericStringToNumber(e.image),e.leadingWhitespace)}},{ALT:()=>{const e=this.CONSUME(Ze);return K(e)}},{ALT:()=>{const e=this.CONSUME($e),t=e.image.toUpperCase(),r=this.lexerConfig.errorMapping[t];return r?be(new ln(r),e.leadingWhitespace):this.parsingError(Y.ParserError,"Unknown error literal")}}])}),this.rightUnaryOpAtomicExpression=this.RULE("rightUnaryOpAtomicExpression",()=>{const e=this.SUBRULE(this.positiveAtomicExpression),t=this.OPTION(()=>this.CONSUME(je));return t?pe(e,t.leadingWhitespace):e}),this.atomicExpression=this.RULE("atomicExpression",()=>this.OR([{ALT:()=>{const e=this.CONSUME(Oe),t=this.SUBRULE(this.atomicExpression);return Object(U["tokenMatcher"])(e,Re)?he(t,e.leadingWhitespace):Object(U["tokenMatcher"])(e,Le)?de(t,e.leadingWhitespace):(this.customParsingError=V(Y.ParserError,"Mismatched token type"),this.customParsingError)}},{ALT:()=>this.SUBRULE2(this.rightUnaryOpAtomicExpression)}])),this.powerExpression=this.RULE("powerExpression",()=>{let e=this.SUBRULE(this.atomicExpression);return this.MANY(()=>{const t=this.CONSUME(Pe),r=this.SUBRULE2(this.atomicExpression);Object(U["tokenMatcher"])(t,Pe)?e=ce(e,r,t.leadingWhitespace):this.ACTION(()=>{throw Error("Operator not supported")})}),e}),this.multiplicationExpression=this.RULE("multiplicationExpression",()=>{let e=this.SUBRULE(this.powerExpression);return this.MANY(()=>{const t=this.CONSUME(ke),r=this.SUBRULE2(this.powerExpression);Object(U["tokenMatcher"])(t,Ie)?e=le(e,r,t.leadingWhitespace):Object(U["tokenMatcher"])(t,De)?e=ue(e,r,t.leadingWhitespace):this.ACTION(()=>{throw Error("Operator not supported")})}),e}),this.additionExpression=this.RULE("additionExpression",()=>{let e=this.SUBRULE(this.multiplicationExpression);return this.MANY(()=>{const t=this.CONSUME(Oe),r=this.SUBRULE2(this.multiplicationExpression);Object(U["tokenMatcher"])(t,Re)?e=oe(e,r,t.leadingWhitespace):Object(U["tokenMatcher"])(t,Le)?e=se(e,r,t.leadingWhitespace):this.ACTION(()=>{throw Error("Operator not supported")})}),e}),this.concatenateExpression=this.RULE("concatenateExpression",()=>{let e=this.SUBRULE(this.additionExpression);return this.MANY(()=>{const t=this.CONSUME(We),r=this.SUBRULE2(this.additionExpression);e=Q(e,r,t.leadingWhitespace)}),e}),this.booleanExpression=this.RULE("booleanExpression",()=>{let e=this.SUBRULE(this.concatenateExpression);return this.MANY(()=>{const t=this.CONSUME(Fe),r=this.SUBRULE2(this.concatenateExpression);Object(U["tokenMatcher"])(t,He)?e=ee(e,r,t.leadingWhitespace):Object(U["tokenMatcher"])(t,Be)?e=te(e,r,t.leadingWhitespace):Object(U["tokenMatcher"])(t,Ue)?e=re(e,r,t.leadingWhitespace):Object(U["tokenMatcher"])(t,Ve)?e=ne(e,r,t.leadingWhitespace):Object(U["tokenMatcher"])(t,Ye)?e=ie(e,r,t.leadingWhitespace):Object(U["tokenMatcher"])(t,ze)?e=ae(e,r,t.leadingWhitespace):this.ACTION(()=>{throw Error("Operator not supported")})}),e}),this.formula=this.RULE("formula",()=>(this.CONSUME(He),this.SUBRULE(this.booleanExpression))),this.lexerConfig=e,this.sheetMapping=t,this.formulaAddress=pn(0,0,0),this.performSelfAnalysis()}parseFromTokens(e,t){this.input=e;let r=this.formulaWithContext(t),n=[];return this.customParsingError&&n.push(this.customParsingError),n=n.concat(this.errors.map(e=>({type:Y.ParserError,message:e.message}))),n.length>0&&(r=we()),{ast:r,errors:n}}reset(){super.reset(),this.customParsingError=void 0}formulaWithContext(e){return this.formulaAddress=e,this.formula()}buildCellRange(e,t,r){if(void 0===e.sheet&&void 0!==t.sheet)return this.parsingError(Y.ParserError,"Malformed range expression");const{firstEnd:n,secondEnd:i,sheetRefType:a}=st.fixSheetIdsForRangeEnds(e,t);return Z(n,i,a,r)}static fixSheetIdsForRangeEnds(e,t){const r=st.rangeSheetReferenceType(e.sheet,t.sheet),n=void 0!==e.sheet&&void 0===t.sheet?t.withSheet(e.sheet):t;return{firstEnd:e,secondEnd:n,sheetRefType:r}}handleOffsetHeuristic(e){const t=e[0];if(t.type!==z.CELL_REFERENCE)return this.parsingError(Y.StaticOffsetError,"First argument to OFFSET is not a reference");const r=e[1];let n;if(r.type===z.NUMBER&&Number.isInteger(r.value))n=r.value;else if(r.type===z.PLUS_UNARY_OP&&r.value.type===z.NUMBER&&Number.isInteger(r.value.value))n=r.value.value;else{if(r.type!==z.MINUS_UNARY_OP||r.value.type!==z.NUMBER||!Number.isInteger(r.value.value))return this.parsingError(Y.StaticOffsetError,"Second argument to OFFSET is not a static number");n=-r.value.value}const a=e[2];let o;if(a.type===z.NUMBER&&Number.isInteger(a.value))o=a.value;else if(a.type===z.PLUS_UNARY_OP&&a.value.type===z.NUMBER&&Number.isInteger(a.value.value))o=a.value.value;else{if(a.type!==z.MINUS_UNARY_OP||a.value.type!==z.NUMBER||!Number.isInteger(a.value.value))return this.parsingError(Y.StaticOffsetError,"Third argument to OFFSET is not a static number");o=-a.value.value}const s=e[3];let u;if(void 0===s)u=1;else{if(s.type!==z.NUMBER)return this.parsingError(Y.StaticOffsetError,"Fourth argument to OFFSET is not a static number");if(u=s.value,u<1)return this.parsingError(Y.StaticOffsetError,"Fourth argument to OFFSET is too small number");if(!Number.isInteger(u))return this.parsingError(Y.StaticOffsetError,"Fourth argument to OFFSET is not integer")}const c=e[4];let d;if(void 0===c)d=1;else{if(c.type!==z.NUMBER)return this.parsingError(Y.StaticOffsetError,"Fifth argument to OFFSET is not a static number");if(d=c.value,d<1)return this.parsingError(Y.StaticOffsetError,"Fifth argument to OFFSET is too small number");if(!Number.isInteger(d))return this.parsingError(Y.StaticOffsetError,"Fifth argument to OFFSET is not integer")}const h=new l(t.reference.col+o,t.reference.row+n,t.reference.type);let p=h.col,f=h.row;if(t.reference.type!==i.CELL_REFERENCE_RELATIVE&&t.reference.type!==i.CELL_REFERENCE_ABSOLUTE_COL||(f+=this.formulaAddress.row),t.reference.type!==i.CELL_REFERENCE_RELATIVE&&t.reference.type!==i.CELL_REFERENCE_ABSOLUTE_ROW||(p+=this.formulaAddress.col),p<0||f<0)return be(new ln(Ur.REF,xe.OutOfSheet));if(1===d&&1===u)return X(h);{const e=new l(h.col+d-1,h.row+u-1,h.type);return Z(h,e,W.RELATIVE)}}parsingError(e,t){return this.customParsingError=V(e,t),we()}static rangeSheetReferenceType(e,t){return void 0===e?W.RELATIVE:void 0===t?W.START_ABSOLUTE:W.BOTH_ABSOLUTE}}class lt{constructor(e){this.lexerConfig=e,this.lexer=new U["Lexer"](e.allTokens,{ensureOptimizations:!0})}tokenizeFormula(e){const t=this.lexer.tokenize(e);let r=t.tokens;return r=this.trimTrailingWhitespaces(r),r=this.skipWhitespacesInsideRanges(r),r=this.skipWhitespacesBeforeArgSeparators(r),t.tokens=r,t}skipWhitespacesInsideRanges(e){return lt.filterTokensByNeighbors(e,(e,t,r)=>(Object(U["tokenMatcher"])(e,nt)||Object(U["tokenMatcher"])(e,Je))&&Object(U["tokenMatcher"])(t,this.lexerConfig.WhiteSpace)&&(Object(U["tokenMatcher"])(r,nt)||Object(U["tokenMatcher"])(r,Je)))}skipWhitespacesBeforeArgSeparators(e){return lt.filterTokensByNeighbors(e,(e,t,r)=>!Object(U["tokenMatcher"])(e,this.lexerConfig.ArgSeparator)&&Object(U["tokenMatcher"])(t,this.lexerConfig.WhiteSpace)&&Object(U["tokenMatcher"])(r,this.lexerConfig.ArgSeparator))}static filterTokensByNeighbors(e,t){if(e.length<3)return e;let r=0;const n=[e[r++]];while(r<e.length-1)t(e[r-1],e[r],e[r+1])||n.push(e[r]),++r;return n.push(e[r]),n}trimTrailingWhitespaces(e){return e.length>0&&Object(U["tokenMatcher"])(e[e.length-1],this.lexerConfig.WhiteSpace)&&e.pop(),e}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class ut{constructor(e,t,r,n){this.config=e,this.lexerConfig=t,this.sheetMappingFn=r,this.namedExpressions=n}unparse(e,t){return"="+this.unparseAst(e,t)}unparseAst(e,t){var r,n;switch(e.type){case z.EMPTY:return Se("",e.leadingWhitespace);case z.NUMBER:return Se(ct(e.value,this.config.decimalSeparator),e.leadingWhitespace);case z.STRING:return Se('"'+e.value+'"',e.leadingWhitespace);case z.FUNCTION_CALL:{const r=e.args.map(e=>void 0!==e?this.unparseAst(e,t):"").join(this.config.functionArgSeparator),n=this.config.translationPackage.isFunctionTranslated(e.procedureName)?this.config.translationPackage.getFunctionTranslation(e.procedureName):e.procedureName,i=n+"("+r+Se(")",e.internalWhitespace);return Se(i,e.leadingWhitespace)}case z.NAMED_EXPRESSION:{const n=null===(r=this.namedExpressions.nearestNamedExpression(e.expressionName,t.sheet))||void 0===r?void 0:r.displayName;return Se(n||e.expressionName,e.leadingWhitespace)}case z.CELL_REFERENCE:{let r;return r=void 0!==e.reference.sheet?this.unparseSheetName(e.reference.sheet)+"!":"",r+=null!==(n=e.reference.unparse(t))&&void 0!==n?n:this.config.translationPackage.getErrorTranslation(Ur.REF),Se(r,e.leadingWhitespace)}case z.COLUMN_RANGE:case z.ROW_RANGE:case z.CELL_RANGE:return Se(this.formatRange(e,t),e.leadingWhitespace);case z.PLUS_UNARY_OP:{const r=this.unparseAst(e.value,t);return Se("+",e.leadingWhitespace)+r}case z.MINUS_UNARY_OP:{const r=this.unparseAst(e.value,t);return Se("-",e.leadingWhitespace)+r}case z.PERCENT_OP:return this.unparseAst(e.value,t)+Se("%",e.leadingWhitespace);case z.ERROR:{const t=this.config.translationPackage.getErrorTranslation(e.error?e.error.type:Ur.ERROR);return Se(t,e.leadingWhitespace)}case z.ERROR_WITH_RAW_INPUT:return Se(e.rawInput,e.leadingWhitespace);case z.PARENTHESIS:{const r=this.unparseAst(e.expression,t),n="("+r+Se(")",e.internalWhitespace);return Se(n,e.leadingWhitespace)}case z.ARRAY:{const r="{"+e.args.map(e=>e.map(e=>this.unparseAst(e,t)).join(this.config.arrayColumnSeparator)).join(this.config.arrayRowSeparator)+Se("}",e.internalWhitespace);return Se(r,e.leadingWhitespace)}default:{const r=this.unparseAst(e.left,t),n=this.unparseAst(e.right,t);return r+Se(Ee[e.type],e.leadingWhitespace)+n}}}unparseSheetName(e){const t=H(e,this.sheetMappingFn);if(void 0===t)throw new Vt(e);return t}formatRange(e,t){let r="",n="";void 0!==e.start.sheet&&e.sheetReferenceType!==W.RELATIVE&&(r=this.unparseSheetName(e.start.sheet)+"!"),void 0!==e.end.sheet&&e.sheetReferenceType===W.BOTH_ABSOLUTE&&(n=this.unparseSheetName(e.end.sheet)+"!");const i=e.start.unparse(t),a=e.end.unparse(t);return void 0===i||void 0===a?this.config.translationPackage.getErrorTranslation(Ur.REF):`${r}${i}:${n}${a}`}}function ct(e,t){const r=e.toString();return r.replace(".",t)}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class dt{constructor(e,t,r){this.config=e,this.functionRegistry=t,this.sheetMapping=r,this.statsCacheUsed=0,this.lexerConfig=ot(e),this.lexer=new lt(this.lexerConfig),this.formulaParser=new st(this.lexerConfig,this.sheetMapping),this.cache=new Te(this.functionRegistry)}parse(e,t){this.formulaAddress=t;const r=this.tokenizeFormula(e);if(r.errors.length>0){const e=r.errors.map(e=>({type:Y.LexingError,message:e.message}));return{ast:we(),errors:e,hasVolatileFunction:!1,hasStructuralChangeFunction:!1,dependencies:[]}}const n=this.computeHashFromTokens(r.tokens,t);let i=this.cache.get(n);if(void 0!==i)++this.statsCacheUsed;else{const e=this.bindWhitespacesToTokens(r.tokens),a=this.formulaParser.parseFromTokens(e,t);if(a.errors.length>0)return Object.assign(Object.assign({},a),{hasVolatileFunction:!1,hasStructuralChangeFunction:!1,dependencies:[]});i=this.cache.set(n,a.ast)}const{ast:a,hasVolatileFunction:o,hasStructuralChangeFunction:s}=i,l=this.convertReversedRangesToRegularRanges(a),u=pt(l,this.functionRegistry);return{ast:l,errors:[],hasVolatileFunction:o,hasStructuralChangeFunction:s,dependencies:u}}convertReversedRangesToRegularRanges(e){switch(e.type){case z.EMPTY:case z.NUMBER:case z.STRING:case z.ERROR:case z.ERROR_WITH_RAW_INPUT:case z.CELL_REFERENCE:case z.NAMED_EXPRESSION:return e;case z.CELL_RANGE:{const{start:t,end:r}=e,n=this.orderCellRangeEnds(t,r);return Object.assign(Object.assign({},e),{start:n.start,end:n.end})}case z.COLUMN_RANGE:{const{start:t,end:r}=e,n=this.orderColumnRangeEnds(t,r);return Object.assign(Object.assign({},e),{start:n.start,end:n.end})}case z.ROW_RANGE:{const{start:t,end:r}=e,n=this.orderRowRangeEnds(t,r);return Object.assign(Object.assign({},e),{start:n.start,end:n.end})}case z.PERCENT_OP:case z.PLUS_UNARY_OP:case z.MINUS_UNARY_OP:{const t=this.convertReversedRangesToRegularRanges(e.value);return Object.assign(Object.assign({},e),{value:t})}case z.CONCATENATE_OP:case z.EQUALS_OP:case z.NOT_EQUAL_OP:case z.LESS_THAN_OP:case z.GREATER_THAN_OP:case z.LESS_THAN_OR_EQUAL_OP:case z.GREATER_THAN_OR_EQUAL_OP:case z.MINUS_OP:case z.PLUS_OP:case z.TIMES_OP:case z.DIV_OP:case z.POWER_OP:{const t=this.convertReversedRangesToRegularRanges(e.left),r=this.convertReversedRangesToRegularRanges(e.right);return Object.assign(Object.assign({},e),{left:t,right:r})}case z.PARENTHESIS:{const t=this.convertReversedRangesToRegularRanges(e.expression);return Object.assign(Object.assign({},e),{expression:t})}case z.FUNCTION_CALL:{const t=e.args.map(e=>this.convertReversedRangesToRegularRanges(e));return Object.assign(Object.assign({},e),{args:t})}case z.ARRAY:{const t=e.args.map(e=>e.map(e=>this.convertReversedRangesToRegularRanges(e)));return Object.assign(Object.assign({},e),{args:t})}}}orderCellRangeEnds(e,t){const r=[e,t],[n,i]=r.map(e=>e.toColumnAddress()).sort(o.compareByAbsoluteAddress(this.formulaAddress)),[a,u]=r.map(e=>e.toRowAddress()).sort(s.compareByAbsoluteAddress(this.formulaAddress)),[c,d]=r.map(e=>e.sheet).sort(dt.compareSheetIds.bind(this));return{start:l.fromColAndRow(n,a,c),end:l.fromColAndRow(i,u,d)}}orderColumnRangeEnds(e,t){const r=[e,t],[n,i]=r.sort(o.compareByAbsoluteAddress(this.formulaAddress)),[a,s]=r.map(e=>e.sheet).sort(dt.compareSheetIds.bind(this));return{start:new o(n.type,n.col,a),end:new o(i.type,i.col,s)}}orderRowRangeEnds(e,t){const r=[e,t],[n,i]=r.sort(s.compareByAbsoluteAddress(this.formulaAddress)),[a,o]=r.map(e=>e.sheet).sort(dt.compareSheetIds.bind(this));return{start:new s(n.type,n.row,a),end:new s(i.type,i.row,o)}}static compareSheetIds(e,t){return e=null!=e?e:1/0,t=null!=t?t:1/0,e-t}fetchCachedResultForAst(e){const t=this.computeHashFromAst(e);return this.fetchCachedResult(t)}fetchCachedResult(e){const t=this.cache.get(e);if(void 0===t)throw new Error("There is no AST with such key in the cache");{const{ast:e,hasVolatileFunction:r,hasStructuralChangeFunction:n,relativeDependencies:i}=t;return{ast:e,errors:[],hasVolatileFunction:r,hasStructuralChangeFunction:n,dependencies:i}}}computeHashFromTokens(e,t){var r;let n="",i=0;while(i<e.length){const a=e[i];if(Object(U["tokenMatcher"])(a,nt)){const e=O(this.sheetMapping,a.image,t);n=void 0===e?n.concat(a.image):n.concat(e.hash(!0))}else if(Object(U["tokenMatcher"])(a,tt)){const e=a.image.toUpperCase().slice(0,-1),t=null!==(r=this.lexerConfig.functionMapping[e])&&void 0!==r?r:e;n=n.concat(t,"(")}else if(Object(U["tokenMatcher"])(a,Qe)){const[e,r]=a.image.split(":"),i=R(this.sheetMapping,e,t),o=R(this.sheetMapping,r,t);n=void 0===i||void 0===o?n.concat("!REF"):n.concat(i.hash(!0),":",o.hash(!0))}else if(Object(U["tokenMatcher"])(a,et)){const[e,r]=a.image.split(":"),i=L(this.sheetMapping,e,t),o=L(this.sheetMapping,r,t);n=void 0===i||void 0===o?n.concat("!REF"):n.concat(i.hash(!0),":",o.hash(!0))}else n=n.concat(a.image);i++}return n}rememberNewAst(e){const t=this.computeHashFromAst(e);return this.cache.maybeSetAndThenGet(t,e)}computeHashFromAst(e){return"="+this.computeHashOfAstNode(e)}computeHashOfAstNode(e){switch(e.type){case z.EMPTY:return e.leadingWhitespace||"";case z.NUMBER:return Se(ct(e.value,this.config.decimalSeparator),e.leadingWhitespace);case z.STRING:return Se('"'+e.value+'"',e.leadingWhitespace);case z.NAMED_EXPRESSION:return Se(e.expressionName,e.leadingWhitespace);case z.FUNCTION_CALL:{const t=e.args.map(e=>this.computeHashOfAstNode(e)).join(this.config.functionArgSeparator),r=e.procedureName+"("+t+Se(")",e.internalWhitespace);return Se(r,e.leadingWhitespace)}case z.CELL_REFERENCE:return Se(e.reference.hash(!0),e.leadingWhitespace);case z.COLUMN_RANGE:case z.ROW_RANGE:case z.CELL_RANGE:{const t=e.start.hash(e.sheetReferenceType!==W.RELATIVE),r=e.end.hash(e.sheetReferenceType===W.BOTH_ABSOLUTE);return Se(t+":"+r,e.leadingWhitespace)}case z.MINUS_UNARY_OP:return Se("-"+this.computeHashOfAstNode(e.value),e.leadingWhitespace);case z.PLUS_UNARY_OP:return Se("+"+this.computeHashOfAstNode(e.value),e.leadingWhitespace);case z.PERCENT_OP:return this.computeHashOfAstNode(e.value)+Se("%",e.leadingWhitespace);case z.ERROR:{const t=this.config.translationPackage.getErrorTranslation(e.error?e.error.type:Ur.ERROR);return Se(t,e.leadingWhitespace)}case z.ERROR_WITH_RAW_INPUT:return Se(e.rawInput,e.leadingWhitespace);case z.ARRAY:{const t=e.args.map(e=>e.map(e=>this.computeHashOfAstNode(e)).join(",")).join(";");return Se("{"+t+Se("}",e.internalWhitespace),e.leadingWhitespace)}case z.PARENTHESIS:{const t=this.computeHashOfAstNode(e.expression),r="("+t+Se(")",e.internalWhitespace);return Se(r,e.leadingWhitespace)}default:return this.computeHashOfAstNode(e.left)+Se(Ee[e.type],e.leadingWhitespace)+this.computeHashOfAstNode(e.right)}}bindWhitespacesToTokens(e){const t=[],r=e[0];Object(U["tokenMatcher"])(r,this.lexerConfig.WhiteSpace)||t.push(r);for(let n=1;n<e.length;++n){const r=e[n];if(Object(U["tokenMatcher"])(r,this.lexerConfig.WhiteSpace))continue;const i=e[n-1];Object(U["tokenMatcher"])(i,this.lexerConfig.WhiteSpace)&&(r.leadingWhitespace=i),t.push(r)}return t}tokenizeFormula(e){return this.lexer.tokenizeFormula(e)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const ht=(e,t,r,n)=>{switch(e.type){case z.EMPTY:case z.NUMBER:case z.STRING:case z.ERROR:return;case z.NAMED_EXPRESSION:return void(n&&r.push(new bt(e.expressionName)));case z.CELL_REFERENCE:return void(n&&r.push(new ft(e.reference)));case z.CELL_RANGE:return void(n&&e.start.sheet===e.end.sheet&&r.push(new mt(e.start,e.end)));case z.COLUMN_RANGE:return void(n&&e.start.sheet===e.end.sheet&&r.push(new gt(e.start,e.end)));case z.ROW_RANGE:return void(n&&e.start.sheet===e.end.sheet&&r.push(new vt(e.start,e.end)));case z.PERCENT_OP:case z.PLUS_UNARY_OP:case z.MINUS_UNARY_OP:return void ht(e.value,t,r,!0);case z.CONCATENATE_OP:case z.EQUALS_OP:case z.NOT_EQUAL_OP:case z.LESS_THAN_OP:case z.GREATER_THAN_OP:case z.LESS_THAN_OR_EQUAL_OP:case z.GREATER_THAN_OR_EQUAL_OP:case z.MINUS_OP:case z.PLUS_OP:case z.TIMES_OP:case z.DIV_OP:case z.POWER_OP:return ht(e.left,t,r,!0),void ht(e.right,t,r,!0);case z.PARENTHESIS:return void ht(e.expression,t,r,n);case z.FUNCTION_CALL:{const n=!t.doesFunctionNeedArgumentToBeComputed(e.procedureName);return void e.args.forEach(e=>ht(e,t,r,n))}}},pt=(e,t)=>{const r=new Array;return ht(e,t,r,!0),r};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class ft{constructor(e){this.dependency=e}absolutize(e){return this.dependency.toSimpleCellAddress(e)}}class mt{constructor(e,t){this.start=e,this.end=t}absolutize(e){return new En(this.start.toSimpleCellAddress(e),this.end.toSimpleCellAddress(e))}}class gt{constructor(e,t){this.start=e,this.end=t}absolutize(e){const t=this.start.toSimpleColumnAddress(e),r=this.end.toSimpleColumnAddress(e);return new Mn(t.sheet,t.col,r.col)}}class vt{constructor(e,t){this.start=e,this.end=t}absolutize(e){const t=this.start.toSimpleRowAddress(e),r=this.end.toSimpleRowAddress(e);return new Tn(t.sheet,t.row,r.row)}}class bt{constructor(e){this.name=e}absolutize(e){return this}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const yt=(e,t)=>e.map(e=>e.absolutize(t)),wt=e=>e.filter(e=>e instanceof bt||(e instanceof En?!(fn(e.start)||fn(e.end)):!fn(e))),_t=Symbol("Empty value");function St(e){return e instanceof Et?e.val:e}class Et{constructor(e,t){this.val=e,this.format=t}fromNumber(e){return new this.constructor(e)}}function Mt(e,t){if("number"===typeof e)return t;{const r=e.fromNumber(t);return r.format=e.format,r}}class Tt extends Et{getDetailedType(){return Rt.NUMBER_DATE}}class Ct extends Et{getDetailedType(){return Rt.NUMBER_CURRENCY}}class xt extends Et{getDetailedType(){return Rt.NUMBER_TIME}}class At extends Et{getDetailedType(){return Rt.NUMBER_DATETIME}}class Nt extends Et{getDetailedType(){return Rt.NUMBER_PERCENT}}function Ot(e){return"number"===typeof e||e instanceof Et}var Rt,Lt;function kt(e){return e instanceof Et?e.getDetailedType():Rt.NUMBER_RAW}function It(e){return e instanceof Et?e.format:void 0}function Dt(e){return e instanceof Et?{type:e.getDetailedType(),format:e.format}:{type:Rt.NUMBER_RAW}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e["NUMBER_RAW"]="NUMBER_RAW",e["NUMBER_DATE"]="NUMBER_DATE",e["NUMBER_TIME"]="NUMBER_TIME",e["NUMBER_DATETIME"]="NUMBER_DATETIME",e["NUMBER_CURRENCY"]="NUMBER_CURRENCY",e["NUMBER_PERCENT"]="NUMBER_PERCENT"})(Rt||(Rt={}));class Pt{constructor(e,t,r,n){this._data=e,this.range=t,this.dependencyGraph=r,this._hasOnlyNumbers=n,this.size=void 0===e?new ei(t.effectiveWidth(r),t.effectiveHeight(r)):new ei(e[0].length,e.length)}get data(){return this.ensureThatComputed(),this._data}static fromRange(e,t,r){return new Pt(e,t,r,!0)}static onlyNumbers(e){return new Pt(e,void 0,void 0,!0)}static onlyValues(e){return new Pt(e,void 0,void 0,void 0)}static onlyRange(e,t){return new Pt(void 0,e,t,void 0)}static fromScalar(e){return new Pt([[e]],void 0,void 0,void 0)}isAdHoc(){return void 0===this.range}width(){return this.size.width}height(){return this.size.height}valuesFromTopLeftCorner(){this.ensureThatComputed();const e=[];for(let t=0;t<this._data.length;t++)for(let r=0;r<this._data[0].length;r++)e.push(this._data[t][r]);return e}*effectiveAddressesFromData(e){for(let t=0;t<this.data.length;++t){const r=this.data[t];for(let n=0;n<r.length;++n)yield pn(e.sheet,e.col+n,e.row+t)}}*entriesFromTopLeftCorner(e){this.ensureThatComputed();for(let t=0;t<this.size.height;++t)for(let r=0;r<this.size.width;++r)yield[this._data[t][r],pn(e.sheet,e.col+r,e.row+t)]}*iterateValuesFromTopLeftCorner(){yield*this.valuesFromTopLeftCorner()}numberOfElements(){return this.size.width*this.size.height}hasOnlyNumbers(){if(void 0===this._hasOnlyNumbers){this._hasOnlyNumbers=!0;for(const e of this.data)for(const t of e)if("number"!==typeof t)return this._hasOnlyNumbers=!1,!1}return this._hasOnlyNumbers}rawNumbers(){return this._data}rawData(){var e;return this.ensureThatComputed(),null!==(e=this._data)&&void 0!==e?e:[]}sameDimensionsAs(e){return this.width()===e.width()&&this.height()===e.height()}ensureThatComputed(){void 0===this._data&&(this._hasOnlyNumbers=!0,this._data=this.range.addressesArrayMap(this.dependencyGraph,e=>{const t=this.dependencyGraph.getCellValue(e);return t instanceof Pt?(this._hasOnlyNumbers=!1,new ln(Ur.VALUE,xe.ScalarExpected)):(Ot(t)||(this._hasOnlyNumbers=!1),t)}))}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class jt{constructor(){this.changes=new Map}static empty(){return new jt}addAll(e){for(const t of e.changes.values())this.add(t.address,t);return this}addChange(e,t,r){this.addInterpreterValue(e,t,r)}exportChanges(e){let t=[];return this.changes.forEach(r=>{const n=e.exportChange(r);Array.isArray(n)?t=t.concat(n):t.push(n)}),t}getChanges(){return Array.from(this.changes.values())}isEmpty(){return 0===this.changes.size}add(e,t){const r=t.value;if(r instanceof Pt)for(const n of r.effectiveAddressesFromData(e))this.changes.delete(gn(n));this.changes.set(gn(e),t)}addInterpreterValue(e,t,r){this.add(t,{address:t,value:e,oldValue:r})}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ft{constructor(e,t,r){if(this.sheet=e,this.rowStart=t,this.rowEnd=r,t<0)throw Error("Starting row cant be less than 0");if(r<t)throw Error("Row span cant end before start")}get numberOfRows(){return this.rowEnd-this.rowStart+1}get start(){return this.rowStart}get end(){return this.rowEnd}static fromNumberOfRows(e,t,r){return new Ft(e,t,t+r-1)}static fromRowStartAndEnd(e,t,r){return new Ft(e,t,r)}*rows(){for(let e=this.rowStart;e<=this.rowEnd;++e)yield e}intersect(e){if(this.sheet!==e.sheet)throw Error("Can't intersect spans from different sheets");const t=Math.max(this.rowStart,e.rowStart),r=Math.min(this.rowEnd,e.rowEnd);return t>r?null:new Ft(this.sheet,t,r)}firstRow(){return new Ft(this.sheet,this.rowStart,this.rowStart)}}class Ht{constructor(e,t,r){if(this.sheet=e,this.columnStart=t,this.columnEnd=r,t<0)throw Error("Starting column cant be less than 0");if(r<t)throw Error("Column span cant end before start")}get numberOfColumns(){return this.columnEnd-this.columnStart+1}get start(){return this.columnStart}get end(){return this.columnEnd}static fromNumberOfColumns(e,t,r){return new Ht(e,t,t+r-1)}static fromColumnStartAndEnd(e,t,r){return new Ht(e,t,r)}*columns(){for(let e=this.columnStart;e<=this.columnEnd;++e)yield e}intersect(e){if(this.sheet!==e.sheet)throw Error("Can't intersect spans from different sheets");const t=Math.max(this.columnStart,e.columnStart),r=Math.min(this.columnEnd,e.columnEnd);return t>r?null:new Ht(this.sheet,t,r)}firstColumn(){return new Ht(this.sheet,this.columnStart,this.columnStart)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e["BUILD_ENGINE_TOTAL"]="BUILD_ENGINE_TOTAL",e["PARSER"]="PARSER",e["GRAPH_BUILD"]="GRAPH_BUILD",e["COLLECT_DEPENDENCIES"]="COLLECT_DEPENDENCIES",e["PROCESS_DEPENDENCIES"]="PROCESS_DEPENDENCIES",e["TOP_SORT"]="TOP_SORT",e["BUILD_COLUMN_INDEX"]="BUILD_COLUMN_INDEX",e["EVALUATION"]="EVALUATION",e["VLOOKUP"]="VLOOKUP",e["TRANSFORM_ASTS"]="TRANSFORM_ASTS",e["TRANSFORM_ASTS_POSTPONED"]="TRANSFORM_ASTS_POSTPONED",e["ADJUSTING_ADDRESS_MAPPING"]="ADJUSTING_ADDRESS_MAPPING",e["ADJUSTING_ARRAY_MAPPING"]="ADJUSTING_ARRAY_MAPPING",e["ADJUSTING_RANGES"]="ADJUSTING_RANGES",e["ADJUSTING_GRAPH"]="ADJUSTING_GRAPH",e["CRITERION_FUNCTION_FULL_CACHE_USED"]="CRITERION_FUNCTION_FULL_CACHE_USED",e["CRITERION_FUNCTION_PARTIAL_CACHE_USED"]="CRITERION_FUNCTION_PARTIAL_CACHE_USED"})(Lt||(Lt={}));
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Bt{constructor(){this.stats=new Map([[Lt.CRITERION_FUNCTION_FULL_CACHE_USED,0],[Lt.CRITERION_FUNCTION_PARTIAL_CACHE_USED,0]]),this.startTimes=new Map}incrementCriterionFunctionFullCacheUsed(){var e;const t=(null!==(e=this.stats.get(Lt.CRITERION_FUNCTION_FULL_CACHE_USED))&&void 0!==e?e:0)+1;this.stats.set(Lt.CRITERION_FUNCTION_FULL_CACHE_USED,t)}incrementCriterionFunctionPartialCacheUsed(){var e;const t=(null!==(e=this.stats.get(Lt.CRITERION_FUNCTION_PARTIAL_CACHE_USED))&&void 0!==e?e:0)+1;this.stats.set(Lt.CRITERION_FUNCTION_PARTIAL_CACHE_USED,t)}reset(){this.stats.clear(),this.startTimes.clear(),this.stats.set(Lt.CRITERION_FUNCTION_FULL_CACHE_USED,0),this.stats.set(Lt.CRITERION_FUNCTION_PARTIAL_CACHE_USED,0)}start(e){if(this.startTimes.get(e))throw Error(`Statistics ${e} already started`);this.startTimes.set(e,Date.now())}end(e){var t;const r=Date.now(),n=this.startTimes.get(e);if(!n)throw Error(`Statistics ${e} not started`);{let i=null!==(t=this.stats.get(e))&&void 0!==t?t:0;i+=r-n,this.stats.set(e,i),this.startTimes.delete(e)}}measure(e,t){this.start(e);const r=t();return this.end(e),r}snapshot(){return new Map(this.stats)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ut extends Bt{incrementCriterionFunctionFullCacheUsed(){}incrementCriterionFunctionPartialCacheUsed(){}start(e){}end(e){}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Vt extends Error{constructor(e){super("There's no sheet with id = "+e)}}class Yt extends Error{constructor(e){super(`There's no sheet with name '${e}'`)}}class zt extends Error{constructor(e){super(`Sheet with name ${e} already exists`)}}class Wt extends Error{constructor(){super("Sheet size limit exceeded")}}class qt extends Error{constructor(){super("This is not a formula")}}class Gt extends Error{constructor(e){super(`Address (row = ${e.row}, col = ${e.col}) is invalid`)}}class Kt extends Error{constructor(e){super("Invalid arguments, expected "+e)}}class Xt extends Error{constructor(e,t){super(`Sheets ${e} and ${t} are not equal.`)}}class Zt extends Error{constructor(e){super(`Name of Named Expression '${e}' is already present`)}}class $t extends Error{constructor(e){super(`Name of Named Expression '${e}' is invalid`)}}class Jt extends Error{constructor(e){super(`Named Expression '${e}' does not exist`)}}class Qt extends Error{constructor(){super("There is no operation to undo")}}class er extends Error{constructor(){super("There is no operation to redo")}}class tr extends Error{constructor(){super("There is nothing to paste")}}function rr(e,t){switch(typeof t){case"function":case"symbol":return t.toString();case"bigint":return"BigInt("+t.toString()+")";default:return t instanceof RegExp?"RegExp("+t.toString()+")":t}}class nr extends Error{constructor(e){super("Unable to parse value: "+JSON.stringify(e,rr,4))}}class ir extends Error{constructor(e,t){super(`Expected value of type: ${e} for config parameter: ${t}`)}}class ar extends Error{constructor(e){super(`Config parameter ${e} cannot be empty.`)}}class or extends Error{constructor(e,t){super(`Config parameter ${e} should be at least ${t}`)}}class sr extends Error{constructor(e,t){super(`Config parameter ${e} should be at most ${t}`)}}class lr extends Error{constructor(e,t){super(`Expected one of ${e} for config parameter: ${t}`)}}class ur extends Error{constructor(){super("Computations are suspended")}}class cr extends Error{constructor(e){super(`Translation for ${e} is missing in the translation package you're using.`)}}class dr extends Error{constructor(e){super("Cannot register translation for function with id: "+e)}}class hr extends Error{constructor(){super("Language not registered.")}}class pr extends Error{constructor(){super("Language already registered.")}}class fr extends Error{static functionNotDeclaredInPlugin(e,t){return new fr(`Function with id ${e} not declared in plugin ${t}`)}static functionMethodNotFound(e,t){return new fr(`Function method ${e} not found in plugin ${t}`)}}class mr extends Error{static cannotRegisterFunctionWithId(e){return new mr("Cannot register function with id "+e)}static cannotUnregisterFunctionWithId(e){return new mr("Cannot unregister function with id "+e)}static cannotUnregisterProtectedPlugin(){return new mr("Cannot unregister protected plugin")}}class gr extends Error{constructor(){super("Cannot perform this operation, source location has an array inside.")}}class vr extends Error{constructor(){super("Cannot perform this operation, target location has an array inside.")}}class br extends Error{constructor(){super("Relative addresses not allowed in named expressions.")}}class yr extends Error{constructor(e,t){super(`Alias id ${e} in plugin ${t} already defined as a function or alias.`)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class wr{constructor(e){this.policy=e,this.mapping=new Map}getCell(e){const t=this.mapping.get(e.sheet);if(void 0===t)throw new Vt(e.sheet);return t.getCell(e)}fetchCell(e){const t=this.mapping.get(e.sheet);if(void 0===t)throw new Vt(e.sheet);const r=t.getCell(e);if(!r)throw Error("Vertex for address missing in AddressMapping");return r}strategyFor(e){const t=this.mapping.get(e);if(void 0===t)throw new Vt(e);return t}addSheet(e,t){if(this.mapping.has(e))throw Error("Sheet already added");this.mapping.set(e,t)}autoAddSheet(e,t){const{height:r,width:n,fill:i}=t,a=this.policy.call(i);this.addSheet(e,new a(n,r))}getCellValue(e){const t=this.getCell(e);return void 0===t?_t:t instanceof Cr?t.getArrayCellValue(e):t.getCellValue()}getRawValue(e){const t=this.getCell(e);return t instanceof Kr?t.getValues().rawValue:t instanceof Cr?t.getArrayCellRawValue(e):null}setCell(e,t){const r=this.mapping.get(e.sheet);if(!r)throw Error("Sheet not initialized");r.setCell(e,t)}moveCell(e,t){const r=this.mapping.get(e.sheet);if(!r)throw Error("Sheet not initialized.");if(e.sheet!==t.sheet)throw Error("Cannot move cells between sheets.");if(r.has(t))throw new Error("Cannot move cell. Destination already occupied.");const n=r.getCell(e);if(void 0===n)throw new Error("Cannot move cell. No cell with such address.");this.setCell(t,n),this.removeCell(e)}removeCell(e){const t=this.mapping.get(e.sheet);if(!t)throw Error("Sheet not initialized");t.removeCell(e)}has(e){const t=this.mapping.get(e.sheet);return void 0!==t&&t.has(e)}getHeight(e){const t=this.mapping.get(e);if(void 0===t)throw new Vt(e);return t.getHeight()}getWidth(e){const t=this.mapping.get(e);if(!t)throw new Vt(e);return t.getWidth()}addRows(e,t,r){const n=this.mapping.get(e);if(void 0===n)throw new Vt(e);n.addRows(t,r)}removeRows(e){const t=this.mapping.get(e.sheet);if(void 0===t)throw new Vt(e.sheet);t.removeRows(e)}removeSheet(e){this.mapping.delete(e)}addColumns(e,t,r){const n=this.mapping.get(e);if(void 0===n)throw new Vt(e);n.addColumns(t,r)}removeColumns(e){const t=this.mapping.get(e.sheet);if(void 0===t)throw new Vt(e.sheet);t.removeColumns(e)}*verticesFromRowsSpan(e){yield*this.mapping.get(e.sheet).verticesFromRowsSpan(e)}*verticesFromColumnsSpan(e){yield*this.mapping.get(e.sheet).verticesFromColumnsSpan(e)}*entriesFromRowsSpan(e){yield*this.mapping.get(e.sheet).entriesFromRowsSpan(e)}*entriesFromColumnsSpan(e){yield*this.mapping.get(e.sheet).entriesFromColumnsSpan(e)}*entries(){for(const[e,t]of this.mapping.entries())yield*t.getEntries(e)}*sheetEntries(e){const t=this.mapping.get(e);if(void 0===t)throw new Vt(e);yield*t.getEntries(e)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class _r{constructor(){this.arrayMapping=new Map}getArray(e){const t=this.getArrayByCorner(e.start);if(null===t||void 0===t?void 0:t.getRange().sameAs(e))return t}getArrayByCorner(e){return this.arrayMapping.get(gn(e))}setArray(e,t){this.arrayMapping.set(gn(e.start),t)}removeArray(e){"string"===typeof e?this.arrayMapping.delete(e):this.arrayMapping.delete(gn(e.start))}count(){return this.arrayMapping.size}*arraysInRows(e){for(const[t,r]of this.arrayMapping.entries())r.spansThroughSheetRows(e.sheet,e.rowStart,e.rowEnd)&&(yield[t,r])}*arraysInCols(e){for(const[t,r]of this.arrayMapping.entries())r.spansThroughSheetColumn(e.sheet,e.columnStart,e.columnEnd)&&(yield[t,r])}isFormulaArrayInRow(e,t){for(const r of this.arrayMapping.values())if(r.spansThroughSheetRows(e,t))return!0;return!1}isFormulaArrayInAllRows(e){let t=!0;for(const r of e.rows())this.isFormulaArrayInRow(e.sheet,r)||(t=!1);return t}isFormulaArrayInColumn(e,t){for(const r of this.arrayMapping.values())if(r.spansThroughSheetColumn(e,t))return!0;return!1}isFormulaArrayInAllColumns(e){let t=!0;for(const r of e.columns())this.isFormulaArrayInColumn(e.sheet,r)||(t=!1);return t}isFormulaArrayInRange(e){for(const t of this.arrayMapping.values())if(t.getRange().doesOverlap(e))return!0;return!1}isFormulaArrayAtAddress(e){for(const t of this.arrayMapping.values())if(t.getRange().addressInRange(e))return!0;return!1}moveArrayVerticesAfterRowByRows(e,t,r){this.updateArrayVerticesInSheet(e,(e,n)=>{const i=n.getRange();return t<=i.start.row?[i.shifted(0,r),n]:void 0})}moveArrayVerticesAfterColumnByColumns(e,t,r){this.updateArrayVerticesInSheet(e,(e,n)=>{const i=n.getRange();return t<=i.start.col?[i.shifted(r,0),n]:void 0})}updateArrayVerticesInSheet(e,t){const r=Array();for(const[n,i]of this.arrayMapping.entries()){if(i.sheet!==e)continue;const a=t(n,i);void 0!==a&&(this.removeArray(n),r.push(a))}r.forEach(([e,t])=>{this.setArray(e,t)})}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Sr{constructor(e){this.size=e}width(){return this.size.width}height(){return this.size.height}get(e,t){throw Error("Array not computed yet.")}simpleRangeValue(){throw Error("Array not computed yet.")}}class Er{constructor(e){if(this.size=new ei(e.length>0?e[0].length:0,e.length),this.array=e,this.size.width<=0||this.size.height<=0)throw Error("Incorrect array size")}static fromInterpreterValue(e){return new Er(e instanceof Pt?e.data:[[e]])}simpleRangeValue(){return Pt.onlyValues(this.array)}addRows(e,t){this.array.splice(e,0,...this.nullArrays(t,this.width())),this.size.height+=t}addColumns(e,t){for(let r=0;r<this.height();r++)this.array[r].splice(e,0,...new Array(t).fill(_t));this.size.width+=t}removeRows(e,t){if(this.outOfBound(0,e)||this.outOfBound(0,t))throw Error("Array index out of bound");const r=t-e+1;this.array.splice(e,r),this.size.height-=r}removeColumns(e,t){if(this.outOfBound(e,0)||this.outOfBound(t,0))throw Error("Array index out of bound");const r=t-e+1;for(const n of this.array)n.splice(e,r);this.size.width-=r}nullArrays(e,t){const r=[];for(let n=0;n<e;++n)r.push(new Array(t).fill(_t));return r}get(e,t){if(this.outOfBound(e,t))throw Error("Array index out of bound");return this.array[t][e]}set(e,t,r){if(this.outOfBound(e,t))throw Error("Array index out of bound");this.array[t][e]=r}width(){return this.size.width}height(){return this.size.height}raw(){return this.array}resize(e){if(this.height()<e.height&&isFinite(e.height)&&this.addRows(this.height(),e.height-this.height()),this.height()>e.height)throw Error("Resizing to smaller array");if(this.width()<e.width&&isFinite(e.width)&&this.addColumns(this.width(),e.width-this.width()),this.width()>e.width)throw Error("Resizing to smaller array")}outOfBound(e,t){return e<0||t<0||t>this.size.height-1||e>this.size.width-1}}class Mr{constructor(e,t){this.error=e,this.size=t}get(e,t){return this.error}width(){return this.size.width}height(){return this.size.height}simpleRangeValue(){return this.error}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Tr{constructor(e,t,r){this.formula=e,this.cellAddress=t,this.version=r}get width(){return 1}get height(){return 1}static fromAst(e,t,r,n){return r.isScalar()?new xr(e,t,n):new Cr(e,t,r,n)}getFormula(e){return this.ensureRecentData(e),this.formula}ensureRecentData(e){if(this.version!=e.version()){const[t,r,n]=e.applyTransformations(this.formula,this.cellAddress,this.version);this.formula=t,this.cellAddress=r,this.version=n}}getAddress(e){return this.ensureRecentData(e),this.cellAddress}}class Cr extends Tr{constructor(e,t,r,n=0){super(e,t,n),r.isRef?this.array=new Mr(new ln(Ur.REF,xe.NoSpaceForArrayResult),ei.error()):this.array=new Sr(r)}get width(){return this.array.width()}get height(){return this.array.height()}get sheet(){return this.cellAddress.sheet}get leftCorner(){return this.cellAddress}setCellValue(e){if(e instanceof ln)return this.setErrorValue(e),e;const t=Er.fromInterpreterValue(e);return t.resize(this.array.size),this.array=t,e}getCellValue(){if(this.array instanceof Sr)throw Error("Array not computed yet.");return this.array.simpleRangeValue()}valueOrUndef(){if(!(this.array instanceof Sr))return this.array.simpleRangeValue()}getArrayCellValue(e){const t=e.col-this.cellAddress.col,r=e.row-this.cellAddress.row;try{return this.array.get(t,r)}catch(n){return new ln(Ur.REF)}}getArrayCellRawValue(e){const t=this.getArrayCellValue(e);return t instanceof ln||t===_t?void 0:St(t)}setArrayCellValue(e,t){const r=e.col-this.cellAddress.col,n=e.row-this.cellAddress.row;this.array instanceof Er&&this.array.set(r,n,t)}setNoSpace(){return this.array=new Mr(new ln(Ur.SPILL,xe.NoSpaceForArrayResult),ei.error()),this.getCellValue()}getRange(){return En.spanFrom(this.cellAddress,this.width,this.height)}getRangeOrUndef(){return En.spanFromOrUndef(this.cellAddress,this.width,this.height)}setAddress(e){this.cellAddress=e}setFormula(e){this.formula=e}spansThroughSheetRows(e,t,r=t){return this.cellAddress.sheet===e&&this.cellAddress.row<=r&&t<this.cellAddress.row+this.height}spansThroughSheetColumn(e,t,r=t){return this.cellAddress.sheet===e&&this.cellAddress.col<=r&&t<this.cellAddress.col+this.width}isComputed(){return!(this.array instanceof Sr)}columnsFromArray(){return Ht.fromNumberOfColumns(this.cellAddress.sheet,this.cellAddress.col,this.width)}rowsFromArray(){return Ft.fromNumberOfRows(this.cellAddress.sheet,this.cellAddress.row,this.height)}ensureRecentData(e){}isLeftCorner(e){return yn(this.cellAddress,e)}setErrorValue(e){this.array=new Mr(e,this.array.size)}}class xr extends Tr{constructor(e,t,r){super(e,t,r)}valueOrUndef(){return this.cachedCellValue}setCellValue(e){return this.cachedCellValue=e,this.cachedCellValue}getCellValue(){if(void 0!==this.cachedCellValue)return this.cachedCellValue;throw Error("Value of the formula cell is not computed.")}isComputed(){return void 0!==this.cachedCellValue}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ar{constructor(e){this.range=e,this.functionCache=new Map,this.criterionFunctionCache=new Map,this.dependentCacheRanges=new Set,this.bruteForce=!1}get start(){return this.range.start}get end(){return this.range.end}get sheet(){return this.range.start.sheet}getFunctionValue(e){return this.functionCache.get(e)}setFunctionValue(e,t){this.functionCache.set(e,t)}getCriterionFunctionValue(e,t){var r;return null===(r=this.getCriterionFunctionValues(e).get(t))||void 0===r?void 0:r[0]}getCriterionFunctionValues(e){var t;return null!==(t=this.criterionFunctionCache.get(e))&&void 0!==t?t:new Map}setCriterionFunctionValues(e,t){this.criterionFunctionCache.set(e,t)}addDependentCacheRange(e){e!==this&&this.dependentCacheRanges.add(e)}clearCache(){this.functionCache.clear(),this.criterionFunctionCache.clear(),this.dependentCacheRanges.forEach(e=>e.criterionFunctionCache.clear()),this.dependentCacheRanges.clear()}getStart(){return this.start}getEnd(){return this.end}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const Nr=(e,t,r,n,i)=>{if(t instanceof Ar){const e=t.range.intersectionWith(r);return void 0!==e?Array.from(e.addresses(i)):[]}let a,o;return t instanceof Tr?(a=t.getFormula(n),o=t.getAddress(n),pt(a,e).filter(e=>e instanceof ft).map(e=>e.dependency.toSimpleCellAddress(o)).filter(e=>r.addressInRange(e))):[]};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */var Or;(function(e){e[e["ON_STACK"]=0]="ON_STACK",e[e["PROCESSED"]=1]="PROCESSED",e[e["POPPED"]=2]="POPPED"})(Or||(Or={}));class Rr{constructor(e=[],t=[]){this.nodesSparseArray=e,this.edgesSparseArray=t,this.entranceTime=[],this.low=[],this.parent=[],this.inSCC=[],this.nodeStatus=[],this.order=[],this.sccNonSingletons=[],this.timeCounter=0}getTopSortedWithSccSubgraphFrom(e,t,r){const n=e.reverse();return n.forEach(e=>this.runDFS(e)),this.postprocess(n,r,t)}getAdjacentNodeIds(e){return this.edgesSparseArray[e].filter(e=>void 0!==e&&this.nodesSparseArray[e])}runDFS(e){if(void 0!==this.nodeStatus[e])return;this.nodeStatus[e]=Or.ON_STACK;const t=[e],r=[];while(t.length>0){const e=t[t.length-1];switch(this.nodeStatus[e]){case Or.ON_STACK:this.handleOnStack(e,r,t);break;case Or.PROCESSED:this.handleProcessed(e,r,t);break;case Or.POPPED:t.pop();break}}}handleOnStack(e,t,r){this.entranceTime[e]=this.timeCounter,this.low[e]=this.timeCounter,this.timeCounter++,t.push(e),this.getAdjacentNodeIds(e).forEach(t=>{void 0===this.entranceTime[t]&&(r.push(t),this.parent[t]=e,this.nodeStatus[t]=Or.ON_STACK)}),this.nodeStatus[e]=Or.PROCESSED}handleProcessed(e,t,r){let n=this.entranceTime[e];if(this.getAdjacentNodeIds(e).forEach(t=>{this.inSCC[t]||(n=this.parent[t]===e?Math.min(n,this.low[t]):Math.min(n,this.entranceTime[t]))}),this.low[e]=n,n===this.entranceTime[e]){const r=[];do{r.push(t[t.length-1]),t.pop()}while(r[r.length-1]!==e);r.forEach(e=>{this.inSCC[e]=!0}),this.order.push(...r),r.length>1&&r.forEach(e=>{this.sccNonSingletons[e]=!0})}r.pop(),this.nodeStatus[e]=Or.POPPED}postprocess(e,t,r){const n=[];e.forEach(e=>{n[e]=!0});const i=[],a=[];return this.order.reverse(),this.order.forEach(e=>{const o=this.getAdjacentNodeIds(e);this.sccNonSingletons[e]||o.includes(e)?(a.push(this.nodesSparseArray[e]),t(this.nodesSparseArray[e]),o.forEach(e=>n[e]=!0)):(i.push(this.nodesSparseArray[e]),n[e]&&r(this.nodesSparseArray[e])&&o.forEach(e=>n[e]=!0))}),{sorted:i,cycled:a}}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Lr{constructor(e,t){this.rawValue=e,this.processFn=t,this.processedValue=null}getProcessedValue(){return null===this.processedValue&&(this.processedValue=this.processFn(this.rawValue)),this.processedValue}markAsModified(){this.processedValue=null}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class kr{constructor(e){this.dependencyQuery=e,this.nodesSparseArray=[],this.edgesSparseArray=[],this.nodesIds=new Map,this.dirtyAndVolatileNodeIds=new Lr({dirty:[],volatile:[]},e=>this.processDirtyAndVolatileNodeIds(e)),this.infiniteRangeIds=new Set,this.changingWithStructureNodeIds=[],this.nextId=0}getNodes(){return this.nodesSparseArray.filter(e=>void 0!==e)}hasNode(e){return this.nodesIds.has(e)}existsEdge(e,t){const r=this.getNodeId(e),n=this.getNodeId(t);return void 0!==r&&void 0!==n&&this.edgesSparseArray[r].includes(n)}adjacentNodes(e){const t=this.getNodeId(e);if(void 0===t)throw this.missingNodeError(e);return new Set(this.edgesSparseArray[t].filter(e=>void 0!==e).map(e=>this.nodesSparseArray[e]))}adjacentNodesCount(e){const t=this.getNodeId(e);if(void 0===t)throw this.missingNodeError(e);return this.fixEdgesArrayForNode(t).length}addNodeAndReturnId(e){const t=this.nodesIds.get(e);if(void 0!==t)return t;const r=this.nextId;return this.nextId++,this.nodesSparseArray[r]=e,this.edgesSparseArray[r]=[],this.nodesIds.set(e,r),r}addEdge(e,t){const r=this.getNodeIdIfNotNumber(e),n=this.getNodeIdIfNotNumber(t);if(void 0===r)throw this.missingNodeError(e);if(void 0===n)throw this.missingNodeError(t);this.edgesSparseArray[r].includes(n)||this.edgesSparseArray[r].push(n)}removeNode(e){const t=this.getNodeId(e);if(void 0===t)throw this.missingNodeError(e);this.edgesSparseArray[t].length>0&&(this.edgesSparseArray[t].forEach(e=>this.dirtyAndVolatileNodeIds.rawValue.dirty.push(e)),this.dirtyAndVolatileNodeIds.markAsModified());const r=this.removeDependencies(e);return delete this.nodesSparseArray[t],delete this.edgesSparseArray[t],this.infiniteRangeIds.delete(t),this.nodesIds.delete(e),r}removeEdge(e,t){const r=this.getNodeIdIfNotNumber(e),n=this.getNodeIdIfNotNumber(t);if(void 0===r)throw this.missingNodeError(e);if(void 0===n)throw this.missingNodeError(t);const i=this.edgesSparseArray[r].indexOf(n);if(-1===i)throw new Error("Edge does not exist");delete this.edgesSparseArray[r][i]}removeEdgeIfExists(e,t){const r=this.getNodeId(e),n=this.getNodeId(t);if(void 0===r)return;if(void 0===n)return;const i=this.edgesSparseArray[r].indexOf(n);-1!==i&&delete this.edgesSparseArray[r][i]}topSortWithScc(){return this.getTopSortedWithSccSubgraphFrom(this.getNodes(),()=>!0,()=>{})}getTopSortedWithSccSubgraphFrom(e,t,r){const n=new Rr(this.nodesSparseArray,this.edgesSparseArray),i=e.map(e=>this.getNodeId(e)).filter(e=>void 0!==e);return n.getTopSortedWithSccSubgraphFrom(i,t,r)}markNodeAsVolatile(e){const t=this.getNodeId(e);void 0!==t&&(this.dirtyAndVolatileNodeIds.rawValue.volatile.push(t),this.dirtyAndVolatileNodeIds.markAsModified())}markNodeAsDirty(e){const t=this.getNodeId(e);void 0!==t&&(this.dirtyAndVolatileNodeIds.rawValue.dirty.push(t),this.dirtyAndVolatileNodeIds.markAsModified())}getDirtyAndVolatileNodes(){return this.dirtyAndVolatileNodeIds.getProcessedValue()}clearDirtyNodes(){this.dirtyAndVolatileNodeIds.rawValue.dirty=[],this.dirtyAndVolatileNodeIds.markAsModified()}markNodeAsChangingWithStructure(e){const t=this.getNodeId(e);void 0!==t&&this.changingWithStructureNodeIds.push(t)}markChangingWithStructureNodesAsDirty(){this.changingWithStructureNodeIds.length<=0||(this.dirtyAndVolatileNodeIds.rawValue.dirty=[...this.dirtyAndVolatileNodeIds.rawValue.dirty,...this.changingWithStructureNodeIds],this.dirtyAndVolatileNodeIds.markAsModified())}markNodeAsInfiniteRange(e){const t=this.getNodeIdIfNotNumber(e);void 0!==t&&this.infiniteRangeIds.add(t)}getInfiniteRanges(){return[...this.infiniteRangeIds].map(e=>({node:this.nodesSparseArray[e],id:e}))}getNodeId(e){return this.nodesIds.get(e)}getNodeIdIfNotNumber(e){return"number"===typeof e?e:this.nodesIds.get(e)}fixEdgesArrayForNode(e){const t=this.edgesSparseArray[e];return this.edgesSparseArray[e]=t.filter(e=>void 0!==e&&this.nodesSparseArray[e]),this.edgesSparseArray[e]}removeDependencies(e){const t=this.dependencyQuery(e);return t.forEach(([t,r])=>{this.removeEdgeIfExists(r,e)}),t}processDirtyAndVolatileNodeIds({dirty:e,volatile:t}){return[...new Set([...e,...t])].map(e=>this.nodesSparseArray[e]).filter(e=>void 0!==e)}missingNodeError(e){return new Error("Unknown node "+e)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ir{constructor(){this.rangeMapping=new Map}getMappingSize(e){var t,r;return null!==(r=null===(t=this.rangeMapping.get(e))||void 0===t?void 0:t.size)&&void 0!==r?r:0}setRange(e){let t=this.rangeMapping.get(e.getStart().sheet);void 0===t&&(t=new Map,this.rangeMapping.set(e.getStart().sheet,t));const r=Dr(e.getStart(),e.getEnd());t.set(r,e)}removeRange(e){const t=e.getStart().sheet,r=this.rangeMapping.get(t);if(void 0===r)return;const n=Dr(e.getStart(),e.getEnd());r.delete(n),0===r.size&&this.rangeMapping.delete(t)}getRange(e,t){const r=this.rangeMapping.get(e.sheet),n=Dr(e,t);return null===r||void 0===r?void 0:r.get(n)}fetchRange(e,t){const r=this.getRange(e,t);if(!r)throw Error("Range does not exist");return r}truncateRanges(e,t){const r=Array(),n=Array(),i=Array(),a=e.sheet;for(const[s,l]of this.entriesFromSheet(e.sheet)){const o=l.range;e.start<=t(l.range.end)&&(o.removeSpan(e),o.shouldBeRemoved()?(this.removeByKey(a,s),r.push(l)):n.push([s,l]),i.push(l))}const o=[];n.sort((e,r)=>jr(e[1],r[1],t));for(const[s,l]of n){const e=Pr(l.range);if(e===s)continue;const t=this.getByKey(a,e);this.removeByKey(a,s),void 0!==t&&l!=t?o.push([t,l]):this.setRange(l)}return{verticesToRemove:r,verticesToMerge:o,verticesWithChangedSize:i}}moveAllRangesInSheetAfterRowByRows(e,t,r){return this.updateVerticesFromSheet(e,(e,n)=>t<=n.start.row?(n.range.shiftByRows(r),{changedSize:!1,vertex:n}):t>n.start.row&&t<=n.end.row?(n.range.expandByRows(r),{changedSize:!0,vertex:n}):void 0)}moveAllRangesInSheetAfterColumnByColumns(e,t,r){return this.updateVerticesFromSheet(e,(e,n)=>t<=n.start.col?(n.range.shiftByColumns(r),{changedSize:!1,vertex:n}):t>n.start.col&&t<=n.end.col?(n.range.expandByColumns(r),{changedSize:!0,vertex:n}):void 0)}moveRangesInsideSourceRange(e,t,r,n){this.updateVerticesFromSheet(e.sheet,(i,a)=>e.containsRange(a.range)?(a.range.shiftByColumns(t),a.range.shiftByRows(r),a.range.moveToSheet(n),{changedSize:!1,vertex:a}):void 0)}removeRangesInSheet(e){if(this.rangeMapping.has(e)){const t=this.rangeMapping.get(e).values();return this.rangeMapping.delete(e),t}return[][Symbol.iterator]()}*rangesInSheet(e){const t=this.rangeMapping.get(e);t&&(yield*t.values())}*rangeVerticesContainedInRange(e){for(const t of this.rangesInSheet(e.sheet))e.containsRange(t.range)&&(yield t)}findSmallerRange(e){if(e.height()>1&&Number.isFinite(e.height())){const t=pn(e.end.sheet,e.end.col,e.end.row-1),r=this.getRange(e.start,t);if(void 0!==r){const t=En.fromSimpleCellAddresses(pn(e.start.sheet,e.start.col,e.end.row),e.end);return{smallerRangeVertex:r,restRange:t}}}return{restRange:e}}*entriesFromSheet(e){const t=this.rangeMapping.get(e);t&&(yield*t.entries())}removeByKey(e,t){this.rangeMapping.get(e).delete(t)}getByKey(e,t){var r;return null===(r=this.rangeMapping.get(e))||void 0===r?void 0:r.get(t)}updateVerticesFromSheet(e,t){const r=Array();for(const[n,i]of this.entriesFromSheet(e)){const a=t(n,i);void 0!==a&&(this.removeByKey(e,n),r.push(a))}return r.forEach(e=>{this.setRange(e.vertex)}),{verticesWithChangedSize:r.filter(e=>e.changedSize).map(e=>e.vertex)}}}function Dr(e,t){return`${e.col},${e.row},${t.col},${t.row}`}function Pr(e){return Dr(e.start,e.end)}const jr=(e,t,r)=>{const n=r(e.range.start),i=r(e.range.start);if(n===i){const n=r(e.range.end),i=r(t.range.end);return n-i}return n-i};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Fr{constructor(e,t,r){this.functions=e,this.errors=t,this.ui=r,this._protectedTranslations={VERSION:"VERSION"},this.checkUI(),this.checkErrors(),this.checkFunctionTranslations(this.functions),Object.assign(this.functions,this._protectedTranslations)}extendFunctions(e){this.checkFunctionTranslations(e),Object.assign(this.functions,e)}buildFunctionMapping(){return Object.keys(this.functions).reduce((e,t)=>(e[this.functions[t]]=t,e),{})}buildErrorMapping(){return Object.keys(this.errors).reduce((e,t)=>(e[this.errors[t]]=t,e),{})}isFunctionTranslated(e){return void 0!==this.functions[e]}getFunctionTranslations(e){const t=[];for(const r of e)this.isFunctionTranslated(r)&&t.push(this.functions[r]);return t}getFunctionTranslation(e){const t=this.functions[e];if(void 0===t)throw new cr("functions."+e);return t}getMaybeFunctionTranslation(e){return this.functions[e]}getErrorTranslation(e){if(e===Ur.LIC)return`#${Ur.LIC}!`;const t=this.errors[e];if(void 0===t)throw new cr("errors."+e);return t}getUITranslation(e){const t=this.ui[e];if(void 0===t)throw new cr("ui."+e);return t}checkUI(){for(const e of Object.values(Br))if(!(e in this.ui))throw new cr("ui."+e)}checkErrors(){for(const e of Object.values(Ur))if(!(e in this.errors)&&e!==Ur.LIC)throw new cr("errors."+e)}checkFunctionTranslations(e){const t=new Set(Object.getOwnPropertyNames(e));for(const r of Object.getOwnPropertyNames(this._protectedTranslations))if(t.has(r))throw new dr(r)}}function Hr(e){return new Fr(Object.assign({},e.functions),Object.assign({},e.errors),Object.assign({},e.ui))}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */var Br,Ur,Vr;
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- function Yr(e){return e.toLowerCase()}(function(e){e["NEW_SHEET_PREFIX"]="NEW_SHEET_PREFIX"})(Br||(Br={}));class zr{constructor(e,t){this.id=e,this.displayName=t}get canonicalName(){return Yr(this.displayName)}}class Wr{constructor(e){this.languages=e,this.mappingFromCanonicalName=new Map,this.mappingFromId=new Map,this.lastSheetId=-1,this.fetch=e=>{const t=this.mappingFromCanonicalName.get(Yr(e));if(void 0===t)throw new Yt(e);return t.id},this.get=e=>{var t;return null===(t=this.mappingFromCanonicalName.get(Yr(e)))||void 0===t?void 0:t.id},this.fetchDisplayName=e=>this.fetchSheetById(e).displayName,this.sheetNamePrefix=e.getUITranslation(Br.NEW_SHEET_PREFIX)}addSheet(e=`${this.sheetNamePrefix}${this.lastSheetId+2}`){const t=Yr(e);if(this.mappingFromCanonicalName.has(t))throw new zt(e);this.lastSheetId++;const r=new zr(this.lastSheetId,e);return this.store(r),r.id}removeSheet(e){const t=this.fetchSheetById(e);e==this.lastSheetId&&--this.lastSheetId,this.mappingFromCanonicalName.delete(t.canonicalName),this.mappingFromId.delete(t.id)}getDisplayName(e){var t;return null===(t=this.mappingFromId.get(e))||void 0===t?void 0:t.displayName}*displayNames(){for(const e of this.mappingFromCanonicalName.values())yield e.displayName}numberOfSheets(){return this.mappingFromCanonicalName.size}hasSheetWithId(e){return this.mappingFromId.has(e)}hasSheetWithName(e){return this.mappingFromCanonicalName.has(Yr(e))}renameSheet(e,t){const r=this.fetchSheetById(e),n=r.displayName;if(n===t)return;const i=this.mappingFromCanonicalName.get(Yr(t));if(void 0!==i&&i.id!==r.id)throw new zt(t);const a=r.canonicalName;return this.mappingFromCanonicalName.delete(a),r.displayName=t,this.store(r),n}sheetNames(){return Array.from(this.mappingFromId.values()).map(e=>e.displayName)}store(e){this.mappingFromId.set(e.id,e),this.mappingFromCanonicalName.set(e.canonicalName,e)}fetchSheetById(e){const t=this.mappingFromId.get(e);if(void 0===t)throw new Vt(e);return t}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class qr{constructor(e,t,r,n,i,a,o,s){this.addressMapping=e,this.rangeMapping=t,this.sheetMapping=r,this.arrayMapping=n,this.stats=i,this.lazilyTransformingAstService=a,this.functionRegistry=o,this.namedExpressions=s,this.changes=jt.empty(),this.dependencyQueryAddresses=e=>{if(e instanceof Ar)return this.rangeDependencyQuery(e).map(([e,t])=>e);{const t=this.formulaDependencyQuery(e);if(void 0!==t){const[e,r]=t;return r.map(t=>t instanceof bt?this.namedExpressions.namedExpressionOrPlaceholder(t.name,e.sheet).address:vn(t)?t:Sn(t.start,t.end))}return[]}},this.dependencyQueryVertices=e=>{if(e instanceof Ar)return this.rangeDependencyQuery(e);{const t=this.formulaDependencyQuery(e);if(void 0!==t){const[e,r]=t;return r.map(t=>{if(t instanceof En)return[t.start,this.rangeMapping.fetchRange(t.start,t.end)];if(t instanceof bt){const r=this.namedExpressions.namedExpressionOrPlaceholder(t.name,e.sheet);return[r.address,this.addressMapping.fetchCell(r.address)]}return[t,this.addressMapping.fetchCell(t)]})}return[]}},this.rangeDependencyQuery=e=>{const t=[],{smallerRangeVertex:r,restRange:n}=this.rangeMapping.findSmallerRange(e.range);let i;void 0!==r&&this.graph.adjacentNodes(r).has(e)?(i=n,t.push([new En(r.start,r.end),r])):i=e.range;for(const a of i.addresses(this)){const e=this.addressMapping.getCell(a);void 0!==e&&t.push([a,e])}return t},this.formulaDependencyQuery=e=>{let t,r;if(!(e instanceof Tr))return;r=e.getAddress(this.lazilyTransformingAstService),t=e.getFormula(this.lazilyTransformingAstService);const n=pt(t,this.functionRegistry);return[r,yt(n,r)]},this.graph=new kr(this.dependencyQueryVertices)}static buildEmpty(e,t,r,n,i){return new qr(new wr(t.chooseAddressMappingPolicy),new Ir,new Wr(t.translationPackage),new _r,i,e,r,n)}setFormulaToCell(e,t,r,n,i,a){const o=Tr.fromAst(t,e,n,this.lazilyTransformingAstService.version());return this.exchangeOrAddFormulaVertex(o),this.processCellDependencies(r,o),this.graph.markNodeAsDirty(o),i&&this.markAsVolatile(o),a&&this.markAsDependentOnStructureChange(o),this.correctInfiniteRangesDependency(e),this.getAndClearContentChanges()}setParsingErrorToCell(e,t){const r=this.shrinkPossibleArrayAndGetCell(e);return this.exchangeOrAddGraphNode(r,t),this.addressMapping.setCell(e,t),this.graph.markNodeAsDirty(t),this.correctInfiniteRangesDependency(e),this.getAndClearContentChanges()}setValueToCell(e,t){const r=this.shrinkPossibleArrayAndGetCell(e);if(r instanceof Cr&&this.arrayMapping.removeArray(r.getRange()),r instanceof Kr){const e=r.getValues();e.rawValue!==t.rawValue&&(r.setValues(t),this.graph.markNodeAsDirty(r))}else{const n=new Kr(t.parsedValue,t.rawValue);this.exchangeOrAddGraphNode(r,n),this.addressMapping.setCell(e,n),this.graph.markNodeAsDirty(n)}return this.correctInfiniteRangesDependency(e),this.getAndClearContentChanges()}setCellEmpty(e){const t=this.shrinkPossibleArrayAndGetCell(e);if(void 0===t)return jt.empty();if(this.graph.adjacentNodes(t).size>0){const r=new Gr;this.exchangeGraphNode(t,r),0===this.graph.adjacentNodesCount(r)?(this.removeVertex(r),this.addressMapping.removeCell(e)):(this.graph.markNodeAsDirty(r),this.addressMapping.setCell(e,r))}else this.removeVertex(t),this.addressMapping.removeCell(e);return this.getAndClearContentChanges()}clearDirtyVertices(){this.graph.clearDirtyNodes()}verticesToRecompute(){return this.graph.getDirtyAndVolatileNodes()}processCellDependencies(e,t){const r=this.graph.getNodeId(t);e.forEach(e=>{if(e instanceof En){const t=e;let n=this.getRange(t.start,t.end);void 0===n&&(n=new Ar(t),this.rangeMapping.setRange(n)),this.graph.addNodeAndReturnId(n);const i=this.graph.getNodeId(n);t.isFinite()||this.graph.markNodeAsInfiniteRange(i);const{smallerRangeVertex:a,restRange:o}=this.rangeMapping.findSmallerRange(t);if(void 0!==a){if(this.graph.addEdge(a,i),n.bruteForce){n.bruteForce=!1;for(const e of t.addresses(this))this.graph.removeEdge(this.fetchCell(e),i)}}else n.bruteForce=!0;const s=this.arrayMapping.getArray(o);if(void 0!==s)this.graph.addEdge(s,i);else for(const e of o.addresses(this)){const{vertex:t,id:r}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==r&&void 0!==r?r:t,i)}this.graph.addEdge(i,r),t.isFinite()&&this.correctInfiniteRangesDependenciesByRangeVertex(n)}else if(e instanceof bt){const n=t.getAddress(this.lazilyTransformingAstService).sheet,{vertex:i,id:a}=this.fetchNamedExpressionVertex(e.name,n);this.graph.addEdge(null!==a&&void 0!==a?a:i,r)}else{const{vertex:t,id:n}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==n&&void 0!==n?n:t,r)}})}fetchNamedExpressionVertex(e,t){const r=this.namedExpressions.namedExpressionOrPlaceholder(e,t);return this.fetchCellOrCreateEmpty(r.address)}exchangeNode(e,t){const r=this.fetchCellOrCreateEmpty(e).vertex,n=this.fetchCellOrCreateEmpty(t).vertex;this.addressMapping.removeCell(e),this.exchangeGraphNode(r,n)}fetchCellOrCreateEmpty(e){const t=this.addressMapping.getCell(e);if(void 0!==t)return{vertex:t,id:void 0};const r=new Gr,n=this.graph.addNodeAndReturnId(r);return this.addressMapping.setCell(e,r),{vertex:r,id:n}}removeRows(e){this.stats.measure(Lt.ADJUSTING_GRAPH,()=>{for(const[t,r]of this.addressMapping.entriesFromRowsSpan(e)){for(const e of this.graph.adjacentNodes(r))this.graph.markNodeAsDirty(e);if(r instanceof Cr){if(!r.isLeftCorner(t))continue;this.shrinkArrayToCorner(r),this.arrayMapping.removeArray(r.getRange())}this.removeVertex(r)}}),this.stats.measure(Lt.ADJUSTING_ADDRESS_MAPPING,()=>{this.addressMapping.removeRows(e)});const t=this.stats.measure(Lt.ADJUSTING_RANGES,()=>{const t=this.truncateRanges(e,e=>e.row);return this.getArrayVerticesRelatedToRanges(t)});return this.stats.measure(Lt.ADJUSTING_ARRAY_MAPPING,()=>{this.fixArraysAfterRemovingRows(e.sheet,e.rowStart,e.numberOfRows)}),this.addStructuralNodesToChangeSet(),{affectedArrays:t,contentChanges:this.getAndClearContentChanges()}}removeSheet(e){this.clearSheet(e);for(const[t,r]of this.addressMapping.sheetEntries(e)){for(const e of this.graph.adjacentNodes(r))this.graph.markNodeAsDirty(e);this.removeVertex(r),this.addressMapping.removeCell(t)}this.stats.measure(Lt.ADJUSTING_RANGES,()=>{const t=this.rangeMapping.removeRangesInSheet(e);for(const e of t)this.removeVertex(e);this.stats.measure(Lt.ADJUSTING_ADDRESS_MAPPING,()=>{this.addressMapping.removeSheet(e)})})}clearSheet(e){const t=new Set;for(const[r,n]of this.addressMapping.sheetEntries(e))n instanceof Cr?t.add(n):this.setCellEmpty(r);for(const r of t.values())this.setArrayEmpty(r);this.addStructuralNodesToChangeSet()}removeColumns(e){this.stats.measure(Lt.ADJUSTING_GRAPH,()=>{for(const[t,r]of this.addressMapping.entriesFromColumnsSpan(e)){for(const e of this.graph.adjacentNodes(r))this.graph.markNodeAsDirty(e);if(r instanceof Cr){if(!r.isLeftCorner(t))continue;this.shrinkArrayToCorner(r),this.arrayMapping.removeArray(r.getRange())}this.removeVertex(r)}}),this.stats.measure(Lt.ADJUSTING_ADDRESS_MAPPING,()=>{this.addressMapping.removeColumns(e)});const t=this.stats.measure(Lt.ADJUSTING_RANGES,()=>{const t=this.truncateRanges(e,e=>e.col);return this.getArrayVerticesRelatedToRanges(t)});return this.stats.measure(Lt.ADJUSTING_ARRAY_MAPPING,()=>this.fixArraysAfterRemovingColumns(e.sheet,e.columnStart,e.numberOfColumns)),this.addStructuralNodesToChangeSet(),{affectedArrays:t,contentChanges:this.getAndClearContentChanges()}}addRows(e){this.stats.measure(Lt.ADJUSTING_ADDRESS_MAPPING,()=>{this.addressMapping.addRows(e.sheet,e.rowStart,e.numberOfRows)});const t=this.stats.measure(Lt.ADJUSTING_RANGES,()=>{const t=this.rangeMapping.moveAllRangesInSheetAfterRowByRows(e.sheet,e.rowStart,e.numberOfRows);return this.fixRangesWhenAddingRows(e.sheet,e.rowStart,e.numberOfRows),this.getArrayVerticesRelatedToRanges(t.verticesWithChangedSize)});this.stats.measure(Lt.ADJUSTING_ARRAY_MAPPING,()=>{this.fixArraysAfterAddingRow(e.sheet,e.rowStart,e.numberOfRows)});for(const r of this.addressMapping.verticesFromRowsSpan(e))this.graph.markNodeAsDirty(r);return this.addStructuralNodesToChangeSet(),{affectedArrays:t}}addColumns(e){this.stats.measure(Lt.ADJUSTING_ADDRESS_MAPPING,()=>{this.addressMapping.addColumns(e.sheet,e.columnStart,e.numberOfColumns)});const t=this.stats.measure(Lt.ADJUSTING_RANGES,()=>{const t=this.rangeMapping.moveAllRangesInSheetAfterColumnByColumns(e.sheet,e.columnStart,e.numberOfColumns);return this.fixRangesWhenAddingColumns(e.sheet,e.columnStart,e.numberOfColumns),this.getArrayVerticesRelatedToRanges(t.verticesWithChangedSize)});this.stats.measure(Lt.ADJUSTING_ARRAY_MAPPING,()=>this.fixArraysAfterAddingColumn(e.sheet,e.columnStart,e.numberOfColumns));for(const r of this.addressMapping.verticesFromColumnsSpan(e))this.graph.markNodeAsDirty(r);return this.addStructuralNodesToChangeSet(),{affectedArrays:t,contentChanges:this.getAndClearContentChanges()}}isThereSpaceForArray(e){const t=e.getRangeOrUndef();if(void 0===t)return!1;for(const r of t.addresses(this)){const t=this.addressMapping.getCell(r);if(void 0!==t&&!(t instanceof Gr)&&t!==e)return!1}return!0}moveCells(e,t,r,n){for(const i of e.addressesWithDirection(t,r,this)){const a=pn(n,i.col+t,i.row+r);let o=this.addressMapping.getCell(i);const s=this.addressMapping.getCell(a);if(this.addressMapping.removeCell(i),void 0!==o){this.graph.markNodeAsDirty(o),this.addressMapping.setCell(a,o);let t=void 0;for(const r of this.graph.adjacentNodes(o))r instanceof Ar&&!e.containsRange(r.range)&&(t=null!==t&&void 0!==t?t:this.fetchCellOrCreateEmpty(i).vertex,this.graph.addEdge(t,r),this.graph.removeEdge(o,r));t&&(this.graph.markNodeAsDirty(t),this.addressMapping.setCell(i,t))}if(void 0!==s){void 0===o&&this.addressMapping.removeCell(a);for(const e of this.graph.adjacentNodes(s))o=null!==o&&void 0!==o?o:this.fetchCellOrCreateEmpty(a).vertex,this.graph.addEdge(o,e),this.graph.markNodeAsDirty(o);this.removeVertex(s)}}for(const i of this.rangeMapping.rangeVerticesContainedInRange(e))for(const t of this.graph.adjacentNodes(i))if(t instanceof Ar&&!e.containsRange(t.range)){this.graph.removeEdge(i,t);for(const e of i.range.addresses(this)){const{vertex:r,id:n}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==n&&void 0!==n?n:r,t),this.addressMapping.setCell(e,r),this.graph.markNodeAsDirty(r)}}this.rangeMapping.moveRangesInsideSourceRange(e,t,r,n)}setArrayEmpty(e){const t=En.spanFrom(e.getAddress(this.lazilyTransformingAstService),e.width,e.height),r=this.graph.adjacentNodes(e);for(const n of t.addresses(this))this.addressMapping.removeCell(n);for(const n of r.values()){const t=Nr(this.functionRegistry,n,e.getRange(),this.lazilyTransformingAstService,this);for(const e of t){const{vertex:t,id:r}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==r&&void 0!==r?r:t,n)}t.length>0&&this.graph.markNodeAsDirty(n)}this.removeVertex(e),this.arrayMapping.removeArray(e.getRange())}addVertex(e,t){this.graph.addNodeAndReturnId(t),this.addressMapping.setCell(e,t)}addArrayVertex(e,t){this.graph.addNodeAndReturnId(t),this.setAddressMappingForArrayVertex(t,e)}*arrayFormulaNodes(){for(const e of this.graph.getNodes())e instanceof Cr&&(yield e)}*entriesFromRowsSpan(e){yield*this.addressMapping.entriesFromRowsSpan(e)}*entriesFromColumnsSpan(e){yield*this.addressMapping.entriesFromColumnsSpan(e)}fetchCell(e){return this.addressMapping.fetchCell(e)}getCell(e){return this.addressMapping.getCell(e)}getCellValue(e){return this.addressMapping.getCellValue(e)}getRawValue(e){return this.addressMapping.getRawValue(e)}getScalarValue(e){const t=this.addressMapping.getCellValue(e);return t instanceof Pt?new ln(Ur.VALUE,xe.ScalarExpected):t}existsEdge(e,t){return this.graph.existsEdge(e,t)}getSheetId(e){return this.sheetMapping.fetch(e)}getSheetHeight(e){return this.addressMapping.getHeight(e)}getSheetWidth(e){return this.addressMapping.getWidth(e)}getArray(e){return this.arrayMapping.getArray(e)}getRange(e,t){return this.rangeMapping.getRange(e,t)}topSortWithScc(){return this.graph.topSortWithScc()}markAsVolatile(e){this.graph.markNodeAsVolatile(e)}markAsDependentOnStructureChange(e){this.graph.markNodeAsChangingWithStructure(e)}forceApplyPostponedTransformations(){for(const e of this.graph.getNodes())e instanceof xr&&e.ensureRecentData(this.lazilyTransformingAstService)}*rawValuesFromRange(e){for(const t of e.addresses(this)){const e=this.getScalarValue(t);e!==_t&&(yield[St(e),t])}}computeListOfValuesInRange(e){const t=[];for(const r of e.addresses(this)){const e=this.getScalarValue(r);t.push(e)}return t}shrinkArrayToCorner(e){this.cleanAddressMappingUnderArray(e);for(const t of this.adjacentArrayVertices(e)){let r;r=t instanceof Tr?this.formulaDirectDependenciesToArray(t,e):this.rangeDirectDependenciesToArray(t,e);let n=!1;for(const[i,a]of r)e.isLeftCorner(i)&&(n=!0),this.graph.addEdge(a,t),this.graph.markNodeAsDirty(a);n||this.graph.removeEdge(e,t)}this.graph.markNodeAsDirty(e)}isArrayInternalCell(e){const t=this.getCell(e);return t instanceof Cr&&!t.isLeftCorner(e)}getAndClearContentChanges(){const e=this.changes;return this.changes=jt.empty(),e}getAdjacentNodesAddresses(e){const t=this.graph.adjacentNodes(e),r=[];return t.forEach(e=>{const t=e;t instanceof Ar?r.push(Sn(t.start,t.end)):r.push(t.getAddress(this.lazilyTransformingAstService))}),r}exchangeGraphNode(e,t){this.graph.addNodeAndReturnId(t);const r=this.graph.adjacentNodes(e);this.removeVertex(e),r.forEach(e=>{this.graph.hasNode(e)&&this.graph.addEdge(t,e)})}setArray(e,t){this.arrayMapping.setArray(e,t)}correctInfiniteRangesDependency(e){const t=this.graph.getInfiniteRanges().filter(({node:t})=>t.range.addressInRange(e));if(t.length<=0)return;const{vertex:r,id:n}=this.fetchCellOrCreateEmpty(e),i=null!==n&&void 0!==n?n:this.graph.getNodeId(r);t.forEach(({id:e})=>{this.graph.addEdge(i,e)})}exchangeOrAddGraphNode(e,t){e?this.exchangeGraphNode(e,t):this.graph.addNodeAndReturnId(t)}getArrayVerticesRelatedToRanges(e){const t=new Set;return e.forEach(e=>{this.graph.hasNode(e)&&this.graph.adjacentNodes(e).forEach(e=>{e instanceof Cr&&t.add(e)})}),t}correctInfiniteRangesDependenciesByRangeVertex(e){this.graph.getInfiniteRanges().forEach(({id:t,node:r})=>{const n=e.range.intersectionWith(r.range);void 0!==n&&n.addresses(this).forEach(e=>{const{vertex:r,id:n}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==n&&void 0!==n?n:r,t)})})}cleanAddressMappingUnderArray(e){const t=e.getRange();for(const r of t.addresses(this)){const t=e.getArrayCellValue(r);this.getCell(r)===e?e.isLeftCorner(r)?this.changes.addChange(new ln(Ur.REF),r,t):(this.addressMapping.removeCell(r),this.changes.addChange(_t,r,t)):this.changes.addChange(_t,r,t)}}*formulaDirectDependenciesToArray(e,t){var r;const[,n]=null!==(r=this.formulaDependencyQuery(e))&&void 0!==r?r:[];if(void 0!==n)for(const i of n)if(!(i instanceof bt||i instanceof En)&&t.getRange().addressInRange(i)){const e=this.fetchCellOrCreateEmpty(i).vertex;yield[i,e]}}*rangeDirectDependenciesToArray(e,t){const{restRange:r}=this.rangeMapping.findSmallerRange(e.range);for(const n of r.addresses(this))if(t.getRange().addressInRange(n)){const e=this.fetchCellOrCreateEmpty(n).vertex;yield[n,e]}}*adjacentArrayVertices(e){const t=this.graph.adjacentNodes(e);for(const r of t)(r instanceof Tr||r instanceof Ar)&&(yield r)}addStructuralNodesToChangeSet(){this.graph.markChangingWithStructureNodesAsDirty()}fixRangesWhenAddingRows(e,t,r){const n=Array.from(this.rangeMapping.rangesInSheet(e));for(const i of n)if(i.range.includesRow(t+r))if(i.bruteForce){const e=i.range.rangeWithSameWidth(t,r);for(const t of e.addresses(this)){const{vertex:e,id:r}=this.fetchCellOrCreateEmpty(t);this.graph.addEdge(null!==r&&void 0!==r?r:e,i)}}else{let e=i,t=this.rangeMapping.findSmallerRange(e.range);if(void 0!==t.smallerRangeVertex)continue;while(void 0===t.smallerRangeVertex){const r=new Ar(En.spanFrom(e.range.start,e.range.width(),e.range.height()-1));this.rangeMapping.setRange(r),this.graph.addNodeAndReturnId(r);const n=new En(pn(e.range.start.sheet,e.range.start.col,e.range.end.row),e.range.end);this.addAllFromRange(n,e),this.graph.addEdge(r,e),e=r,t=this.rangeMapping.findSmallerRange(e.range)}this.graph.addEdge(t.smallerRangeVertex,e),this.addAllFromRange(t.restRange,e),this.graph.removeEdge(t.smallerRangeVertex,i)}}addAllFromRange(e,t){for(const r of e.addresses(this)){const{vertex:e,id:n}=this.fetchCellOrCreateEmpty(r);this.graph.addEdge(null!==n&&void 0!==n?n:e,t)}}fixRangesWhenAddingColumns(e,t,r){for(const n of this.rangeMapping.rangesInSheet(e))if(n.range.includesColumn(t+r)){let i;i=n.bruteForce?n.range.rangeWithSameHeight(t,r):En.spanFrom(pn(e,t,n.range.end.row),r,1);for(const e of i.addresses(this)){const{vertex:t,id:r}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==r&&void 0!==r?r:t,n)}}}exchangeOrAddFormulaVertex(e){const t=e.getAddress(this.lazilyTransformingAstService),r=En.spanFrom(t,e.width,e.height),n=this.shrinkPossibleArrayAndGetCell(t);if(e instanceof Cr&&this.setArray(r,e),this.exchangeOrAddGraphNode(n,e),this.addressMapping.setCell(t,e),e instanceof Cr){if(!this.isThereSpaceForArray(e))return;for(const t of r.addresses(this)){if(e.isLeftCorner(t))continue;const r=this.getCell(t);this.exchangeOrAddGraphNode(r,e)}}for(const i of r.addresses(this))this.addressMapping.setCell(i,e)}setAddressMappingForArrayVertex(e,t){if(this.addressMapping.setCell(t,e),!(e instanceof Cr))return;const r=En.spanFromOrUndef(t,e.width,e.height);if(void 0!==r&&(this.setArray(r,e),this.isThereSpaceForArray(e)))for(const n of r.addresses(this))this.addressMapping.setCell(n,e)}truncateRanges(e,t){const{verticesToRemove:r,verticesToMerge:n,verticesWithChangedSize:i}=this.rangeMapping.truncateRanges(e,t);for(const[a,o]of n)this.mergeRangeVertices(a,o);for(const a of r)this.removeVertexAndCleanupDependencies(a);return i}fixArraysAfterAddingRow(e,t,r){if(this.arrayMapping.moveArrayVerticesAfterRowByRows(e,t,r),!(t<=0))for(const[,n]of this.arrayMapping.arraysInRows(Ft.fromRowStartAndEnd(e,t-1,t-1))){const i=n.getRange();for(let a=i.start.col;a<=i.end.col;++a)for(let o=t;o<=i.end.row;++o){const t=pn(e,a,o),i=pn(e,a,o+r),s=n.getArrayCellValue(t);this.addressMapping.moveCell(i,t),this.changes.addChange(_t,i,s)}}}fixArraysAfterRemovingRows(e,t,r){if(this.arrayMapping.moveArrayVerticesAfterRowByRows(e,t,-r),!(t<=0))for(const[,n]of this.arrayMapping.arraysInRows(Ft.fromRowStartAndEnd(e,t-1,t-1)))if(this.isThereSpaceForArray(n))for(const e of n.getRange().addresses(this))this.addressMapping.setCell(e,n);else this.setNoSpaceIfArray(n)}fixArraysAfterAddingColumn(e,t,r){if(this.arrayMapping.moveArrayVerticesAfterColumnByColumns(e,t,r),!(t<=0))for(const[,n]of this.arrayMapping.arraysInCols(Ht.fromColumnStartAndEnd(e,t-1,t-1))){const i=n.getRange();for(let a=i.start.row;a<=i.end.row;++a)for(let o=t;o<=i.end.col;++o){const t=pn(e,o,a),i=pn(e,o+r,a),s=n.getArrayCellValue(t);this.addressMapping.moveCell(i,t),this.changes.addChange(_t,i,s)}}}fixArraysAfterRemovingColumns(e,t,r){if(this.arrayMapping.moveArrayVerticesAfterColumnByColumns(e,t,-r),!(t<=0))for(const[,n]of this.arrayMapping.arraysInCols(Ht.fromColumnStartAndEnd(e,t-1,t-1)))if(this.isThereSpaceForArray(n))for(const e of n.getRange().addresses(this))this.addressMapping.setCell(e,n);else this.setNoSpaceIfArray(n)}shrinkPossibleArrayAndGetCell(e){const t=this.getCell(e);return t instanceof Cr?(this.setNoSpaceIfArray(t),this.getCell(e)):t}setNoSpaceIfArray(e){e instanceof Cr&&(this.shrinkArrayToCorner(e),e.setNoSpace())}removeVertex(e){this.removeVertexAndCleanupDependencies(e),e instanceof Ar&&this.rangeMapping.removeRange(e)}mergeRangeVertices(e,t){const r=this.graph.adjacentNodes(t);this.removeVertexAndCleanupDependencies(t),this.graph.removeEdgeIfExists(e,t),r.forEach(t=>{this.graph.hasNode(t)&&this.graph.addEdge(e,t)})}removeVertexAndCleanupDependencies(e){const t=new Set(this.graph.removeNode(e));while(t.size>0){const e=t.values().next().value;t.delete(e);const[r,n]=e;this.graph.hasNode(n)&&0===this.graph.adjacentNodesCount(n)&&((n instanceof Ar||n instanceof Gr)&&this.graph.removeNode(n).forEach(e=>t.add(e)),n instanceof Ar?this.rangeMapping.removeRange(n):n instanceof Gr&&this.addressMapping.removeCell(r))}}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Gr{constructor(){}getCellValue(){return _t}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Kr{constructor(e,t){this.parsedValue=e,this.rawValue=t}getValues(){return{parsedValue:this.parsedValue,rawValue:this.rawValue}}setValues(e){this.parsedValue=e.parsedValue,this.rawValue=e.rawValue}getCellValue(){return this.parsedValue}setCellValue(e){throw Error("SetCellValue is deprecated for ValueCellVertex")}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Xr{constructor(e,t){this.errors=e,this.rawInput=t}getCellValue(){const e=this.errors.map(e=>e.message).find(e=>e);return ln.parsingError(e)}getFormula(){return this.rawInput}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Zr{constructor(e,t){this.width=e,this.height=t,this.mapping=new Map}getCell(e){var t;return null===(t=this.mapping.get(e.col))||void 0===t?void 0:t.get(e.row)}setCell(e,t){this.width=Math.max(this.width,e.col+1),this.height=Math.max(this.height,e.row+1);let r=this.mapping.get(e.col);r||(r=new Map,this.mapping.set(e.col,r)),r.set(e.row,t)}has(e){var t;return!!(null===(t=this.mapping.get(e.col))||void 0===t?void 0:t.get(e.row))}getHeight(){return this.height}getWidth(){return this.width}removeCell(e){var t;null===(t=this.mapping.get(e.col))||void 0===t||t.delete(e.row)}addRows(e,t){this.mapping.forEach(r=>{const n=new Map;r.forEach((i,a)=>{a>=e&&(n.set(a+t,i),r.delete(a))}),n.forEach((e,t)=>{r.set(t,e)})}),this.height+=t}addColumns(e,t){const r=new Map;this.mapping.forEach((n,i)=>{i>=e&&(r.set(i+t,n),this.mapping.delete(i))}),r.forEach((e,t)=>{this.mapping.set(t,e)}),this.width+=t}removeRows(e){this.mapping.forEach(t=>{const r=new Map;t.forEach((n,i)=>{i>=e.rowStart&&(t.delete(i),i>e.rowEnd&&r.set(i-e.numberOfRows,n))}),r.forEach((e,r)=>{t.set(r,e)})});const t=Math.min(this.height-1,e.rowEnd),r=Math.max(0,t-e.rowStart+1);this.height=Math.max(0,this.height-r)}removeColumns(e){const t=new Map;this.mapping.forEach((r,n)=>{n>=e.columnStart&&(this.mapping.delete(n),n>e.columnEnd&&t.set(n-e.numberOfColumns,r))}),t.forEach((e,t)=>{this.mapping.set(t,e)});const r=Math.min(this.width-1,e.columnEnd),n=Math.max(0,r-e.columnStart+1);this.width=Math.max(0,this.width-n)}*getEntries(e){for(const[t,r]of this.mapping)for(const[n,i]of r)yield[pn(e,t,n),i]}*verticesFromColumn(e){const t=this.mapping.get(e);if(void 0!==t)for(const[r,n]of t)yield n}*verticesFromRow(e){for(const t of this.mapping.values()){const r=t.get(e);void 0!==r&&(yield r)}}*verticesFromColumnsSpan(e){for(const t of e.columns()){const e=this.mapping.get(t);if(void 0!==e)for(const[t,r]of e)yield r}}*verticesFromRowsSpan(e){for(const t of this.mapping.values())for(const r of e.rows()){const e=t.get(r);void 0!==e&&(yield e)}}*entriesFromRowsSpan(e){for(const[t,r]of this.mapping.entries())for(const n of e.rows()){const i=r.get(n);void 0!==i&&(yield[pn(e.sheet,t,n),i])}}*entriesFromColumnsSpan(e){for(const t of e.columns()){const r=this.mapping.get(t);if(void 0!==r)for(const[n,i]of r.entries())yield[pn(e.sheet,t,n),i]}}*vertices(){for(const[e,t]of this.mapping)for(const[r,n]of t)void 0!==n&&(yield n)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class $r{constructor(e,t){this.width=e,this.height=t,this.mapping=new Array(t);for(let r=0;r<t;r++)this.mapping[r]=new Array(e)}getCell(e){return this.getCellVertex(e.col,e.row)}setCell(e,t){this.width=Math.max(this.width,e.col+1),this.height=Math.max(this.height,e.row+1);const r=this.mapping[e.row];r||(this.mapping[e.row]=new Array(this.width)),this.mapping[e.row][e.col]=t}has(e){const t=this.mapping[e.row];return!!t&&!!t[e.col]}getHeight(){return this.height}getWidth(){return this.width}removeCell(e){void 0!==this.mapping[e.row]&&delete this.mapping[e.row][e.col]}addRows(e,t){const r=[];for(let n=0;n<t;n++)r.push(new Array(this.width));this.mapping.splice(e,0,...r),this.height+=t}addColumns(e,t){for(let r=0;r<this.height;r++)this.mapping[r].splice(e,0,...new Array(t));this.width+=t}removeRows(e){this.mapping.splice(e.rowStart,e.numberOfRows);const t=Math.min(this.height-1,e.rowEnd),r=Math.max(0,t-e.rowStart+1);this.height=Math.max(0,this.height-r)}removeColumns(e){for(let n=0;n<this.height;n++)this.mapping[n].splice(e.columnStart,e.numberOfColumns);const t=Math.min(this.width-1,e.columnEnd),r=Math.max(0,t-e.columnStart+1);this.width=Math.max(0,this.width-r)}*getEntries(e){for(let t=0;t<this.height;++t)for(let r=0;r<this.width;++r){const n=this.getCellVertex(r,t);n&&(yield[pn(e,r,t),n])}}*verticesFromColumn(e){for(let t=0;t<this.height;++t){const r=this.getCellVertex(e,t);r&&(yield r)}}*verticesFromRow(e){for(let t=0;t<this.width;++t){const r=this.getCellVertex(t,e);r&&(yield r)}}*verticesFromColumnsSpan(e){for(let t=e.columnStart;t<=e.columnEnd;++t)for(let e=0;e<this.height;++e){const r=this.getCellVertex(t,e);r&&(yield r)}}*verticesFromRowsSpan(e){for(let t=0;t<this.width;++t)for(let r=e.rowStart;r<=e.rowEnd;++r){const e=this.getCellVertex(t,r);e&&(yield e)}}*entriesFromRowsSpan(e){for(let t=0;t<this.width;++t)for(let r=e.rowStart;r<=e.rowEnd;++r){const n=this.getCellVertex(t,r);n&&(yield[pn(e.sheet,t,r),n])}}*entriesFromColumnsSpan(e){for(let t=e.columnStart;t<=e.columnEnd;++t)for(let r=0;r<this.height;++r){const n=this.getCellVertex(t,r);n&&(yield[pn(e.sheet,t,r),n])}}*vertices(){for(let e=0;e<this.height;++e)for(let t=0;t<this.width;++t){const r=this.getCellVertex(t,e);r&&(yield r)}}getCellVertex(e,t){var r;return null===(r=this.mapping[t])||void 0===r?void 0:r[e]}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e["DIV_BY_ZERO"]="DIV_BY_ZERO",e["NAME"]="NAME",e["VALUE"]="VALUE",e["NUM"]="NUM",e["NA"]="NA",e["CYCLE"]="CYCLE",e["REF"]="REF",e["SPILL"]="SPILL",e["LIC"]="LIC",e["ERROR"]="ERROR"})(Ur||(Ur={})),function(e){e["FORMULA"]="FORMULA",e["VALUE"]="VALUE",e["ARRAY"]="ARRAY",e["EMPTY"]="EMPTY",e["ARRAYFORMULA"]="ARRAYFORMULA"}(Vr||(Vr={}));const Jr=(e,t)=>e instanceof Cr?e.isLeftCorner(t)?Vr.ARRAYFORMULA:Vr.ARRAY:e instanceof xr||e instanceof Xr?Vr.FORMULA:e instanceof Kr?Vr.VALUE:Vr.EMPTY;var Qr,en;(function(e){e["EMPTY"]="EMPTY",e["NUMBER"]="NUMBER",e["STRING"]="STRING",e["BOOLEAN"]="BOOLEAN",e["ERROR"]="ERROR"})(Qr||(Qr={})),function(e){e["NUMBER"]="NUMBER"}(en||(en={}));const tn=Object.assign(Object.assign({},Qr),en),rn=Object.assign(Object.assign({},Qr),Rt),nn=e=>{switch(e){case tn.EMPTY:return 0;case tn.NUMBER:return 1;case tn.STRING:return 2;case tn.BOOLEAN:return 3;case tn.ERROR:return 4}throw new Error("Cell value not computed")},an=e=>{if(e===_t)return tn.EMPTY;if(e instanceof ln||e instanceof Pt)return tn.ERROR;if("string"===typeof e)return tn.STRING;if(Ot(e))return tn.NUMBER;if("boolean"===typeof e)return tn.BOOLEAN;throw new Error("Cell value not computed")},on=e=>Ot(e)?kt(e):an(e),sn=e=>Ot(e)?It(e):void 0;class ln{constructor(e,t,r){this.type=e,this.message=t,this.root=r}static parsingError(e){return new ln(Ur.ERROR,`${xe.ParseError}${e?" "+e:""}`)}attachRootVertex(e){return void 0===this.root?new ln(this.type,this.message,e):this}}const un=(e,t)=>({sheet:e,row:t}),cn=e=>e.row<0,dn=(e,t)=>({sheet:e,col:t}),hn=e=>e.col<0,pn=(e,t,r)=>({sheet:e,col:t,row:r}),fn=e=>e.col<0||e.row<0,mn=(e,t,r,n)=>pn(t,e.col+r,e.row+n),gn=e=>`${e.sheet},${e.row},${e.col}`;function vn(e){var t,r,n;return e&&("object"===typeof e||"function"===typeof e)&&"number"===typeof(null===(t=e)||void 0===t?void 0:t.sheet)&&"number"===typeof(null===(r=e)||void 0===r?void 0:r.col)&&"number"===typeof(null===(n=e)||void 0===n?void 0:n.row)}const bn=(e,t)=>{var r;return null!==(r=e.sheet)&&void 0!==r?r:t.sheet},yn=(e,t)=>e.sheet===t.sheet&&e.col===t.col&&e.row===t.row,wn="AbsoluteCellRange: Wrong range size";function _n(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&("start"in e&&vn(e.start)&&"end"in e&&vn(e.end))}const Sn=(e,t)=>({start:e,end:t});class En{constructor(e,t){if(e.sheet!==t.sheet)throw new Xt(e.sheet,t.sheet);this.start=pn(e.sheet,e.col,e.row),this.end=pn(t.sheet,t.col,t.row)}get sheet(){return this.start.sheet}static fromSimpleCellAddresses(e,t){if(e.sheet!==t.sheet)throw new Xt(e.sheet,t.sheet);const r=t.col-e.col,n=t.row-e.row;return Number.isFinite(n)&&Number.isFinite(r)?new En(e,t):Number.isFinite(n)?new Tn(e.sheet,e.row,t.row):new Mn(e.sheet,e.col,t.col)}static fromAst(e,t){return e.type===z.CELL_RANGE?En.fromCellRange(e,t):e.type===z.COLUMN_RANGE?Mn.fromColumnRange(e,t):Tn.fromRowRangeAst(e,t)}static fromAstOrUndef(e,t){try{return En.fromAst(e,t)}catch(r){return}}static fromCellRange(e,t){return new En(e.start.toSimpleCellAddress(t),e.end.toSimpleCellAddress(t))}static spanFrom(e,t,r){const n=En.spanFromOrUndef(e,t,r);if(void 0===n)throw new Error(wn);return n}static spanFromOrUndef(e,t,r){if(!Number.isFinite(t)&&Number.isFinite(r)){if(0!==e.col)return;return new Tn(e.sheet,e.row,e.row+r-1)}if(!Number.isFinite(r)&&Number.isFinite(t)){if(0!==e.row)return;return new Mn(e.sheet,e.col,e.col+t-1)}if(Number.isFinite(r)&&Number.isFinite(t))return new En(e,pn(e.sheet,e.col+t-1,e.row+r-1))}static fromCoordinates(e,t,r,n,i){return new En(pn(e,t,r),pn(e,n,i))}isFinite(){return Number.isFinite(this.size())}doesOverlap(e){return this.start.sheet==e.start.sheet&&(!(this.end.row<e.start.row||this.start.row>e.end.row)&&!(this.end.col<e.start.col||this.start.col>e.end.col))}addressInRange(e){return this.sheet===e.sheet&&(this.start.row<=e.row&&this.end.row>=e.row&&this.start.col<=e.col&&this.end.col>=e.col)}columnInRange(e){return this.sheet===e.sheet&&(this.start.col<=e.col&&this.end.col>=e.col)}rowInRange(e){return this.sheet===e.sheet&&(this.start.row<=e.row&&this.end.row>=e.row)}containsRange(e){return this.addressInRange(e.start)&&this.addressInRange(e.end)}intersectionWith(e){if(this.sheet!==e.start.sheet)return;const t=Math.max(this.start.row,e.start.row),r=Math.min(this.end.row,e.end.row),n=Math.max(this.start.col,e.start.col),i=Math.min(this.end.col,e.end.col);return t>r||n>i?void 0:new En(pn(this.sheet,n,t),pn(this.sheet,i,r))}includesRow(e){return this.start.row<e&&this.end.row>=e}includesColumn(e){return this.start.col<e&&this.end.col>=e}shiftByRows(e){this.start.row+=e,this.end.row+=e}expandByRows(e){this.end.row+=e}shiftByColumns(e){this.start.col+=e,this.end.col+=e}shifted(e,t){return En.spanFrom(pn(this.sheet,this.start.col+e,this.start.row+t),this.width(),this.height())}expandByColumns(e){this.end.col+=e}moveToSheet(e){this.start.sheet=e,this.end.sheet=e}removeSpan(e){e instanceof Ft?this.removeRows(e.start,e.end):this.removeColumns(e.start,e.end)}shouldBeRemoved(){return this.width()<=0||this.height()<=0}rangeWithSameWidth(e,t){return En.spanFrom(pn(this.sheet,this.start.col,e),this.width(),t)}rangeWithSameHeight(e,t){return En.spanFrom(pn(this.sheet,e,this.start.row),t,this.height())}toString(){return`${this.start.sheet},${this.start.col},${this.start.row},${this.end.col},${this.end.row}`}width(){return this.end.col-this.start.col+1}height(){return this.end.row-this.start.row+1}size(){return this.height()*this.width()}arrayOfAddressesInRange(){const e=[];for(let t=0;t<this.height();++t){e[t]=[];for(let r=0;r<this.width();++r){const n=pn(this.sheet,this.start.col+r,this.start.row+t);e[t].push(n)}}return e}withStart(e){return new En(e,this.end)}sameDimensionsAs(e){return this.width()===e.width()&&this.height()===e.height()}sameAs(e){return yn(this.start,e.start)&&yn(this.end,e.end)}addressesArrayMap(e,t){const r=[];let n=this.start.row;while(n<=this.effectiveEndRow(e)){let i=this.start.col;const a=[];while(i<=this.effectiveEndColumn(e))a.push(t(pn(this.start.sheet,i,n))),i++;r.push(a),n++}return r}addresses(e){const t=[];let r=this.start.row;const n=this.effectiveEndRow(e),i=this.effectiveEndColumn(e);while(r<=n){let e=this.start.col;while(e<=i)t.push(pn(this.start.sheet,e,r)),e++;r++}return t}*addressesWithDirection(e,t,r){if(e>0)if(t>0){let e=this.effectiveEndRow(r);while(e>=this.start.row){let t=this.effectiveEndColumn(r);while(t>=this.start.col)yield pn(this.start.sheet,t,e),t-=1;e-=1}}else{let e=this.start.row;while(e<=this.effectiveEndRow(r)){let t=this.effectiveEndColumn(r);while(t>=this.start.col)yield pn(this.start.sheet,t,e),t-=1;e+=1}}else if(t>0){let e=this.effectiveEndRow(r);while(e>=this.start.row){let t=this.start.col;while(t<=this.effectiveEndColumn(r))yield pn(this.start.sheet,t,e),t+=1;e-=1}}else{let e=this.start.row;while(e<=this.effectiveEndRow(r)){let t=this.start.col;while(t<=this.effectiveEndColumn(r))yield pn(this.start.sheet,t,e),t+=1;e+=1}}}getAddress(e,t){if(e<0||t<0||t>this.height()-1||e>this.width()-1)throw Error("Index out of bound");return pn(this.start.sheet,this.start.col+e,this.start.row+t)}exceedsSheetSizeLimits(e,t){return this.end.col>=e||this.end.row>=t}effectiveEndColumn(e){return this.end.col}effectiveEndRow(e){return this.end.row}effectiveWidth(e){return this.width()}effectiveHeight(e){return this.height()}removeRows(e,t){if(!(e>this.end.row)){if(t<this.start.row){const r=t-e+1;return this.shiftByRows(-r)}e<=this.start.row&&(this.start.row=e),this.end.row-=Math.min(t,this.end.row)-e+1}}removeColumns(e,t){if(!(e>this.end.col)){if(t<this.start.col){const r=t-e+1;return this.shiftByColumns(-r)}e<=this.start.col&&(this.start.col=e),this.end.col-=Math.min(t,this.end.col)-e+1}}}class Mn extends En{constructor(e,t,r){super(pn(e,t,0),pn(e,r,Number.POSITIVE_INFINITY))}static fromColumnRange(e,t){const r=e.start.toSimpleColumnAddress(t),n=e.end.toSimpleColumnAddress(t);if(r.sheet!==n.sheet)throw new Xt(r.sheet,n.sheet);return new Mn(r.sheet,r.col,n.col)}shouldBeRemoved(){return this.width()<=0}shiftByRows(e){}expandByRows(e){}shifted(e,t){return new Mn(this.sheet,this.start.col+e,this.end.col+e)}rangeWithSameHeight(e,t){return new Mn(this.sheet,e,e+t-1)}exceedsSheetSizeLimits(e,t){return this.end.col>=e}effectiveEndRow(e){return this.effectiveHeight(e)-1}effectiveHeight(e){return e.getSheetHeight(this.sheet)}removeRows(e,t){}}class Tn extends En{constructor(e,t,r){super(pn(e,0,t),pn(e,Number.POSITIVE_INFINITY,r))}static fromRowRangeAst(e,t){const r=e.start.toSimpleRowAddress(t),n=e.end.toSimpleRowAddress(t);if(r.sheet!==n.sheet)throw new Xt(r.sheet,n.sheet);return new Tn(r.sheet,r.row,n.row)}shouldBeRemoved(){return this.height()<=0}shiftByColumns(e){}expandByColumns(e){}shifted(e,t){return new Tn(this.sheet,this.start.row+t,this.end.row+t)}rangeWithSameWidth(e,t){return new Tn(this.sheet,e,e+t-1)}exceedsSheetSizeLimits(e,t){return this.end.row>=t}effectiveEndColumn(e){return this.effectiveWidth(e)-1}effectiveWidth(e){return e.getSheetWidth(this.sheet)}removeColumns(e,t){}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Cn{constructor(e,t,r){this.formulaAddress=e,this.arraysFlag=t,this.formulaVertex=r}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */function xn(e){const t=e.caseSensitive?e.accentSensitive?"variant":"case":e.accentSensitive?"accent":"base",r=e.caseFirst,n=e.ignorePunctuation;return new Intl.Collator(e.localeLang,{sensitivity:t,caseFirst:r,ignorePunctuation:n})}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const An="i",Nn=/^\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij]))\s*(([+-])\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij])))?$/;class On{constructor(e,t,r){this.config=e,this.dateTimeHelper=t,this.numberLiteralsHelper=r,this.lt=(e,t)=>this.compare(e,t)<0,this.leq=(e,t)=>this.compare(e,t)<=0,this.gt=(e,t)=>this.compare(e,t)>0,this.geq=(e,t)=>this.compare(e,t)>=0,this.eq=(e,t)=>0===this.compare(e,t),this.neq=(e,t)=>0!==this.compare(e,t),this.pow=(e,t)=>Math.pow(St(e),St(t)),this.addWithEpsilonRaw=(e,t)=>{const r=e+t;return Math.abs(r)<this.actualEps*Math.abs(e)?0:r},this.addWithEpsilon=(e,t)=>{const r=Gn(e,t);return this.ExtendedNumberFactory(this.addWithEpsilonRaw(St(e),St(t)),r)},this.unaryMinus=e=>Mt(e,-St(e)),this.unaryPlus=e=>e,this.unaryPercent=e=>new Nt(St(e)/100),this.concat=(e,t)=>e.concat(t),this.nonstrictadd=(e,t)=>e instanceof ln?e:t instanceof ln?t:"number"===typeof e?"number"===typeof t?this.addWithEpsilonRaw(e,t):e:"number"===typeof t?t:0,this.subtract=(e,t)=>{const r=Gn(e,t),n=St(e),i=St(t);let a=n-i;return Math.abs(a)<this.actualEps*Math.abs(n)&&(a=0),this.ExtendedNumberFactory(a,r)},this.divide=(e,t)=>{const r=St(e),n=St(t);if(0===n)return new ln(Ur.DIV_BY_ZERO);{const i=Kn(e,t);return this.ExtendedNumberFactory(r/n,i)}},this.multiply=(e,t)=>{const r=Kn(e,t);return this.ExtendedNumberFactory(St(e)*St(t),r)},this.manyToExactComplex=e=>{const t=[];for(const r of e){if(r instanceof ln)return r;if(Ot(r)||"string"===typeof r){const e=this.coerceScalarToComplex(r);e instanceof ln||t.push(e)}}return t},this.coerceNumbersExactRanges=e=>this.manyToNumbers(e,this.manyToExactNumbers),this.coerceNumbersCoerceRangesDropNulls=e=>this.manyToNumbers(e,this.manyToCoercedNumbersDropNulls),this.manyToExactNumbers=e=>{const t=[];for(const r of e){if(r instanceof ln)return r;Ot(r)&&t.push(St(r))}return t},this.manyToOnlyNumbersDropNulls=e=>{const t=[];for(const r of e){if(r instanceof ln)return r;if(Ot(r))t.push(St(r));else if(r!==_t)return new ln(Ur.VALUE,xe.NumberExpected)}return t},this.manyToCoercedNumbersDropNulls=e=>{const t=[];for(const r of e){if(r instanceof ln)return r;if(r===_t)continue;const e=this.coerceScalarToNumberOrError(r);Ot(e)&&t.push(St(e))}return t},this.collator=xn(e),this.actualEps=e.smartRounding?e.precisionEpsilon:0}eqMatcherFunction(e){const t=this.buildRegex(e);return e=>"string"===typeof e&&t.test(this.normalizeString(e))}neqMatcherFunction(e){const t=this.buildRegex(e);return e=>!("string"===typeof e)||!t.test(this.normalizeString(e))}searchString(e,t){var r;const n=this.buildRegex(e,!1),i=n.exec(t);return null!==(r=null===i||void 0===i?void 0:i.index)&&void 0!==r?r:-1}requiresRegex(e){if(!this.config.useRegularExpressions&&!this.config.useWildcards)return!this.config.matchWholeCell;for(let t=0;t<e.length;t++){const r=e.charAt(t);if(Un(r)||this.config.useRegularExpressions&&Yn(r))return!0}return!1}floatCmp(e,t){const r=St(e),n=St(t),i=1+this.actualEps;return n>=0&&r*i>=n&&r<=n*i||n<=0&&r*i<=n&&r>=n*i?0:r>n?1:-1}coerceScalarToNumberOrError(e){var t;return e instanceof ln?e:null!==(t=this.coerceToMaybeNumber(e))&&void 0!==t?t:new ln(Ur.VALUE,xe.NumberCoercion)}coerceToMaybeNumber(e){var t;return null!==(t=this.coerceNonDateScalarToMaybeNumber(e))&&void 0!==t?t:"string"===typeof e?this.dateTimeHelper.dateStringToDateNumber(e):void 0}coerceNonDateScalarToMaybeNumber(e){if(e===_t)return 0;if("string"===typeof e){if(""===e)return 0;const t=this.coerceStringToMaybePercentNumber(e);if(void 0!==t)return t;const r=this.coerceStringToMaybeCurrencyNumber(e);return void 0!==r?r:this.numberLiteralsHelper.numericStringToMaybeNumber(e.trim())}return Ot(e)?e:"boolean"===typeof e?Number(e):void 0}coerceStringToMaybePercentNumber(e){const t=e.trim();if(t.endsWith("%")){const e=t.slice(0,t.length-1).trim(),r=this.numberLiteralsHelper.numericStringToMaybeNumber(e);if(void 0!==r)return new Nt(r/100)}}coerceStringToMaybeCurrencyNumber(e){const t=this.currencyMatcher(e.trim());if(void 0!==t){const[e,r]=t,n=this.numberLiteralsHelper.numericStringToMaybeNumber(r);if(void 0!==n)return new Ct(n,e)}}currencyMatcher(e){for(const t of this.config.currencySymbol){if(e.startsWith(t))return[t,e.slice(t.length).trim()];if(e.endsWith(t))return[t,e.slice(0,e.length-t.length).trim()]}}coerceComplexExactRanges(e){const t=[];for(const n of e)if(n instanceof Pt)t.push(n);else if(n!==_t){const e=this.coerceScalarToComplex(n);if(e instanceof ln)return e;t.push(e)}const r=[];for(const n of t)if(n instanceof Pt){const e=this.manyToExactComplex(n.valuesFromTopLeftCorner());if(e instanceof ln)return e;r.push(...e)}else r.push(n);return r}coerceScalarToComplex(e){return e instanceof ln?e:e===_t?[0,0]:Ot(e)?[St(e),0]:"string"===typeof e?this.coerceStringToComplex(e):new ln(Ur.NUM,xe.ComplexNumberExpected)}ExtendedNumberFactory(e,t){const{type:r,format:n}=t;switch(r){case Rt.NUMBER_RAW:return e;case Rt.NUMBER_CURRENCY:return new Ct(e,null!==n&&void 0!==n?n:this.config.currencySymbol[0]);case Rt.NUMBER_DATE:return new Tt(e,n);case Rt.NUMBER_DATETIME:return new At(e,n);case Rt.NUMBER_TIME:return new xt(e,n);case Rt.NUMBER_PERCENT:return new Nt(e,n)}}buildRegex(e,t=!0){let r;e=this.normalizeString(e);let n=this.config.useWildcards,i=this.config.useRegularExpressions;if(i)try{RegExp(e)}catch(a){i=!1,n=!1}return r=i?qn(e,this.config.caseSensitive):n?zn(e,this.config.caseSensitive):Wn(e,this.config.caseSensitive),this.config.matchWholeCell&&t?RegExp("^("+r+")$"):RegExp(r)}normalizeString(e){return this.config.caseSensitive||(e=e.toLowerCase()),this.config.accentSensitive||(e=$n(e,"nfd").replace(/[\u0300-\u036f]/g,"")),e}compare(e,t){if("string"===typeof e||"string"===typeof t){const r="string"===typeof e?this.dateTimeHelper.dateStringToDateNumber(e):e,n="string"===typeof t?this.dateTimeHelper.dateStringToDateNumber(t):t;if(Ot(r)&&Ot(n))return this.floatCmp(r,n)}return e===_t?e=In(t):t===_t&&(t=In(e)),"string"===typeof e&&"string"===typeof t?this.stringCmp(e,t):"boolean"===typeof e&&"boolean"===typeof t?Fn(kn(e),kn(t)):Ot(e)&&Ot(t)?this.floatCmp(e,t):e===_t&&t===_t?0:Fn(nn(an(e)),nn(an(t)))}stringCmp(e,t){return this.collator.compare(e,t)}manyToNumbers(e,t){const r=[];for(const i of e)if(i instanceof Pt)r.push(i);else{const e=St(this.coerceScalarToNumberOrError(i));if(e instanceof ln)return e;r.push(e)}const n=[];for(const i of r)if(i instanceof Pt){const e=t(i.valuesFromTopLeftCorner());if(e instanceof ln)return e;n.push(...e)}else n.push(i);return n}coerceStringToComplex(e){const t=Nn.exec(e);if(null===t)return new ln(Ur.NUM,xe.ComplexNumberExpected);let r,n;return r=void 0!==t[6]?"-"===t[1]?[0,-1]:[0,1]:this.parseComplexToken(t[1]+t[3],t[5]),r instanceof ln||void 0===t[8]?r:(n=void 0!==t[14]?"-"===t[9]?[0,-1]:[0,1]:this.parseComplexToken(t[9]+t[11],t[13]),n instanceof ln?n:""!==t[5]||""===t[13]?new ln(Ur.NUM,xe.ComplexNumberExpected):"+"===t[8]?[r[0]+n[0],r[1]+n[1]]:[r[0]-n[0],r[1]-n[1]])}parseComplexToken(e,t){const r=St(this.coerceNonDateScalarToMaybeNumber(e));return void 0===r?new ln(Ur.NUM,xe.ComplexNumberExpected):""===t?[r,0]:[0,r]}}function Rn([e,t],r){if(!isFinite(e)||!isFinite(t))return new ln(Ur.NUM,xe.NaN);if(r=null!==r&&void 0!==r?r:An,0===t)return""+e;const n=`${-1===t||1===t?"":Math.abs(t)}${r}`;return 0===e?`${t<0?"-":""}${n}`:`${e}${t<0?"-":"+"}${n}`}function Ln(e){return e instanceof Pt?e:Pt.fromScalar(e)}function kn(e){return Number(e)}function In(e){return"string"===typeof e?"":Ot(e)?0:"boolean"!==typeof e&&_t}function Dn(e){if(e instanceof ln||"boolean"===typeof e)return e;if(e===_t)return!1;if(Ot(e))return 0!==St(e);{const t=e.toUpperCase();return"TRUE"===t||"FALSE"!==t&&(""!==t&&void 0)}}function Pn(e){return e instanceof ln||"string"===typeof e?e:e===_t?"":Ot(e)?St(e).toString():e?"TRUE":"FALSE"}function jn(e){return e===_t?0:e}function Fn(e,t){const r=St(e),n=St(t);return r>n?1:r<n?-1:0}function Hn(e){return isNaN(e)||e===1/0||e===-1/0}function Bn(e){return 0===e?0:e}function Un(e){return["*","?"].includes(e)}const Vn=["{","}","[","]","(",")","<",">","=",".","+","-",",","\\","$","^","!"];function Yn(e){return Vn.includes(e)}function zn(e,t){let r="";for(let n=0;n<e.length;n++){const i=e.charAt(n);if("~"===i){if(n==e.length-1){r+="~";continue}const t=e.charAt(n+1);Un(t)||Yn(t)?(r+="\\"+t,n++):(r+=t,n++)}else Un(i)?r+="."+i:Yn(i)?r+="\\"+i:r+=t?i:i.toLowerCase()}return r}function Wn(e,t){let r="";for(let n=0;n<e.length;n++){const i=e.charAt(n);Un(i)||Yn(i)?r+="\\"+i:r+=t?i:i.toLowerCase()}return r}function qn(e,t){let r="";for(let n=0;n<e.length;n++){const i=e.charAt(n);Un(i)||Yn(i)?r+=i:r+=t?i:i.toLowerCase()}return r}function Gn(e,t){const{type:r,format:n}=Dt(e),{type:i,format:a}=Dt(t);if(r===Rt.NUMBER_RAW)return{type:i,format:a};if(i===Rt.NUMBER_RAW)return{type:r,format:n};if((r===Rt.NUMBER_DATETIME||r===Rt.NUMBER_DATE)&&(i===Rt.NUMBER_DATETIME||i===Rt.NUMBER_DATE))return{type:Rt.NUMBER_RAW};if(r===Rt.NUMBER_TIME){if(i===Rt.NUMBER_DATE)return{type:Rt.NUMBER_DATETIME,format:`${a} ${n}`};if(i===Rt.NUMBER_DATETIME)return{type:Rt.NUMBER_DATETIME,format:a}}if(i===Rt.NUMBER_TIME){if(r===Rt.NUMBER_DATE)return{type:Rt.NUMBER_DATETIME,format:`${n} ${a}`};if(r===Rt.NUMBER_DATETIME)return{type:Rt.NUMBER_DATETIME,format:n}}return{type:r,format:n}}function Kn(e,t){let{type:r,format:n}=Dt(e),{type:i,format:a}=Dt(t);return r===Rt.NUMBER_PERCENT&&(r=Rt.NUMBER_RAW,n=void 0),i===Rt.NUMBER_PERCENT&&(i=Rt.NUMBER_RAW,a=void 0),r===Rt.NUMBER_RAW?{type:i,format:a}:i===Rt.NUMBER_RAW?{type:r,format:n}:{type:Rt.NUMBER_RAW}}function Xn(e){return $n(e.toLowerCase(),"nfd").replace(/[\u0300-\u036f]/g,"")}function Zn(e,t){var r;if(e.isAdHoc())return null===(r=e.data[0])||void 0===r?void 0:r[0];const n=e.range;if(t.formulaAddress.sheet===n.sheet)if(1===n.width()){const r=t.formulaAddress.row-n.start.row;if(r>=0&&r<n.height())return e.data[r][0]}else if(1===n.height()){const r=t.formulaAddress.col-n.start.col;if(r>=0&&r<n.width())return e.data[0][r]}}function $n(e,t){return e.normalize(t.toUpperCase())}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */var Jn;(function(e){e["STRING"]="STRING",e["NUMBER"]="NUMBER",e["BOOLEAN"]="BOOLEAN",e["SCALAR"]="SCALAR",e["NOERROR"]="NOERROR",e["RANGE"]="RANGE",e["INTEGER"]="INTEGER",e["COMPLEX"]="COMPLEX",e["ANY"]="ANY"})(Jn||(Jn={}));class Qn{constructor(e){this.coerceScalarToNumberOrError=e=>this.arithmeticHelper.coerceScalarToNumberOrError(e),this.runFunction=(e,t,r,n)=>{const i=this.evaluateArguments(e,t,r),a=i.map(([e,t])=>e),o=i.map(([e,t])=>t),s=this.buildMetadataForEachArgumentValue(a.length,r),l=t.arraysFlag&&!r.vectorizationForbidden;if(!this.isNumberOfArgumentValuesValid(s,a.length))return new ln(Ur.NA,xe.WrongArgNumber);const[u,c]=l?this.calculateSizeOfVectorizedResultArray(a,s):[1,1];if(1===u&&1===c){const e=this.vectorizeAndBroadcastArgumentsIfNecessary(l,a,s,0,0);return this.calculateSingleCellOfResultArray(t,e,s,o,n,r.returnNumberType)}const d=[...Array(u).keys()].map(e=>[...Array(c).keys()].map(i=>{const u=this.vectorizeAndBroadcastArgumentsIfNecessary(l,a,s,e,i),c=this.calculateSingleCellOfResultArray(t,u,s,o,n,r.returnNumberType);if(c instanceof Pt)throw new Error("Function returning array cannot be vectorized.");return c}));return Pt.onlyValues(d)},this.runFunctionWithReferenceArgument=(e,t,r,n,i,a=(()=>new ln(Ur.NA,xe.CellRefExpected)))=>{if(0===e.length)return this.returnNumberWrapper(n(),r.returnNumberType);if(e.length>1)return new ln(Ur.NA,xe.WrongArgNumber);let o,s=e[0];while(s.type===z.PARENTHESIS)s=s.expression;if(s.type===z.CELL_REFERENCE)o=s.reference.toSimpleCellAddress(t.formulaAddress);else if(s.type===z.CELL_RANGE||s.type===z.COLUMN_RANGE||s.type===z.ROW_RANGE)try{o=En.fromAst(s,t.formulaAddress).start}catch(l){return new ln(Ur.REF,xe.CellRefExpected)}return void 0!==o?this.returnNumberWrapper(i(o),r.returnNumberType):this.runFunction(e,t,r,a)},this.interpreter=e,this.dependencyGraph=e.dependencyGraph,this.columnSearch=e.columnSearch,this.config=e.config,this.serialization=e.serialization,this.arraySizePredictor=e.arraySizePredictor,this.dateTimeHelper=e.dateTimeHelper,this.arithmeticHelper=e.arithmeticHelper}evaluateAst(e,t){return this.interpreter.evaluateAst(e,t)}arraySizeForAst(e,t){return this.arraySizePredictor.checkArraySizeForAst(e,t)}listOfScalarValues(e,t){const r=[];for(const n of e){const e=this.evaluateAst(n,t);if(e instanceof Pt)for(const t of e.valuesFromTopLeftCorner())r.push([t,!0]);else r.push([e,!1])}return r}coerceToType(e,t,r){let n;if(e instanceof Pt)switch(t.argumentType){case Jn.RANGE:case Jn.ANY:n=e;break;default:{const t=Zn(e,r);if(void 0===t)return;e=t}}if(!(e instanceof Pt))switch(t.argumentType){case Jn.INTEGER:case Jn.NUMBER:const r=this.coerceScalarToNumberOrError(e);if(!Ot(r)){n=r;break}const i=St(r);if(void 0!==t.maxValue&&i>t.maxValue)return new ln(Ur.NUM,xe.ValueLarge);if(void 0!==t.minValue&&i<t.minValue)return new ln(Ur.NUM,xe.ValueSmall);if(void 0!==t.lessThan&&i>=t.lessThan)return new ln(Ur.NUM,xe.ValueLarge);if(void 0!==t.greaterThan&&i<=t.greaterThan)return new ln(Ur.NUM,xe.ValueSmall);if(t.argumentType===Jn.INTEGER&&!Number.isInteger(i))return new ln(Ur.NUM,xe.IntegerExpected);n=r;break;case Jn.STRING:n=Pn(e);break;case Jn.BOOLEAN:n=Dn(e);break;case Jn.SCALAR:case Jn.NOERROR:case Jn.ANY:n=e;break;case Jn.RANGE:if(e instanceof ln)return e;n=Ln(e);break;case Jn.COMPLEX:return this.arithmeticHelper.coerceScalarToComplex(St(e))}return t.passSubtype||void 0===n?n:St(n)}calculateSingleCellOfResultArray(e,t,r,n,i,a){const o=this.coerceArgumentsToRequiredTypes(e,t,r,n);if(o instanceof ln)return o;const s=i(...o);return this.returnNumberWrapper(s,a)}coerceArgumentsToRequiredTypes(e,t,r,n){const i=[];for(let a=0;a<r.length;a++){const o=r[a],s=void 0!==t[a]?t[a]:null===o||void 0===o?void 0:o.defaultValue;if(void 0===s){i.push(void 0);continue}const l=this.coerceToType(s,o,e);if(void 0===l&&!n[a])return new ln(Ur.VALUE,xe.WrongType);if(l instanceof ln&&o.argumentType!==Jn.SCALAR)return l;i.push(l)}return i}vectorizeAndBroadcastArgumentsIfNecessary(e,t,r,n,i){return t.map((t,a)=>e&&this.isRangePassedAsAScalarArgument(t,r[a])?this.vectorizeAndBroadcastRangeArgument(t,n,i):t)}vectorizeAndBroadcastRangeArgument(e,t,r){var n;const i=1===e.height()?0:t,a=1===e.width()?0:r;return null===(n=e.data[i])||void 0===n?void 0:n[a]}evaluateArguments(e,t,r){return r.expandRanges?this.listOfScalarValues(e,t):e.map(e=>[this.evaluateAst(e,t),!1])}buildMetadataForEachArgumentValue(e,t){const r=t.parameters?[...t.parameters]:[],n=void 0!==t.repeatLastArgs&&Number.isInteger(t.repeatLastArgs)&&t.repeatLastArgs>0;if(n)while(e>r.length)r.push(...r.slice(r.length-t.repeatLastArgs));return r}isNumberOfArgumentValuesValid(e,t){if(t>e.length)return!1;if(t<e.length){const r=e.slice(t),n=r.every(e=>(null===e||void 0===e?void 0:e.optionalArg)||void 0!==(null===e||void 0===e?void 0:e.defaultValue));return n}return!0}calculateSizeOfVectorizedResultArray(e,t){const r=e.filter((e,r)=>this.isRangePassedAsAScalarArgument(e,t[r])),n=Math.max(1,...r.map(e=>e.height())),i=Math.max(1,...r.map(e=>e.width()));return[n,i]}isRangePassedAsAScalarArgument(e,t){return null!=e&&null!=t&&(e instanceof Pt&&![Jn.RANGE,Jn.ANY].includes(t.argumentType))}metadata(e){const t=this.constructor.implementedFunctions[e];if(void 0!==t)return t;throw new Error(`No metadata for function ${e}.`)}returnNumberWrapper(e,t,r){return void 0!==t&&Ot(e)?this.arithmeticHelper.ExtendedNumberFactory(St(e),{type:t,format:r}):e}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class ei{constructor(e,t,r=!1){this.width=e,this.height=t,this.isRef=r}static error(){return new ei(1,1,!0)}static scalar(){return new ei(1,1,!1)}isScalar(){return 1===this.width&&1===this.height||this.isRef}}function ti(e,t){return new ei(Math.max(e.width,t.width),Math.max(e.height,t.height))}function ri(e){return new ei(e.width,e.height)}class ni{constructor(e,t){this.config=e,this.functionRegistry=t}checkArraySize(e,t){return this.checkArraySizeForAst(e,{formulaAddress:t,arraysFlag:this.config.useArrayArithmetic})}checkArraySizeForAst(e,t){switch(e.type){case z.FUNCTION_CALL:return this.checkArraySizeForFunction(e,t);case z.COLUMN_RANGE:case z.ROW_RANGE:case z.CELL_RANGE:{const r=En.fromAstOrUndef(e,t.formulaAddress);return void 0===r?ei.error():new ei(r.width(),r.height(),!0)}case z.ARRAY:{const r=[],n=[];for(const o of e.args){const e=o.map(e=>this.checkArraySizeForAst(e,t)),i=Math.min(...e.map(e=>e.height)),a=e.reduce((e,t)=>e+t.width,0);r.push(i),n.push(a)}const i=r.reduce((e,t)=>e+t,0),a=Math.min(...n);return new ei(a,i)}case z.STRING:case z.NUMBER:return ei.scalar();case z.CELL_REFERENCE:return new ei(1,1,!0);case z.DIV_OP:case z.CONCATENATE_OP:case z.EQUALS_OP:case z.GREATER_THAN_OP:case z.GREATER_THAN_OR_EQUAL_OP:case z.LESS_THAN_OP:case z.LESS_THAN_OR_EQUAL_OP:case z.MINUS_OP:case z.NOT_EQUAL_OP:case z.PLUS_OP:case z.POWER_OP:case z.TIMES_OP:{const r=this.checkArraySizeForAst(e.left,t),n=this.checkArraySizeForAst(e.right,t);return!t.arraysFlag&&(r.height>1||r.width>1||n.height>1||n.width>1)?ei.error():ti(r,n)}case z.MINUS_UNARY_OP:case z.PLUS_UNARY_OP:case z.PERCENT_OP:{const r=this.checkArraySizeForAst(e.value,t);return!t.arraysFlag&&(r.height>1||r.width>1)?ei.error():ri(r)}case z.PARENTHESIS:return this.checkArraySizeForAst(e.expression,t);case z.EMPTY:return ei.error();default:return ei.error()}}checkArraySizeForFunction(e,t){const r=this.functionRegistry.getArraySizeFunction(e.procedureName);if(void 0!==r)return r(e,t);const n=this.functionRegistry.getMetadata(e.procedureName);if(void 0===n||n.expandRanges||!t.arraysFlag||n.vectorizationForbidden||void 0===n.parameters)return new ei(1,1);const i=e.args.map(e=>{var r;return this.checkArraySizeForAst(e,new Cn(t.formulaAddress,t.arraysFlag||null!==(r=null===n||void 0===n?void 0:n.arrayFunction)&&void 0!==r&&r))}),a=[...n.parameters];if(void 0!==n.repeatLastArgs&&a.length<i.length&&(i.length-a.length)%n.repeatLastArgs!==0)return ei.error();while(a.length<i.length){if(void 0===n.repeatLastArgs)return ei.error();a.push(...a.slice(a.length-n.repeatLastArgs))}let o=1,s=1;for(let l=0;l<i.length;l++)a[l].argumentType!==Jn.RANGE&&a[l].argumentType!==Jn.ANY&&(s=Math.max(s,i[l].height),o=Math.max(o,i[l].width));return new ei(o,s)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class ii{constructor(e,t,r){var n;this.value=t,this.address=r,this.type=e.type,this.message=null!==(n=e.message)&&void 0!==n?n:""}toString(){return this.value}valueOf(){return this.value}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */function ai(e,t,r){if("undefined"===typeof e)return ps.defaultConfig[r];if("string"===typeof t){if(typeof e===t)return e;throw new ir(t,r)}if(t.includes(e))return e;throw new lr(t.map(e=>`'${e}'`).join(" "),r)}function oi(e,t,r){if(e<r)throw new or(t,r)}function si(e,t,r){if(e>r)throw new sr(t,r)}function li(e,t,r,n){if(t(e))return e;if("undefined"===typeof e)return ps.defaultConfig[n];throw new ir(r,n)}function ui(...e){const t=new Map;e.forEach(e=>{const r=t.get(e.value)||[];r.push(e.name),t.set(e.value,r)});const r=[];for(const n of t.values())n.length>1&&r.push(n);if(r.length>0){r.forEach(e=>e.sort());const e=r.map(e=>`[${e}]`).join("; ");throw new Error("Config initialization failed. Parameters in conflict: "+e)}}function ci(e,t,r){if(typeof e!==t)throw new ir(t,r)}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const di=new RegExp("^ss(\\.(s+|0+))?$"),hi=new RegExp("^[0-9/.\\-: ]+[ap]?m?$"),pi=new RegExp("\\s+"),fi=new RegExp("[ /.-]"),mi=":",gi=1e3,vi=Ti(Si),bi=Ti(Ei);function yi(e,t,r){if(void 0===t&&void 0===r)return;let n=e.replace(pi," ").trim().toLowerCase();if(!Mi(n))return;let i=n.substring(n.length-2);"am"===i||"pm"===i?n=n.substring(0,n.length-2).trim():(i=n.substring(n.length-1),"a"===i||"p"===i?n=n.substring(0,n.length-1).trim():i=void 0);const a=n.split(fi);a.length>=2&&a[a.length-2].includes(mi)&&(a[a.length-2]=a[a.length-2]+"."+a[a.length-1],a.pop());const o=a[a.length-1].split(mi);if(void 0!==i&&o.push(i),1===a.length)return wi(o,r);if(1===o.length)return _i(a,t);const s=_i(a.slice(0,a.length-1),t),l=wi(o,r);return void 0===s||void 0===l?void 0:Object.assign(Object.assign({},s),l)}function wi(e,t){var r,n,i;if(void 0===t)return;const{itemsCount:a,hourItem:o,minuteItem:s,secondItem:l}=vi(t);let u=void 0;if("am"===e[e.length-1]||"a"===e[e.length-1]?(u=!1,e.pop()):"pm"!==e[e.length-1]&&"p"!==e[e.length-1]||(u=!0,e.pop()),e.length!==a)return;const c=Number(null!==(r=e[l])&&void 0!==r?r:"0");if(!Number.isFinite(c))return;const d=Math.round(c*gi)/gi,h=Number(null!==(n=e[s])&&void 0!==n?n:"0");if(!Number.isFinite(h)||!Number.isInteger(h))return;const p=Number(null!==(i=e[o])&&void 0!==i?i:"0");if(!Number.isFinite(p)||!Number.isInteger(p))return;if(void 0!==u&&(p<0||p>12))return;const f=void 0!==u?p%12+(u?12:0):p;return{hours:f,minutes:h,seconds:d}}function _i(e,t){var r;if(void 0===t)return;const{itemsCount:n,dayItem:i,monthItem:a,shortYearItem:o,longYearItem:s}=bi(t);if(e.length!==n)return;const l=Number(e[i]);if(!Number.isFinite(l)||!Number.isInteger(l))return;const u=Number(e[a]);if(!Number.isFinite(u)||!Number.isInteger(u))return;if(e[s]&&e[o])return;const c=Number(null!==(r=e[s])&&void 0!==r?r:e[o]);return!Number.isFinite(c)||!Number.isInteger(c)||e[s]&&(c<1e3||c>9999)||e[o]&&(c<0||c>99)?void 0:{year:c,month:u,day:l}}function Si(e){const t=e.toLowerCase().trim(),r=t.endsWith("am/pm")?t.substring(0,t.length-5):t.endsWith("a/p")?t.substring(0,e.length-3):t,n=r.trim().split(mi);return{itemsCount:n.length,hourItem:n.indexOf("hh"),minuteItem:n.indexOf("mm"),secondItem:n.findIndex(e=>di.test(e))}}function Ei(e){const t=e.toLowerCase().trim().split(fi);return{itemsCount:t.length,dayItem:t.indexOf("dd"),monthItem:t.indexOf("mm"),shortYearItem:t.indexOf("yy"),longYearItem:t.indexOf("yyyy")}}function Mi(e){return hi.test(e)}function Ti(e){const t={};return r=>{const n=t[r];if(void 0!==n)return n;const i=e(r);return t[r]=i,i}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const Ci=[31,28,31,30,31,30,31,31,30,31,30,31],xi=[0,31,59,90,120,151,181,212,243,273,304,334],Ai=60,Ni=60,Oi=24;function Ri(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&("year"in e&&"number"===typeof e.year&&"month"in e&&"number"===typeof e.month&&"day"in e&&"number"===typeof e.day)}function Li(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&("hours"in e&&"number"===typeof e.hours&&"minutes"in e&&"number"===typeof e.minutes&&"seconds"in e&&"number"===typeof e.seconds)}const ki={year:9999,month:12,day:31};class Ii{constructor(e){this.config=e,this.minDateAbsoluteValue=this.dateToNumberFromZero(e.nullDate),this.maxDateValue=this.dateToNumber(ki),this.leapYear1900=e.leapYear1900,!this.leapYear1900&&0<=this.dateToNumber({year:1900,month:2,day:28})?this.epochYearZero=this.numberToSimpleDate(2).year:this.epochYearZero=this.numberToSimpleDate(1).year,this.parseDateTime=e.parseDateTime}getWithinBounds(e){return e<=this.maxDateValue&&e>=0?e:void 0}dateStringToDateNumber(e){const{dateTime:t,dateFormat:r="",timeFormat:n=""}=this.parseDateTimeFromConfigFormats(e);if(void 0!==t)return Li(t)?Ri(t)?new At(Ui(t)+this.dateToNumber(t),r+" "+n):new xt(Ui(t),n):Ri(t)?new Tt(this.dateToNumber(t),r):0}parseDateTimeFromConfigFormats(e){return this.parseDateTimeFromFormats(e,this.config.dateFormats,this.config.timeFormats)}getNullYear(){return this.config.nullYear}getEpochYearZero(){return this.epochYearZero}isValidDate(e){return!(isNaN(e.year)||isNaN(e.month)||isNaN(e.day))&&(e.day===Math.round(e.day)&&e.month===Math.round(e.month)&&e.year===Math.round(e.year)&&(!(e.year<1582)&&(!(e.month<1||e.month>12)&&(!(e.day<1)&&(this.isLeapYear(e.year)&&2===e.month?e.day<=29:e.day<=Ci[e.month-1])))))}dateToNumber(e){return this.dateToNumberFromZero(e)-this.minDateAbsoluteValue}relativeNumberToAbsoluteNumber(e){return e+this.minDateAbsoluteValue-(this.leapYear1900?1:0)}numberToSimpleDate(e){const t=Math.floor(e)+this.minDateAbsoluteValue;let r=Math.floor(t/365.2425);this.dateToNumberFromZero({year:r+1,month:1,day:1})<=t?r++:this.dateToNumberFromZero({year:r-1,month:1,day:1})>t&&r--;const n=t-this.dateToNumberFromZero({year:r,month:1,day:1}),i=Di(n-(this.isLeapYear(r)&&n>=59?1:0)),a=n-xi[i]-(this.isLeapYear(r)&&i>1?1:0);return{year:r,month:i+1,day:a+1}}numberToSimpleDateTime(e){const t=Bi(e%1),r=Math.floor(t.hours/Oi);t.hours=t.hours%Oi;const n=this.numberToSimpleDate(Math.floor(e)+r);return Object.assign(Object.assign({},n),t)}leapYearsCount(e){return Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400)+(this.config.leapYear1900&&e>=1900?1:0)}daysInMonth(e,t){return this.isLeapYear(e)&&2===t?29:Ci[t-1]}endOfMonth(e){return{year:e.year,month:e.month,day:this.daysInMonth(e.year,e.month)}}toBasisUS(e,t){return 31===e.day&&(e.day=30),30===e.day&&31===t.day&&(t.day=30),2===e.month&&e.day===this.daysInMonth(e.year,e.month)&&(e.day=30,2===t.month&&t.day===this.daysInMonth(t.year,t.month)&&(t.day=30)),[e,t]}yearLengthForBasis(e,t){return e.year!==t.year?e.year+1!==t.year||e.month<t.month||e.month===t.month&&e.day<t.day?(this.leapYearsCount(t.year)-this.leapYearsCount(e.year-1))/(t.year-e.year+1)+365:this.countLeapDays(t)!==this.countLeapDays({year:e.year,month:e.month,day:e.day-1})?366:365:this.isLeapYear(e.year)?366:365}parseSingleFormat(e,t,r){const n=this.parseDateTime(e,t,r);if(!Ri(n)||(n.year>=0&&n.year<100&&(n.year<this.getNullYear()?n.year+=2e3:n.year+=1900),this.isValidDate(n)))return n}parseDateTimeFromFormats(e,t,r){const n=0===t.length?[void 0]:t,i=0===r.length?[void 0]:r;for(const a of n)for(const t of i){const r=this.parseSingleFormat(e,a,t);if(void 0!==r)return{dateTime:r,timeFormat:t,dateFormat:a}}return{}}countLeapDays(e){return e.month>2||2===e.month&&e.day>=29?this.leapYearsCount(e.year):this.leapYearsCount(e.year-1)}dateToNumberFromZero(e){return 365*e.year+xi[e.month-1]+e.day-1+(e.month<=2?this.leapYearsCount(e.year-1):this.leapYearsCount(e.year))}isLeapYear(e){return!(e%4)&&(!!(e%100)||(!(e%400)||1900===e&&this.config.leapYear1900))}}function Di(e){let t=0;return xi[t+6]<=e&&(t+=6),xi[t+3]<=e&&(t+=3),xi[t+2]<=e?t+=2:xi[t+1]<=e&&(t+=1),t}function Pi(e,t){const r=12*e.year+e.month-1+t;return{year:Math.floor(r/12),month:r%12+1,day:e.day}}function ji(e){return{year:e.year,month:e.month,day:Math.min(e.day,Ci[e.month-1])}}function Fi(e){return Math.round(3600*e*24)/86400}function Hi(e,t=1){return Math.round(e*t)/t}function Bi(e){const t=e*Oi*Ni*Ai,r=Hi(t%Ai,1e5)%Ai,n=(t-r)/Ai,i=Math.round(n%Ni)%Ni,a=(n-i)/Ni,o=Math.round(a);return{hours:o,minutes:i,seconds:r}}function Ui(e){return((e.seconds/60+e.minutes)/60+e.hours)/24}function Vi(e){return{year:e.year,month:e.month,day:Math.min(30,e.day)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Yi{call(){return $r}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const zi=/(\\.|dd|DD|d|D|mm|MM|m|M|YYYY|YY|yyyy|yy|HH|hh|H|h|ss(\.(0+|s+))?|s|AM\/PM|am\/pm|A\/P|a\/p|\[mm]|\[MM]|\[hh]|\[HH])/g,Wi=/(\\.|[#0]+(\.[#0]*)?)/g;var qi,Gi;function Ki(e,t){return{type:e,value:t}}function Xi(e){zi.lastIndex=0;const t=[];let r;do{r=zi.exec(e),null!==r&&t.push(r)}while(r);return t}function Zi(e){Wi.lastIndex=0;const t=Wi.exec(e);return null!==t?[t]:[]}function $i(e,t){const r=[];let n=0;for(let a=0;a<e.length;++a){const i=e[a];if(i.index!==n){const e=t.substr(n,i.index-n);r.push(Ki(qi.FREE_TEXT,e))}i[0].startsWith("\\")?r.push(Ki(qi.FREE_TEXT,i[0])):r.push(Ki(qi.FORMAT,i[0])),n=i.index+i[0].length}const i=e[e.length-1];if(i.index+i[0].length<t.length){const e=t.substr(i.index+i[0].length,t.length);r.push(Ki(qi.FREE_TEXT,e))}return r}function Ji(e){const t=Xi(e);return t.every(e=>ea(e))?void 0:{type:Gi.DATE,tokens:$i(t,e)}}function Qi(e){const t=Zi(e);return t.every(e=>ea(e))?void 0:{type:Gi.NUMBER,tokens:$i(t,e)}}function ea(e){return e[0].startsWith("\\")}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */function ta(e,t,r,n){const i=r.stringifyDateTime(n.numberToSimpleDateTime(e),t);if(void 0!==i)return i;const a=r.stringifyDuration(Bi(e),t);if(void 0!==a)return a;const o=Qi(t);return void 0!==o?aa(o.tokens,e):t}function ra(e,t){let r=""+e;while(r.length<t)r="0"+r;return r}function na(e,t){let r=""+e;while(r.length<t)r+="0";return r}function ia(e,t){return e.split(t).length-1}function aa(e,t){let r="";for(let n=0;n<e.length;++n){const i=e[n];if(i.type===qi.FREE_TEXT){r+=i.value;continue}const a=i.value.split("."),o=a[0],s=a[1]||"",l=a[1]?".":"",u=Number(t.toFixed(s.length)).toString().split(".");let c=u[0]||"",d=u[1]||"";if(o.length>c.length){const e=ia(o.substr(0,o.length-c.length),"0");c=ra(c,e+c.length)}const h=ia(s.substr(d.length,s.length-d.length),"0");d=na(d,h+d.length),r+=c+l+d}return r}function oa(e,t){const r=Ji(t);if(void 0===r)return;const n=r.tokens;let i="";for(const a of n)if(a.type!==qi.FREE_TEXT)switch(a.value.toLowerCase()){case"h":case"hh":i+=ra(e.hours,a.value.length),e.hours=0;break;case"[hh]":i+=ra(e.hours,a.value.length-2),e.hours=0;break;case"m":case"mm":i+=ra(e.minutes,a.value.length),e.minutes=0;break;case"[mm]":i+=ra(e.minutes+60*e.hours,a.value.length-2),e.minutes=0,e.hours=0;break;case"s":case"ss":i+=ra(Math.floor(e.seconds),a.value.length);break;default:if(di.test(a.value)){const t=Math.max(a.value.length-3,0);i+=`${e.seconds<10?"0":""}${Math.floor(e.seconds*Math.pow(10,t))/Math.pow(10,t)}`;continue}return}else i+=a.value;return i}function sa(e,t){const r=Ji(t);if(void 0===r)return;const n=r.tokens;let i="",a=!1;const o=n.some(e=>e.type===qi.FORMAT&&("a/p"===e.value||"A/P"===e.value||"am/pm"===e.value||"AM/PM"===e.value));for(let s=0;s<n.length;s++){const t=n[s];if(t.type!==qi.FREE_TEXT)switch(t.value.toLowerCase()){case"h":case"hh":a=!0,i+=ra(o?(e.hours+11)%12+1:e.hours,t.value.length);break;case"d":case"dd":i+=ra(e.day,t.value.length);break;case"s":case"ss":i+=ra(Math.floor(e.seconds),t.value.length);break;case"m":case"mm":s+1<n.length&&n[s+1].value.startsWith(":")&&(a=!0),i+=ra(a?e.minutes:e.month,t.value.length),a=!0;break;case"yy":i+=ra(e.year%100,t.value.length);break;case"yyyy":i+=e.year;break;case"am/pm":case"a/p":{const[r,n]=t.value.split("/");i+=e.hours<12?r:n;break}default:if(di.test(t.value)){const r=t.value.length-3;i+=`${e.seconds<10?"0":""}${Math.floor(e.seconds*Math.pow(10,r))/Math.pow(10,r)}`;continue}return}else i+=t.value}return i}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e["FORMAT"]="FORMAT",e["FREE_TEXT"]="FREE_TEXT"})(qi||(qi={})),function(e){e["DATE"]="DATE",e["NUMBER"]="NUMBER",e["STRING"]="STRING"}(Gi||(Gi={}));const la="length",ua=e=>parseInt(e,16),ca=e=>parseInt(e,10),da=e=>(e+"").replace(/\-/g,""),ha=(e,t,r)=>e["substr"](t,r),pa=e=>e["codePointAt"](0)-65;function fa(e){return 25===da(e)[la]?ua(ha(da(e),ua("12"),pa("F")))/(ua(ha(da(e),pa("C"),pa("Y")>>4))||1+(~~![][la]<<3)):0}function ma(e){if(e=(e+"").replace(/\-/g,""),e[la]!==pa("Z"))return!1;let t=0;return[[0,pa("G")+1],[pa("H"),pa("H")-1],[pa("G")+pa("H"),pa("G")]].reduce((r,[n,i],a)=>(r|=(ca(""+ca(ua(ha(e,t+n-(0===a?0:2),i+(a?2:0)))+(ua(ha(e,t+n+i,2))+[]).padStart(2,"0")))%97||2)>>1,t+=2,r),pa("A"))===[]+1>>1}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const ga={invalid:()=>"The license key for HyperFormula is invalid.",expired:({keyValidityDate:e})=>`The license key for HyperFormula expired on ${e}, and is not valid for the installed version.`,missing:()=>"The license key for HyperFormula is missing."};let va=!1;function ba(e){const t={template:"missing",vars:{}};if("gpl-v3"===e||"internal-use-in-handsontable"===e)t.template="valid";else if("string"===typeof e&&ma(e)){const[r,n,i]="10/04/2024".split("/"),a=Math.floor(new Date(`${n}/${r}/${i}`).getTime()/864e5),o=fa(e);t.vars.keyValidityDate=ya(new Date(864e5*(o+1))),t.template=a>o?"expired":"valid"}else""!==e&&(t.template="invalid");return va||"valid"===t.template||(console.warn(ga[t.template](t.vars)),va=!0),t.template}function ya(e){const t=["January","February","March","April","May","June","July","August","September","October","November","December"],r=t[e.getMonth()],n=e.getDate(),i=e.getFullYear();return`${r} ${n}, ${i}`}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */var wa,_a,Sa;function Ea(e){return e.startsWith("=")}function Ma(e){const t=e.toLowerCase();return"true"===t||"false"===t}function Ta(e,t){const r=e.toUpperCase(),n=/#[A-Za-z0-9\/]+[?!]?/;return n.test(r)&&Object.prototype.hasOwnProperty.call(t,r)}(function(e){class t{constructor(e){this.value=e,this.value=Mt(this.value,Bn(St(this.value)))}}e.Number=t;class r{constructor(e){this.value=e}}e.String=r;class n{constructor(e){this.value=e}}e.Boolean=n;class i{static getSingletonInstance(){return i.instance||(i.instance=new i),i.instance}}e.Empty=i;class a{constructor(e){this.formula=e}}e.Formula=a;class o{constructor(e,t){this.value=new ln(e,t)}}e.Error=o})(wa||(wa={}));class Ca{constructor(e,t,r){this.config=e,this.dateHelper=t,this.numberLiteralsHelper=r}parse(e){if(void 0===e||null===e)return wa.Empty.getSingletonInstance();if("number"===typeof e)return Hn(e)?new wa.Error(Ur.NUM,xe.ValueLarge):new wa.Number(e);if("boolean"===typeof e)return new wa.Boolean(e);if(e instanceof Date){const t=this.dateHelper.dateToNumber({day:e.getDate(),month:e.getMonth()+1,year:e.getFullYear()}),r=Ui({hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()+e.getMilliseconds()/1e3}),n=t+r;return n<0?new wa.Error(Ur.NUM,xe.DateBounds):n%1===0?new wa.Number(new Tt(n,"Date()")):n<1?new wa.Number(new xt(n,"Date()")):new wa.Number(new At(n,"Date()"))}if("string"===typeof e){if(Ma(e))return new wa.Boolean("true"===e.toLowerCase());if(Ea(e))return new wa.Formula(e);if(Ta(e,this.config.errorMapping))return new wa.Error(this.config.errorMapping[e.toUpperCase()]);{let t,r=e.trim(),n=0;if(r.endsWith("%"))n=1,r=r.slice(0,r.length-1);else{const e=this.currencyMatcher(r);void 0!==e&&(n=2,[t,r]=e)}const i=this.numberLiteralsHelper.numericStringToMaybeNumber(r);if(void 0!==i){let e;return e=1===n?new Nt(i/100):2===n?new Ct(i,t):i,new wa.Number(e)}const a=this.dateHelper.dateStringToDateNumber(r);return void 0!==a?new wa.Number(a):new wa.String(e.startsWith("'")?e.slice(1):e)}}throw new nr(e)}currencyMatcher(e){for(const t of this.config.currencySymbol){if(e.startsWith(t))return[t,e.slice(t.length)];if(e.endsWith(t))return[t,e.slice(0,e.length-t.length)]}}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e[e["COPY"]=0]="COPY",e[e["CUT"]=1]="CUT"})(_a||(_a={})),function(e){e[e["VALUE"]=0]="VALUE",e[e["EMPTY"]=1]="EMPTY",e[e["FORMULA"]=2]="FORMULA",e[e["PARSING_ERROR"]=3]="PARSING_ERROR"}(Sa||(Sa={}));class xa{constructor(e,t,r,n,i){this.sourceLeftCorner=e,this.width=t,this.height=r,this.type=n,this.content=i}*getContent(e){if(void 0!==this.content)for(let t=0;t<this.height;++t)for(let r=0;r<this.width;++r)yield[pn(e.sheet,e.col+r,e.row+t),this.content[t][r]]}}class Aa{constructor(e,t,r){this.dependencyGraph=t,this.operations=r,this.maxRows=e.maxRows,this.maxColumns=e.maxColumns}cut(e,t,r){this.clipboard=new xa(e,t,r,_a.CUT)}copy(e,t,r){const n=[];for(let i=0;i<r;++i){n[i]=[];for(let r=0;r<t;++r){const t=this.operations.getClipboardCell(pn(e.sheet,e.col+r,e.row+i));n[i].push(t)}}this.clipboard=new xa(e,t,r,_a.COPY,n)}abortCut(){this.clipboard&&this.clipboard.type===_a.CUT&&this.clear()}clear(){this.clipboard=void 0}ensureItIsPossibleToCopyPaste(e){if(void 0===this.clipboard)return;if(fn(e)||!this.dependencyGraph.sheetMapping.hasSheetWithId(e.sheet))throw new Kt("a valid target address.");const t=En.spanFrom(e,this.clipboard.width,this.clipboard.height);if(t.exceedsSheetSizeLimits(this.maxColumns,this.maxRows))throw new Wt;if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(t))throw new Error("It is not possible to paste onto an array")}isCutClipboard(){return void 0!==this.clipboard&&this.clipboard.type===_a.CUT}isCopyClipboard(){return void 0!==this.clipboard&&this.clipboard.type===_a.COPY}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Na{constructor(e,t,r,n){this.displayName=e,this.address=t,this.added=r,this.options=n}normalizeExpressionName(){return this.displayName.toLowerCase()}copy(){return new Na(this.displayName,this.address,this.added,this.options)}}class Oa{constructor(){this.mapping=new Map}has(e){return this.mapping.has(this.normalizeExpressionName(e))}isNameAvailable(e){const t=this.normalizeExpressionName(e),r=this.mapping.get(t);return!(r&&r.added)}add(e){this.mapping.set(e.normalizeExpressionName(),e)}get(e){return this.mapping.get(this.normalizeExpressionName(e))}getExisting(e){const t=this.mapping.get(this.normalizeExpressionName(e));return t&&t.added?t:void 0}remove(e){const t=this.normalizeExpressionName(e),r=this.mapping.get(t);r&&(r.added=!1)}getAllNamedExpressions(){return Array.from(this.mapping.values()).filter(e=>e.added)}normalizeExpressionName(e){return e.toLowerCase()}}class Ra{constructor(){this.mapping=new Map}add(e){this.mapping.set(this.normalizeExpressionName(e.displayName),e)}get(e){return this.mapping.get(this.normalizeExpressionName(e))}has(e){return this.mapping.has(this.normalizeExpressionName(e))}getAllNamedExpressions(){return Array.from(this.mapping.values()).filter(e=>e.added)}isNameAvailable(e){const t=this.normalizeExpressionName(e);return!this.mapping.has(t)}remove(e){const t=this.normalizeExpressionName(e),r=this.mapping.get(t);r&&this.mapping.delete(t)}normalizeExpressionName(e){return e.toLowerCase()}}class La{constructor(){this.nextNamedExpressionRow=0,this.workbookStore=new Oa,this.worksheetStores=new Map,this.addressCache=new Map}isNameAvailable(e,t){var r,n;return void 0===t?this.workbookStore.isNameAvailable(e):null===(n=null===(r=this.worksheetStore(t))||void 0===r?void 0:r.isNameAvailable(e))||void 0===n||n}namedExpressionInAddress(e){const t=this.addressCache.get(e);return t&&t.added?t:void 0}namedExpressionForScope(e,t){var r;return void 0===t?this.workbookStore.getExisting(e):null===(r=this.worksheetStore(t))||void 0===r?void 0:r.get(e)}nearestNamedExpression(e,t){var r,n;return null!==(n=null===(r=this.worksheetStore(t))||void 0===r?void 0:r.get(e))&&void 0!==n?n:this.workbookStore.getExisting(e)}isExpressionInScope(e,t){var r,n;return null!==(n=null===(r=this.worksheetStore(t))||void 0===r?void 0:r.has(e))&&void 0!==n&&n}isNameValid(e){const t=new RegExp(`^${b}$`),r=new RegExp(`^${_}$`),n=new RegExp(`^${E}$`);return!t.test(e)&&!r.test(e)&&n.test(e)}addNamedExpression(e,t,r){const n=void 0===t?this.workbookStore:this.worksheetStoreOrCreate(t);let i=n.get(e);return void 0!==i?(i.added=!0,i.displayName=e,i.options=r):(i=new Na(e,this.nextAddress(),!0,r),n.add(i)),this.addressCache.set(i.address.row,i),i}restoreNamedExpression(e,t){const r=void 0===t?this.workbookStore:this.worksheetStoreOrCreate(t);return e.added=!0,r.add(e),this.addressCache.set(e.address.row,e),e}namedExpressionOrPlaceholder(e,t){var r;return null!==(r=this.worksheetStoreOrCreate(t).get(e))&&void 0!==r?r:this.workbookNamedExpressionOrPlaceholder(e)}workbookNamedExpressionOrPlaceholder(e){let t=this.workbookStore.get(e);return void 0===t&&(t=new Na(e,this.nextAddress(),!1),this.workbookStore.add(t)),t}remove(e,t){let r;r=void 0===t?this.workbookStore:this.worksheetStore(t);const n=null===r||void 0===r?void 0:r.get(e);if(void 0===r||void 0===n||!n.added)throw Error("Named expression does not exist");r.remove(e),r instanceof Ra&&0===r.mapping.size&&this.worksheetStores.delete(t),this.addressCache.delete(n.address.row)}getAllNamedExpressionsNamesInScope(e){return this.getAllNamedExpressions().filter(({scope:t})=>t===e).map(e=>e.expression.displayName)}getAllNamedExpressionsNames(){return this.getAllNamedExpressions().map(e=>e.expression.displayName)}getAllNamedExpressions(){const e=[];return this.workbookStore.getAllNamedExpressions().forEach(t=>{e.push({expression:t,scope:void 0})}),this.worksheetStores.forEach((t,r)=>{t.getAllNamedExpressions().forEach(t=>{e.push({expression:t,scope:r})})}),e}getAllNamedExpressionsForScope(e){var t,r;return void 0===e?this.workbookStore.getAllNamedExpressions():null!==(r=null===(t=this.worksheetStores.get(e))||void 0===t?void 0:t.getAllNamedExpressions())&&void 0!==r?r:[]}worksheetStoreOrCreate(e){let t=this.worksheetStores.get(e);return t||(t=new Ra,this.worksheetStores.set(e,t)),t}worksheetStore(e){return this.worksheetStores.get(e)}nextAddress(){return pn(La.SHEET_FOR_WORKBOOK_EXPRESSIONS,0,this.nextNamedExpressionRow++)}}La.SHEET_FOR_WORKBOOK_EXPRESSIONS=-1;const ka=e=>{switch(e.type){case z.EMPTY:case z.NUMBER:case z.STRING:case z.ERROR:case z.ERROR_WITH_RAW_INPUT:return!1;case z.CELL_REFERENCE:return!e.reference.isAbsolute();case z.CELL_RANGE:case z.COLUMN_RANGE:case z.ROW_RANGE:return!e.start.isAbsolute();case z.NAMED_EXPRESSION:return!1;case z.PERCENT_OP:case z.PLUS_UNARY_OP:case z.MINUS_UNARY_OP:return ka(e.value);case z.CONCATENATE_OP:case z.EQUALS_OP:case z.NOT_EQUAL_OP:case z.LESS_THAN_OP:case z.GREATER_THAN_OP:case z.LESS_THAN_OR_EQUAL_OP:case z.GREATER_THAN_OR_EQUAL_OP:case z.MINUS_OP:case z.PLUS_OP:case z.TIMES_OP:case z.DIV_OP:case z.POWER_OP:return ka(e.left)||ka(e.right);case z.PARENTHESIS:return ka(e.expression);case z.FUNCTION_CALL:return e.args.some(e=>ka(e));case z.ARRAY:return e.args.some(e=>e.some(e=>ka(e)))}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ia{performEagerTransformations(e,t){for(const r of e.arrayFormulaNodes()){const[n,i]=this.transformSingleAst(r.getFormula(e.lazilyTransformingAstService),r.getAddress(e.lazilyTransformingAstService)),a=t.rememberNewAst(n);r.setFormula(a),r.setAddress(i)}}transformSingleAst(e,t){const r=this.transformAst(e,t),n=this.fixNodeAddress(t);return[r,n]}transformAst(e,t){switch(e.type){case z.CELL_REFERENCE:return this.transformCellReferenceAst(e,t);case z.CELL_RANGE:return this.transformCellRangeAst(e,t);case z.COLUMN_RANGE:return this.transformColumnRangeAst(e,t);case z.ROW_RANGE:return this.transformRowRangeAst(e,t);case z.EMPTY:case z.ERROR:case z.NUMBER:case z.NAMED_EXPRESSION:case z.ERROR_WITH_RAW_INPUT:case z.STRING:return e;case z.PERCENT_OP:case z.MINUS_UNARY_OP:case z.PLUS_UNARY_OP:return Object.assign(Object.assign({},e),{value:this.transformAst(e.value,t)});case z.FUNCTION_CALL:return Object.assign(Object.assign({},e),{procedureName:e.procedureName,args:e.args.map(e=>this.transformAst(e,t))});case z.PARENTHESIS:return Object.assign(Object.assign({},e),{expression:this.transformAst(e.expression,t)});case z.ARRAY:return Object.assign(Object.assign({},e),{args:e.args.map(e=>e.map(e=>this.transformAst(e,t)))});default:return Object.assign(Object.assign({},e),{left:this.transformAst(e.left,t),right:this.transformAst(e.right,t)})}}transformCellReferenceAst(e,t){const r=this.transformCellAddress(e.reference,t);return r instanceof l?Object.assign(Object.assign({},e),{reference:r}):r===Ur.REF?be(new ln(Ur.REF)):e}transformCellRangeAst(e,t){const r=this.transformCellRange(e.start,e.end,t);return Array.isArray(r)?Object.assign(Object.assign({},e),{start:r[0],end:r[1]}):r===Ur.REF?be(new ln(Ur.REF)):e}transformColumnRangeAst(e,t){const r=this.transformColumnRange(e.start,e.end,t);return Array.isArray(r)?Object.assign(Object.assign({},e),{start:r[0],end:r[1]}):r===Ur.REF?be(new ln(Ur.REF)):e}transformRowRangeAst(e,t){const r=this.transformRowRange(e.start,e.end,t);return Array.isArray(r)?Object.assign(Object.assign({},e),{start:r[0],end:r[1]}):r===Ur.REF?be(new ln(Ur.REF)):e}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Da extends Ia{constructor(e){super(),this.columnsSpan=e}get sheet(){return this.columnsSpan.sheet}isIrreversible(){return!1}transformRowRangeAst(e,t){return e}transformCellRange(e,t,r){return this.transformRange(e,t,r)}transformRowRange(e,t,r){throw Error("Not implemented")}transformColumnRange(e,t,r){return this.transformRange(e,t,r)}transformCellAddress(e,t){const r=bn(e,t);if(r!==this.columnsSpan.sheet&&t.sheet!==this.columnsSpan.sheet)return!1;const n=e.toSimpleColumnAddress(t);if(r===this.columnsSpan.sheet&&t.sheet!==this.columnsSpan.sheet)return this.columnsSpan.columnStart<=n.col&&e.shiftedByColumns(this.columnsSpan.numberOfColumns);if(t.sheet===this.columnsSpan.sheet&&r!==this.columnsSpan.sheet)return!e.isColumnAbsolute()&&(!(t.col<this.columnsSpan.columnStart)&&e.shiftedByColumns(-this.columnsSpan.numberOfColumns));if(e.isColumnAbsolute())return!(e.col<this.columnsSpan.columnStart)&&e.shiftedByColumns(this.columnsSpan.numberOfColumns);{const r=e.toSimpleColumnAddress(t);return r.col<this.columnsSpan.columnStart?!(t.col<this.columnsSpan.columnStart)&&e.shiftedByColumns(-this.columnsSpan.numberOfColumns):t.col<this.columnsSpan.columnStart&&e.shiftedByColumns(this.columnsSpan.numberOfColumns)}}fixNodeAddress(e){return this.columnsSpan.sheet===e.sheet&&this.columnsSpan.columnStart<=e.col?Object.assign(Object.assign({},e),{col:e.col+this.columnsSpan.numberOfColumns}):e}transformRange(e,t,r){const n=this.transformCellAddress(e,r),i=this.transformCellAddress(t,r);return n===Ur.REF||i===Ur.REF?Ur.REF:!(!n&&!i)&&[n||e,i||t]}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Pa extends Ia{constructor(e){super(),this.rowsSpan=e}get sheet(){return this.rowsSpan.sheet}isIrreversible(){return!1}transformColumnRangeAst(e,t){return e}transformCellRange(e,t,r){return this.transformRange(e,t,r)}transformRowRange(e,t,r){return this.transformRange(e,t,r)}transformColumnRange(e,t,r){throw Error("Not implemented")}transformCellAddress(e,t){const r=bn(e,t);if(r!==this.rowsSpan.sheet&&t.sheet!==this.rowsSpan.sheet)return!1;const n=e.toSimpleRowAddress(t);return r===this.rowsSpan.sheet&&t.sheet!==this.rowsSpan.sheet?this.rowsSpan.rowStart<=n.row&&e.shiftedByRows(this.rowsSpan.numberOfRows):t.sheet===this.rowsSpan.sheet&&r!==this.rowsSpan.sheet?!e.isRowAbsolute()&&(!(t.row<this.rowsSpan.rowStart)&&e.shiftedByRows(-this.rowsSpan.numberOfRows)):e.isRowAbsolute()?!(e.row<this.rowsSpan.rowStart)&&e.shiftedByRows(this.rowsSpan.numberOfRows):n.row<this.rowsSpan.rowStart?!(t.row<this.rowsSpan.rowStart)&&e.shiftedByRows(-this.rowsSpan.numberOfRows):t.row<this.rowsSpan.rowStart&&e.shiftedByRows(this.rowsSpan.numberOfRows)}fixNodeAddress(e){return this.rowsSpan.sheet===e.sheet&&this.rowsSpan.rowStart<=e.row?Object.assign(Object.assign({},e),{row:e.row+this.rowsSpan.numberOfRows}):e}transformRange(e,t,r){const n=this.transformCellAddress(e,r),i=this.transformCellAddress(t,r);return n===Ur.REF||i===Ur.REF?Ur.REF:!(!n&&!i)&&[n||e,i||t]}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class ja extends Ia{constructor(e){super(),this.sheet=e}isIrreversible(){return!0}fixNodeAddress(e){return e}transformCellAddress(e,t){return!!e.isInvalid(t)&&Ur.REF}transformCellRange(e,t,r){return!(!e.isInvalid(r)&&!t.isInvalid(r))&&Ur.REF}transformColumnRange(e,t,r){return!(!e.isInvalid(r)&&!t.isInvalid(r))&&Ur.REF}transformRowRange(e,t,r){return!(!e.isInvalid(r)&&!t.isInvalid(r))&&Ur.REF}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Fa extends Ia{constructor(e,t,r,n){super(),this.sourceRange=e,this.toRight=t,this.toBottom=r,this.toSheet=n,this.dependentFormulaTransformer=new Ha(e,t,r,n)}get sheet(){return this.sourceRange.sheet}isIrreversible(){return!0}transformSingleAst(e,t){if(this.sourceRange.addressInRange(t)){const r=this.transformAst(e,t);return[r,this.fixNodeAddress(t)]}return this.dependentFormulaTransformer.transformSingleAst(e,t)}fixNodeAddress(e){return pn(this.toSheet,e.col+this.toRight,e.row+this.toBottom)}transformCellAddress(e,t){return this.transformAddress(e,t)}transformCellRange(e,t,r){return this.transformRange(e,t,r)}transformColumnRange(e,t,r){return this.transformRange(e,t,r)}transformRowRange(e,t,r){return this.transformRange(e,t,r)}transformAddress(e,t){const r=this.sourceRange;if(e instanceof l){const n=e.toSimpleCellAddress(t);if(r.addressInRange(n))return e.shiftAbsoluteDimensions(this.toRight,this.toBottom)}return e.shiftRelativeDimensions(-this.toRight,-this.toBottom)}transformRange(e,t,r){const n=this.sourceRange;if(e instanceof l&&t instanceof l){const i=e.toSimpleCellAddress(r),a=t.toSimpleCellAddress(r);if(n.addressInRange(i)&&n.addressInRange(a))return[e.shiftAbsoluteDimensions(this.toRight,this.toBottom),t.shiftAbsoluteDimensions(this.toRight,this.toBottom)]}return[e.shiftRelativeDimensions(-this.toRight,-this.toBottom),t.shiftRelativeDimensions(-this.toRight,-this.toBottom)]}}class Ha extends Ia{constructor(e,t,r,n){super(),this.sourceRange=e,this.toRight=t,this.toBottom=r,this.toSheet=n}get sheet(){return this.sourceRange.sheet}isIrreversible(){return!0}fixNodeAddress(e){return e}transformCellAddress(e,t){return!!this.shouldMove(e,t)&&e.moved(this.toSheet,this.toRight,this.toBottom)}transformCellRange(e,t,r){return this.transformRange(e,t,r)}transformColumnRange(e,t,r){return this.transformRange(e,t,r)}transformRowRange(e,t,r){return this.transformRange(e,t,r)}shouldMove(e,t){return e instanceof l?this.sourceRange.addressInRange(e.toSimpleCellAddress(t)):e instanceof s?this.sourceRange.rowInRange(e.toSimpleRowAddress(t))&&!this.sourceRange.isFinite():this.sourceRange.columnInRange(e.toSimpleColumnAddress(t))&&!this.sourceRange.isFinite()}transformRange(e,t,r){const n=this.transformCellAddress(e,r),i=this.transformCellAddress(t,r);return!(!n||!i)&&[n,i]}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ba extends Ia{constructor(e){super(),this.columnsSpan=e}get sheet(){return this.columnsSpan.sheet}isIrreversible(){return!0}transformRowRangeAst(e,t){return e}transformCellRange(e,t,r){return this.transformRange(e,t,r)}transformRowRange(e,t,r){throw Error("Not implemented")}transformColumnRange(e,t,r){return this.transformRange(e,t,r)}transformCellAddress(e,t){const r=bn(e,t);if(this.columnsSpan.sheet!==t.sheet&&this.columnsSpan.sheet!==r)return!1;if(this.columnsSpan.sheet!==t.sheet&&this.columnsSpan.sheet===r){const r=e.toSimpleColumnAddress(t);if(r.col<this.columnsSpan.columnStart)return!1;if(r.col>this.columnsSpan.columnEnd)return e.shiftedByColumns(-this.columnsSpan.numberOfColumns)}if(this.columnsSpan.sheet===t.sheet&&this.columnsSpan.sheet!==r){if(e.isColumnAbsolute())return!1;if(t.col<this.columnsSpan.columnStart)return!1;if(t.col>this.columnsSpan.columnEnd)return e.shiftedByColumns(this.columnsSpan.numberOfColumns)}if(this.columnsSpan.sheet===t.sheet&&this.columnsSpan.sheet===r)if(e.isColumnAbsolute()){if(e.col<this.columnsSpan.columnStart)return!1;if(e.col>this.columnsSpan.columnEnd)return e.shiftedByColumns(-this.columnsSpan.numberOfColumns)}else{const r=e.toSimpleColumnAddress(t);if(r.col<this.columnsSpan.columnStart){if(t.col<this.columnsSpan.columnStart)return!1;if(t.col>this.columnsSpan.columnEnd)return e.shiftedByColumns(this.columnsSpan.numberOfColumns)}else if(r.col>this.columnsSpan.columnEnd){if(t.col<this.columnsSpan.columnStart)return e.shiftedByColumns(-this.columnsSpan.numberOfColumns);if(t.col>this.columnsSpan.columnEnd)return!1}}return Ur.REF}fixNodeAddress(e){return this.columnsSpan.sheet===e.sheet&&this.columnsSpan.columnStart<=e.col?Object.assign(Object.assign({},e),{col:e.col-this.columnsSpan.numberOfColumns}):e}transformRange(e,t,r){const n=bn(e,r);let i=e,a=t;if(this.columnsSpan.sheet===n){const n=e.toSimpleColumnAddress(r),o=t.toSimpleColumnAddress(r);if(this.columnsSpan.columnStart<=n.col&&this.columnsSpan.columnEnd>=o.col)return Ur.REF;n.col>=this.columnsSpan.columnStart&&n.col<=this.columnsSpan.columnEnd&&(i=e.shiftedByColumns(this.columnsSpan.columnEnd-n.col+1)),o.col>=this.columnsSpan.columnStart&&o.col<=this.columnsSpan.columnEnd&&(a=t.shiftedByColumns(-(o.col-this.columnsSpan.columnStart+1)))}const o=this.transformCellAddress(i,r),s=this.transformCellAddress(a,r);if(!1===o&&!1===s)return[i,a];if(o===Ur.REF||s===Ur.REF)throw Error("Cannot happen");return[o||i,s||a]}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ua extends Ia{constructor(e){super(),this.rowsSpan=e}get sheet(){return this.rowsSpan.sheet}isIrreversible(){return!0}transformColumnRangeAst(e,t){return e}transformCellAddress(e,t){const r=bn(e,t);if(this.rowsSpan.sheet!==t.sheet&&this.rowsSpan.sheet!==r)return!1;if(this.rowsSpan.sheet!==t.sheet&&this.rowsSpan.sheet===r){const r=e.toSimpleRowAddress(t);if(r.row<this.rowsSpan.rowStart)return!1;if(r.row>this.rowsSpan.rowEnd)return e.shiftedByRows(-this.rowsSpan.numberOfRows)}if(this.rowsSpan.sheet===t.sheet&&this.rowsSpan.sheet!==r){if(e.isRowAbsolute())return!1;if(t.row<this.rowsSpan.rowStart)return!1;if(t.row>this.rowsSpan.rowEnd)return e.shiftedByRows(this.rowsSpan.numberOfRows)}if(this.rowsSpan.sheet===t.sheet&&this.rowsSpan.sheet===r)if(e.isRowAbsolute()){if(e.row<this.rowsSpan.rowStart)return!1;if(e.row>this.rowsSpan.rowEnd)return e.shiftedByRows(-this.rowsSpan.numberOfRows)}else{const r=e.toSimpleRowAddress(t);if(r.row<this.rowsSpan.rowStart){if(t.row<this.rowsSpan.rowStart)return!1;if(t.row>this.rowsSpan.rowEnd)return e.shiftedByRows(this.rowsSpan.numberOfRows)}else if(r.row>this.rowsSpan.rowEnd){if(t.row<this.rowsSpan.rowStart)return e.shiftedByRows(-this.rowsSpan.numberOfRows);if(t.row>this.rowsSpan.rowEnd)return!1}}return Ur.REF}transformCellRange(e,t,r){return this.transformRange(e,t,r)}transformRowRange(e,t,r){return this.transformRange(e,t,r)}transformColumnRange(e,t,r){throw Error("Not implemented")}fixNodeAddress(e){return this.rowsSpan.sheet===e.sheet&&this.rowsSpan.rowStart<=e.row?Object.assign(Object.assign({},e),{row:e.row-this.rowsSpan.numberOfRows}):e}transformRange(e,t,r){const n=bn(e,r);let i=e,a=t;if(this.rowsSpan.sheet===n){const n=e.toSimpleRowAddress(r),o=t.toSimpleRowAddress(r);if(this.rowsSpan.rowStart<=n.row&&this.rowsSpan.rowEnd>=o.row)return Ur.REF;n.row>=this.rowsSpan.rowStart&&n.row<=this.rowsSpan.rowEnd&&(i=e.shiftedByRows(this.rowsSpan.rowEnd-n.row+1)),o.row>=this.rowsSpan.rowStart&&o.row<=this.rowsSpan.rowEnd&&(a=t.shiftedByRows(-(o.row-this.rowsSpan.rowStart+1)))}const o=this.transformCellAddress(i,r),s=this.transformCellAddress(a,r);return!1===o&&!1===s?[i,a]:o===Ur.REF||s===Ur.REF?Ur.REF:[o||i,s||a]}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Va extends Ia{constructor(e){super(),this.sheet=e}isIrreversible(){return!0}performEagerTransformations(e,t){for(const r of e.arrayFormulaNodes()){const[t]=this.transformSingleAst(r.getFormula(e.lazilyTransformingAstService),r.getAddress(e.lazilyTransformingAstService));r.setFormula(t)}}fixNodeAddress(e){return e}transformCellAddress(e,t){return this.transformAddress(e)}transformCellRange(e,t,r){return this.transformAddress(e)}transformColumnRange(e,t,r){return this.transformAddress(e)}transformRowRange(e,t,r){return this.transformAddress(e)}transformAddress(e){return e.sheet===this.sheet&&Ur.REF}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */function Ya(e){if(!Array.isArray(e))throw new Kt("an array of arrays.");for(let t=0;t<e.length;t++)if(!Array.isArray(e[t]))throw new Kt("an array of arrays.")}function za(e){let t=0,r=0,n=0;for(let a=0;a<e.length;a++){let i=0;for(let t=0;t<e[a].length;t++){const r=e[a][t];void 0!==r&&null!==r&&(i=t+1,++n)}t=Math.max(t,i),i>0&&(r=a+1)}const i=t*r;return{height:r,width:t,fill:0===i?0:n/i}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Wa{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return Za(this.indexes)}rowsSpans(){return this.normalizedIndexes().map(e=>Ft.fromNumberOfRows(this.sheet,e[0],e[1]))}}class qa{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return $a(this.indexes)}rowsSpans(){return this.normalizedIndexes().map(e=>Ft.fromNumberOfRows(this.sheet,e[0],e[1]))}}class Ga{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return $a(this.indexes)}columnsSpans(){return this.normalizedIndexes().map(e=>Ht.fromNumberOfColumns(this.sheet,e[0],e[1]))}}class Ka{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return Za(this.indexes)}columnsSpans(){return this.normalizedIndexes().map(e=>Ht.fromNumberOfColumns(this.sheet,e[0],e[1]))}}class Xa{constructor(e,t,r,n,i,a,o,s,l){this.dependencyGraph=t,this.columnSearch=r,this.cellContentParser=n,this.parser=i,this.stats=a,this.lazilyTransformingAstService=o,this.namedExpressions=s,this.arraySizePredictor=l,this.changes=jt.empty(),this.allocateNamedExpressionAddressSpace(),this.maxColumns=e.maxColumns,this.maxRows=e.maxRows}get sheetMapping(){return this.dependencyGraph.sheetMapping}get addressMapping(){return this.dependencyGraph.addressMapping}removeRows(e){const t=[];for(const r of e.rowsSpans()){const e=this.doRemoveRows(r);e&&t.push(e)}return t}addRows(e){for(const t of e.rowsSpans())this.doAddRows(t)}addColumns(e){for(const t of e.columnsSpans())this.doAddColumns(t)}removeColumns(e){const t=[];for(const r of e.columnsSpans()){const e=this.doRemoveColumns(r);e&&t.push(e)}return t}removeSheet(e){this.dependencyGraph.removeSheet(e);let t=0;this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const r=new Va(e);r.performEagerTransformations(this.dependencyGraph,this.parser),t=this.lazilyTransformingAstService.addTransformation(r)}),this.sheetMapping.removeSheet(e),this.columnSearch.removeSheet(e);const r=this.namedExpressions.getAllNamedExpressionsForScope(e).map(t=>this.removeNamedExpression(t.normalizeExpressionName(),e));return{version:t,scopedNamedExpressions:r}}removeSheetByName(e){const t=this.sheetMapping.fetch(e);return this.removeSheet(t)}clearSheet(e){this.dependencyGraph.clearSheet(e),this.columnSearch.removeSheet(e)}addSheet(e){const t=this.sheetMapping.addSheet(e),r=[];return this.dependencyGraph.addressMapping.autoAddSheet(t,za(r)),this.sheetMapping.fetchDisplayName(t)}renameSheet(e,t){return this.sheetMapping.renameSheet(e,t)}moveRows(e,t,r,n){const i=Ft.fromNumberOfRows(e,n,r);this.lazilyTransformingAstService.beginCombinedMode(e),this.doAddRows(i),n<t&&(t+=r);const a=pn(e,0,t),o=pn(e,0,n);this.moveCells(a,Number.POSITIVE_INFINITY,r,o);const s=Ft.fromNumberOfRows(e,t,r);return this.doRemoveRows(s),this.lazilyTransformingAstService.commitCombinedMode()}moveColumns(e,t,r,n){const i=Ht.fromNumberOfColumns(e,n,r);this.lazilyTransformingAstService.beginCombinedMode(e),this.doAddColumns(i),n<t&&(t+=r);const a=pn(e,t,0),o=pn(e,n,0);this.moveCells(a,r,Number.POSITIVE_INFINITY,o);const s=Ht.fromNumberOfColumns(e,t,r);return this.doRemoveColumns(s),this.lazilyTransformingAstService.commitCombinedMode()}moveCells(e,t,r,n){this.ensureItIsPossibleToMoveCells(e,t,r,n);const i=En.spanFrom(e,t,r),a=En.spanFrom(n,t,r),o=n.col-e.col,s=n.row-e.row,l=n.sheet,u=this.getRangeClipboardCells(a),c=this.dependencyGraph.rawValuesFromRange(a);this.columnSearch.removeValues(c);const d=this.dependencyGraph.rawValuesFromRange(i);this.columnSearch.moveValues(d,o,s,l);let h=0;this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const e=new Fa(i,o,s,l);e.performEagerTransformations(this.dependencyGraph,this.parser),h=this.lazilyTransformingAstService.addTransformation(e)}),this.dependencyGraph.moveCells(i,o,s,l);const p=this.updateNamedExpressionsForMovedCells(e,t,r,n);return{version:h,overwrittenCellsData:u,addedGlobalNamedExpressions:p}}setRowOrder(e,t){const r=[];let n=[];for(const[i,a]of t)if(i!==a){const t=En.spanFrom({sheet:e,col:0,row:i},1/0,1),o=this.getRangeClipboardCells(t);n=n.concat(o),r.push(o.map(([{sheet:e,col:t},r])=>[{sheet:e,col:t,row:a},r]))}return r.forEach(t=>this.restoreClipboardCells(e,t.values())),n}setColumnOrder(e,t){const r=[];let n=[];for(const[i,a]of t)if(i!==a){const t=En.spanFrom({sheet:e,col:i,row:0},1,1/0),o=this.getRangeClipboardCells(t);n=n.concat(o),r.push(o.map(([{sheet:e,col:t,row:r},n])=>[{sheet:e,col:a,row:r},n]))}return r.forEach(t=>this.restoreClipboardCells(e,t.values())),n}addNamedExpression(e,t,r,n){const i=this.namedExpressions.addNamedExpression(e,r,n);this.storeNamedExpressionInCell(i.address,t),this.adjustNamedExpressionEdges(i,e,r)}restoreNamedExpression(e,t,r){const n=e.displayName;this.restoreCell(e.address,t);const i=this.namedExpressions.restoreNamedExpression(e,r);this.adjustNamedExpressionEdges(i,n,r)}changeNamedExpressionExpression(e,t,r,n){const i=this.namedExpressions.namedExpressionForScope(e,r);if(!i)throw new Jt(e);const a=i.copy();i.options=n;const o=this.getClipboardCell(i.address);return this.storeNamedExpressionInCell(i.address,t),[a,o]}removeNamedExpression(e,t){const r=this.namedExpressions.namedExpressionForScope(e,t);if(!r)throw new Jt(e);this.namedExpressions.remove(r.displayName,t);const n=this.getClipboardCell(r.address);if(void 0!==t){const t=this.namedExpressions.workbookNamedExpressionOrPlaceholder(e);this.dependencyGraph.exchangeNode(r.address,t.address)}else this.dependencyGraph.setCellEmpty(r.address);return[r,n]}ensureItIsPossibleToMoveCells(e,t,r,n){if(fn(e)||!(Ja(t)&&Ja(r)||Qa(e,t,r))||fn(n)||!this.sheetMapping.hasSheetWithId(e.sheet)||!this.sheetMapping.hasSheetWithId(n.sheet))throw new Kt("a valid range of cells to move.");const i=En.spanFrom(e,t,r),a=En.spanFrom(n,t,r);if(a.exceedsSheetSizeLimits(this.maxColumns,this.maxRows))throw new Wt;if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(i))throw new gr;if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(a))throw new vr}restoreClipboardCells(e,t){const r=[];for(const[n,i]of t)if(this.restoreCell(n,i),i.type===Sa.FORMULA){const{dependencies:t}=this.parser.fetchCachedResult(i.hash);r.push(...this.updateNamedExpressionsForTargetAddress(e,n,t))}return r}restoreCell(e,t){switch(t.type){case Sa.VALUE:this.setValueToCell(t,e);break;case Sa.FORMULA:this.setFormulaToCellFromCache(t.hash,e);break;case Sa.EMPTY:this.setCellEmpty(e);break;case Sa.PARSING_ERROR:this.setParsingErrorToCell(t.rawInput,t.errors,e);break}}getOldContent(e){const t=this.dependencyGraph.getCell(e);if(void 0===t||t instanceof Gr)return[e,{type:Sa.EMPTY}];if(t instanceof Kr)return[e,Object.assign({type:Sa.VALUE},t.getValues())];if(t instanceof Tr)return[t.getAddress(this.lazilyTransformingAstService),{type:Sa.FORMULA,hash:this.parser.computeHashFromAst(t.getFormula(this.lazilyTransformingAstService))}];if(t instanceof Xr)return[e,{type:Sa.PARSING_ERROR,rawInput:t.rawInput,errors:t.errors}];throw Error("Trying to copy unsupported type")}getClipboardCell(e){const t=this.dependencyGraph.getCell(e);if(void 0===t||t instanceof Gr)return{type:Sa.EMPTY};if(t instanceof Kr)return Object.assign({type:Sa.VALUE},t.getValues());if(t instanceof Cr){const r=t.getArrayCellValue(e);return r===_t?{type:Sa.EMPTY}:{type:Sa.VALUE,parsedValue:r,rawValue:t.getArrayCellRawValue(e)}}if(t instanceof xr)return{type:Sa.FORMULA,hash:this.parser.computeHashFromAst(t.getFormula(this.lazilyTransformingAstService))};if(t instanceof Xr)return{type:Sa.PARSING_ERROR,rawInput:t.rawInput,errors:t.errors};throw Error("Trying to copy unsupported type")}getSheetClipboardCells(e){const t=this.dependencyGraph.getSheetHeight(e),r=this.dependencyGraph.getSheetWidth(e),n=new Array(t);for(let i=0;i<t;i++){n[i]=new Array(r);for(let t=0;t<r;t++){const r=pn(e,t,i);n[i][t]=this.getClipboardCell(r)}}return n}getRangeClipboardCells(e){const t=[];for(const r of e.addresses(this.dependencyGraph))t.push([r,this.getClipboardCell(r)]);return t}setCellContent(e,t){const r=this.cellContentParser.parse(t),n=this.getOldContent(e);if(r instanceof wa.Formula){const t=this.parser.parse(r.formula,e),{ast:n,errors:a}=t;if(a.length>0)this.setParsingErrorToCell(r.formula,a,e);else try{const r=this.arraySizePredictor.checkArraySize(n,e);if(r.width<=0||r.height<=0)throw Error("Incorrect array size");this.setFormulaToCell(e,r,t)}catch(i){if(!i.message)throw i;const t={type:Y.InvalidRangeSize,message:"Invalid range size."};this.setParsingErrorToCell(r.formula,[t],e)}}else r instanceof wa.Empty?this.setCellEmpty(e):this.setValueToCell({parsedValue:r.value,rawValue:t},e);return n}setSheetContent(e,t){this.clearSheet(e);for(let r=0;r<t.length;r++)for(let n=0;n<t[r].length;n++){const i=pn(e,n,r);this.setCellContent(i,t[r][n])}}setParsingErrorToCell(e,t,r){const n=this.dependencyGraph.getCellValue(r),i=new Xr(t,e),a=this.dependencyGraph.setParsingErrorToCell(r,i);this.columnSearch.remove(St(n),r),this.columnSearch.applyChanges(a.getChanges()),this.changes.addAll(a),this.changes.addChange(i.getCellValue(),r)}setFormulaToCell(e,t,{ast:r,hasVolatileFunction:n,hasStructuralChangeFunction:i,dependencies:a}){const o=this.dependencyGraph.getCellValue(e),s=this.dependencyGraph.setFormulaToCell(e,r,yt(a,e),t,n,i);this.columnSearch.remove(St(o),e),this.columnSearch.applyChanges(s.getChanges()),this.changes.addAll(s)}setValueToCell(e,t){const r=this.dependencyGraph.getCellValue(t),n=this.dependencyGraph.setValueToCell(t,e);this.columnSearch.change(St(r),St(e.parsedValue),t),this.columnSearch.applyChanges(n.getChanges().filter(e=>!yn(e.address,t))),this.changes.addAll(n),this.changes.addChange(e.parsedValue,t)}setCellEmpty(e){if(this.dependencyGraph.isArrayInternalCell(e))return;const t=this.dependencyGraph.getCellValue(e),r=this.dependencyGraph.setCellEmpty(e);this.columnSearch.remove(St(t),e),this.columnSearch.applyChanges(r.getChanges()),this.changes.addAll(r),this.changes.addChange(_t,e)}setFormulaToCellFromCache(e,t){const{ast:r,hasVolatileFunction:n,hasStructuralChangeFunction:i,dependencies:a}=this.parser.fetchCachedResult(e),o=yt(a,t),[s]=new ja(t.sheet).transformSingleAst(r,t);this.parser.rememberNewAst(s);const l=wt(o),u=this.arraySizePredictor.checkArraySize(r,t);this.dependencyGraph.setFormulaToCell(t,s,l,u,n,i)}rowEffectivelyNotInSheet(e,t){const r=this.dependencyGraph.addressMapping.getHeight(t);return e>=r}getAndClearContentChanges(){const e=this.changes;return this.changes=jt.empty(),e}forceApplyPostponedTransformations(){this.dependencyGraph.forceApplyPostponedTransformations()}doRemoveRows(e){if(this.rowEffectivelyNotInSheet(e.rowStart,e.sheet))return;const t=[];for(const[a]of this.dependencyGraph.entriesFromRowsSpan(e))t.push({address:a,cellType:this.getClipboardCell(a)});const{affectedArrays:r,contentChanges:n}=this.dependencyGraph.removeRows(e);this.columnSearch.applyChanges(n.getChanges());let i=0;return this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const t=new Ua(e);t.performEagerTransformations(this.dependencyGraph,this.parser),i=this.lazilyTransformingAstService.addTransformation(t)}),this.rewriteAffectedArrays(r),{version:i,removedCells:t,rowFrom:e.rowStart,rowCount:e.numberOfRows}}doRemoveColumns(e){if(this.columnEffectivelyNotInSheet(e.columnStart,e.sheet))return;const t=[];for(const[a]of this.dependencyGraph.entriesFromColumnsSpan(e))t.push({address:a,cellType:this.getClipboardCell(a)});const{affectedArrays:r,contentChanges:n}=this.dependencyGraph.removeColumns(e);this.columnSearch.applyChanges(n.getChanges()),this.columnSearch.removeColumns(e);let i=0;return this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const t=new Ba(e);t.performEagerTransformations(this.dependencyGraph,this.parser),i=this.lazilyTransformingAstService.addTransformation(t)}),this.rewriteAffectedArrays(r),{version:i,removedCells:t,columnFrom:e.columnStart,columnCount:e.numberOfColumns}}doAddRows(e){if(this.rowEffectivelyNotInSheet(e.rowStart,e.sheet))return;const{affectedArrays:t}=this.dependencyGraph.addRows(e);this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const t=new Pa(e);t.performEagerTransformations(this.dependencyGraph,this.parser),this.lazilyTransformingAstService.addTransformation(t)}),this.rewriteAffectedArrays(t)}rewriteAffectedArrays(e){for(const t of e.values()){if(t.array.size.isRef)continue;const e=t.getFormula(this.lazilyTransformingAstService),r=t.getAddress(this.lazilyTransformingAstService),n=this.parser.computeHashFromAst(e);this.setFormulaToCellFromCache(n,r)}}doAddColumns(e){if(this.columnEffectivelyNotInSheet(e.columnStart,e.sheet))return;const{affectedArrays:t,contentChanges:r}=this.dependencyGraph.addColumns(e);this.columnSearch.addColumns(e),this.columnSearch.applyChanges(r.getChanges()),this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const t=new Da(e);t.performEagerTransformations(this.dependencyGraph,this.parser),this.lazilyTransformingAstService.addTransformation(t)}),this.rewriteAffectedArrays(t)}columnEffectivelyNotInSheet(e,t){const r=this.dependencyGraph.addressMapping.getWidth(t);return e>=r}adjustNamedExpressionEdges(e,t,r){if(void 0===r)return;const{vertex:n,id:i}=this.dependencyGraph.fetchCellOrCreateEmpty(e.address),a=null!==i&&void 0!==i?i:this.dependencyGraph.graph.getNodeId(n),o=this.namedExpressions.workbookNamedExpressionOrPlaceholder(t),{vertex:s,id:l}=this.dependencyGraph.fetchCellOrCreateEmpty(o.address),u=null!==l&&void 0!==l?l:this.dependencyGraph.graph.getNodeId(s);for(const c of this.dependencyGraph.graph.adjacentNodes(s))if(c instanceof xr&&c.getAddress(this.lazilyTransformingAstService).sheet===r){const t=c.getFormula(this.lazilyTransformingAstService),r=c.getAddress(this.lazilyTransformingAstService),{dependencies:n}=this.parser.fetchCachedResultForAst(t);for(const i of yt(n,r))i instanceof bt&&i.name.toLowerCase()===e.displayName.toLowerCase()&&(this.dependencyGraph.graph.removeEdge(u,c),this.dependencyGraph.graph.addEdge(a,c))}}storeNamedExpressionInCell(e,t){const r=this.cellContentParser.parse(t);if(r instanceof wa.Formula){const t=this.parser.parse(r.formula,pn(-1,0,0));if(ka(t.ast))throw new br;const{ast:n,hasVolatileFunction:i,hasStructuralChangeFunction:a,dependencies:o}=t;this.dependencyGraph.setFormulaToCell(e,n,yt(o,e),ei.scalar(),i,a)}else r instanceof wa.Empty?this.setCellEmpty(e):this.setValueToCell({parsedValue:r.value,rawValue:t},e)}updateNamedExpressionsForMovedCells(e,t,r,n){if(e.sheet===n.sheet)return[];const i=[],a=En.spanFrom(n,t,r);for(const o of a.addresses(this.dependencyGraph)){const t=this.addressMapping.fetchCell(o);if(t instanceof xr&&o.sheet!==e.sheet){const r=t.getFormula(this.lazilyTransformingAstService),{dependencies:n}=this.parser.fetchCachedResultForAst(r);i.push(...this.updateNamedExpressionsForTargetAddress(e.sheet,o,n))}}return i}updateNamedExpressionsForTargetAddress(e,t,r){if(e===t.sheet)return[];const n=[],i=this.addressMapping.fetchCell(t);for(const a of yt(r,t)){if(!(a instanceof bt))continue;const r=a.name,o=this.dependencyGraph.fetchNamedExpressionVertex(r,e).vertex,s=this.namedExpressions.isExpressionInScope(r,t.sheet),l=s?this.dependencyGraph.fetchNamedExpressionVertex(r,t.sheet).vertex:this.copyOrFetchGlobalNamedExpressionVertex(r,o,n);l!==o&&(this.dependencyGraph.graph.removeEdgeIfExists(o,i),this.dependencyGraph.graph.addEdge(l,i))}return n}allocateNamedExpressionAddressSpace(){this.dependencyGraph.addressMapping.addSheet(La.SHEET_FOR_WORKBOOK_EXPRESSIONS,new Zr(0,0))}copyOrFetchGlobalNamedExpressionVertex(e,t,r){let n=this.namedExpressions.namedExpressionForScope(e);if(void 0===n)if(n=this.namedExpressions.addNamedExpression(e),r.push(n.normalizeExpressionName()),t instanceof xr){const e=this.parser.fetchCachedResultForAst(t.getFormula(this.lazilyTransformingAstService)),{ast:r,hasVolatileFunction:i,hasStructuralChangeFunction:a,dependencies:o}=e;this.dependencyGraph.setFormulaToCell(n.address,r,yt(o,n.address),ei.scalar(),i,a)}else t instanceof Gr?this.setCellEmpty(n.address):t instanceof Kr&&this.setValueToCell(t.getValues(),n.address);return this.dependencyGraph.fetchCellOrCreateEmpty(n.address).vertex}}function Za(e){if(e.length<=1)return e;const t=[...e].sort(([e],[t])=>e-t),r=t.reduce((e,[t,r])=>{const n=e[e.length-1],i=n[0]+n[1];return t<=i?n[1]+=Math.max(0,r-(i-t)):e.push([t,r]),e},[t[0]]);let n=0;for(let i=0;i<r.length;++i)r[i][0]-=n,n+=r[i][1];return r}function $a(e){if(e.length<=1)return e;const t=[...e].sort(([e],[t])=>e-t),r=t.reduce((e,[t,r])=>{const n=e[e.length-1];return t===n[0]?n[1]=Math.max(n[1],r):e.push([t,r]),e},[t[0]]);let n=0;for(let i=0;i<r.length;++i)r[i][0]+=n,n+=r[i][1];return r}function Ja(e){return Number.isInteger(e)&&e>0}function Qa(e,t,r){return 0===e.row&&Ja(t)&&r===Number.POSITIVE_INFINITY||0===e.col&&Ja(r)&&t===Number.POSITIVE_INFINITY}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class eo{}class to extends eo{constructor(e,t){super(),this.command=e,this.rowsRemovals=t}doUndo(e){e.undoRemoveRows(this)}doRedo(e){e.redoRemoveRows(this)}}class ro extends eo{constructor(e,t,r,n,i,a,o){super(),this.sourceLeftCorner=e,this.width=t,this.height=r,this.destinationLeftCorner=n,this.overwrittenCellsData=i,this.addedGlobalNamedExpressions=a,this.version=o}doUndo(e){e.undoMoveCells(this)}doRedo(e){e.redoMoveCells(this)}}class no extends eo{constructor(e){super(),this.command=e}doUndo(e){e.undoAddRows(this)}doRedo(e){e.redoAddRows(this)}}class io extends eo{constructor(e,t,r){super(),this.sheetId=e,this.rowMapping=t,this.oldContent=r}doUndo(e){e.undoSetRowOrder(this)}doRedo(e){e.redoSetRowOrder(this)}}class ao extends eo{constructor(e,t,r){super(),this.sheetId=e,this.columnMapping=t,this.oldContent=r}doUndo(e){e.undoSetColumnOrder(this)}doRedo(e){e.redoSetColumnOrder(this)}}class oo extends eo{constructor(e,t,r){super(),this.sheetId=e,this.oldSheetContent=t,this.newSheetContent=r}doUndo(e){e.undoSetSheetContent(this)}doRedo(e){e.redoSetSheetContent(this)}}class so extends eo{constructor(e,t,r,n,i){super(),this.sheet=e,this.startRow=t,this.numberOfRows=r,this.targetRow=n,this.version=i,this.undoStart=this.startRow<this.targetRow?this.targetRow-this.numberOfRows:this.targetRow,this.undoEnd=this.startRow>this.targetRow?this.startRow+this.numberOfRows:this.startRow}doUndo(e){e.undoMoveRows(this)}doRedo(e){e.redoMoveRows(this)}}class lo extends eo{constructor(e,t,r,n,i){super(),this.sheet=e,this.startColumn=t,this.numberOfColumns=r,this.targetColumn=n,this.version=i,this.undoStart=this.startColumn<this.targetColumn?this.targetColumn-this.numberOfColumns:this.targetColumn,this.undoEnd=this.startColumn>this.targetColumn?this.startColumn+this.numberOfColumns:this.startColumn}doUndo(e){e.undoMoveColumns(this)}doRedo(e){e.redoMoveColumns(this)}}class uo extends eo{constructor(e){super(),this.command=e}doUndo(e){e.undoAddColumns(this)}doRedo(e){e.redoAddColumns(this)}}class co extends eo{constructor(e,t){super(),this.command=e,this.columnsRemovals=t}doUndo(e){e.undoRemoveColumns(this)}doRedo(e){e.redoRemoveColumns(this)}}class ho extends eo{constructor(e){super(),this.sheetName=e}doUndo(e){e.undoAddSheet(this)}doRedo(e){e.redoAddSheet(this)}}class po extends eo{constructor(e,t,r,n,i){super(),this.sheetName=e,this.sheetId=t,this.oldSheetContent=r,this.scopedNamedExpressions=n,this.version=i}doUndo(e){e.undoRemoveSheet(this)}doRedo(e){e.redoRemoveSheet(this)}}class fo extends eo{constructor(e,t,r){super(),this.sheetId=e,this.oldName=t,this.newName=r}doUndo(e){e.undoRenameSheet(this)}doRedo(e){e.redoRenameSheet(this)}}class mo extends eo{constructor(e,t){super(),this.sheetId=e,this.oldSheetContent=t}doUndo(e){e.undoClearSheet(this)}doRedo(e){e.redoClearSheet(this)}}class go extends eo{constructor(e){super(),this.cellContents=e}doUndo(e){e.undoSetCellContents(this)}doRedo(e){e.redoSetCellContents(this)}}class vo extends eo{constructor(e,t,r,n){super(),this.targetLeftCorner=e,this.oldContent=t,this.newContent=r,this.addedGlobalNamedExpressions=n}doUndo(e){e.undoPaste(this)}doRedo(e){e.redoPaste(this)}}class bo extends eo{constructor(e,t,r,n){super(),this.name=e,this.newContent=t,this.scope=r,this.options=n}doUndo(e){e.undoAddNamedExpression(this)}doRedo(e){e.redoAddNamedExpression(this)}}class yo extends eo{constructor(e,t,r){super(),this.namedExpression=e,this.content=t,this.scope=r}doUndo(e){e.undoRemoveNamedExpression(this)}doRedo(e){e.redoRemoveNamedExpression(this)}}class wo extends eo{constructor(e,t,r,n,i){super(),this.namedExpression=e,this.newContent=t,this.oldContent=r,this.scope=n,this.options=i}doUndo(e){e.undoChangeNamedExpression(this)}doRedo(e){e.redoChangeNamedExpression(this)}}class _o extends eo{constructor(){super(...arguments),this.operations=[]}add(e){this.operations.push(e)}*reversedOperations(){for(let e=this.operations.length-1;e>=0;e--)yield this.operations[e]}doUndo(e){e.undoBatch(this)}doRedo(e){e.redoBatch(this)}}class So{constructor(e,t){this.operations=t,this.oldData=new Map,this.undoStack=[],this.redoStack=[],this.undoLimit=e.undoLimit}saveOperation(e){void 0!==this.batchUndoEntry?this.batchUndoEntry.add(e):this.addUndoEntry(e)}beginBatchMode(){this.batchUndoEntry=new _o}commitBatchMode(){if(void 0===this.batchUndoEntry)throw Error("Batch mode wasn't started");this.addUndoEntry(this.batchUndoEntry),this.batchUndoEntry=void 0}storeDataForVersion(e,t,r){this.oldData.has(e)||this.oldData.set(e,[]);const n=this.oldData.get(e);n.push([t,r])}clearRedoStack(){this.redoStack=[]}clearUndoStack(){this.undoStack=[]}isUndoStackEmpty(){return 0===this.undoStack.length}isRedoStackEmpty(){return 0===this.redoStack.length}undo(){const e=this.undoStack.pop();if(!e)throw Error("Attempted to undo without operation on stack");this.undoEntry(e),this.redoStack.push(e)}undoBatch(e){for(const t of e.reversedOperations())this.undoEntry(t)}undoRemoveRows(e){this.operations.forceApplyPostponedTransformations();const{command:{sheet:t},rowsRemovals:r}=e;for(let n=r.length-1;n>=0;--n){const e=r[n];this.operations.addRows(new qa(t,[[e.rowFrom,e.rowCount]]));for(const{address:t,cellType:r}of e.removedCells)this.operations.restoreCell(t,r);this.restoreOldDataFromVersion(e.version-1)}}undoRemoveColumns(e){this.operations.forceApplyPostponedTransformations();const{command:{sheet:t},columnsRemovals:r}=e;for(let n=r.length-1;n>=0;--n){const e=r[n];this.operations.addColumns(new Ga(t,[[e.columnFrom,e.columnCount]]));for(const{address:t,cellType:r}of e.removedCells)this.operations.restoreCell(t,r);this.restoreOldDataFromVersion(e.version-1)}}undoAddRows(e){const t=e.command.rowsSpans();for(let r=t.length-1;r>=0;--r){const n=t[r];this.operations.removeRows(new Wa(e.command.sheet,[[n.rowStart,n.numberOfRows]]))}}undoAddColumns(e){const t=e.command.columnsSpans();for(let r=t.length-1;r>=0;--r){const n=t[r];this.operations.removeColumns(new Ka(e.command.sheet,[[n.columnStart,n.numberOfColumns]]))}}undoSetCellContents(e){for(const t of e.cellContents){const e=t.address,[r,n]=t.oldContent;yn(e,r)||this.operations.setCellEmpty(e),this.operations.restoreCell(r,n)}}undoPaste(e){this.restoreOperationOldContent(e.oldContent);for(const t of e.addedGlobalNamedExpressions)this.operations.removeNamedExpression(t)}undoMoveRows(e){const{sheet:t}=e;this.operations.moveRows(t,e.undoStart,e.numberOfRows,e.undoEnd),this.restoreOldDataFromVersion(e.version-1)}undoMoveColumns(e){const{sheet:t}=e;this.operations.moveColumns(t,e.undoStart,e.numberOfColumns,e.undoEnd),this.restoreOldDataFromVersion(e.version-1)}undoMoveCells(e){this.operations.forceApplyPostponedTransformations(),this.operations.moveCells(e.destinationLeftCorner,e.width,e.height,e.sourceLeftCorner),this.restoreOperationOldContent(e.overwrittenCellsData),this.restoreOldDataFromVersion(e.version-1);for(const t of e.addedGlobalNamedExpressions)this.operations.removeNamedExpression(t)}undoAddSheet(e){const{sheetName:t}=e;this.operations.removeSheetByName(t)}undoRemoveSheet(e){this.operations.forceApplyPostponedTransformations();const{oldSheetContent:t,sheetId:r}=e;this.operations.addSheet(e.sheetName);for(let n=0;n<t.length;n++){const e=t[n];for(let t=0;t<e.length;t++){const i=e[t],a=pn(r,t,n);this.operations.restoreCell(a,i)}}for(const[n,i]of e.scopedNamedExpressions)this.operations.restoreNamedExpression(n,i,r);this.restoreOldDataFromVersion(e.version-1)}undoRenameSheet(e){this.operations.renameSheet(e.sheetId,e.oldName)}undoClearSheet(e){const{oldSheetContent:t,sheetId:r}=e;for(let n=0;n<t.length;n++){const e=t[n];for(let t=0;t<e.length;t++){const i=e[t],a=pn(r,t,n);this.operations.restoreCell(a,i)}}}undoSetSheetContent(e){const{oldSheetContent:t,sheetId:r}=e;this.operations.clearSheet(r);for(let n=0;n<t.length;n++){const e=t[n];for(let t=0;t<e.length;t++){const i=e[t],a=pn(r,t,n);this.operations.restoreCell(a,i)}}}undoAddNamedExpression(e){this.operations.removeNamedExpression(e.name,e.scope)}undoRemoveNamedExpression(e){this.operations.restoreNamedExpression(e.namedExpression,e.content,e.scope)}undoChangeNamedExpression(e){this.operations.restoreNamedExpression(e.namedExpression,e.oldContent,e.scope)}undoSetRowOrder(e){this.restoreOperationOldContent(e.oldContent)}undoSetColumnOrder(e){this.restoreOperationOldContent(e.oldContent)}redo(){const e=this.redoStack.pop();if(!e)throw Error("Attempted to redo without operation on stack");this.redoEntry(e),this.undoStack.push(e)}redoBatch(e){for(const t of e.operations)this.redoEntry(t)}redoRemoveRows(e){this.operations.removeRows(e.command)}redoMoveCells(e){this.operations.moveCells(e.sourceLeftCorner,e.width,e.height,e.destinationLeftCorner)}redoRemoveColumns(e){this.operations.removeColumns(e.command)}redoPaste(e){const{targetLeftCorner:t,newContent:r}=e,n=r.length,i=r[0].length;for(let a=0;a<n;++a)for(let e=0;e<i;++e){const n=pn(t.sheet,t.col+e,t.row+a);this.operations.restoreCell(n,r[a][e])}}redoSetCellContents(e){for(const t of e.cellContents)this.operations.setCellContent(t.address,t.newContent)}redoAddRows(e){this.operations.addRows(e.command)}redoAddColumns(e){this.operations.addColumns(e.command)}redoRemoveSheet(e){this.operations.removeSheetByName(e.sheetName)}redoAddSheet(e){this.operations.addSheet(e.sheetName)}redoRenameSheet(e){this.operations.renameSheet(e.sheetId,e.newName)}redoMoveRows(e){this.operations.moveRows(e.sheet,e.startRow,e.numberOfRows,e.targetRow)}redoMoveColumns(e){this.operations.moveColumns(e.sheet,e.startColumn,e.numberOfColumns,e.targetColumn)}redoClearSheet(e){this.operations.clearSheet(e.sheetId)}redoSetSheetContent(e){const{sheetId:t,newSheetContent:r}=e;this.operations.setSheetContent(t,r)}redoAddNamedExpression(e){this.operations.addNamedExpression(e.name,e.newContent,e.scope,e.options)}redoRemoveNamedExpression(e){this.operations.removeNamedExpression(e.namedExpression.displayName,e.scope)}redoChangeNamedExpression(e){this.operations.changeNamedExpressionExpression(e.namedExpression.displayName,e.newContent,e.scope,e.options)}redoSetRowOrder(e){this.operations.setRowOrder(e.sheetId,e.rowMapping)}redoSetColumnOrder(e){this.operations.setColumnOrder(e.sheetId,e.columnMapping)}addUndoEntry(e){this.undoStack.push(e),this.undoStack.splice(0,Math.max(0,this.undoStack.length-this.undoLimit))}undoEntry(e){e.doUndo(this)}restoreOperationOldContent(e){for(const[t,r]of e)this.operations.restoreCell(t,r)}redoEntry(e){e.doRedo(this)}restoreOldDataFromVersion(e){const t=this.oldData.get(e)||[];for(const r of t){const[e,t]=r;this.operations.setFormulaToCellFromCache(t,e)}}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Eo{constructor(e,t,r,n,i,a,o,s,l,u){this.operations=t,this.undoRedo=r,this.clipboardOperations=n,this.dependencyGraph=i,this.columnSearch=a,this.parser=o,this.cellContentParser=s,this.lazilyTransformingAstService=l,this.namedExpressions=u,this.maxRows=e.maxRows,this.maxColumns=e.maxColumns}get sheetMapping(){return this.dependencyGraph.sheetMapping}addRows(e,...t){const r=new qa(e,t);this.ensureItIsPossibleToAddRows(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.operations.addRows(r),this.undoRedo.saveOperation(new no(r))}removeRows(e,...t){const r=new Wa(e,t);this.ensureItIsPossibleToRemoveRows(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const n=this.operations.removeRows(r);this.undoRedo.saveOperation(new to(r,n))}addColumns(e,...t){const r=new Ga(e,t);this.ensureItIsPossibleToAddColumns(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.operations.addColumns(r),this.undoRedo.saveOperation(new uo(r))}removeColumns(e,...t){const r=new Ka(e,t);this.ensureItIsPossibleToRemoveColumns(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const n=this.operations.removeColumns(r);this.undoRedo.saveOperation(new co(r,n))}moveCells(e,t,r,n){this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const{version:i,overwrittenCellsData:a,addedGlobalNamedExpressions:o}=this.operations.moveCells(e,t,r,n);this.undoRedo.saveOperation(new ro(e,t,r,n,a,o,i))}moveRows(e,t,r,n){this.ensureItIsPossibleToMoveRows(e,t,r,n),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const i=this.operations.moveRows(e,t,r,n);this.undoRedo.saveOperation(new so(e,t,r,n,i))}moveColumns(e,t,r,n){this.ensureItIsPossibleToMoveColumns(e,t,r,n),this.undoRedo.clearRedoStack();const i=this.operations.moveColumns(e,t,r,n);this.undoRedo.saveOperation(new lo(e,t,r,n,i))}cut(e,t,r){this.clipboardOperations.cut(e,t,r)}ensureItIsPossibleToCopy(e,t,r){if(!Mo(t))throw new Kt("width to be positive integer.");if(!Mo(r))throw new Kt("height to be positive integer.")}copy(e,t,r){this.ensureItIsPossibleToCopy(e,t,r),this.clipboardOperations.copy(e,t,r)}paste(e){const t=this.clipboardOperations.clipboard;if(void 0===t)throw new tr;if(this.clipboardOperations.isCutClipboard())this.moveCells(t.sourceLeftCorner,t.width,t.height,e);else if(this.clipboardOperations.isCopyClipboard()){this.clipboardOperations.ensureItIsPossibleToCopyPaste(e);const r=En.spanFrom(e,t.width,t.height),n=this.operations.getRangeClipboardCells(r);this.undoRedo.clearRedoStack();const i=this.operations.restoreClipboardCells(t.sourceLeftCorner.sheet,t.getContent(e));this.undoRedo.saveOperation(new vo(e,n,t.content,i))}}beginUndoRedoBatchMode(){this.undoRedo.beginBatchMode()}commitUndoRedoBatchMode(){this.undoRedo.commitBatchMode()}isClipboardEmpty(){return void 0===this.clipboardOperations.clipboard}clearClipboard(){this.clipboardOperations.clear()}addSheet(e){void 0!==e&&this.ensureItIsPossibleToAddSheet(e),this.undoRedo.clearRedoStack();const t=this.operations.addSheet(e);return this.undoRedo.saveOperation(new ho(t)),t}removeSheet(e){this.ensureScopeIdIsValid(e),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const t=this.sheetMapping.fetchDisplayName(e),r=this.operations.getSheetClipboardCells(e),{version:n,scopedNamedExpressions:i}=this.operations.removeSheet(e);this.undoRedo.saveOperation(new po(t,e,r,i,n))}renameSheet(e,t){this.ensureItIsPossibleToRenameSheet(e,t);const r=this.operations.renameSheet(e,t);return void 0!==r&&(this.undoRedo.clearRedoStack(),this.undoRedo.saveOperation(new fo(e,r,t))),r}clearSheet(e){this.ensureScopeIdIsValid(e),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const t=this.operations.getSheetClipboardCells(e);this.operations.clearSheet(e),this.undoRedo.saveOperation(new mo(e,t))}setCellContents(e,t){if(t instanceof Array){for(let n=0;n<t.length;n++)if(!(t[n]instanceof Array))throw new Kt("an array of arrays or a raw cell value.")}else t=[[t]];this.ensureItIsPossibleToChangeCellContents(e,t),this.undoRedo.clearRedoStack();const r=[];for(let n=0;n<t.length;n++)for(let i=0;i<t[n].length;i++){const a={sheet:e.sheet,row:e.row+n,col:e.col+i},o=t[n][i];this.clipboardOperations.abortCut();const s=this.operations.setCellContent(a,o);r.push({address:a,newContent:o,oldContent:s})}this.undoRedo.saveOperation(new go(r))}setSheetContent(e,t){this.ensureScopeIdIsValid(e),this.ensureItIsPossibleToChangeSheetContents(e,t),Ya(t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const r=this.operations.getSheetClipboardCells(e);this.operations.setSheetContent(e,t),this.undoRedo.saveOperation(new oo(e,r,t))}setRowOrder(e,t){this.validateSwapRowIndexes(e,t),this.testRowOrderForArrays(e,t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const r=this.operations.setRowOrder(e,t);this.undoRedo.saveOperation(new io(e,t,r))}validateSwapRowIndexes(e,t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);this.validateRowOrColumnMapping(e,t,"row")}testColumnOrderForArrays(e,t){for(const[r,n]of t)if(r!==n){const t=En.spanFrom({sheet:e,col:r,row:0},1,1/0);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(t))throw new gr}}setColumnOrder(e,t){this.validateSwapColumnIndexes(e,t),this.testColumnOrderForArrays(e,t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const r=this.operations.setColumnOrder(e,t);this.undoRedo.saveOperation(new ao(e,t,r))}validateSwapColumnIndexes(e,t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);this.validateRowOrColumnMapping(e,t,"column")}testRowOrderForArrays(e,t){for(const[r,n]of t)if(r!==n){const t=En.spanFrom({sheet:e,col:0,row:r},1/0,1);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(t))throw new gr}}mappingFromOrder(e,t,r){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);const n="row"===r?this.dependencyGraph.getSheetHeight(e):this.dependencyGraph.getSheetWidth(e);if(t.length!==n)throw new Kt(`number of ${r}s provided to be sheet ${"row"===r?"height":"width"}.`);const i=[];for(let a=0;a<n;a++)t[a]!==a&&i.push([a,t[a]]);return i}undo(){if(this.undoRedo.isUndoStackEmpty())throw new Qt;this.clipboardOperations.abortCut(),this.undoRedo.undo()}redo(){if(this.undoRedo.isRedoStackEmpty())throw new er;this.clipboardOperations.abortCut(),this.undoRedo.redo()}addNamedExpression(e,t,r,n){this.ensureItIsPossibleToAddNamedExpression(e,t,r),this.operations.addNamedExpression(e,t,r,n),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.undoRedo.saveOperation(new bo(e,t,r,n))}changeNamedExpressionExpression(e,t,r,n){this.ensureItIsPossibleToChangeNamedExpression(e,r,t);const[i,a]=this.operations.changeNamedExpressionExpression(e,r,t,n);this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.undoRedo.saveOperation(new wo(i,r,a,t,n))}removeNamedExpression(e,t){this.ensureScopeIdIsValid(t);const[r,n]=this.operations.removeNamedExpression(e,t);return this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.undoRedo.saveOperation(new yo(r,n,t)),r}ensureItIsPossibleToAddNamedExpression(e,t,r){this.ensureScopeIdIsValid(r),this.ensureNamedExpressionNameIsValid(e,r),this.ensureNamedExpressionIsValid(t)}ensureItIsPossibleToChangeNamedExpression(e,t,r){if(this.ensureScopeIdIsValid(r),void 0===this.namedExpressions.namedExpressionForScope(e,r))throw new Jt(e);this.ensureNamedExpressionIsValid(t)}isItPossibleToRemoveNamedExpression(e,t){if(this.ensureScopeIdIsValid(t),void 0===this.namedExpressions.namedExpressionForScope(e,t))throw new Jt(e)}ensureItIsPossibleToAddRows(e,...t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);const r=this.dependencyGraph.getSheetHeight(e),n=t.map(e=>e[1]).reduce((e,t)=>e+t,0);if(r+n>this.maxRows)throw new Wt;for(const[i,a]of t)if(!To(i)||!Mo(a))throw new Kt("row number to be nonnegative and number of rows to add to be positive.")}ensureItIsPossibleToRemoveRows(e,...t){for(const[r,n]of t){const t=r+n-1;if(!To(r)||!To(t))throw new Kt("starting and ending row to be nonnegative.");if(t<r)throw new Kt("starting row to be smaller than the ending row.");if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e)}}ensureItIsPossibleToAddColumns(e,...t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);const r=this.dependencyGraph.getSheetWidth(e),n=t.map(e=>e[1]).reduce((e,t)=>e+t,0);if(r+n>this.maxColumns)throw new Wt;for(const[i,a]of t)if(!To(i)||!Mo(a))throw new Kt("column number to be nonnegative and number of columns to add to be positive.")}ensureItIsPossibleToRemoveColumns(e,...t){for(const[r,n]of t){const t=r+n-1;if(!To(r)||!To(t))throw new Kt("starting and ending column to be nonnegative.");if(t<r)throw new Kt("starting column to be smaller than the ending column.");if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e)}}ensureItIsPossibleToMoveRows(e,t,r,n){this.ensureItIsPossibleToAddRows(e,[n,r]);const i=pn(e,0,t),a=pn(e,0,n);if(!this.sheetMapping.hasSheetWithId(e)||fn(i)||fn(a)||!Mo(r)||n<=t+r&&n>=t)throw new Kt("a valid range of rows to move.");const o=this.dependencyGraph.getSheetWidth(e),s=En.spanFrom(i,o,r);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(s))throw new gr;if(n>0&&this.dependencyGraph.arrayMapping.isFormulaArrayInAllRows(Ft.fromNumberOfRows(e,n-1,2)))throw new vr}ensureItIsPossibleToMoveColumns(e,t,r,n){this.ensureItIsPossibleToAddColumns(e,[n,r]);const i=pn(e,t,0),a=pn(e,n,0);if(!this.sheetMapping.hasSheetWithId(e)||fn(i)||fn(a)||!Mo(r)||n<=t+r&&n>=t)throw new Kt("a valid range of columns to move.");const o=this.dependencyGraph.getSheetHeight(e),s=En.spanFrom(i,r,o);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(s))throw new gr;if(n>0&&this.dependencyGraph.arrayMapping.isFormulaArrayInAllColumns(Ht.fromNumberOfColumns(e,n-1,2)))throw new vr}ensureItIsPossibleToAddSheet(e){if(this.sheetMapping.hasSheetWithName(e))throw new zt(e)}ensureItIsPossibleToRenameSheet(e,t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);const r=this.sheetMapping.get(t);if(void 0!==r&&r!==e)throw new zt(t)}ensureItIsPossibleToChangeContent(e){if(fn(e))throw new Gt(e);if(!this.sheetMapping.hasSheetWithId(e.sheet))throw new Vt(e.sheet)}ensureItIsPossibleToChangeCellContents(e,t){const r=za(t),n=En.spanFrom(e,r.width,r.height);this.ensureRangeInSizeLimits(n);for(const i of n.addresses(this.dependencyGraph))this.ensureItIsPossibleToChangeContent(i)}ensureItIsPossibleToChangeSheetContents(e,t){const r=za(t),n=En.spanFrom(pn(e,0,0),r.width,r.height);this.ensureRangeInSizeLimits(n)}ensureRangeInSizeLimits(e){if(e.exceedsSheetSizeLimits(this.maxColumns,this.maxRows))throw new Wt}isThereSomethingToUndo(){return!this.undoRedo.isUndoStackEmpty()}isThereSomethingToRedo(){return!this.undoRedo.isRedoStackEmpty()}getAndClearContentChanges(){return this.operations.getAndClearContentChanges()}ensureScopeIdIsValid(e){if(void 0!==e&&!this.sheetMapping.hasSheetWithId(e))throw new Vt(e)}validateRowOrColumnMapping(e,t,r){const n="row"===r?this.dependencyGraph.getSheetHeight(e):this.dependencyGraph.getSheetWidth(e),i=t.map(([e,t])=>e).sort((e,t)=>e-t),a=t.map(([e,t])=>t).sort((e,t)=>e-t);for(let o=0;o<i.length;o++){if(!To(i[o])||i[o]>=n)throw new Kt(`${r} numbers to be nonnegative integers and less than sheet ${"row"===r?"height":"width"}.`);if(i[o]===i[o+1])throw new Kt(`source ${r} numbers to be unique.`);if(i[o]!==a[o])throw new Kt(`target ${r} numbers to be permutation of source ${r} numbers.`)}}ensureNamedExpressionNameIsValid(e,t){if(!this.namedExpressions.isNameValid(e))throw new $t(e);if(!this.namedExpressions.isNameAvailable(e,t))throw new Zt(e)}ensureNamedExpressionIsValid(e){const t=this.cellContentParser.parse(e);if(t instanceof wa.Formula){const e=this.parser.parse(t.formula,pn(-1,0,0));if(ka(e.ast))throw new br}}}function Mo(e){return Number.isInteger(e)&&e>0}function To(e){return Number.isInteger(e)&&e>=0}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Co{constructor(e,t,r,n,i,a){this.config=e,this.stats=t,this.interpreter=r,this.lazilyTransformingAstService=n,this.dependencyGraph=i,this.columnSearch=a}run(){this.stats.start(Lt.TOP_SORT);const{sorted:e,cycled:t}=this.dependencyGraph.topSortWithScc();this.stats.end(Lt.TOP_SORT),this.stats.measure(Lt.EVALUATION,()=>{this.recomputeFormulas(t,e)})}partialRun(e){const t=jt.empty();return this.stats.measure(Lt.EVALUATION,()=>{this.dependencyGraph.graph.getTopSortedWithSccSubgraphFrom(e,e=>{if(e instanceof Tr){const r=e.isComputed()?e.getCellValue():void 0,n=this.recomputeFormulaVertexValue(e);if(n!==r){const i=e.getAddress(this.lazilyTransformingAstService);return t.addChange(n,i),this.columnSearch.change(St(r),St(n),i),!0}return!1}return!(e instanceof Ar)||(e.clearCache(),!0)},e=>{if(e instanceof Ar)e.clearCache();else if(e instanceof Tr){const r=e.getAddress(this.lazilyTransformingAstService);this.columnSearch.remove(St(e.valueOrUndef()),r);const n=new ln(Ur.CYCLE,void 0,e);e.setCellValue(n),t.addChange(n,r)}})}),t}runAndForget(e,t,r){const n=[];for(const a of yt(r,t))if(a instanceof En){const e=a;if(void 0===this.dependencyGraph.getRange(e.start,e.end)){const t=new Ar(e);this.dependencyGraph.rangeMapping.setRange(t),n.push(t)}}const i=this.evaluateAstToCellValue(e,new Cn(t,this.config.useArrayArithmetic));return n.forEach(e=>{this.dependencyGraph.rangeMapping.removeRange(e)}),i}recomputeFormulas(e,t){e.forEach(e=>{e instanceof Tr&&e.setCellValue(new ln(Ur.CYCLE,void 0,e))}),t.forEach(e=>{if(e instanceof Tr){const t=this.recomputeFormulaVertexValue(e),r=e.getAddress(this.lazilyTransformingAstService);this.columnSearch.add(St(t),r)}else e instanceof Ar&&e.clearCache()})}recomputeFormulaVertexValue(e){const t=e.getAddress(this.lazilyTransformingAstService);if(e instanceof Cr&&(e.array.size.isRef||!this.dependencyGraph.isThereSpaceForArray(e)))return e.setNoSpace();{const r=e.getFormula(this.lazilyTransformingAstService),n=this.evaluateAstToCellValue(r,new Cn(t,this.config.useArrayArithmetic,e));return e.setCellValue(n)}}evaluateAstToCellValue(e,t){const r=this.interpreter.evaluateAst(e,t);return r instanceof Pt?r:r===_t&&this.config.evaluateNullToZero?0:r}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class xo{constructor(e,t){this.address=e,this.newValue=t}get col(){return this.address.col}get row(){return this.address.row}get sheet(){return this.address.sheet}get value(){return this.newValue}}class Ao{constructor(e,t){this.name=e,this.newValue=t}}class No{constructor(e,t,r,n){this.config=e,this.namedExpressions=t,this.sheetIndexMapping=r,this.lazilyTransformingService=n}exportChange(e){const t=e.value,r=e.address;if(r.sheet===La.SHEET_FOR_WORKBOOK_EXPRESSIONS){const e=this.namedExpressions.namedExpressionInAddress(r.row);if(!e)throw new Error("Missing named expression");return new Ao(e.displayName,this.exportScalarOrRange(t))}if(t instanceof Pt){const e=[];for(const[n,i]of t.entriesFromTopLeftCorner(r))e.push(new xo(i,this.exportValue(n)));return e}return new xo(r,this.exportValue(t))}exportValue(e){return e instanceof Pt?this.detailedError(new ln(Ur.VALUE,xe.ScalarExpected)):this.config.smartRounding&&Ot(e)?this.cellValueRounding(St(e)):e instanceof ln?this.detailedError(e):e===_t?null:St(e)}exportScalarOrRange(e){return e instanceof Pt?e.rawData().map(e=>e.map(e=>this.exportValue(e))):this.exportValue(e)}detailedError(e){var t,r;let n=void 0;const i=null===(t=e.root)||void 0===t?void 0:t.getAddress(this.lazilyTransformingService);return void 0!==i&&(n=i.sheet===La.SHEET_FOR_WORKBOOK_EXPRESSIONS?null===(r=this.namedExpressions.namedExpressionInAddress(i.row))||void 0===r?void 0:r.displayName:D(this.sheetIndexMapping,i,-1)),new ii(e,this.config.translationPackage.getErrorTranslation(e.type),n)}cellValueRounding(e){if(0===e)return e;const t=Math.floor(Math.log10(Math.abs(e))),r=Math.pow(10,this.config.precisionRounding-t);return e<0?-Math.round(-e*r)/r:Math.round(e*r)/r}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Oo{constructor(e,t,r,n,i,a){this.dependencyGraph=e,this.columnSearch=t,this.parser=r,this.cellContentParser=n,this.stats=i,this.arraySizePredictor=a,this.buildStrategy=new Ro(e,t,r,i,n,a)}buildGraph(e,t){const r=t.measure(Lt.COLLECT_DEPENDENCIES,()=>this.buildStrategy.run(e));this.dependencyGraph.getAndClearContentChanges(),t.measure(Lt.PROCESS_DEPENDENCIES,()=>this.processDependencies(r))}processDependencies(e){e.forEach((e,t)=>{this.dependencyGraph.processCellDependencies(e,t)})}}class Ro{constructor(e,t,r,n,i,a){this.dependencyGraph=e,this.columnIndex=t,this.parser=r,this.stats=n,this.cellContentParser=i,this.arraySizePredictor=a}run(e){const t=new Map;for(const r in e){const n=this.dependencyGraph.getSheetId(r),i=e[r];for(let e=0;e<i.length;++e){const r=i[e];for(let i=0;i<r.length;++i){const a=r[i],o=pn(n,i,e),s=this.cellContentParser.parse(a);if(s instanceof wa.Formula){const e=this.stats.measure(Lt.PARSER,()=>this.parser.parse(s.formula,o));if(e.errors.length>0){this.shrinkArrayIfNeeded(o);const t=new Xr(e.errors,s.formula);this.dependencyGraph.addVertex(o,t)}else{this.shrinkArrayIfNeeded(o);const r=this.arraySizePredictor.checkArraySize(e.ast,o);if(r.isScalar()){const r=new xr(e.ast,o,0);t.set(r,yt(e.dependencies,o)),this.dependencyGraph.addVertex(o,r),e.hasVolatileFunction&&this.dependencyGraph.markAsVolatile(r),e.hasStructuralChangeFunction&&this.dependencyGraph.markAsDependentOnStructureChange(r)}else{const n=new Cr(e.ast,o,new ei(r.width,r.height));t.set(n,yt(e.dependencies,o)),this.dependencyGraph.addArrayVertex(o,n)}}}else if(s instanceof wa.Empty);else{this.shrinkArrayIfNeeded(o);const e=new Kr(s.value,a);this.columnIndex.add(St(s.value),o),this.dependencyGraph.addVertex(o,e)}}}}return t}shrinkArrayIfNeeded(e){const t=this.dependencyGraph.getCell(e);t instanceof Cr&&this.dependencyGraph.shrinkArrayToCorner(t)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const Lo=new Map([["gpl-v3",1],["missing",2],["invalid",3],["expired",4]]);class ko extends Qn{version(e,t){return this.runFunction(e.args,t,this.metadata("VERSION"),()=>{const{licenseKeyValidityState:e,licenseKey:t}=this.config;let r;return Lo.has(t)?r=Lo.get(t):Lo.has(e)?r=Lo.get(e):"valid"===e&&(r=t.slice(-5)),`HyperFormula v${ds.version}, ${r}`})}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- function Io(e,t){var r;let n=t.implementedFunctions[e];const i=null===(r=t.aliases)||void 0===r?void 0:r[e];if(void 0!==i){if(void 0!==n)throw new yr(e,t.name);n=t.implementedFunctions[i]}if(void 0===n)throw fr.functionNotDeclaredInPlugin(e,t.name);return n}ko.implementedFunctions={VERSION:{method:"version",parameters:[]}};class Do{constructor(e){if(this.config=e,this.functions=new Map,this.arraySizeFunctions=new Map,this.volatileFunctions=new Set,this.arrayFunctions=new Set,this.structuralChangeFunctions=new Set,this.functionsWhichDoesNotNeedArgumentsToBeComputed=new Set,this.functionsMetadata=new Map,this.doesFunctionNeedArgumentToBeComputed=e=>this.functionsWhichDoesNotNeedArgumentsToBeComputed.has(e),this.isFunctionVolatile=e=>this.volatileFunctions.has(e),this.isArrayFunction=e=>this.arrayFunctions.has(e),this.isFunctionDependentOnSheetStructureChange=e=>this.structuralChangeFunctions.has(e),e.functionPlugins.length>0){this.instancePlugins=new Map;for(const t of e.functionPlugins)Do.loadPluginFunctions(t,this.instancePlugins)}else this.instancePlugins=new Map(Do.plugins);for(const[t,r]of Do.protectedFunctions())Do.loadFunctionUnprotected(r,t,this.instancePlugins);for(const[t,r]of this.instancePlugins.entries())this.categorizeFunction(t,Io(t,r))}static registerFunctionPlugin(e,t){this.loadPluginFunctions(e,this.plugins),void 0!==t&&this.loadTranslations(t)}static registerFunction(e,t,r){this.loadPluginFunction(t,e,this.plugins),void 0!==r&&this.loadTranslations(r)}static unregisterFunction(e){if(this.functionIsProtected(e))throw mr.cannotUnregisterFunctionWithId(e);this.plugins.delete(e)}static unregisterFunctionPlugin(e){for(const t of this.protectedPlugins())if(t===e)throw mr.cannotUnregisterProtectedPlugin();for(const[t,r]of this.plugins.entries())r===e&&this.plugins.delete(t)}static unregisterAll(){this.plugins.clear()}static getRegisteredFunctionIds(){return[...Array.from(this.plugins.keys()),...Array.from(this._protectedPlugins.keys())]}static getPlugins(){return Array.from(new Set(this.plugins.values()).values())}static getFunctionPlugin(e){return this.functionIsProtected(e)?void 0:this.plugins.get(e)}static functionIsProtected(e){return this._protectedPlugins.has(e)}static loadTranslations(e){const t=new Set(ds.getRegisteredLanguagesCodes());Object.keys(e).forEach(r=>{t.has(r)&&ds.getLanguage(r).extendFunctions(e[r])})}static loadPluginFunctions(e,t){Object.keys(e.implementedFunctions).forEach(r=>{this.loadPluginFunction(e,r,t)}),void 0!==e.aliases&&Object.keys(e.aliases).forEach(r=>{this.loadPluginFunction(e,r,t)})}static loadPluginFunction(e,t,r){if(this.functionIsProtected(t))throw mr.cannotRegisterFunctionWithId(t);this.loadFunctionUnprotected(e,t,r)}static loadFunctionUnprotected(e,t,r){const n=Io(t,e).method;if(!Object.prototype.hasOwnProperty.call(e.prototype,n))throw fr.functionMethodNotFound(n,e.name);r.set(t,e)}static*protectedFunctions(){for(const[e,t]of this._protectedPlugins)void 0!==t&&(yield[e,t])}static*protectedPlugins(){for(const[,e]of this._protectedPlugins)void 0!==e&&(yield e)}initializePlugins(e){const t=[];for(const[r,n]of this.instancePlugins.entries()){let i=t.find(e=>e instanceof n);void 0===i&&(i=new n(e),t.push(i));const a=Io(r,n),o=a.method;this.functions.set(r,[o,i]);const s=a.arraySizeMethod;void 0!==s&&this.arraySizeFunctions.set(r,[s,i])}}getFunctionPlugin(e){if(!Do.functionIsProtected(e))return this.instancePlugins.get(e)}getFunction(e){const t=this.functions.get(e);if(void 0!==t&&this.config.translationPackage.isFunctionTranslated(e)){const[e,r]=t;return(t,n)=>r[e](t,n)}}getArraySizeFunction(e){const t=this.arraySizeFunctions.get(e);if(void 0!==t&&this.config.translationPackage.isFunctionTranslated(e)){const[e,r]=t;return(t,n)=>r[e](t,n)}}getMetadata(e){return this.functionsMetadata.get(e)}getPlugins(){const e=new Set;for(const[t,r]of this.instancePlugins)Do.functionIsProtected(t)||e.add(r);return Array.from(e)}getRegisteredFunctionIds(){return Array.from(this.functions.keys())}categorizeFunction(e,t){t.isVolatile&&this.volatileFunctions.add(e),t.arrayFunction&&this.arrayFunctions.add(e),t.doesNotNeedArgumentsToBeComputed&&this.functionsWhichDoesNotNeedArgumentsToBeComputed.add(e),t.isDependentOnSheetStructureChange&&this.structuralChangeFunctions.add(e),this.functionsMetadata.set(e,t)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- var Po;Do.plugins=new Map,Do._protectedPlugins=new Map([["VERSION",ko],["OFFSET",void 0]]),function(e){e["GREATER_THAN"]="GREATER_THAN",e["GREATER_THAN_OR_EQUAL"]="GREATER_THAN_OR_EQUAL",e["LESS_THAN"]="LESS_THAN",e["LESS_THAN_OR_EQUAL"]="LESS_THAN_OR_EQUAL",e["NOT_EQUAL"]="NOT_EQUAL",e["EQUAL"]="EQUAL"}(Po||(Po={}));const jo=(e,t)=>({operator:e,value:t});class Fo{constructor(e){var t,r,n,i;this.trueString=null!==(r=null===(t=e.translationPackage.getMaybeFunctionTranslation("TRUE"))||void 0===t?void 0:t.toLowerCase())&&void 0!==r?r:"true",this.falseString=null!==(i=null===(n=e.translationPackage.getMaybeFunctionTranslation("FALSE"))||void 0===n?void 0:n.toLowerCase())&&void 0!==i?i:"false"}fromCellValue(e,t){if("string"!==typeof e&&"boolean"!==typeof e&&"number"!==typeof e)return;const r=this.parseCriterion(e,t);return void 0!==r?{raw:e,lambda:Uo(r,t)}:void 0}parseCriterion(e,t){if("number"===typeof e||"boolean"===typeof e)return jo(Po.EQUAL,e);if("string"===typeof e){const r=Ho.exec(e);let n,i;r?(i=Bo(r[1]),n=r[2]):(i=Po.EQUAL,n=e);const a=t.coerceToMaybeNumber(n),o=n.toLowerCase()===this.trueString||n.toLowerCase()!==this.falseString&&void 0;if(void 0===i)return;if(""===n)return jo(i,null);if(void 0!==a)return jo(i,St(a));if(i===Po.EQUAL||i===Po.NOT_EQUAL)return jo(i,null!==o&&void 0!==o?o:n)}}}const Ho=/([<>=]+)(.*)/;function Bo(e){switch(e){case">":return Po.GREATER_THAN;case">=":return Po.GREATER_THAN_OR_EQUAL;case"<":return Po.LESS_THAN;case"<=":return Po.LESS_THAN_OR_EQUAL;case"<>":return Po.NOT_EQUAL;case"=":return Po.EQUAL;default:return}}const Uo=(e,t)=>{switch(e.operator){case Po.GREATER_THAN:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)>0:e=>!1;case Po.GREATER_THAN_OR_EQUAL:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)>=0:e=>!1;case Po.LESS_THAN:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)<0:e=>!1;case Po.LESS_THAN_OR_EQUAL:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)<=0:e=>!1;case Po.EQUAL:return"number"===typeof e.value?r=>{if("number"===typeof r)return 0===t.floatCmp(r,e.value);if("string"===typeof r){if(""===r)return!1;const n=t.coerceToMaybeNumber(r);return void 0!==n&&0===t.floatCmp(n,e.value)}return!1}:"string"===typeof e.value?t.eqMatcherFunction(e.value):"boolean"===typeof e.value?t=>"boolean"===typeof t&&t===e.value:e=>e===_t;case Po.NOT_EQUAL:return"number"===typeof e.value?r=>{if("number"===typeof r)return 0!==t.floatCmp(r,e.value);if("string"===typeof r){if(""===r)return!0;const n=t.coerceToMaybeNumber(r);return void 0===n||0!==t.floatCmp(n,e.value)}return!0}:"string"===typeof e.value?t.neqMatcherFunction(e.value):"boolean"===typeof e.value?t=>"boolean"!==typeof t||t!==e.value:e=>e!==_t}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Vo{constructor(e,t,r,n,i,a,o,s,l,u){this.config=e,this.dependencyGraph=t,this.columnSearch=r,this.stats=n,this.arithmeticHelper=i,this.functionRegistry=a,this.namedExpressions=o,this.serialization=s,this.arraySizePredictor=l,this.dateTimeHelper=u,this.equalOp=(e,t)=>zo(this.arithmeticHelper.eq,e,t),this.notEqualOp=(e,t)=>zo(this.arithmeticHelper.neq,e,t),this.greaterThanOp=(e,t)=>zo(this.arithmeticHelper.gt,e,t),this.lessThanOp=(e,t)=>zo(this.arithmeticHelper.lt,e,t),this.greaterThanOrEqualOp=(e,t)=>zo(this.arithmeticHelper.geq,e,t),this.lessThanOrEqualOp=(e,t)=>zo(this.arithmeticHelper.leq,e,t),this.concatOp=(e,t)=>zo(this.arithmeticHelper.concat,Pn(e),Pn(t)),this.plusOp=(e,t)=>zo(this.arithmeticHelper.addWithEpsilon,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.minusOp=(e,t)=>zo(this.arithmeticHelper.subtract,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.timesOp=(e,t)=>zo(this.arithmeticHelper.multiply,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.powerOp=(e,t)=>zo(this.arithmeticHelper.pow,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.divOp=(e,t)=>zo(this.arithmeticHelper.divide,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.unaryMinusOp=e=>Yo(this.arithmeticHelper.unaryMinus,this.arithmeticHelper.coerceScalarToNumberOrError(e)),this.percentOp=e=>Yo(this.arithmeticHelper.unaryPercent,this.arithmeticHelper.coerceScalarToNumberOrError(e)),this.unaryPlusOp=e=>this.arithmeticHelper.unaryPlus(e),this.functionRegistry.initializePlugins(this),this.criterionBuilder=new Fo(e)}evaluateAst(e,t){let r=this.evaluateAstWithoutPostprocessing(e,t);if(Ot(r)){if(Hn(St(r)))return new ln(Ur.NUM,xe.NaN);r=Mt(r,Bn(St(r)))}return r instanceof Pt&&1===r.height()&&1===r.width()&&([[r]]=r.data),Wo(r,t.formulaVertex)}evaluateAstWithoutPostprocessing(e,t){switch(e.type){case z.EMPTY:return _t;case z.CELL_REFERENCE:{const r=e.reference.toSimpleCellAddress(t.formulaAddress);return fn(r)?new ln(Ur.REF,xe.BadRef):this.dependencyGraph.getCellValue(r)}case z.NUMBER:case z.STRING:return e.value;case z.CONCATENATE_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.concatOp,r,n,t)}case z.EQUALS_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.equalOp,r,n,t)}case z.NOT_EQUAL_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.notEqualOp,r,n,t)}case z.GREATER_THAN_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.greaterThanOp,r,n,t)}case z.LESS_THAN_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.lessThanOp,r,n,t)}case z.GREATER_THAN_OR_EQUAL_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.greaterThanOrEqualOp,r,n,t)}case z.LESS_THAN_OR_EQUAL_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.lessThanOrEqualOp,r,n,t)}case z.PLUS_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.plusOp,r,n,t)}case z.MINUS_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.minusOp,r,n,t)}case z.TIMES_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.timesOp,r,n,t)}case z.POWER_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.powerOp,r,n,t)}case z.DIV_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.divOp,r,n,t)}case z.PLUS_UNARY_OP:{const r=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.unaryPlusOp,r,t)}case z.MINUS_UNARY_OP:{const r=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.unaryMinusOp,r,t)}case z.PERCENT_OP:{const r=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.percentOp,r,t)}case z.FUNCTION_CALL:{if("valid"!==this.config.licenseKeyValidityState&&!Do.functionIsProtected(e.procedureName))return new ln(Ur.LIC,xe.LicenseKey(this.config.licenseKeyValidityState));const r=this.functionRegistry.getFunction(e.procedureName);return void 0!==r?r(e,new Cn(t.formulaAddress,t.arraysFlag||this.functionRegistry.isArrayFunction(e.procedureName),t.formulaVertex)):new ln(Ur.NAME,xe.FunctionName(e.procedureName))}case z.NAMED_EXPRESSION:{const r=this.namedExpressions.nearestNamedExpression(e.expressionName,t.formulaAddress.sheet);return r?this.dependencyGraph.getCellValue(r.address):new ln(Ur.NAME,xe.NamedExpressionName(e.expressionName))}case z.CELL_RANGE:{if(!this.rangeSpansOneSheet(e))return new ln(Ur.REF,xe.RangeManySheets);const r=En.fromCellRange(e,t.formulaAddress),n=this.dependencyGraph.getArray(r);if(n){const e=n.array;if(e instanceof Sr)throw new Error("Array should be already computed");if(e instanceof ln)return e;if(e instanceof Er)return Pt.fromRange(e.raw(),r,this.dependencyGraph);throw new Error("Unknown array")}return Pt.onlyRange(r,this.dependencyGraph)}case z.COLUMN_RANGE:{if(!this.rangeSpansOneSheet(e))return new ln(Ur.REF,xe.RangeManySheets);const r=Mn.fromColumnRange(e,t.formulaAddress);return Pt.onlyRange(r,this.dependencyGraph)}case z.ROW_RANGE:{if(!this.rangeSpansOneSheet(e))return new ln(Ur.REF,xe.RangeManySheets);const r=Tn.fromRowRangeAst(e,t.formulaAddress);return Pt.onlyRange(r,this.dependencyGraph)}case z.PARENTHESIS:return this.evaluateAst(e.expression,t);case z.ARRAY:{let r=void 0;const n=[];for(const i of e.args){let e=void 0;const a=[];for(const r of i){const n=Ln(this.evaluateAst(r,t)),i=n.height();if(void 0===e)e=i,a.push(...n.data);else{if(e!==i)return new ln(Ur.REF,xe.SizeMismatch);for(let e=0;e<i;e++)a[e].push(...n.data[e])}}const o=a[0].length;if(void 0===r)r=o,n.push(...a);else{if(r!==o)return new ln(Ur.REF,xe.SizeMismatch);n.push(...a)}}return Pt.onlyValues(n)}case z.ERROR_WITH_RAW_INPUT:case z.ERROR:return e.error}}rangeSpansOneSheet(e){return e.start.sheet===e.end.sheet}unaryRangeWrapper(e,t,r){var n;if(t instanceof Pt&&!r.arraysFlag&&(t=null!==(n=Zn(t,r))&&void 0!==n?n:new ln(Ur.VALUE,xe.ScalarExpected)),t instanceof ln)return t;if(t instanceof Pt){const r=t.data.map(t=>t.map(e));return Pt.onlyValues(r)}return e(t)}binaryRangeWrapper(e,t,r,n){var i,a;if(t instanceof Pt&&!n.arraysFlag&&(t=null!==(i=Zn(t,n))&&void 0!==i?i:new ln(Ur.VALUE,xe.ScalarExpected)),t instanceof ln)return t;if(r instanceof Pt&&!n.arraysFlag&&(r=null!==(a=Zn(r,n))&&void 0!==a?a:new ln(Ur.VALUE,xe.ScalarExpected)),r instanceof ln)return r;if(t instanceof Pt||r instanceof Pt){if(!(t instanceof Pt)){if(r.isAdHoc()){const n=r.data;for(let r=0;r<n.length;r++)for(let i=0;i<n[0].length;i++)n[r][i]=e(t,n[r][i]);return Pt.onlyValues(n)}t=Pt.fromScalar(t)}if(!(r instanceof Pt)){if(t.isAdHoc()){const n=t.data;for(let t=0;t<n.length;t++)for(let i=0;i<n[0].length;i++)n[t][i]=e(n[t][i],r);return Pt.onlyValues(n)}r=Pt.fromScalar(r)}if(t.width()===r.width()&&t.height()===r.height()){if(t.isAdHoc()){const n=t.data,i=r.data;for(let t=0;t<n.length;t++)for(let r=0;r<n[0].length;r++)n[t][r]=e(n[t][r],i[t][r]);return Pt.onlyValues(n)}if(r.isAdHoc()){const n=t.data,i=r.data;for(let t=0;t<n.length;t++)for(let r=0;r<n[0].length;r++)i[t][r]=e(n[t][r],i[t][r]);return Pt.onlyValues(i)}}const n=Math.max(t.width(),r.width()),i=Math.max(t.height(),r.height()),a=Array(i);for(let e=0;e<i;e++)a[e]=Array(n);for(let o=0;o<i;o++){const i=1!==t.height()?o:0,s=1!==r.height()?o:0;for(let l=0;l<n;l++){const n=1!==t.width()?l:0,u=1!==r.width()?l:0;i<t.height()&&s<r.height()&&n<t.width()&&u<r.width()?a[o][l]=e(t.data[i][n],r.data[s][u]):a[o][l]=new ln(Ur.NA)}}return Pt.onlyValues(a)}return e(t,r)}}function Yo(e,t){return t instanceof ln?t:e(t)}function zo(e,t,r){return t instanceof ln?t:r instanceof ln?r:e(t,r)}function Wo(e,t){return e instanceof ln&&void 0!==t?e.attachRootVertex(t):e}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class qo{constructor(e){this.sheet=e,this.transformations=[]}add(e){this.transformations.push(e)}performEagerTransformations(e,t){this.transformations.forEach(r=>r.performEagerTransformations(e,t))}transformSingleAst(e,t){let[r,n]=[e,t];return this.transformations.forEach(e=>{[r,n]=e.transformSingleAst(r,n)}),[r,n]}isIrreversible(){return!0}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Go{constructor(e){this.stats=e,this.transformations=[]}version(){return this.transformations.length}addTransformation(e){return void 0!==this.combinedTransformer?this.combinedTransformer.add(e):this.transformations.push(e),this.version()}beginCombinedMode(e){this.combinedTransformer=new qo(e)}commitCombinedMode(){if(void 0===this.combinedTransformer)throw Error("Combined mode wasn't started");return this.transformations.push(this.combinedTransformer),this.combinedTransformer=void 0,this.version()}applyTransformations(e,t,r){this.stats.start(Lt.TRANSFORM_ASTS_POSTPONED);for(let i=r;i<this.transformations.length;i++){const r=this.transformations[i];r.isIrreversible()&&(this.undoRedo.storeDataForVersion(i,t,this.parser.computeHashFromAst(e)),this.parser.rememberNewAst(e));const[n,a]=r.transformSingleAst(e,t);e=n,t=a}const n=this.parser.rememberNewAst(e);return this.stats.end(Lt.TRANSFORM_ASTS_POSTPONED),[n,t,this.transformations.length]}*getTransformationsFrom(e,t){for(let r=e;r<this.transformations.length;r++){const e=this.transformations[r];t&&!t(e)||(yield e)}}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */const Ko=-1;function Xo(e,t,{searchCoordinate:r,orderingDirection:n,matchExactly:i},a){const o=t.start[r],s="col"===r?t.effectiveEndColumn(a):t.effectiveEndRow(a),l="col"===r?e=>St(a.getCellValue(pn(t.sheet,e,t.start.row))):e=>St(a.getCellValue(pn(t.sheet,t.start.col,e))),u="asc"===n?(e,t)=>$o(e,t):(e,t)=>-$o(e,t),c=Zo(t=>u(e,l(t))>=0,o,s),d=l(c);return c===Ko||typeof d!==typeof e||i&&d!==e?Ko:c-o}function Zo(e,t,r){let n=t,i=r;while(n<i){const t=Math.ceil((n+i)/2);e(t)?n=t:i=t-1}return n===i&&e(n)?n:Ko}function $o(e,t){return typeof e===typeof t?e===_t?0:e<t?-1:e>t?1:0:e===_t?-1:t===_t?1:t instanceof ln||"number"===typeof e&&"string"===typeof t||"number"===typeof e&&"boolean"===typeof t?-1:"string"===typeof e&&"number"===typeof t?1:"string"===typeof e&&"boolean"===typeof t?-1:1}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Jo{constructor(e){this.dependencyGraph=e}advancedFind(e,t){let r;const n=t.range;r=void 0===n?t.valuesFromTopLeftCorner():this.dependencyGraph.computeListOfValuesInRange(n);for(let i=0;i<r.length;i++)if(e(St(r[i])))return i;return-1}basicFind(e,t,r,{ordering:n,matchExactly:i}){const a="string"===typeof e?Xn(e):e,o=t.range;return void 0===o?this.findNormalizedValue(a,t.valuesFromTopLeftCorner()):"none"===n?this.findNormalizedValue(a,this.dependencyGraph.computeListOfValuesInRange(o)):Xo(a,o,{searchCoordinate:r,orderingDirection:n,matchExactly:i},this.dependencyGraph)}findNormalizedValue(e,t){return t.map(St).map(e=>"string"===typeof e?Xn(e):e).indexOf(e)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Qo extends Jo{constructor(e){super(e),this.dependencyGraph=e}add(e,t){}remove(e,t){}change(e,t,r){}applyChanges(e){}addColumns(e){}removeColumns(e){}removeSheet(e){}moveValues(e,t,r,n){}removeValues(e){}find(e,t,r){return this.basicFind(e,t,"row",r)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class es{constructor(e,t,r){this.dependencyGraph=e,this.config=t,this.stats=r,this.index=new Map,this.transformingService=this.dependencyGraph.lazilyTransformingAstService,this.binarySearchStrategy=new Qo(e)}add(e,t){if(!(e===_t||e instanceof ln))if(e instanceof Pt)for(const[r,n]of e.entriesFromTopLeftCorner(t))this.addSingleCellValue(St(r),n);else this.addSingleCellValue(e,t)}remove(e,t){if(void 0!==e)if(e instanceof Pt)for(const[r,n]of e.entriesFromTopLeftCorner(t))this.removeSingleValue(St(r),n);else this.removeSingleValue(e,t)}change(e,t,r){e!==t&&(this.remove(e,r),this.add(t,r))}applyChanges(e){for(const t of e)void 0!==t.oldValue&&this.change(St(t.oldValue),St(t.value),t.address)}moveValues(e,t,r,n){for(const[i,a]of e){const e=mn(a,n,t,r);this.remove(i,a),this.add(i,e)}}removeValues(e){for(const[t,r]of e)this.remove(t,r)}find(e,t,{ordering:r,matchExactly:n}){const i=!0===n?"findFirst":"findLast",a=this.findUsingColumnIndex(e,t,i);return void 0!==a?a:this.binarySearchStrategy.find(e,t,{ordering:r,matchExactly:n})}findUsingColumnIndex(e,t,r){const n=t.range;if(void 0===n)return;this.ensureRecentData(n.sheet,n.start.col,e);const i=this.getColumnMap(n.sheet,n.start.col);if(!i)return-1;const a="string"===typeof e?Xn(e):e,o=i.get(a);if(!o||!o.index||0===o.index.length)return;const s=es.findRowBelongingToRange(o,n,r);return void 0!==s?s-n.start.row:void 0}static findRowBelongingToRange(e,t,r){const n=t.start.row,i=t.end.row,a="findFirst"===r?ts(n,e.index,"upperBound"):ts(i,e.index,"lowerBound");if(-1===a)return;const o=e.index[a],s=o>=n&&o<=i;return s?o:void 0}advancedFind(e,t){return this.binarySearchStrategy.advancedFind(e,t)}addColumns(e){const t=this.index.get(e.sheet);t&&t.splice(e.columnStart,0,...Array(e.numberOfColumns))}removeColumns(e){const t=this.index.get(e.sheet);t&&t.splice(e.columnStart,e.numberOfColumns)}removeSheet(e){this.index.delete(e)}getColumnMap(e,t){this.index.has(e)||this.index.set(e,[]);const r=this.index.get(e);let n=r[t];return n||(n=new Map,r[t]=n),n}getValueIndex(e,t,r){const n=this.getColumnMap(e,t);let i=this.getColumnMap(e,t).get(r);return i||(i={version:this.transformingService.version(),index:[]},n.set(r,i)),i}ensureRecentData(e,t,r){const n=this.getValueIndex(e,t,r),i=this.transformingService.version();if(n.version===i)return;const a=this.transformingService.getTransformationsFrom(n.version,t=>t.sheet===e&&(t instanceof Pa||t instanceof Ua));for(const o of a)o instanceof Pa?this.addRows(t,o.rowsSpan,r):o instanceof Ua&&this.removeRows(t,o.rowsSpan,r);n.version=i}addSingleCellValue(e,t){this.stats.measure(Lt.BUILD_COLUMN_INDEX,()=>{this.ensureRecentData(t.sheet,t.col,e),"string"===typeof e&&(e=Xn(e));const r=this.getValueIndex(t.sheet,t.col,e);es.addValue(r,t.row)})}removeSingleValue(e,t){this.stats.measure(Lt.BUILD_COLUMN_INDEX,()=>{this.ensureRecentData(t.sheet,t.col,e);const r=this.getColumnMap(t.sheet,t.col);"string"===typeof e&&(e=Xn(e));const n=r.get(e);if(!n)return;const i=ts(t.row,n.index);i>-1&&n.index.splice(i,1),0===n.index.length&&r.delete(e),0===r.size&&delete this.index.get(t.sheet)[t.col]})}addRows(e,t,r){const n=this.getValueIndex(t.sheet,e,r);es.shiftRows(n,t.rowStart,t.numberOfRows)}removeRows(e,t,r){const n=this.getValueIndex(t.sheet,e,r);es.removeRowsFromValues(n,t),es.shiftRows(n,t.rowEnd+1,-t.numberOfRows)}static addValue(e,t){const r=ts(t,e.index,"lowerBound"),n=e.index[r]===t;n||e.index.splice(r+1,0,t)}static removeRowsFromValues(e,t){const r=ts(t.rowStart,e.index,"upperBound"),n=ts(t.rowEnd,e.index,"lowerBound"),i=r>-1&&n>-1&&r<=n&&e.index[r]<=t.rowEnd;i&&e.index.splice(r,n-r+1)}static shiftRows(e,t,r){const n=ts(t,e.index,"upperBound");if(-1!==n)for(let i=n;i<e.index.length;++i)e.index[i]+=r}}function ts(e,t,r="upperBound"){let n=0,i=t.length-1;while(n<=i){const r=Math.floor((n+i)/2);if(e>t[r])n=r+1;else{if(!(e<t[r]))return r;i=r-1}}const a="lowerBound"===r?i:n,o=a>=0&&a<=t.length;return o?a:-1}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */function rs(e,t,r){return t.useColumnIndex?new es(e,t,r):new Qo(e)}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class ns{constructor(e){this.config=e;const t="."===this.config.thousandSeparator?"\\"+this.config.thousandSeparator:this.config.thousandSeparator,r="."===this.config.decimalSeparator?"\\"+this.config.decimalSeparator:this.config.decimalSeparator;this.numberPattern=new RegExp(`^([+-]?((${r}\\d+)|(\\d+(${t}\\d{3,})*(${r}\\d*)?)))(e[+-]?\\d+)?$`),this.allThousandSeparatorsRegex=new RegExp(""+t,"g")}numericStringToMaybeNumber(e){if(this.numberPattern.test(e)){const t=this.numericStringToNumber(e);if(isNaN(t))return;return t}}numericStringToNumber(e){const t=e.replace(this.allThousandSeparatorsRegex,"").replace(this.config.decimalSeparator,".");return Number(t)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class is{constructor(e,t,r){this.dependencyGraph=e,this.unparser=t,this.exporter=r}getCellHyperlink(e){const t=this.dependencyGraph.getCell(e);if(t instanceof xr){const e=t.getFormula(this.dependencyGraph.lazilyTransformingAstService);if("HYPERLINK"===e.procedureName)return e.hyperlink}}getCellFormula(e,t){const r=this.dependencyGraph.getCell(e);if(r instanceof xr){const n=r.getFormula(this.dependencyGraph.lazilyTransformingAstService);return t=null!==t&&void 0!==t?t:e,this.unparser.unparse(n,t)}if(r instanceof Cr){const n=r.getAddress(this.dependencyGraph.lazilyTransformingAstService);if(n.row!==e.row||n.col!==e.col||n.sheet!==e.sheet)return;t=null!==t&&void 0!==t?t:e;const i=r.getFormula(this.dependencyGraph.lazilyTransformingAstService);if(void 0!==i)return this.unparser.unparse(i,t)}else if(r instanceof Xr)return r.getFormula()}getCellSerialized(e,t){var r;return null!==(r=this.getCellFormula(e,t))&&void 0!==r?r:this.getRawValue(e)}getCellValue(e){return this.exporter.exportValue(this.dependencyGraph.getScalarValue(e))}getRawValue(e){return this.dependencyGraph.getRawValue(e)}getSheetValues(e){return this.genericSheetGetter(e,e=>this.getCellValue(e))}getSheetFormulas(e){return this.genericSheetGetter(e,e=>this.getCellFormula(e))}genericSheetGetter(e,t){const r=this.dependencyGraph.getSheetHeight(e),n=this.dependencyGraph.getSheetWidth(e),i=new Array(r);for(let a=0;a<r;a++){i[a]=new Array(n);for(let r=0;r<n;r++){const n=pn(e,r,a);i[a][r]=t(n)}for(let e=n-1;e>=0;e--){if(null!==i[a][e]&&void 0!==i[a][e])break;i[a].pop()}}for(let a=r-1;a>=0;a--){if(0!==i[a].length)break;i.pop()}return i}genericAllSheetsGetter(e){const t={};for(const r of this.dependencyGraph.sheetMapping.displayNames()){const n=this.dependencyGraph.sheetMapping.fetch(r);t[r]=e(n)}return t}getSheetSerialized(e){return this.genericSheetGetter(e,e=>this.getCellSerialized(e))}getAllSheetsValues(){return this.genericAllSheetsGetter(e=>this.getSheetValues(e))}getAllSheetsFormulas(){return this.genericAllSheetsGetter(e=>this.getSheetFormulas(e))}getAllSheetsSerialized(){return this.genericAllSheetsGetter(e=>this.getSheetSerialized(e))}getAllNamedExpressionsSerialized(){const e=[];let t=0;for(const r of this.dependencyGraph.sheetMapping.displayNames()){const n=this.dependencyGraph.sheetMapping.fetch(r);e[n]=t,t++}return this.dependencyGraph.namedExpressions.getAllNamedExpressions().map(t=>({name:t.expression.displayName,expression:this.getCellSerialized(t.expression.address),scope:void 0!==t.scope?e[t.scope]:void 0,options:t.expression.options}))}withNewConfig(e,t){const r=new ut(e,ot(e),this.dependencyGraph.sheetMapping.fetchDisplayName,t);return new is(this.dependencyGraph,r,this.exporter)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class as{static buildFromSheets(e,t={},r=[]){const n=new ps(t);return this.buildEngine(n,e,r)}static buildFromSheet(e,t={},r=[]){const n=new ps(t),i=n.translationPackage.getUITranslation(Br.NEW_SHEET_PREFIX)+"1";return this.buildEngine(n,{[i]:e},r)}static buildEmpty(e={},t=[]){return this.buildEngine(new ps(e),{},t)}static rebuildWithConfig(e,t,r,n){return this.buildEngine(e,t,r,n)}static buildEngine(e,t={},r=[],n=(e.useStats?new Bt:new Ut)){n.start(Lt.BUILD_ENGINE_TOTAL);const i=new La,a=new Do(e),o=new Go(n),s=qr.buildEmpty(o,e,a,i,n),l=rs(s,e,n),u=s.sheetMapping,c=s.addressMapping;for(const C in t)if(Object.prototype.hasOwnProperty.call(t,C)){const r=t[C];Ya(r);const n=za(r);if(n.height>e.maxRows||n.width>e.maxColumns)throw new Wt;const i=u.addSheet(C);c.autoAddSheet(i,n)}const d=new dt(e,a,u.get);o.parser=d;const h=new ut(e,ot(e),u.fetchDisplayName,i),p=new Ii(e),f=new ns(e),m=new On(e,p,f),g=new Ca(e,p,f),v=new ni(e,a),b=new Xa(e,s,l,g,d,n,o,i,v),y=new So(e,b);o.undoRedo=y;const w=new Aa(e,s,b),_=new Eo(e,b,y,w,s,l,d,g,o,i);r.forEach(e=>{_.ensureItIsPossibleToAddNamedExpression(e.name,e.expression,e.scope),_.operations.addNamedExpression(e.name,e.expression,e.scope,e.options)});const S=new No(e,i,u.fetchDisplayName,o),E=new is(s,h,S),M=new Vo(e,s,l,n,m,a,i,E,v,p);n.measure(Lt.GRAPH_BUILD,()=>{const e=new Oo(s,l,d,g,n,v);e.buildGraph(t,n)});const T=new Co(e,n,M,o,s,l);return T.run(),n.end(Lt.BUILD_ENGINE_TOTAL),{config:e,stats:n,dependencyGraph:s,columnSearch:l,parser:d,unparser:h,cellContentParser:g,evaluator:T,lazilyTransformingAstService:o,crudOperations:_,exporter:S,namedExpressions:i,serialization:E,functionRegistry:a}}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */function os(e){for(const[t,r]of Object.entries(e))r instanceof Function?e[t]=ss(r):delete e[t]}function ss(e){return()=>{throw new Error(`The "${e}" method cannot be called because this HyperFormula instance has been destroyed`)}}var ls,us=r("c0e2");
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e["SheetAdded"]="sheetAdded",e["SheetRemoved"]="sheetRemoved",e["SheetRenamed"]="sheetRenamed",e["NamedExpressionAdded"]="namedExpressionAdded",e["NamedExpressionRemoved"]="namedExpressionRemoved",e["ValuesUpdated"]="valuesUpdated",e["EvaluationSuspended"]="evaluationSuspended",e["EvaluationResumed"]="evaluationResumed"})(ls||(ls={}));class cs extends us["TinyEmitter"]{emit(e,...t){return super.emit(e,...t),this}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class ds{constructor(e,t,r,n,i,a,o,s,l,u,c,d,h,p){this._config=e,this._stats=t,this._dependencyGraph=r,this._columnSearch=n,this._parser=i,this._unparser=a,this._cellContentParser=o,this._evaluator=s,this._lazilyTransformingAstService=l,this._crudOperations=u,this._exporter=c,this._namedExpressions=d,this._serialization=h,this._functionRegistry=p,this._emitter=new cs,this._evaluationSuspended=!1}static get defaultConfig(){return ms()}get graph(){return this.dependencyGraph.graph}get rangeMapping(){return this.dependencyGraph.rangeMapping}get arrayMapping(){return this.dependencyGraph.arrayMapping}get sheetMapping(){return this.dependencyGraph.sheetMapping}get addressMapping(){return this.dependencyGraph.addressMapping}get dependencyGraph(){return this._dependencyGraph}get evaluator(){return this._evaluator}get columnSearch(){return this._columnSearch}get lazilyTransformingAstService(){return this._lazilyTransformingAstService}get licenseKeyValidityState(){return this._config.licenseKeyValidityState}static buildFromArray(e,t={},r=[]){return this.buildFromEngineState(as.buildFromSheet(e,t,r))}static buildFromSheets(e,t={},r=[]){return this.buildFromEngineState(as.buildFromSheets(e,t,r))}static buildEmpty(e={},t=[]){return this.buildFromEngineState(as.buildEmpty(e,t))}static getLanguage(e){ci(e,"string","languageCode");const t=this.registeredLanguages.get(e);if(void 0===t)throw new hr;return t}static registerLanguage(e,t){if(ci(e,"string","languageCode"),this.registeredLanguages.has(e))throw new pr;this.registeredLanguages.set(e,Hr(t))}static unregisterLanguage(e){if(ci(e,"string","languageCode"),!this.registeredLanguages.has(e))throw new hr;this.registeredLanguages.delete(e)}static getRegisteredLanguagesCodes(){return Array.from(this.registeredLanguages.keys())}static registerFunctionPlugin(e,t){Do.registerFunctionPlugin(e,t)}static unregisterFunctionPlugin(e){Do.unregisterFunctionPlugin(e)}static registerFunction(e,t,r){ci(e,"string","functionId"),Do.registerFunction(e,t,r)}static unregisterFunction(e){ci(e,"string","functionId"),Do.unregisterFunction(e)}static unregisterAllFunctions(){Do.unregisterAll()}static getRegisteredFunctionNames(e){ci(e,"string","code");const t=Do.getRegisteredFunctionIds(),r=this.getLanguage(e);return r.getFunctionTranslations(t)}static getFunctionPlugin(e){return ci(e,"string","functionId"),Do.getFunctionPlugin(e)}static getAllFunctionPlugins(){return Do.getPlugins()}static buildFromEngineState(e){return new ds(e.config,e.stats,e.dependencyGraph,e.columnSearch,e.parser,e.unparser,e.cellContentParser,e.evaluator,e.lazilyTransformingAstService,e.crudOperations,e.exporter,e.namedExpressions,e.serialization,e.functionRegistry)}getCellValue(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellValue(e)}getCellFormula(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");return this._serialization.getCellFormula(e)}getCellHyperlink(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellHyperlink(e)}getCellSerialized(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellSerialized(e)}getSheetValues(e){return ci(e,"number","sheetId"),this.ensureEvaluationIsNotSuspended(),this._serialization.getSheetValues(e)}getSheetFormulas(e){return ci(e,"number","sheetId"),this._serialization.getSheetFormulas(e)}getSheetSerialized(e){return ci(e,"number","sheetId"),this.ensureEvaluationIsNotSuspended(),this._serialization.getSheetSerialized(e)}getAllSheetsDimensions(){return this._serialization.genericAllSheetsGetter(e=>this.getSheetDimensions(e))}getSheetDimensions(e){return ci(e,"number","sheetId"),{width:this.dependencyGraph.getSheetWidth(e),height:this.dependencyGraph.getSheetHeight(e)}}getAllSheetsValues(){return this.ensureEvaluationIsNotSuspended(),this._serialization.getAllSheetsValues()}getAllSheetsFormulas(){return this._serialization.getAllSheetsFormulas()}getAllSheetsSerialized(){return this.ensureEvaluationIsNotSuspended(),this._serialization.getAllSheetsSerialized()}updateConfig(e){const t=Object.entries(e).every(([e,t])=>this._config[e]===t);t||this.rebuildWithConfig(e)}getConfig(){return this._config.getConfig()}rebuildAndRecalculate(){this.rebuildWithConfig({})}getStats(){return this._stats.snapshot()}undo(){return this._crudOperations.undo(),this.recomputeIfDependencyGraphNeedsIt()}redo(){return this._crudOperations.redo(),this.recomputeIfDependencyGraphNeedsIt()}isThereSomethingToUndo(){return this._crudOperations.isThereSomethingToUndo()}isThereSomethingToRedo(){return this._crudOperations.isThereSomethingToRedo()}isItPossibleToSetCellContents(e){let t;if(vn(e))t=new En(e,e);else{if(!_n(e))throw new ir("SimpleCellAddress | SimpleCellRange","address");t=new En(e.start,e.end)}try{this._crudOperations.ensureRangeInSizeLimits(t);for(const e of t.addresses(this._dependencyGraph))this._crudOperations.ensureItIsPossibleToChangeContent(e)}catch(r){return!1}return!0}setCellContents(e,t){return this._crudOperations.setCellContents(e,t),this.recomputeIfDependencyGraphNeedsIt()}swapRowIndexes(e,t){return ci(e,"number","sheetId"),this._crudOperations.setRowOrder(e,t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToSwapRowIndexes(e,t){ci(e,"number","sheetId");try{return this._crudOperations.validateSwapRowIndexes(e,t),this._crudOperations.testRowOrderForArrays(e,t),!0}catch(r){return!1}}setRowOrder(e,t){ci(e,"number","sheetId");const r=this._crudOperations.mappingFromOrder(e,t,"row");return this.swapRowIndexes(e,r)}isItPossibleToSetRowOrder(e,t){ci(e,"number","sheetId");try{const r=this._crudOperations.mappingFromOrder(e,t,"row");return this._crudOperations.validateSwapRowIndexes(e,r),this._crudOperations.testRowOrderForArrays(e,r),!0}catch(r){return!1}}swapColumnIndexes(e,t){return ci(e,"number","sheetId"),this._crudOperations.setColumnOrder(e,t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToSwapColumnIndexes(e,t){ci(e,"number","sheetId");try{return this._crudOperations.validateSwapColumnIndexes(e,t),this._crudOperations.testColumnOrderForArrays(e,t),!0}catch(r){return!1}}setColumnOrder(e,t){ci(e,"number","sheetId");const r=this._crudOperations.mappingFromOrder(e,t,"column");return this.swapColumnIndexes(e,r)}isItPossibleToSetColumnOrder(e,t){ci(e,"number","sheetId");try{const r=this._crudOperations.mappingFromOrder(e,t,"column");return this._crudOperations.validateSwapColumnIndexes(e,r),this._crudOperations.testColumnOrderForArrays(e,r),!0}catch(r){return!1}}isItPossibleToAddRows(e,...t){ci(e,"number","sheetId");const r=$a(t);try{return this._crudOperations.ensureItIsPossibleToAddRows(e,...r),!0}catch(n){return!1}}addRows(e,...t){return ci(e,"number","sheetId"),this._crudOperations.addRows(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToRemoveRows(e,...t){ci(e,"number","sheetId");const r=Za(t);try{return this._crudOperations.ensureItIsPossibleToRemoveRows(e,...r),!0}catch(n){return!1}}removeRows(e,...t){return ci(e,"number","sheetId"),this._crudOperations.removeRows(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToAddColumns(e,...t){ci(e,"number","sheetId");const r=$a(t);try{return this._crudOperations.ensureItIsPossibleToAddColumns(e,...r),!0}catch(n){return!1}}addColumns(e,...t){return ci(e,"number","sheetId"),this._crudOperations.addColumns(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToRemoveColumns(e,...t){ci(e,"number","sheetId");const r=Za(t);try{return this._crudOperations.ensureItIsPossibleToRemoveColumns(e,...r),!0}catch(n){return!1}}removeColumns(e,...t){return ci(e,"number","sheetId"),this._crudOperations.removeColumns(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveCells(e,t){if(!vn(t))throw new ir("SimpleCellAddress","destinationLeftCorner");if(!_n(e))throw new ir("SimpleCellRange","source");try{const r=new En(e.start,e.end);return this._crudOperations.operations.ensureItIsPossibleToMoveCells(r.start,r.width(),r.height(),t),!0}catch(r){return!1}}moveCells(e,t){if(!vn(t))throw new ir("SimpleCellAddress","destinationLeftCorner");if(!_n(e))throw new ir("SimpleCellRange","source");const r=new En(e.start,e.end);return this._crudOperations.moveCells(r.start,r.width(),r.height(),t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveRows(e,t,r,n){ci(e,"number","sheetId"),ci(t,"number","startRow"),ci(r,"number","numberOfRows"),ci(n,"number","targetRow");try{return this._crudOperations.ensureItIsPossibleToMoveRows(e,t,r,n),!0}catch(i){return!1}}moveRows(e,t,r,n){return ci(e,"number","sheetId"),ci(t,"number","startRow"),ci(r,"number","numberOfRows"),ci(n,"number","targetRow"),this._crudOperations.moveRows(e,t,r,n),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveColumns(e,t,r,n){ci(e,"number","sheetId"),ci(t,"number","startColumn"),ci(r,"number","numberOfColumns"),ci(n,"number","targetColumn");try{return this._crudOperations.ensureItIsPossibleToMoveColumns(e,t,r,n),!0}catch(i){return!1}}moveColumns(e,t,r,n){return ci(e,"number","sheetId"),ci(t,"number","startColumn"),ci(r,"number","numberOfColumns"),ci(n,"number","targetColumn"),this._crudOperations.moveColumns(e,t,r,n),this.recomputeIfDependencyGraphNeedsIt()}copy(e){if(!_n(e))throw new ir("SimpleCellRange","source");const t=new En(e.start,e.end);return this._crudOperations.copy(t.start,t.width(),t.height()),this.getRangeValues(e)}cut(e){if(!_n(e))throw new ir("SimpleCellRange","source");const t=new En(e.start,e.end);return this._crudOperations.cut(t.start,t.width(),t.height()),this.getRangeValues(e)}paste(e){if(!vn(e))throw new ir("SimpleCellAddress","targetLeftCorner");return this.ensureEvaluationIsNotSuspended(),this._crudOperations.paste(e),this.recomputeIfDependencyGraphNeedsIt()}isClipboardEmpty(){return this._crudOperations.isClipboardEmpty()}clearClipboard(){this._crudOperations.clearClipboard()}clearRedoStack(){this._crudOperations.undoRedo.clearRedoStack()}clearUndoStack(){this._crudOperations.undoRedo.clearUndoStack()}getRangeValues(e){if(!_n(e))throw new ir("SimpleCellRange","source");const t=new En(e.start,e.end);return t.arrayOfAddressesInRange().map(e=>e.map(e=>this.getCellValue(e)))}getRangeFormulas(e){if(!_n(e))throw new ir("SimpleCellRange","source");const t=new En(e.start,e.end);return t.arrayOfAddressesInRange().map(e=>e.map(e=>this.getCellFormula(e)))}getRangeSerialized(e){if(!_n(e))throw new ir("SimpleCellRange","source");const t=new En(e.start,e.end);return t.arrayOfAddressesInRange().map(e=>e.map(e=>this.getCellSerialized(e)))}getFillRangeData(e,t,r=!1){if(!_n(e))throw new ir("SimpleCellRange","source");if(!_n(t))throw new ir("SimpleCellRange","target");const n=new En(e.start,e.end),i=new En(t.start,t.end);return this.ensureEvaluationIsNotSuspended(),i.arrayOfAddressesInRange().map(i=>i.map(i=>{const a=((i.row-(r?t:e).start.row)%n.height()+n.height())%n.height()+e.start.row,o=((i.col-(r?t:e).start.col)%n.width()+n.width())%n.width()+e.start.col;return this._serialization.getCellSerialized({row:a,col:o,sheet:n.sheet},i)}))}isItPossibleToAddSheet(e){ci(e,"string","sheetName");try{return this._crudOperations.ensureItIsPossibleToAddSheet(e),!0}catch(t){return!1}}addSheet(e){void 0!==e&&ci(e,"string","sheetName");const t=this._crudOperations.addSheet(e);return this._emitter.emit(ls.SheetAdded,t),t}isItPossibleToRemoveSheet(e){ci(e,"number","sheetId");try{return this._crudOperations.ensureScopeIdIsValid(e),!0}catch(t){return!1}}removeSheet(e){ci(e,"number","sheetId");const t=this.sheetMapping.getDisplayName(e);this._crudOperations.removeSheet(e);const r=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(ls.SheetRemoved,t,r),r}isItPossibleToClearSheet(e){ci(e,"number","sheetId");try{return this._crudOperations.ensureScopeIdIsValid(e),!0}catch(t){return!1}}clearSheet(e){return ci(e,"number","sheetId"),this._crudOperations.clearSheet(e),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToReplaceSheetContent(e,t){ci(e,"number","sheetId");try{return this._crudOperations.ensureScopeIdIsValid(e),this._crudOperations.ensureItIsPossibleToChangeSheetContents(e,t),!0}catch(r){return!1}}setSheetContent(e,t){return ci(e,"number","sheetId"),this._crudOperations.setSheetContent(e,t),this.recomputeIfDependencyGraphNeedsIt()}simpleCellAddressFromString(e,t){return ci(e,"string","cellAddress"),ci(t,"number","sheetId"),k(this.sheetMapping.get,e,t)}simpleCellRangeFromString(e,t){return ci(e,"string","cellRange"),ci(t,"number","sheetId"),I(this.sheetMapping.get,e,t)}simpleCellAddressToString(e,t){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");return ci(t,"number","sheetId"),D(this.sheetMapping.fetchDisplayName,e,t)}simpleCellRangeToString(e,t){if(!_n(e))throw new ir("SimpleCellRange","cellRange");return ci(t,"number","sheetId"),P(this.sheetMapping.fetchDisplayName,e,t)}getCellDependents(e){let t;if(vn(e))t=this._dependencyGraph.addressMapping.getCell(e);else{if(!_n(e))throw new ir("SimpleCellAddress | SimpleCellRange",e);t=this._dependencyGraph.rangeMapping.getRange(e.start,e.end)}return void 0===t?[]:this._dependencyGraph.getAdjacentNodesAddresses(t)}getCellPrecedents(e){let t;if(vn(e))t=this._dependencyGraph.addressMapping.getCell(e);else{if(!_n(e))throw new ir("SimpleCellAddress | SimpleCellRange",e);t=this._dependencyGraph.rangeMapping.getRange(e.start,e.end)}return void 0===t?[]:this._dependencyGraph.dependencyQueryAddresses(t)}getSheetName(e){return ci(e,"number","sheetId"),this.sheetMapping.getDisplayName(e)}getSheetNames(){return this.sheetMapping.sheetNames()}getSheetId(e){return ci(e,"string","sheetName"),this.sheetMapping.get(e)}doesSheetExist(e){return ci(e,"string","sheetName"),this.sheetMapping.hasSheetWithName(e)}getCellType(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");const t=this.dependencyGraph.getCell(e);return Jr(t,e)}doesCellHaveSimpleValue(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");return this.getCellType(e)===Vr.VALUE}doesCellHaveFormula(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");const t=this.getCellType(e);return t===Vr.FORMULA||t===Vr.ARRAYFORMULA}isCellEmpty(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");return this.getCellType(e)===Vr.EMPTY}isCellPartOfArray(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");const t=this.getCellType(e);return t===Vr.ARRAY||t===Vr.ARRAYFORMULA}getCellValueType(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return an(t)}getCellValueDetailedType(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return on(t)}getCellValueFormat(e){if(!vn(e))throw new ir("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return sn(t)}countSheets(){return this.sheetMapping.numberOfSheets()}isItPossibleToRenameSheet(e,t){ci(e,"number","sheetId"),ci(t,"string","newName");try{return this._crudOperations.ensureItIsPossibleToRenameSheet(e,t),!0}catch(r){return!1}}renameSheet(e,t){ci(e,"number","sheetId"),ci(t,"string","newName");const r=this._crudOperations.renameSheet(e,t);void 0!==r&&this._emitter.emit(ls.SheetRenamed,r,t)}batch(e){this.suspendEvaluation(),this._crudOperations.beginUndoRedoBatchMode();try{e()}catch(t){throw this._crudOperations.commitUndoRedoBatchMode(),this.resumeEvaluation(),t}return this._crudOperations.commitUndoRedoBatchMode(),this.resumeEvaluation()}suspendEvaluation(){this._evaluationSuspended=!0,this._emitter.emit(ls.EvaluationSuspended)}resumeEvaluation(){this._evaluationSuspended=!1;const e=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(ls.EvaluationResumed,e),e}isEvaluationSuspended(){return this._evaluationSuspended}isItPossibleToAddNamedExpression(e,t,r){ci(e,"string","expressionName"),void 0!==r&&ci(r,"number","scope");try{return this._crudOperations.ensureItIsPossibleToAddNamedExpression(e,t,r),!0}catch(n){return!1}}addNamedExpression(e,t,r,n){ci(e,"string","expressionName"),void 0!==r&&ci(r,"number","scope"),this._crudOperations.addNamedExpression(e,t,r,n);const i=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(ls.NamedExpressionAdded,e,i),i}getNamedExpressionValue(e,t){ci(e,"string","expressionName"),void 0!==t&&ci(t,"number","scope"),this.ensureEvaluationIsNotSuspended(),this._crudOperations.ensureScopeIdIsValid(t);const r=this._namedExpressions.namedExpressionForScope(e,t);return r?this._serialization.getCellValue(r.address):void 0}getNamedExpressionFormula(e,t){ci(e,"string","expressionName"),void 0!==t&&ci(t,"number","scope"),this._crudOperations.ensureScopeIdIsValid(t);const r=this._namedExpressions.namedExpressionForScope(e,t);return void 0===r?void 0:this._serialization.getCellFormula(r.address)}getNamedExpression(e,t){ci(e,"string","expressionName"),void 0!==t&&ci(t,"number","scope");const r=this._namedExpressions.namedExpressionForScope(e,t);if(void 0===r)return;const n=this._serialization.getCellFormula(r.address);return{name:e,scope:t,expression:n,options:r.options}}isItPossibleToChangeNamedExpression(e,t,r){ci(e,"string","expressionName"),void 0!==r&&ci(r,"number","scope");try{return this._crudOperations.ensureItIsPossibleToChangeNamedExpression(e,t,r),!0}catch(n){return!1}}changeNamedExpression(e,t,r,n){return ci(e,"string","expressionName"),void 0!==r&&ci(r,"number","scope"),this._crudOperations.changeNamedExpressionExpression(e,r,t,n),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToRemoveNamedExpression(e,t){ci(e,"string","expressionName"),void 0!==t&&ci(t,"number","scope");try{return this._crudOperations.isItPossibleToRemoveNamedExpression(e,t),!0}catch(r){return!1}}removeNamedExpression(e,t){ci(e,"string","expressionName"),void 0!==t&&ci(t,"number","scope");const r=this._crudOperations.removeNamedExpression(e,t);if(r){const e=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(ls.NamedExpressionRemoved,r.displayName,e),e}return[]}listNamedExpressions(e){return void 0!==e&&ci(e,"number","scope"),this._crudOperations.ensureScopeIdIsValid(e),this._namedExpressions.getAllNamedExpressionsNamesInScope(e)}getAllNamedExpressionsSerialized(){return this._serialization.getAllNamedExpressionsSerialized()}normalizeFormula(e){ci(e,"string","formulaString");const{ast:t,address:r}=this.extractTemporaryFormula(e);if(void 0===t)throw new qt;return this._unparser.unparse(t,r)}calculateFormula(e,t){ci(e,"string","formulaString"),ci(t,"number","sheetId"),this._crudOperations.ensureScopeIdIsValid(t);const{ast:r,address:n,dependencies:i}=this.extractTemporaryFormula(e,t);if(void 0===r)throw new qt;const a=this.evaluator.runAndForget(r,n,i);return this._exporter.exportScalarOrRange(a)}getNamedExpressionsFromFormula(e){ci(e,"string","formulaString");const{ast:t,dependencies:r}=this.extractTemporaryFormula(e);if(void 0===t)throw new qt;const n=r.filter(e=>e instanceof bt).map(e=>e.name),i=[...new Set(n)];return i}validateFormula(e){ci(e,"string","formulaString");const{ast:t}=this.extractTemporaryFormula(e);return void 0!==t}getRegisteredFunctionNames(){const e=ds.getLanguage(this._config.language);return e.getFunctionTranslations(this._functionRegistry.getRegisteredFunctionIds())}getFunctionPlugin(e){return ci(e,"string","functionId"),this._functionRegistry.getFunctionPlugin(e)}getAllFunctionPlugins(){return this._functionRegistry.getPlugins()}numberToDateTime(e){return ci(e,"number","val"),this._evaluator.interpreter.dateTimeHelper.numberToSimpleDateTime(e)}numberToDate(e){return ci(e,"number","val"),this._evaluator.interpreter.dateTimeHelper.numberToSimpleDate(e)}numberToTime(e){return ci(e,"number","val"),Bi(e)}on(e,t){this._emitter.on(e,t)}once(e,t){this._emitter.once(e,t)}off(e,t){this._emitter.off(e,t)}destroy(){os(this)}ensureEvaluationIsNotSuspended(){if(this._evaluationSuspended)throw new ur}extractTemporaryFormula(e,t=1){const r=this._cellContentParser.parse(e),n={sheet:t,col:0,row:0};if(!(r instanceof wa.Formula))return{address:n,dependencies:[]};const{ast:i,errors:a,dependencies:o}=this._parser.parse(r.formula,n);return a.length>0?{address:n,dependencies:[]}:{ast:i,address:n,dependencies:o}}rebuildWithConfig(e){const t=this._config.mergeConfig(e),r=this._config.mergeConfig({language:e.language}),n=this._serialization.withNewConfig(r,this._namedExpressions).getAllSheetsSerialized(),i=this._serialization.getAllNamedExpressionsSerialized(),a=as.rebuildWithConfig(t,n,i,this._stats);this._config=a.config,this._stats=a.stats,this._dependencyGraph=a.dependencyGraph,this._columnSearch=a.columnSearch,this._parser=a.parser,this._unparser=a.unparser,this._cellContentParser=a.cellContentParser,this._evaluator=a.evaluator,this._lazilyTransformingAstService=a.lazilyTransformingAstService,this._crudOperations=a.crudOperations,this._exporter=a.exporter,this._namedExpressions=a.namedExpressions,this._serialization=a.serialization,this._functionRegistry=a.functionRegistry}recomputeIfDependencyGraphNeedsIt(){if(this._evaluationSuspended)return[];{const e=this._crudOperations.getAndClearContentChanges(),t=this.dependencyGraph.verticesToRecompute();this.dependencyGraph.clearDirtyVertices(),t.length>0&&e.addAll(this.evaluator.partialRun(t));const r=e.exportChanges(this._exporter);return e.isEmpty()||this._emitter.emit(ls.ValuesUpdated,r),r}}}ds.version="2.7.0",ds.buildDate="10/04/2024 11:28:07",ds.releaseDate="10/04/2024",ds.languages={},ds.registeredLanguages=new Map;
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- const hs=new WeakMap;class ps{constructor(e={},t=!0){const{accentSensitive:r,binarySearchThreshold:n,caseSensitive:i,caseFirst:a,chooseAddressMappingPolicy:o,context:s,currencySymbol:l,dateFormats:u,decimalSeparator:c,evaluateNullToZero:d,functionArgSeparator:h,functionPlugins:p,ignorePunctuation:f,leapYear1900:m,localeLang:g,language:v,ignoreWhiteSpace:b,licenseKey:y,matchWholeCell:w,arrayColumnSeparator:_,arrayRowSeparator:S,maxRows:E,maxColumns:M,nullYear:T,nullDate:C,parseDateTime:x,precisionEpsilon:A,precisionRounding:N,stringifyDateTime:O,stringifyDuration:R,smartRounding:L,timeFormats:k,thousandSeparator:I,useArrayArithmetic:D,useStats:P,undoLimit:j,useColumnIndex:F,useRegularExpressions:H,useWildcards:B}=e;t&&ps.warnDeprecatedOptions(e),this.useArrayArithmetic=ai(D,"boolean","useArrayArithmetic"),this.accentSensitive=ai(r,"boolean","accentSensitive"),this.caseSensitive=ai(i,"boolean","caseSensitive"),this.caseFirst=ai(a,["upper","lower","false"],"caseFirst"),this.ignorePunctuation=ai(f,"boolean","ignorePunctuation"),this.chooseAddressMappingPolicy=null!==o&&void 0!==o?o:ps.defaultConfig.chooseAddressMappingPolicy,this.dateFormats=[...li(u,Array.isArray,"array","dateFormats")],this.timeFormats=[...li(k,Array.isArray,"array","timeFormats")],this.functionArgSeparator=ai(h,"string","functionArgSeparator"),this.decimalSeparator=ai(c,[".",","],"decimalSeparator"),this.language=ai(v,"string","language"),this.ignoreWhiteSpace=ai(b,["standard","any"],"ignoreWhiteSpace"),this.licenseKey=ai(y,"string","licenseKey"),this.thousandSeparator=ai(I,["",","," ","."],"thousandSeparator"),this.arrayColumnSeparator=ai(_,[",",";"],"arrayColumnSeparator"),this.arrayRowSeparator=ai(S,[";","|"],"arrayRowSeparator"),this.localeLang=ai(g,"string","localeLang"),this.functionPlugins=[...null!==p&&void 0!==p?p:ps.defaultConfig.functionPlugins],this.smartRounding=ai(L,"boolean","smartRounding"),this.evaluateNullToZero=ai(d,"boolean","evaluateNullToZero"),this.nullYear=ai(T,"number","nullYear"),oi(this.nullYear,"nullYear",0),si(this.nullYear,"nullYear",100),this.precisionRounding=ai(N,"number","precisionRounding"),oi(this.precisionRounding,"precisionRounding",0),this.precisionEpsilon=ai(A,"number","precisionEpsilon"),oi(this.precisionEpsilon,"precisionEpsilon",0),this.useColumnIndex=ai(F,"boolean","useColumnIndex"),this.useStats=ai(P,"boolean","useStats"),this.binarySearchThreshold=null!==n&&void 0!==n?n:ps.defaultConfig.binarySearchThreshold,this.parseDateTime=ai(x,"function","parseDateTime"),this.stringifyDateTime=ai(O,"function","stringifyDateTime"),this.stringifyDuration=ai(R,"function","stringifyDuration"),this.translationPackage=ds.getLanguage(this.language),this.errorMapping=this.translationPackage.buildErrorMapping(),this.nullDate=li(C,Ri,"IDate","nullDate"),this.leapYear1900=ai(m,"boolean","leapYear1900"),this.undoLimit=ai(j,"number","undoLimit"),this.useRegularExpressions=ai(H,"boolean","useRegularExpressions"),this.useWildcards=ai(B,"boolean","useWildcards"),this.matchWholeCell=ai(w,"boolean","matchWholeCell"),oi(this.undoLimit,"undoLimit",0),this.maxRows=ai(E,"number","maxRows"),oi(this.maxRows,"maxRows",1),this.maxColumns=ai(M,"number","maxColumns"),this.currencySymbol=this.setupCurrencySymbol(l),oi(this.maxColumns,"maxColumns",1),this.context=s,hs.set(this,{licenseKeyValidityState:ba(this.licenseKey)}),ui({value:this.decimalSeparator,name:"decimalSeparator"},{value:this.functionArgSeparator,name:"functionArgSeparator"},{value:this.thousandSeparator,name:"thousandSeparator"}),ui({value:this.arrayRowSeparator,name:"arrayRowSeparator"},{value:this.arrayColumnSeparator,name:"arrayColumnSeparator"})}setupCurrencySymbol(e){const t=[...li(e,Array.isArray,"array","currencySymbol")];return t.forEach(e=>{if("string"!==typeof e)throw new ir("string[]","currencySymbol");if(""===e)throw new ar("currencySymbol")}),t}get licenseKeyValidityState(){return hs.get(this).licenseKeyValidityState}getConfig(){return fs(this)}mergeConfig(e){const t=Object.assign({},this.getConfig(),e);return ps.warnDeprecatedOptions(e),new ps(t,!1)}static warnDeprecatedOptions(e){ps.warnDeprecatedIfUsed(e.binarySearchThreshold,"binarySearchThreshold","1.1")}static warnDeprecatedIfUsed(e,t,r,n){void 0!==e&&(void 0===n?console.warn(`${t} option is deprecated since ${r}`):console.warn(`${t} option is deprecated since ${r}, please use ${n}`))}}function fs(e){var t;const r={};for(const n in ps.defaultConfig){const i=null!==(t=e[n])&&void 0!==t?t:ps.defaultConfig[n];Array.isArray(i)?r[n]=[...i]:r[n]=i}return r}function ms(){return fs({})}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */ps.defaultConfig={accentSensitive:!1,binarySearchThreshold:20,currencySymbol:["$"],caseSensitive:!1,caseFirst:"lower",context:void 0,chooseAddressMappingPolicy:new Yi,dateFormats:["DD/MM/YYYY","DD/MM/YY"],decimalSeparator:".",evaluateNullToZero:!1,functionArgSeparator:",",functionPlugins:[],ignorePunctuation:!1,language:"enGB",ignoreWhiteSpace:"standard",licenseKey:"",leapYear1900:!1,localeLang:"en",matchWholeCell:!0,arrayColumnSeparator:",",arrayRowSeparator:";",maxRows:4e4,maxColumns:18278,nullYear:30,nullDate:{year:1899,month:12,day:30},parseDateTime:yi,precisionEpsilon:1e-13,precisionRounding:14,smartRounding:!0,stringifyDateTime:sa,stringifyDuration:oa,timeFormats:["hh:mm","hh:mm:ss.sss"],thousandSeparator:"",undoLimit:20,useRegularExpressions:!1,useWildcards:!0,useColumnIndex:!1,useStats:!1,useArrayArithmetic:!1};const gs={errors:{CYCLE:"#CYCLE!",DIV_BY_ZERO:"#DIV/0!",ERROR:"#ERROR!",NA:"#N/A",NAME:"#NAME?",NUM:"#NUM!",REF:"#REF!",SPILL:"#SPILL!",VALUE:"#VALUE!"},functions:{FILTER:"FILTER",ADDRESS:"ADDRESS",ARRAY_CONSTRAIN:"ARRAY_CONSTRAIN",ARRAYFORMULA:"ARRAYFORMULA",ABS:"ABS",ACOS:"ACOS",ACOSH:"ACOSH",ACOT:"ACOT",ACOTH:"ACOTH",AND:"AND",ARABIC:"ARABIC",ASIN:"ASIN",ASINH:"ASINH",ATAN2:"ATAN2",ATAN:"ATAN",ATANH:"ATANH",AVERAGE:"AVERAGE",AVERAGEA:"AVERAGEA",AVERAGEIF:"AVERAGEIF",BASE:"BASE",BIN2DEC:"BIN2DEC",BIN2HEX:"BIN2HEX",BIN2OCT:"BIN2OCT",BITAND:"BITAND",BITLSHIFT:"BITLSHIFT",BITOR:"BITOR",BITRSHIFT:"BITRSHIFT",BITXOR:"BITXOR",CEILING:"CEILING",CHAR:"CHAR",CHOOSE:"CHOOSE",CLEAN:"CLEAN",CODE:"CODE",COLUMN:"COLUMN",COLUMNS:"COLUMNS",CONCATENATE:"CONCATENATE",CORREL:"CORREL",COS:"COS",COSH:"COSH",COT:"COT",COTH:"COTH",COUNT:"COUNT",COUNTA:"COUNTA",COUNTBLANK:"COUNTBLANK",COUNTIF:"COUNTIF",COUNTIFS:"COUNTIFS",COUNTUNIQUE:"COUNTUNIQUE",CSC:"CSC",CSCH:"CSCH",CUMIPMT:"CUMIPMT",CUMPRINC:"CUMPRINC",DATE:"DATE",DATEDIF:"DATEDIF",DATEVALUE:"DATEVALUE",DAY:"DAY",DAYS360:"DAYS360",DAYS:"DAYS",DB:"DB",DDB:"DDB",DEC2BIN:"DEC2BIN",DEC2HEX:"DEC2HEX",DEC2OCT:"DEC2OCT",DECIMAL:"DECIMAL",DEGREES:"DEGREES",DELTA:"DELTA",DOLLARDE:"DOLLARDE",DOLLARFR:"DOLLARFR",EDATE:"EDATE",EFFECT:"EFFECT",EOMONTH:"EOMONTH",ERF:"ERF",ERFC:"ERFC",EVEN:"EVEN",EXACT:"EXACT",EXP:"EXP",FALSE:"FALSE",FIND:"FIND",FORMULATEXT:"FORMULATEXT",FV:"FV",FVSCHEDULE:"FVSCHEDULE",HEX2BIN:"HEX2BIN",HEX2DEC:"HEX2DEC",HEX2OCT:"HEX2OCT",HLOOKUP:"HLOOKUP",HOUR:"HOUR",HYPERLINK:"HYPERLINK",IF:"IF",IFERROR:"IFERROR",IFNA:"IFNA",IFS:"IFS",INDEX:"INDEX",INT:"INT",INTERVAL:"INTERVAL",IPMT:"IPMT",ISBINARY:"ISBINARY",ISBLANK:"ISBLANK",ISERR:"ISERR",ISERROR:"ISERROR",ISEVEN:"ISEVEN",ISFORMULA:"ISFORMULA",ISLOGICAL:"ISLOGICAL",ISNA:"ISNA",ISNONTEXT:"ISNONTEXT",ISNUMBER:"ISNUMBER",ISODD:"ISODD",ISOWEEKNUM:"ISOWEEKNUM",ISPMT:"ISPMT",ISREF:"ISREF",ISTEXT:"ISTEXT",LEFT:"LEFT",LEN:"LEN",LN:"LN",LOG10:"LOG10",LOG:"LOG",LOWER:"LOWER",MATCH:"MATCH",MAX:"MAX",MAXA:"MAXA",MAXIFS:"MAXIFS",MAXPOOL:"MAXPOOL",MEDIAN:"MEDIAN",MEDIANPOOL:"MEDIANPOOL",MID:"MID",MIN:"MIN",MINA:"MINA",MINIFS:"MINIFS",MINUTE:"MINUTE",MIRR:"MIRR",MMULT:"MMULT",MOD:"MOD",MONTH:"MONTH",NA:"NA",NETWORKDAYS:"NETWORKDAYS","NETWORKDAYS.INTL":"NETWORKDAYS.INTL",NOMINAL:"NOMINAL",NOT:"NOT",NOW:"NOW",NPER:"NPER",NPV:"NPV",OCT2BIN:"OCT2BIN",OCT2DEC:"OCT2DEC",OCT2HEX:"OCT2HEX",ODD:"ODD",OFFSET:"OFFSET",OR:"OR",PI:"PI",PMT:"PMT",PDURATION:"PDURATION",PRODUCT:"PRODUCT",POWER:"POWER",PPMT:"PPMT",PROPER:"PROPER",PV:"PV",RADIANS:"RADIANS",RAND:"RAND",RATE:"RATE",REPLACE:"REPLACE",REPT:"REPT",RIGHT:"RIGHT",ROMAN:"ROMAN",ROUND:"ROUND",ROUNDDOWN:"ROUNDDOWN",ROUNDUP:"ROUNDUP",ROW:"ROW",ROWS:"ROWS",RRI:"RRI",SEARCH:"SEARCH",SEC:"SEC",SECH:"SECH",SECOND:"SECOND",SHEET:"SHEET",SHEETS:"SHEETS",SIN:"SIN",SINH:"SINH",SLN:"SLN",SPLIT:"SPLIT",SQRT:"SQRT",STDEVA:"STDEVA","STDEV.P":"STDEV.P",STDEVPA:"STDEVPA","STDEV.S":"STDEV.S",SUBSTITUTE:"SUBSTITUTE",SUBTOTAL:"SUBTOTAL",SUM:"SUM",SUMIF:"SUMIF",SUMIFS:"SUMIFS",SUMPRODUCT:"SUMPRODUCT",SUMSQ:"SUMSQ",SWITCH:"SWITCH",SYD:"SYD",T:"T",TAN:"TAN",TANH:"TANH",TBILLEQ:"TBILLEQ",TBILLPRICE:"TBILLPRICE",TBILLYIELD:"TBILLYIELD",TEXT:"TEXT",TIME:"TIME",TIMEVALUE:"TIMEVALUE",TODAY:"TODAY",TRANSPOSE:"TRANSPOSE",TRIM:"TRIM",TRUE:"TRUE",TRUNC:"TRUNC",UNICHAR:"UNICHAR",UNICODE:"UNICODE",UPPER:"UPPER",VARA:"VARA","VAR.P":"VAR.P",VARPA:"VARPA","VAR.S":"VAR.S",VLOOKUP:"VLOOKUP",WEEKDAY:"WEEKDAY",WEEKNUM:"WEEKNUM",WORKDAY:"WORKDAY","WORKDAY.INTL":"WORKDAY.INTL",XNPV:"XNPV",XOR:"XOR",YEAR:"YEAR",YEARFRAC:"YEARFRAC","HF.ADD":"HF.ADD","HF.CONCAT":"HF.CONCAT","HF.DIVIDE":"HF.DIVIDE","HF.EQ":"HF.EQ","HF.GT":"HF.GT","HF.GTE":"HF.GTE","HF.LT":"HF.LT","HF.LTE":"HF.LTE","HF.MINUS":"HF.MINUS","HF.MULTIPLY":"HF.MULTIPLY","HF.NE":"HF.NE","HF.POW":"HF.POW","HF.UMINUS":"HF.UMINUS","HF.UNARY_PERCENT":"HF.UNARY_PERCENT","HF.UPLUS":"HF.UPLUS",VARP:"VARP",VAR:"VAR",STDEVP:"STDEVP",STDEV:"STDEV","EXPON.DIST":"EXPON.DIST",FISHER:"FISHER",FISHERINV:"FISHERINV",GAMMA:"GAMMA","GAMMA.DIST":"GAMMA.DIST",GAMMALN:"GAMMALN","GAMMALN.PRECISE":"GAMMALN.PRECISE","GAMMA.INV":"GAMMA.INV",GAUSS:"GAUSS",FACT:"FACT",FACTDOUBLE:"FACTDOUBLE",COMBIN:"COMBIN",COMBINA:"COMBINA",GCD:"GCD",LCM:"LCM",MROUND:"MROUND",MULTINOMIAL:"MULTINOMIAL",QUOTIENT:"QUOTIENT",RANDBETWEEN:"RANDBETWEEN",SERIESSUM:"SERIESSUM",SIGN:"SIGN",SQRTPI:"SQRTPI",SUMX2MY2:"SUMX2MY2",SUMX2PY2:"SUMX2PY2",SUMXMY2:"SUMXMY2",EXPONDIST:"EXPONDIST",GAMMADIST:"GAMMADIST",GAMMAINV:"GAMMAINV","BETA.DIST":"BETA.DIST",BETADIST:"BETADIST","BETA.INV":"BETA.INV",BETAINV:"BETAINV","BINOM.DIST":"BINOM.DIST",BINOMDIST:"BINOMDIST","BINOM.INV":"BINOM.INV",BESSELI:"BESSELI",BESSELJ:"BESSELJ",BESSELK:"BESSELK",BESSELY:"BESSELY","CHISQ.DIST":"CHISQ.DIST","CHISQ.DIST.RT":"CHISQ.DIST.RT","CHISQ.INV":"CHISQ.INV","CHISQ.INV.RT":"CHISQ.INV.RT",CHIDIST:"CHIDIST",CHIINV:"CHIINV","F.DIST":"F.DIST","F.DIST.RT":"F.DIST.RT","F.INV":"F.INV","F.INV.RT":"F.INV.RT",FDIST:"FDIST",FINV:"FINV",WEIBULL:"WEIBULL","WEIBULL.DIST":"WEIBULL.DIST",POISSON:"POISSON","POISSON.DIST":"POISSON.DIST","HYPGEOM.DIST":"HYPGEOM.DIST",HYPGEOMDIST:"HYPGEOMDIST","T.DIST":"T.DIST","T.DIST.2T":"T.DIST.2T","T.DIST.RT":"T.DIST.RT","T.INV":"T.INV","T.INV.2T":"T.INV.2T",TDIST:"TDIST",TINV:"TINV",LOGINV:"LOGINV","LOGNORM.DIST":"LOGNORM.DIST","LOGNORM.INV":"LOGNORM.INV",LOGNORMDIST:"LOGNORMDIST","NORM.DIST":"NORM.DIST","NORM.INV":"NORM.INV","NORM.S.DIST":"NORM.S.DIST","NORM.S.INV":"NORM.S.INV",NORMDIST:"NORMDIST",NORMINV:"NORMINV",NORMSDIST:"NORMSDIST",NORMSINV:"NORMSINV",PHI:"PHI","NEGBINOM.DIST":"NEGBINOM.DIST",NEGBINOMDIST:"NEGBINOMDIST",COMPLEX:"COMPLEX",IMABS:"IMABS",IMAGINARY:"IMAGINARY",IMARGUMENT:"IMARGUMENT",IMCONJUGATE:"IMCONJUGATE",IMCOS:"IMCOS",IMCOSH:"IMCOSH",IMCOT:"IMCOT",IMCSC:"IMCSC",IMCSCH:"IMCSCH",IMDIV:"IMDIV",IMEXP:"IMEXP",IMLN:"IMLN",IMLOG10:"IMLOG10",IMLOG2:"IMLOG2",IMPOWER:"IMPOWER",IMPRODUCT:"IMPRODUCT",IMREAL:"IMREAL",IMSEC:"IMSEC",IMSECH:"IMSECH",IMSIN:"IMSIN",IMSINH:"IMSINH",IMSQRT:"IMSQRT",IMSUB:"IMSUB",IMSUM:"IMSUM",IMTAN:"IMTAN",LARGE:"LARGE",SMALL:"SMALL",AVEDEV:"AVEDEV",CONFIDENCE:"CONFIDENCE","CONFIDENCE.NORM":"CONFIDENCE.NORM","CONFIDENCE.T":"CONFIDENCE.T",DEVSQ:"DEVSQ",GEOMEAN:"GEOMEAN",HARMEAN:"HARMEAN",CRITBINOM:"CRITBINOM","COVARIANCE.P":"COVARIANCE.P","COVARIANCE.S":"COVARIANCE.S",COVAR:"COVAR",PEARSON:"PEARSON",RSQ:"RSQ",STANDARDIZE:"STANDARDIZE","Z.TEST":"Z.TEST",ZTEST:"ZTEST","F.TEST":"F.TEST",FTEST:"FTEST",STEYX:"STEYX",SLOPE:"SLOPE","CHISQ.TEST":"CHISQ.TEST",CHITEST:"CHITEST","T.TEST":"T.TEST",TTEST:"TTEST",SKEW:"SKEW","SKEW.P":"SKEW.P",WEIBULLDIST:"WEIBULLDIST",VARS:"VARS",TINV2T:"TINV2T",TDISTRT:"TDISTRT",TDIST2T:"TDIST2T",STDEVS:"STDEVS",FINVRT:"FINVRT",FDISTRT:"FDISTRT",CHIDISTRT:"CHIDISTRT",CHIINVRT:"CHIINVRT",COVARIANCEP:"COVARIANCEP",COVARIANCES:"COVARIANCES",LOGNORMINV:"LOGNORMINV",POISSONDIST:"POISSONDIST",SKEWP:"SKEWP","CEILING.MATH":"CEILING.MATH",FLOOR:"FLOOR","FLOOR.MATH":"FLOOR.MATH","CEILING.PRECISE":"CEILING.PRECISE","FLOOR.PRECISE":"FLOOR.PRECISE","ISO.CEILING":"ISO.CEILING"},langCode:"enGB",ui:{NEW_SHEET_PREFIX:"Sheet"}};var vs,bs=gs;
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */(function(e){e[e["FullyAbsolute"]=1]="FullyAbsolute",e[e["RowAbsoluteColRelative"]=2]="RowAbsoluteColRelative",e[e["RowRelativeColAbsolute"]=3]="RowRelativeColAbsolute",e[e["FullyRelative"]=4]="FullyRelative"})(vs||(vs={}));class ys extends Qn{verifyAddressArguments(e,t,r,n){if(n){if(e<1||t<1)return new ln(Ur.VALUE,xe.LessThanOne)}else if(vs.FullyAbsolute==r){if(e<1||t<1)return new ln(Ur.VALUE,xe.LessThanOne)}else if(vs.RowAbsoluteColRelative==r){if(e<1)return new ln(Ur.VALUE,xe.LessThanOne)}else if(vs.RowRelativeColAbsolute==r&&t<1)return new ln(Ur.VALUE,xe.LessThanOne)}address(e,t){return this.runFunction(e.args,t,this.metadata("ADDRESS"),(e,t,r,n,i)=>{const a=this.verifyAddressArguments(e,t,r,n);if(void 0!==a)return a;const o=F(t-1);let s="";void 0!==i&&null!==i&&(s=i+"!");const l=0==t?"C":`C[${t}]`,u=0==e?"R":`R[${e}]`;return vs.FullyRelative==r?n?`${s}${o}${e}`:`${s}${u}${l}`:vs.RowRelativeColAbsolute==r?n?`${s}$${o}${e}`:`${s}${u}C${t}`:vs.RowAbsoluteColRelative==r?n?`${s}${o}$${e}`:`${s}R${e}${l}`:n?`${s}$${o}$${e}`:`${s}R${e}C${t}`})}}ys.implementedFunctions={ADDRESS:{method:"address",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0,defaultValue:1,minValue:1,maxValue:4},{argumentType:Jn.BOOLEAN,optionalArg:!0,defaultValue:!0},{argumentType:Jn.STRING,optionalArg:!0}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class ws extends Qn{arrayformula(e,t){return this.runFunction(e.args,t,this.metadata("ARRAYFORMULA"),e=>e)}arrayformulaArraySize(e,t){if(1!==e.args.length)return ei.error();const r=this.metadata("ARRAYFORMULA"),n=e.args.map(e=>{var n;return this.arraySizeForAst(e,new Cn(t.formulaAddress,t.arraysFlag||null!==(n=null===r||void 0===r?void 0:r.arrayFunction)&&void 0!==n&&n))});return n[0]}arrayconstrain(e,t){return this.runFunction(e.args,t,this.metadata("ARRAY_CONSTRAIN"),(e,t,r)=>{t=Math.min(t,e.height()),r=Math.min(r,e.width());const n=e.data,i=[];for(let a=0;a<t;a++)i.push(n[a].slice(0,r));return Pt.onlyValues(i)})}arrayconstrainArraySize(e,t){if(3!==e.args.length)return ei.error();const r=this.metadata("ARRAY_CONSTRAIN"),n=e.args.map(e=>{var n;return this.arraySizeForAst(e,new Cn(t.formulaAddress,t.arraysFlag||null!==(n=null===r||void 0===r?void 0:r.arrayFunction)&&void 0!==n&&n))});let{height:i,width:a}=n[0];return e.args[1].type===z.NUMBER&&(i=Math.min(i,e.args[1].value)),e.args[2].type===z.NUMBER&&(a=Math.min(a,e.args[2].value)),i<1||a<1||!Number.isInteger(i)||!Number.isInteger(a)?ei.error():new ei(a,i)}filter(e,t){return this.runFunction(e.args,t,this.metadata("FILTER"),(e,...t)=>{for(const i of t)if(e.width()!==i.width()||e.height()!==i.height())return new ln(Ur.NA,xe.EqualLength);if(e.width()>1&&e.height()>1)return new ln(Ur.NA,xe.WrongDimension);const r=e.data,n=[];for(let i=0;i<e.height();i++){const a=[];for(let n=0;n<e.width();n++){let e=!0;for(const r of t){const t=Dn(r.data[i][n]);if(!0!==t){e=!1;break}}e&&a.push(r[i][n])}a.length>0&&n.push(a)}return n.length>0?Pt.onlyValues(n):new ln(Ur.NA,xe.EmptyRange)})}filterArraySize(e,t){if(e.args.length<=1)return ei.error();const r=this.metadata("FILTER"),n=e.args.map(e=>{var n;return this.arraySizeForAst(e,new Cn(t.formulaAddress,t.arraysFlag||null!==(n=null===r||void 0===r?void 0:r.arrayFunction)&&void 0!==n&&n))}),i=Math.max(...n.map(e=>e.width)),a=Math.max(...n.map(e=>e.height));return new ei(i,a)}}ws.implementedFunctions={ARRAYFORMULA:{method:"arrayformula",arraySizeMethod:"arrayformulaArraySize",arrayFunction:!0,parameters:[{argumentType:Jn.ANY}]},ARRAY_CONSTRAIN:{method:"arrayconstrain",arraySizeMethod:"arrayconstrainArraySize",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.INTEGER,minValue:1},{argumentType:Jn.INTEGER,minValue:1}],vectorizationForbidden:!0},FILTER:{method:"filter",arraySizeMethod:"filterArraySize",arrayFunction:!0,parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}],repeatLastArgs:1}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class _s extends Qn{abs(e,t){return this.runFunction(e.args,t,this.metadata("ABS"),Math.abs)}}_s.implementedFunctions={ABS:{method:"abs",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- const Ss=0xffffffffffff,Es=-53,Ms=53;class Ts extends Qn{bitlshift(e,t){return this.runFunction(e.args,t,this.metadata("BITLSHIFT"),Cs)}bitrshift(e,t){return this.runFunction(e.args,t,this.metadata("BITRSHIFT"),xs)}}function Cs(e,t){return t<0?xs(e,-t):As(e*Math.pow(2,t))}function xs(e,t){return t<0?Cs(e,-t):As(Math.floor(e/Math.pow(2,t)))}function As(e){return e>Ss?new ln(Ur.NUM,xe.BitshiftLong):e}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */Ts.implementedFunctions={BITLSHIFT:{method:"bitlshift",parameters:[{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.INTEGER,minValue:Es,maxValue:Ms}]},BITRSHIFT:{method:"bitrshift",parameters:[{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.INTEGER,minValue:Es,maxValue:Ms}]}};class Ns extends Qn{bitand(e,t){return this.runFunction(e.args,t,this.metadata("BITAND"),(e,t)=>e&t)}bitor(e,t){return this.runFunction(e.args,t,this.metadata("BITOR"),(e,t)=>e|t)}bitxor(e,t){return this.runFunction(e.args,t,this.metadata("BITXOR"),(e,t)=>e^t)}}Ns.implementedFunctions={BITAND:{method:"bitand",parameters:[{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.INTEGER,minValue:0}]},BITOR:{method:"bitor",parameters:[{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.INTEGER,minValue:0}]},BITXOR:{method:"bitxor",parameters:[{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.INTEGER,minValue:0}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Os extends Qn{literalTrue(e,t){return this.runFunction(e.args,t,this.metadata("TRUE"),()=>!0)}literalFalse(e,t){return this.runFunction(e.args,t,this.metadata("FALSE"),()=>!1)}conditionalIf(e,t){return this.runFunction(e.args,t,this.metadata("IF"),(e,t,r)=>e?t:r)}ifs(e,t){return this.runFunction(e.args,t,this.metadata("IFS"),(...e)=>{for(let t=0;t<e.length;t+=2)if(e[t])return e[t+1];return new ln(Ur.NA,xe.NoConditionMet)})}and(e,t){return this.runFunction(e.args,t,this.metadata("AND"),(...e)=>e.filter(e=>void 0!==e).every(e=>!!e))}or(e,t){return this.runFunction(e.args,t,this.metadata("OR"),(...e)=>e.filter(e=>void 0!==e).some(e=>e))}not(e,t){return this.runFunction(e.args,t,this.metadata("NOT"),e=>!e)}xor(e,t){return this.runFunction(e.args,t,this.metadata("XOR"),(...e)=>{let t=0;return e.filter(e=>void 0!==e).forEach(e=>{e&&t++}),t%2===1})}switch(e,t){return this.runFunction(e.args,t,this.metadata("SWITCH"),(e,...t)=>{const r=t.length;let n=0;for(;n+1<r;n+=2)if(!(t[n]instanceof ln)&&this.arithmeticHelper.eq(e,t[n]))return t[n+1];return n<r?t[n]:new ln(Ur.NA,xe.NoDefault)})}iferror(e,t){return this.runFunction(e.args,t,this.metadata("IFERROR"),(e,t)=>e instanceof ln?t:e)}ifna(e,t){return this.runFunction(e.args,t,this.metadata("IFNA"),(e,t)=>e instanceof ln&&e.type===Ur.NA?t:e)}choose(e,t){return this.runFunction(e.args,t,this.metadata("CHOOSE"),(e,...t)=>e>t.length?new ln(Ur.NUM,xe.Selector):t[e-1])}}Os.implementedFunctions={TRUE:{method:"literalTrue",parameters:[]},FALSE:{method:"literalFalse",parameters:[]},IF:{method:"conditionalIf",parameters:[{argumentType:Jn.BOOLEAN},{argumentType:Jn.SCALAR,passSubtype:!0},{argumentType:Jn.SCALAR,defaultValue:!1,passSubtype:!0}]},IFS:{method:"ifs",parameters:[{argumentType:Jn.BOOLEAN},{argumentType:Jn.SCALAR,passSubtype:!0}],repeatLastArgs:2},AND:{method:"and",parameters:[{argumentType:Jn.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},OR:{method:"or",parameters:[{argumentType:Jn.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},XOR:{method:"xor",parameters:[{argumentType:Jn.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},NOT:{method:"not",parameters:[{argumentType:Jn.BOOLEAN}]},SWITCH:{method:"switch",parameters:[{argumentType:Jn.NOERROR},{argumentType:Jn.SCALAR,passSubtype:!0},{argumentType:Jn.SCALAR,passSubtype:!0}],repeatLastArgs:1},IFERROR:{method:"iferror",parameters:[{argumentType:Jn.SCALAR,passSubtype:!0},{argumentType:Jn.SCALAR,passSubtype:!0}]},IFNA:{method:"ifna",parameters:[{argumentType:Jn.SCALAR,passSubtype:!0},{argumentType:Jn.SCALAR,passSubtype:!0}]},CHOOSE:{method:"choose",parameters:[{argumentType:Jn.INTEGER,minValue:1},{argumentType:Jn.SCALAR,passSubtype:!0}],repeatLastArgs:1}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Rs extends Qn{char(e,t){return this.runFunction(e.args,t,this.metadata("CHAR"),e=>e<1||e>=256?new ln(Ur.VALUE,xe.CharacterCodeBounds):String.fromCharCode(Math.trunc(e)))}unichar(e,t){return this.runFunction(e.args,t,this.metadata("CHAR"),e=>e<1||e>=1114112?new ln(Ur.VALUE,xe.CharacterCodeBounds):String.fromCodePoint(Math.trunc(e)))}}Rs.implementedFunctions={CHAR:{method:"char",parameters:[{argumentType:Jn.NUMBER}]},UNICHAR:{method:"unichar",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Ls extends Qn{code(e,t){return this.runFunction(e.args,t,this.metadata("CODE"),e=>0===e.length?new ln(Ur.VALUE,xe.EmptyString):e.charCodeAt(0))}unicode(e,t){return this.runFunction(e.args,t,this.metadata("UNICODE"),e=>{var t;return null!==(t=e.codePointAt(0))&&void 0!==t?t:new ln(Ur.VALUE,xe.EmptyString)})}}Ls.implementedFunctions={CODE:{method:"code",parameters:[{argumentType:Jn.STRING}]},UNICODE:{method:"unicode",parameters:[{argumentType:Jn.STRING}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class ks extends Qn{countblank(e,t){return this.runFunction(e.args,t,this.metadata("COUNTBLANK"),(...e)=>{let t=0;return e.forEach(e=>{e===_t&&t++}),t})}}ks.implementedFunctions={COUNTBLANK:{method:"countblank",parameters:[{argumentType:Jn.SCALAR}],repeatLastArgs:1,expandRanges:!0}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Is extends Qn{countunique(e,t){return this.runFunction(e.args,t,this.metadata("COUNTUNIQUE"),(...e)=>{const t=new Set,r=new Set;for(const n of e)n instanceof ln?r.add(n.type):""!==n&&t.add(n);return t.size+r.size})}}Is.implementedFunctions={COUNTUNIQUE:{method:"countunique",parameters:[{argumentType:Jn.SCALAR}],repeatLastArgs:1,expandRanges:!0}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Ds extends Qn{constructor(){super(...arguments),this.isoweeknumCore=e=>{const t=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e)),r=this.dateTimeHelper.numberToSimpleDate(e),n=this.dateTimeHelper.dateToNumber({year:r.year,month:1,day:1}),i=this.dateTimeHelper.relativeNumberToAbsoluteNumber(n),a=i+((4-i)%7+7)%7,o=Math.floor((t-1)/7)-Math.floor((a-1)/7)+1;return 0===o?this.isoweeknumCore(e-7)+1:o},this.days360Core=(e,t,r)=>{const n=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);let a,o;return r?(a=Vi(n),o=Vi(i)):[a,o]=this.dateTimeHelper.toBasisUS(n,i),360*(o.year-a.year)+30*(o.month-a.month)+o.day-a.day}}date(e,t){return this.runFunction(e.args,t,this.metadata("DATE"),(e,t,r)=>{const n=Math.trunc(r);let i=Math.trunc(t),a=Math.trunc(e);a<this.dateTimeHelper.getEpochYearZero()&&(a+=this.dateTimeHelper.getEpochYearZero());const o=Math.floor((i-1)/12);a+=o,i-=12*o;const s={year:a,month:i,day:1};if(this.dateTimeHelper.isValidDate(s)){let e=this.dateTimeHelper.dateToNumber(s)+(n-1);return e=this.dateTimeHelper.getWithinBounds(e),void 0===e?new ln(Ur.NUM,xe.DateBounds):e}return new ln(Ur.VALUE,xe.InvalidDate)})}time(e,t){return this.runFunction(e.args,t,this.metadata("TIME"),(e,t,r)=>{const n=Ui({hours:Math.trunc(e),minutes:Math.trunc(t),seconds:Math.trunc(r)});return n<0?new ln(Ur.NUM,xe.NegativeTime):n%1})}eomonth(e,t){return this.runFunction(e.args,t,this.metadata("EOMONTH"),(e,t)=>{const r=this.dateTimeHelper.numberToSimpleDate(e);let n=this.dateTimeHelper.dateToNumber(this.dateTimeHelper.endOfMonth(Pi(r,t)));return n=this.dateTimeHelper.getWithinBounds(n),void 0===n?new ln(Ur.NUM,xe.DateBounds):n})}day(e,t){return this.runFunction(e.args,t,this.metadata("DAY"),e=>this.dateTimeHelper.numberToSimpleDate(e).day)}days(e,t){return this.runFunction(e.args,t,this.metadata("DAYS"),(e,t)=>Math.trunc(e)-Math.trunc(t))}month(e,t){return this.runFunction(e.args,t,this.metadata("MONTH"),e=>this.dateTimeHelper.numberToSimpleDate(e).month)}year(e,t){return this.runFunction(e.args,t,this.metadata("YEAR"),e=>this.dateTimeHelper.numberToSimpleDate(e).year)}hour(e,t){return this.runFunction(e.args,t,this.metadata("HOUR"),e=>Bi(Fi(e)%1).hours)}minute(e,t){return this.runFunction(e.args,t,this.metadata("MINUTE"),e=>Bi(Fi(e)%1).minutes)}second(e,t){return this.runFunction(e.args,t,this.metadata("SECOND"),e=>Bi(Fi(e)%1).seconds)}text(e,t){return this.runFunction(e.args,t,this.metadata("TEXT"),(e,t)=>ta(e,t,this.config,this.dateTimeHelper))}weekday(e,t){return this.runFunction(e.args,t,this.metadata("WEEKDAY"),(e,t)=>{const r=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e));if(3===t)return(r-1)%7;const n=Fs.get(t);return void 0===n?new ln(Ur.NUM,xe.BadMode):(r-n)%7+1})}weeknum(e,t){return this.runFunction(e.args,t,this.metadata("WEEKNUM"),(e,t)=>{const r=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e)),n=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.dateToNumber({year:n.year,month:1,day:1}),a=this.dateTimeHelper.relativeNumberToAbsoluteNumber(i);if(21===t)return this.isoweeknumCore(e);const o=Fs.get(t);return void 0===o?new ln(Ur.NUM,xe.BadMode):Math.floor((r-o)/7)-Math.floor((a-o)/7)+1})}isoweeknum(e,t){return this.runFunction(e.args,t,this.metadata("ISOWEEKNUM"),this.isoweeknumCore)}datevalue(e,t){return this.runFunction(e.args,t,this.metadata("DATEVALUE"),e=>{const{dateTime:t}=this.dateTimeHelper.parseDateTimeFromConfigFormats(e);return void 0===t?new ln(Ur.VALUE,xe.IncorrectDateTime):Ri(t)?(Li(t)?Math.trunc(Ui(t)):0)+this.dateTimeHelper.dateToNumber(t):0})}timevalue(e,t){return this.runFunction(e.args,t,this.metadata("TIMEVALUE"),e=>{const t=this.dateTimeHelper.dateStringToDateNumber(e);return void 0===t?new ln(Ur.VALUE,xe.IncorrectDateTime):St(t)%1})}now(e,t){return this.runFunction(e.args,t,this.metadata("NOW"),()=>{const e=new Date(Date.now());return Ui({hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()})+this.dateTimeHelper.dateToNumber({year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate()})})}today(e,t){return this.runFunction(e.args,t,this.metadata("TODAY"),()=>{const e=new Date(Date.now());return this.dateTimeHelper.dateToNumber({year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate()})})}edate(e,t){return this.runFunction(e.args,t,this.metadata("EDATE"),(e,t)=>{const r=this.dateTimeHelper.numberToSimpleDate(e),n=ji(Pi(r,t));let i=this.dateTimeHelper.dateToNumber(n);return i=this.dateTimeHelper.getWithinBounds(i),void 0===i?new ln(Ur.NUM,xe.DateBounds):i})}datedif(e,t){return this.runFunction(e.args,t,this.metadata("DATEDIF"),(e,t,r)=>{if(e>t)return new ln(Ur.NUM,xe.StartEndDate);if("D"===r)return Math.floor(t)-Math.floor(e);const n=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);switch(r){case"M":return 12*(i.year-n.year)+(i.month-n.month)-(i.day<n.day?1:0);case"YM":return(i.month-n.month+12-(i.day<n.day?1:0))%12;case"Y":return i.month>n.month||i.month===n.month&&i.day>=n.day?i.year-n.year:i.year-n.year-1;case"MD":if(i.day>=n.day)return i.day-n.day;{const e=1===i.month?12:i.month-1,t=1===i.month?i.year-1:i.year;return this.dateTimeHelper.daysInMonth(t,e)+i.day-n.day}case"YD":return i.month>n.month||i.month===n.month&&i.day>=n.day?Math.floor(t)-this.dateTimeHelper.dateToNumber({year:i.year,month:n.month,day:n.day}):Math.floor(t)-Math.floor(e)-365*(i.year-n.year-1)-this.dateTimeHelper.leapYearsCount(i.year-1)+this.dateTimeHelper.leapYearsCount(n.year);default:return new ln(Ur.NUM,xe.BadMode)}})}days360(e,t){return this.runFunction(e.args,t,this.metadata("DAYS360"),this.days360Core)}yearfrac(e,t){return this.runFunction(e.args,t,this.metadata("YEARFRAC"),(e,t,r)=>{switch(e=Math.trunc(e),t=Math.trunc(t),e>t&&([e,t]=[t,e]),r){case 0:return this.days360Core(e,t,!1)/360;case 1:return(t-e)/this.dateTimeHelper.yearLengthForBasis(this.dateTimeHelper.numberToSimpleDate(e),this.dateTimeHelper.numberToSimpleDate(t));case 2:return(t-e)/360;case 3:return(t-e)/365;case 4:return this.days360Core(e,t,!0)/360}throw new Error("Should not be reachable.")})}interval(e,t){return this.runFunction(e.args,t,this.metadata("INTERVAL"),e=>{e=Math.trunc(e);const t=e%60;e=Math.trunc(e/60);const r=e%60;e=Math.trunc(e/60);const n=e%24;e=Math.trunc(e/24);const i=e%30;e=Math.trunc(e/30);const a=e%12,o=Math.trunc(e/12);return"P"+(o>0?o+"Y":"")+(a>0?a+"M":"")+(i>0?i+"D":"")+"T"+(n>0?n+"H":"")+(r>0?r+"M":"")+(t>0?t+"S":"")})}networkdays(e,t){return this.runFunction(e.args,t,this.metadata("NETWORKDAYS"),(e,t,r)=>this.networkdayscore(e,t,1,r))}networkdaysintl(e,t){return this.runFunction(e.args,t,this.metadata("NETWORKDAYS.INTL"),(e,t,r,n)=>this.networkdayscore(e,t,r,n))}workday(e,t){return this.runFunction(e.args,t,this.metadata("WORKDAY"),(e,t,r)=>this.workdaycore(e,t,1,r))}workdayintl(e,t){return this.runFunction(e.args,t,this.metadata("WORKDAY.INTL"),(e,t,r,n)=>this.workdaycore(e,t,r,n))}networkdayscore(e,t,r,n){e=Math.trunc(e),t=Math.trunc(t);let i=1;e>t&&([e,t]=[t,e],i=-1);const a=js(r);if(a instanceof ln)return a;const o=this.simpleRangeToFilteredHolidays(a,n);return o instanceof ln?o:i*this.countWorkdays(e,t,a,o)}workdaycore(e,t,r,n){e=Math.trunc(e),t=Math.trunc(t);const i=js(r);if(i instanceof ln)return i;const a=this.simpleRangeToFilteredHolidays(i,n);if(a instanceof ln)return a;if(t>0){let r=1;while(this.countWorkdays(e+1,e+r,i,a)<t)r*=2;let n=1;while(n+1<r){const o=Math.trunc((n+r)/2);this.countWorkdays(e+1,e+o,i,a)<t?n=o:r=o}return e+r}if(t<0){t*=-1;let r=1;while(this.countWorkdays(e-r,e-1,i,a)<t)r*=2;let n=1;while(n+1<r){const o=Math.trunc((n+r)/2);this.countWorkdays(e-o,e-1,i,a)<t?n=o:r=o}return e-r}return e}countWorkdays(e,t,r,n){const i=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(t)),a=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e));let o=0;for(let s=0;s<7;s++)"0"===r.charAt(s)&&(o+=Math.floor((i+6-s)/7),o-=Math.floor((a-1+6-s)/7));return o-=Ps(t+1,n)-Ps(e,n),o}simpleRangeToFilteredHolidays(e,t){var r;const n=null!==(r=null===t||void 0===t?void 0:t.valuesFromTopLeftCorner())&&void 0!==r?r:[];for(const a of n)if(a instanceof ln)return a;const i=[];for(const a of n)if(a!==_t){if(!Ot(a))return new ln(Ur.VALUE,xe.WrongType);i.push(Math.trunc(St(a)))}return[...new Set(i)].sort((e,t)=>e-t).filter(t=>{const r=this.dateTimeHelper.relativeNumberToAbsoluteNumber(t),n=(r-1)%7;return"0"===e.charAt(n)})}}function Ps(e,t){if(0===t.length)return 0;if(e<=t[0])return 0;if(t[t.length-1]<e)return t.length;let r=0,n=t.length-1;while(r+1<n){const i=Math.floor((n+r)/2);t[i]>=e?n=i:r=i}return n}function js(e){var t;return"number"!==typeof e&&"string"!==typeof e?new ln(Ur.VALUE,xe.WrongType):"string"===typeof e?7===e.length&&/^(0|1)*$/.test(e)&&"1111111"!==e?e:new ln(Ur.NUM,xe.WeekendString):null!==(t=Hs.get(e))&&void 0!==t?t:new ln(Ur.NUM,xe.BadMode)}Ds.implementedFunctions={DATE:{method:"date",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}],returnNumberType:Rt.NUMBER_DATE},TIME:{method:"time",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}],returnNumberType:Rt.NUMBER_TIME},MONTH:{method:"month",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},YEAR:{method:"year",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},HOUR:{method:"hour",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},MINUTE:{method:"minute",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},SECOND:{method:"second",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},TEXT:{method:"text",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.STRING}]},EOMONTH:{method:"eomonth",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER}],returnNumberType:Rt.NUMBER_DATE},DAY:{method:"day",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},DAYS:{method:"days",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0}]},WEEKDAY:{method:"weekday",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,defaultValue:1}]},WEEKNUM:{method:"weeknum",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,defaultValue:1}]},ISOWEEKNUM:{method:"isoweeknum",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},DATEVALUE:{method:"datevalue",parameters:[{argumentType:Jn.STRING}],returnNumberType:Rt.NUMBER_DATE},TIMEVALUE:{method:"timevalue",parameters:[{argumentType:Jn.STRING}],returnNumberType:Rt.NUMBER_TIME},NOW:{method:"now",parameters:[],isVolatile:!0,returnNumberType:Rt.NUMBER_DATETIME},TODAY:{method:"today",parameters:[],isVolatile:!0,returnNumberType:Rt.NUMBER_DATE},EDATE:{method:"edate",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER}],returnNumberType:Rt.NUMBER_DATE},DAYS360:{method:"days360",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.BOOLEAN,defaultValue:!1}]},DATEDIF:{method:"datedif",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.STRING}]},YEARFRAC:{method:"yearfrac",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.INTEGER,defaultValue:0,minValue:0,maxValue:4}]},INTERVAL:{method:"interval",parameters:[{argumentType:Jn.NUMBER,minValue:0}]},NETWORKDAYS:{method:"networkdays",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.RANGE,optionalArg:!0}]},"NETWORKDAYS.INTL":{method:"networkdaysintl",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NOERROR,defaultValue:1},{argumentType:Jn.RANGE,optionalArg:!0}]},WORKDAY:{method:"workday",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER},{argumentType:Jn.RANGE,optionalArg:!0}]},"WORKDAY.INTL":{method:"workdayintl",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER},{argumentType:Jn.NOERROR,defaultValue:1},{argumentType:Jn.RANGE,optionalArg:!0}]}};const Fs=new Map([[1,0],[2,1],[11,1],[12,2],[13,3],[14,4],[15,5],[16,6],[17,0]]),Hs=new Map([[1,"0000011"],[2,"1000001"],[3,"1100000"],[4,"0110000"],[5,"0011000"],[6,"0001100"],[7,"0000110"],[11,"0000001"],[12,"1000000"],[13,"0100000"],[14,"0010000"],[15,"0001000"],[16,"0000100"],[17,"0000010"]]);
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Bs extends Qn{degrees(e,t){return this.runFunction(e.args,t,this.metadata("DEGREES"),e=>e*(180/Math.PI))}}Bs.implementedFunctions={DEGREES:{method:"degrees",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Us extends Qn{delta(e,t){return this.runFunction(e.args,t,this.metadata("DELTA"),(e,t)=>e===t?1:0)}}Us.implementedFunctions={DELTA:{method:"delta",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Vs extends Qn{exp(e,t){return this.runFunction(e.args,t,this.metadata("EXP"),Math.exp)}}Vs.implementedFunctions={EXP:{method:"exp",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Ys extends Qn{pmt(e,t){return this.runFunction(e.args,t,this.metadata("PMT"),zs)}ipmt(e,t){return this.runFunction(e.args,t,this.metadata("IPMT"),Ws)}ppmt(e,t){return this.runFunction(e.args,t,this.metadata("PPMT"),Gs)}fv(e,t){return this.runFunction(e.args,t,this.metadata("FV"),qs)}cumipmt(e,t){return this.runFunction(e.args,t,this.metadata("CUMIPMT"),(e,t,r,n,i,a)=>{if(n>i)return new ln(Ur.NUM,xe.EndStartPeriod);let o=0;for(let s=n;s<=i;s++)o+=Ws(e,s,t,r,0,a);return o})}cumprinc(e,t){return this.runFunction(e.args,t,this.metadata("CUMPRINC"),(e,t,r,n,i,a)=>{if(n>i)return new ln(Ur.NUM,xe.EndStartPeriod);let o=0;for(let s=n;s<=i;s++)o+=Gs(e,s,t,r,0,a);return o})}db(e,t){return this.runFunction(e.args,t,this.metadata("DB"),(e,t,r,n,i)=>{if(12===i&&n>r||n>r+1)return new ln(Ur.NUM,xe.PeriodLong);if(t>=e)return 0;const a=Math.round(1e3*(1-Math.pow(t/e,1/r)))/1e3,o=e*a*i/12;if(1===n)return o;let s=o;for(let l=0;l<n-2;l++)s+=(e-s)*a;return n===r+1?(e-s)*a*(12-i)/12:(e-s)*a})}ddb(e,t){return this.runFunction(e.args,t,this.metadata("DDB"),(e,t,r,n,i)=>{if(n>r)return new ln(Ur.NUM);let a,o=i/r;o>=1?(o=1,a=1===n?e:0):a=e*Math.pow(1-o,n-1);const s=e*Math.pow(1-o,n);return Math.max(a-Math.max(t,s),0)})}dollarde(e,t){return this.runFunction(e.args,t,this.metadata("DOLLARDE"),(e,t)=>{if(t<1)return new ln(Ur.DIV_BY_ZERO);t=Math.trunc(t);while(t>10)t/=10;return Math.trunc(e)+10*(e-Math.trunc(e))/t})}dollarfr(e,t){return this.runFunction(e.args,t,this.metadata("DOLLARFR"),(e,t)=>{if(t<1)return new ln(Ur.DIV_BY_ZERO);t=Math.trunc(t);while(t>10)t/=10;return Math.trunc(e)+(e-Math.trunc(e))*t/10})}effect(e,t){return this.runFunction(e.args,t,this.metadata("EFFECT"),(e,t)=>(t=Math.trunc(t),Math.pow(1+e/t,t)-1))}ispmt(e,t){return this.runFunction(e.args,t,this.metadata("ISPMT"),(e,t,r,n)=>0===r?new ln(Ur.DIV_BY_ZERO):n*e*(t/r-1))}nominal(e,t){return this.runFunction(e.args,t,this.metadata("NOMINAL"),(e,t)=>(t=Math.trunc(t),(Math.pow(e+1,1/t)-1)*t))}nper(e,t){return this.runFunction(e.args,t,this.metadata("NPER"),(e,t,r,n,i)=>0===e?0===t?new ln(Ur.DIV_BY_ZERO):(-r-n)/t:(i&&(t*=1+e),Math.log((t-n*e)/(r*e+t))/Math.log(1+e)))}rate(e,t){return this.runFunction(e.args,t,this.metadata("RATE"),(e,t,r,n,i,a)=>{if(a<=-1)return new ln(Ur.VALUE);const o=1e-7,s=50;let l=a;i=i?1:0;for(let u=0;u<s;u++){if(l<=-1)return new ln(Ur.NUM);let a,s;if(Math.abs(l)<o)a=r*(1+e*l)+t*(1+l*i)*e+n;else{const o=Math.pow(1+l,e);a=r*o+t*(1/l+i)*(o-1)+n}if(Math.abs(a)<o)return l;if(Math.abs(l)<o)s=r*e+t*i*e;else{const n=Math.pow(1+l,e),a=e*Math.pow(1+l,e-1);s=r*a+t*(1/l+i)*a+t*(-1/(l*l))*(n-1)}l-=a/s}return new ln(Ur.NUM)})}pv(e,t){return this.runFunction(e.args,t,this.metadata("PV"),(e,t,r,n,i)=>(i=i?1:0,-1===e?new ln(0===t?Ur.NUM:Ur.DIV_BY_ZERO):0===e?-r*t-n:((1-Math.pow(1+e,t))*r*(1+e*i)/e-n)/Math.pow(1+e,t)))}rri(e,t){return this.runFunction(e.args,t,this.metadata("RRI"),(e,t,r)=>0===t||r<0&&t>0||r>0&&t<0?new ln(Ur.NUM):Math.pow(r/t,1/e)-1)}sln(e,t){return this.runFunction(e.args,t,this.metadata("SLN"),(e,t,r)=>0===r?new ln(Ur.DIV_BY_ZERO):(e-t)/r)}syd(e,t){return this.runFunction(e.args,t,this.metadata("SYD"),(e,t,r,n)=>n>r?new ln(Ur.NUM):(e-t)*(r-n+1)*2/(r*(r+1)))}tbilleq(e,t){return this.runFunction(e.args,t,this.metadata("TBILLEQ"),(e,t,r)=>{if(e=Math.round(e),t=Math.round(t),e>=t)return new ln(Ur.NUM);const n=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);if(i.year>n.year+1||i.year===n.year+1&&(i.month>n.month||i.month===n.month&&i.day>n.day))return new ln(Ur.NUM);const a=360-r*(t-e);return 0===a?0:a<0?new ln(Ur.NUM):365*r/a})}tbillprice(e,t){return this.runFunction(e.args,t,this.metadata("TBILLPRICE"),(e,t,r)=>{if(e=Math.round(e),t=Math.round(t),e>=t)return new ln(Ur.NUM);const n=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);if(i.year>n.year+1||i.year===n.year+1&&(i.month>n.month||i.month===n.month&&i.day>n.day))return new ln(Ur.NUM);const a=360-r*(t-e);return 0===a?0:a<0?new ln(Ur.NUM):100*(1-r*(t-e)/360)})}tbillyield(e,t){return this.runFunction(e.args,t,this.metadata("TBILLYIELD"),(e,t,r)=>{if(e=Math.round(e),t=Math.round(t),e>=t)return new ln(Ur.NUM);const n=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);return i.year>n.year+1||i.year===n.year+1&&(i.month>n.month||i.month===n.month&&i.day>n.day)?new ln(Ur.NUM):360*(100-r)/(r*(t-e))})}fvschedule(e,t){return this.runFunction(e.args,t,this.metadata("FVSCHEDULE"),(e,t)=>{const r=t.valuesFromTopLeftCorner();for(const n of r)if(n instanceof ln)return n;for(const n of r)if(Ot(n))e*=1+St(n);else if(n!==_t)return new ln(Ur.VALUE,xe.NumberExpected);return e})}npv(e,t){return this.runFunction(e.args,t,this.metadata("NPV"),(e,...t)=>{const r=this.arithmeticHelper.coerceNumbersExactRanges(t);return r instanceof ln?r:Ks(e,r)})}mirr(e,t){return this.runFunction(e.args,t,this.metadata("MIRR"),(e,t,r)=>{const n=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());if(n instanceof ln)return n;let i=!1,a=!1;const o=[],s=[];for(const d of n)d>0?(i=!0,o.push(d),s.push(0)):d<0?(a=!0,s.push(d),o.push(0)):(s.push(0),o.push(0));if(!i||!a)return new ln(Ur.DIV_BY_ZERO);const l=n.length,u=Ks(r,o);if(u instanceof ln)return u;const c=Ks(t,s);return c instanceof ln?c:Math.pow(-u*Math.pow(1+r,l)/c/(1+t),1/(l-1))-1})}pduration(e,t){return this.runFunction(e.args,t,this.metadata("PDURATION"),(e,t,r)=>(Math.log(r)-Math.log(t))/Math.log(1+e))}xnpv(e,t){return this.runFunction(e.args,t,this.metadata("XNPV"),(e,t,r)=>{const n=t.valuesFromTopLeftCorner();for(const u of n)if("number"!==typeof u)return new ln(Ur.VALUE,xe.NumberExpected);const i=n,a=r.valuesFromTopLeftCorner();for(const u of a)if("number"!==typeof u)return new ln(Ur.VALUE,xe.NumberExpected);const o=a;if(o.length!==i.length)return new ln(Ur.NUM,xe.EqualLength);const s=o.length;let l=0;if(o[0]<0)return new ln(Ur.NUM,xe.ValueSmall);for(let u=0;u<s;u++){if(o[u]=Math.floor(o[u]),o[u]<o[0])return new ln(Ur.NUM,xe.ValueSmall);l+=i[u]/Math.pow(1+e,(o[u]-o[0])/365)}return l})}}function zs(e,t,r,n,i){if(0===e)return(-r-n)/t;{const a=Math.pow(1+e,t);return(n*e+r*e*a)*(i?1/(1+e):1)/(1-a)}}function Ws(e,t,r,n,i,a){const o=zs(e,r,n,i,a);return 1===t?e*(a?0:-n):e*(a?qs(e,t-2,o,n,a)-o:qs(e,t-1,o,n,a))}function qs(e,t,r,n,i){if(0===e)return-n-r*t;{const a=Math.pow(1+e,t);return r*(i?1+e:1)*(1-a)/e-n*a}}function Gs(e,t,r,n,i,a){return zs(e,r,n,i,a)-Ws(e,t,r,n,i,a)}function Ks(e,t){let r=0;for(let n=t.length-1;n>=0;n--){if(r+=t[n],-1===e){if(0===r)continue;return new ln(Ur.DIV_BY_ZERO)}r/=1+e}return r}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */Ys.implementedFunctions={PMT:{method:"pmt",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},IPMT:{method:"ipmt",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},PPMT:{method:"ppmt",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},FV:{method:"fv",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},CUMIPMT:{method:"cumipmt",parameters:[{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.INTEGER,minValue:1},{argumentType:Jn.INTEGER,minValue:1},{argumentType:Jn.INTEGER,minValue:0,maxValue:1}],returnNumberType:Rt.NUMBER_CURRENCY},CUMPRINC:{method:"cumprinc",parameters:[{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.INTEGER,minValue:1},{argumentType:Jn.INTEGER,minValue:1},{argumentType:Jn.INTEGER,minValue:0,maxValue:1}],returnNumberType:Rt.NUMBER_CURRENCY},DB:{method:"db",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.INTEGER,minValue:1,maxValue:12,defaultValue:12}],returnNumberType:Rt.NUMBER_CURRENCY},DDB:{method:"ddb",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.INTEGER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0,defaultValue:2}],returnNumberType:Rt.NUMBER_CURRENCY},DOLLARDE:{method:"dollarde",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:0}]},DOLLARFR:{method:"dollarfr",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:0}]},EFFECT:{method:"effect",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:1}],returnNumberType:Rt.NUMBER_PERCENT},ISPMT:{method:"ispmt",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]},NOMINAL:{method:"nominal",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:1}],returnNumberType:Rt.NUMBER_PERCENT},NPER:{method:"nper",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:0}]},PV:{method:"pv",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},RATE:{method:"rate",parameters:[{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:.1}],returnNumberType:Rt.NUMBER_PERCENT},RRI:{method:"rri",parameters:[{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}],returnNumberType:Rt.NUMBER_PERCENT},SLN:{method:"sln",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}],returnNumberType:Rt.NUMBER_CURRENCY},SYD:{method:"syd",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_CURRENCY},TBILLEQ:{method:"tbilleq",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_PERCENT},TBILLPRICE:{method:"tbillprice",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_CURRENCY},TBILLYIELD:{method:"tbillyield",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_PERCENT},FVSCHEDULE:{method:"fvschedule",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.RANGE}],returnNumberType:Rt.NUMBER_CURRENCY},NPV:{method:"npv",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.ANY}],repeatLastArgs:1,returnNumberType:Rt.NUMBER_CURRENCY},MIRR:{method:"mirr",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}],returnNumberType:Rt.NUMBER_PERCENT},PDURATION:{method:"pduration",parameters:[{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0}]},XNPV:{method:"xnpv",parameters:[{argumentType:Jn.NUMBER,greaterThan:-1},{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]}};class Xs extends Qn{formulatext(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("FORMULATEXT"),()=>new ln(Ur.NA,xe.WrongArgNumber),e=>{var t;return null!==(t=this.serialization.getCellFormula(e))&&void 0!==t?t:new ln(Ur.NA,xe.Formula)})}}Xs.implementedFunctions={FORMULATEXT:{method:"formulatext",parameters:[{argumentType:Jn.NOERROR}],doesNotNeedArgumentsToBeComputed:!0,isDependentOnSheetStructureChange:!0,vectorizationForbidden:!0}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Zs extends Qn{hyperlink(e,t){return this.runFunction(e.args,t,this.metadata("HYPERLINK"),(t,r)=>(e.hyperlink=t,null!==r&&void 0!==r?r:t))}}Zs.implementedFunctions={HYPERLINK:{method:"hyperlink",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.STRING,optionalArg:!0}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class $s extends Qn{isbinary(e,t){return this.runFunction(e.args,t,this.metadata("ISBINARY"),e=>/^[01]{1,10}$/.test(e))}iserr(e,t){return this.runFunction(e.args,t,this.metadata("ISERR"),e=>e instanceof ln&&e.type!==Ur.NA)}iserror(e,t){return this.runFunction(e.args,t,this.metadata("ISERROR"),e=>e instanceof ln)}isformula(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("ISFORMULA"),()=>new ln(Ur.NA,xe.WrongArgNumber),e=>{const t=this.dependencyGraph.addressMapping.getCell(e);return t instanceof Tr})}isblank(e,t){return this.runFunction(e.args,t,this.metadata("ISBLANK"),e=>e===_t)}isna(e,t){return this.runFunction(e.args,t,this.metadata("ISNA"),e=>e instanceof ln&&e.type==Ur.NA)}isnumber(e,t){return this.runFunction(e.args,t,this.metadata("ISNUMBER"),Ot)}islogical(e,t){return this.runFunction(e.args,t,this.metadata("ISLOGICAL"),e=>"boolean"===typeof e)}isref(e,t){return this.runFunction(e.args,t,this.metadata("ISREF"),e=>e instanceof ln&&(e.type==Ur.REF||e.type==Ur.CYCLE))}istext(e,t){return this.runFunction(e.args,t,this.metadata("ISTEXT"),e=>"string"===typeof e)}isnontext(e,t){return this.runFunction(e.args,t,this.metadata("ISNONTEXT"),e=>!("string"===typeof e))}column(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("COLUMN"),()=>t.formulaAddress.col+1,e=>e.col+1)}columns(e,t){if(1!==e.args.length)return new ln(Ur.NA,xe.WrongArgNumber);if(e.args.some(e=>e.type===z.EMPTY))return new ln(Ur.NUM,xe.EmptyArg);let r=e.args[0];while(r.type===z.PARENTHESIS)r=r.expression;if(r.type===z.CELL_RANGE||r.type===z.COLUMN_RANGE)return r.end.col-r.start.col+1;if(r.type===z.CELL_REFERENCE)return 1;if(r.type===z.ROW_RANGE)return this.config.maxColumns;{const e=this.evaluateAst(r,t);return e instanceof Pt?e.width():e instanceof ln?e:1}}row(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("ROW"),()=>t.formulaAddress.row+1,e=>e.row+1)}rows(e,t){if(1!==e.args.length)return new ln(Ur.NA,xe.WrongArgNumber);if(e.args.some(e=>e.type===z.EMPTY))return new ln(Ur.NUM,xe.EmptyArg);let r=e.args[0];while(r.type===z.PARENTHESIS)r=r.expression;if(r.type===z.CELL_RANGE||r.type===z.ROW_RANGE)return r.end.row-r.start.row+1;if(r.type===z.CELL_REFERENCE)return 1;if(r.type===z.COLUMN_RANGE)return this.config.maxRows;{const e=this.evaluateAst(r,t);return e instanceof Pt?e.height():e instanceof ln?e:1}}index(e,t){return this.runFunction(e.args,t,this.metadata("INDEX"),(e,t,r)=>{var n,i,a,o,s,l;return r<1||t<1?new ln(Ur.VALUE,xe.LessThanOne):r>e.width()||t>e.height()?new ln(Ur.NUM,xe.ValueLarge):null!==(l=null!==(a=null===(i=null===(n=null===e||void 0===e?void 0:e.data)||void 0===n?void 0:n[t-1])||void 0===i?void 0:i[r-1])&&void 0!==a?a:null===(s=null===(o=null===e||void 0===e?void 0:e.data)||void 0===o?void 0:o[0])||void 0===s?void 0:s[0])&&void 0!==l?l:new ln(Ur.VALUE,xe.CellRangeExpected)})}na(e,t){return new ln(Ur.NA)}sheet(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("SHEET"),()=>t.formulaAddress.sheet+1,e=>e.sheet+1,e=>{const t=this.dependencyGraph.sheetMapping.get(e);return void 0!==t?t+1:new ln(Ur.NA,xe.SheetRef)})}sheets(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("SHEETS"),()=>this.dependencyGraph.sheetMapping.numberOfSheets(),()=>1,()=>new ln(Ur.VALUE,xe.CellRefExpected))}}$s.implementedFunctions={COLUMN:{method:"column",parameters:[{argumentType:Jn.NOERROR,optionalArg:!0}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},COLUMNS:{method:"columns",parameters:[{argumentType:Jn.RANGE}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ISBINARY:{method:"isbinary",parameters:[{argumentType:Jn.STRING}]},ISERR:{method:"iserr",parameters:[{argumentType:Jn.SCALAR}]},ISFORMULA:{method:"isformula",parameters:[{argumentType:Jn.NOERROR}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ISNA:{method:"isna",parameters:[{argumentType:Jn.SCALAR}]},ISREF:{method:"isref",parameters:[{argumentType:Jn.SCALAR}],vectorizationForbidden:!0},ISERROR:{method:"iserror",parameters:[{argumentType:Jn.SCALAR}]},ISBLANK:{method:"isblank",parameters:[{argumentType:Jn.SCALAR}]},ISNUMBER:{method:"isnumber",parameters:[{argumentType:Jn.SCALAR}]},ISLOGICAL:{method:"islogical",parameters:[{argumentType:Jn.SCALAR}]},ISTEXT:{method:"istext",parameters:[{argumentType:Jn.SCALAR}]},ISNONTEXT:{method:"isnontext",parameters:[{argumentType:Jn.SCALAR}]},INDEX:{method:"index",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:1}]},NA:{method:"na",parameters:[]},ROW:{method:"row",parameters:[{argumentType:Jn.NOERROR,optionalArg:!0}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ROWS:{method:"rows",parameters:[{argumentType:Jn.RANGE}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},SHEET:{method:"sheet",parameters:[{argumentType:Jn.STRING}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},SHEETS:{method:"sheets",parameters:[{argumentType:Jn.STRING}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Js extends Qn{iseven(e,t){return this.runFunction(e.args,t,this.metadata("ISEVEN"),e=>e%2===0)}}Js.implementedFunctions={ISEVEN:{method:"iseven",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Qs extends Qn{isodd(e,t){return this.runFunction(e.args,t,this.metadata("ISODD"),e=>e%2===1)}}Qs.implementedFunctions={ISODD:{method:"isodd",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class el extends Qn{log10(e,t){return this.runFunction(e.args,t,this.metadata("LOG10"),Math.log10)}log(e,t){return this.runFunction(e.args,t,this.metadata("LOG"),(e,t)=>Math.log(e)/Math.log(t))}ln(e,t){return this.runFunction(e.args,t,this.metadata("LN"),Math.log)}}el.implementedFunctions={LOG10:{method:"log10",parameters:[{argumentType:Jn.NUMBER}]},LOG:{method:"log",parameters:[{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,defaultValue:10,greaterThan:0}]},LN:{method:"ln",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- const tl=parseFloat(Math.PI.toFixed(14));class rl extends Qn{pi(e,t){return this.runFunction(e.args,t,this.metadata("PI"),()=>tl)}sqrtpi(e,t){return this.runFunction(e.args,t,this.metadata("SQRTPI"),e=>Math.sqrt(tl*e))}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- function nl(e,t){return new ei(t.width,e.height)}function il(e,t,r){return new ei(1+(e.width-t)/r,1+(e.height-t)/r)}rl.implementedFunctions={PI:{method:"pi",parameters:[]},SQRTPI:{method:"sqrtpi",parameters:[{argumentType:Jn.NUMBER,minValue:0}]}};class al extends Qn{mmult(e,t){return this.runFunction(e.args,t,this.metadata("MMULT"),(e,t)=>{if(!e.hasOnlyNumbers()||!t.hasOnlyNumbers())return new ln(Ur.VALUE,xe.NumberRange);if(t.height()!==e.width())return new ln(Ur.VALUE,xe.ArrayDimensions);const r=nl(e.size,t.size),n=this.createKernel((function(e,t,r){let n=0;for(let i=0;i<r;++i)n+=e[this.thread.y][i]*t[i][this.thread.x];return n}),r)(e.rawNumbers(),t.rawNumbers(),e.width());return Pt.onlyNumbers(n)})}mmultArraySize(e,t){if(2!==e.args.length)return ei.error();const r=this.metadata("MMULT"),n=e.args.map(e=>{var n;return this.arraySizeForAst(e,new Cn(t.formulaAddress,t.arraysFlag||null!==(n=null===r||void 0===r?void 0:r.arrayFunction)&&void 0!==n&&n))}),[i,a]=n;return nl(i,a)}maxpool(e,t){return this.runFunction(e.args,t,this.metadata("MAXPOOL"),(e,t,r=t)=>{if(!e.hasOnlyNumbers())return new ln(Ur.VALUE,xe.NumberRange);const n=il(e.size,t,r),i=this.createKernel((function(e,t,r){const n=this.thread.x*r,i=this.thread.y*r;let a=e[i][n];for(let o=0;o<t;o++)for(let r=0;r<t;r++)a=Math.max(a,e[i+o][n+r]);return a}),n)(e.rawNumbers(),t,r);return Pt.onlyNumbers(i)})}medianpool(e,t){return this.runFunction(e.args,t,this.metadata("MEDIANPOOL"),(e,t,r=t)=>{if(!e.hasOnlyNumbers())return new ln(Ur.VALUE,xe.NumberRange);const n=il(e.size,t,r),i=this.createKernel((function(e,t,r){const n=this.thread.x*r,i=this.thread.y*r;let a=e[i][n];for(let d=0;d<t;d++)for(let r=0;r<t;r++)a=Math.max(a,e[i+d][n+r]);let o=e[i][n];for(let d=0;d<t;d++)for(let r=0;r<t;r++)o=Math.min(o,e[i+d][n+r]);const s=t*t;let l=o,u=a,c=42;for(let d=0;d<32;d++){const r=(l+u)/2;let a=0;for(let o=0;o<t;o++)for(let s=0;s<t;s++)e[i+o][n+s]>r&&a++;if(t%2===0){if(a===s/2){c=r;break}a>s/2?l=r:u=r}else{if(a===(s-1)/2){c=r;break}a>(s-1)/2?l=r:u=r}}return c}),n)(e.rawNumbers(),t,r);return Pt.onlyNumbers(i)})}maxpoolArraySize(e,t){if(e.args.length<2||e.args.length>3)return ei.error();const r=this.metadata("MAXPOOL"),n=e.args.map(e=>{var n;return this.arraySizeForAst(e,new Cn(t.formulaAddress,t.arraysFlag||null!==(n=null===r||void 0===r?void 0:r.arrayFunction)&&void 0!==n&&n))}),i=n[0],a=e.args[1];let o;o=a.type===z.NUMBER?a.value:1;let s=o;if(3===e.args.length){const t=e.args[2];s=t.type===z.NUMBER?t.value:1}return o>i.width||o>i.height||s>o||(i.width-o)%s!==0||(i.height-o)%s!==0?ei.error():il(i,o,s)}medianpoolArraySize(e,t){return this.maxpoolArraySize(e,t)}transpose(e,t){return this.runFunction(e.args,t,this.metadata("TRANSPOSE"),e=>{const t=e.rawData(),r=e.size,n=[];for(let i=0;i<r.width;++i){n[i]=[];for(let e=0;e<r.height;++e)n[i][e]=t[e][i]}return Pt.onlyValues(n)})}transposeArraySize(e,t){if(1!==e.args.length)return ei.error();const r=this.metadata("TRANSPOSE"),n=e.args.map(e=>{var n;return this.arraySizeForAst(e,new Cn(t.formulaAddress,t.arraysFlag||null!==(n=null===r||void 0===r?void 0:r.arrayFunction)&&void 0!==n&&n))}),[i]=n;return new ei(i.height,i.width)}createKernel(e,t){return function(...r){const n=[];for(let i=0;i<t.height;++i){n.push([]);for(let a=0;a<t.width;++a)n[i][a]=e.apply({thread:{x:a,y:i}},r)}return n}}}al.implementedFunctions={MMULT:{method:"mmult",arraySizeMethod:"mmultArraySize",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}],vectorizationForbidden:!0},TRANSPOSE:{method:"transpose",arraySizeMethod:"transposeArraySize",parameters:[{argumentType:Jn.RANGE}],vectorizationForbidden:!0},MAXPOOL:{method:"maxpool",arraySizeMethod:"maxpoolArraySize",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0}],vectorizationForbidden:!0},MEDIANPOOL:{method:"medianpool",arraySizeMethod:"medianpoolArraySize",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0}],vectorizationForbidden:!0}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class ol extends Qn{median(e,t){return this.runFunction(e.args,t,this.metadata("MEDIAN"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);return t instanceof ln?t:0===t.length?new ln(Ur.NUM,xe.OneValue):(t.sort((e,t)=>e-t),t.length%2===0?(t[t.length/2-1]+t[t.length/2])/2:t[Math.floor(t.length/2)])})}large(e,t){return this.runFunction(e.args,t,this.metadata("LARGE"),(e,t)=>{const r=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());return r instanceof ln?r:(r.sort((e,t)=>e-t),t=Math.trunc(t),t>r.length?new ln(Ur.NUM,xe.ValueLarge):r[r.length-t])})}small(e,t){return this.runFunction(e.args,t,this.metadata("SMALL"),(e,t)=>{const r=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());return r instanceof ln?r:(r.sort((e,t)=>e-t),t=Math.trunc(t),t>r.length?new ln(Ur.NUM,xe.ValueLarge):r[t-1])})}}ol.implementedFunctions={MEDIAN:{method:"median",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},LARGE:{method:"large",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER,minValue:1}]},SMALL:{method:"small",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER,minValue:1}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class sl extends Qn{mod(e,t){return this.runFunction(e.args,t,this.metadata("MOD"),(e,t)=>0===t?new ln(Ur.DIV_BY_ZERO):e%t)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- function ll(e){return Ot(e)&&!Number.isFinite(St(e))?0:e}sl.implementedFunctions={MOD:{method:"mod",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]}};class ul{constructor(e,t,r){this.sumsq=e,this.sum=t,this.count=r}static single(e){return new ul(e*e,e,1)}compose(e){return new ul(this.sumsq+e.sumsq,this.sum+e.sum,this.count+e.count)}averageValue(){return this.count>0?this.sum/this.count:void 0}varSValue(){return this.count>1?(this.sumsq-this.sum*this.sum/this.count)/(this.count-1):void 0}varPValue(){return this.count>0?(this.sumsq-this.sum*this.sum/this.count)/this.count:void 0}}ul.empty=new ul(0,0,0);class cl extends Qn{constructor(){super(...arguments),this.addWithEpsilonRaw=(e,t)=>this.arithmeticHelper.addWithEpsilonRaw(e,t)}sum(e,t){return this.doSum(e.args,t)}sumsq(e,t){return this.reduce(e.args,t,0,"SUMSQ",this.addWithEpsilonRaw,e=>Math.pow(St(e),2),dl)}max(e,t){return this.doMax(e.args,t)}maxa(e,t){const r=this.reduce(e.args,t,Number.NEGATIVE_INFINITY,"MAXA",(e,t)=>Math.max(e,t),St,hl);return ll(r)}min(e,t){return this.doMin(e.args,t)}mina(e,t){const r=this.reduce(e.args,t,Number.POSITIVE_INFINITY,"MINA",(e,t)=>Math.min(e,t),St,hl);return ll(r)}count(e,t){return this.doCount(e.args,t)}counta(e,t){return this.doCounta(e.args,t)}average(e,t){return this.doAverage(e.args,t)}averagea(e,t){var r;const n=this.reduce(e.args,t,ul.empty,"_AGGREGATE_A",(e,t)=>e.compose(t),e=>ul.single(St(e)),hl);return n instanceof ln?n:null!==(r=n.averageValue())&&void 0!==r?r:new ln(Ur.DIV_BY_ZERO)}vars(e,t){return this.doVarS(e.args,t)}varp(e,t){return this.doVarP(e.args,t)}vara(e,t){var r;const n=this.reduceAggregateA(e.args,t);return n instanceof ln?n:null!==(r=n.varSValue())&&void 0!==r?r:new ln(Ur.DIV_BY_ZERO)}varpa(e,t){var r;const n=this.reduceAggregateA(e.args,t);return n instanceof ln?n:null!==(r=n.varPValue())&&void 0!==r?r:new ln(Ur.DIV_BY_ZERO)}stdevs(e,t){return this.doStdevS(e.args,t)}stdevp(e,t){return this.doStdevP(e.args,t)}stdeva(e,t){const r=this.reduceAggregateA(e.args,t);if(r instanceof ln)return r;{const e=r.varSValue();return void 0===e?new ln(Ur.DIV_BY_ZERO):Math.sqrt(e)}}stdevpa(e,t){const r=this.reduceAggregateA(e.args,t);if(r instanceof ln)return r;{const e=r.varPValue();return void 0===e?new ln(Ur.DIV_BY_ZERO):Math.sqrt(e)}}product(e,t){return this.doProduct(e.args,t)}subtotal(e,t){if(e.args.length<2)return new ln(Ur.NA,xe.WrongArgNumber);const r=this.coerceToType(this.evaluateAst(e.args[0],t),{argumentType:Jn.NUMBER},t),n=e.args.slice(1);switch(r){case 1:case 101:return this.doAverage(n,t);case 2:case 102:return this.doCount(n,t);case 3:case 103:return this.doCounta(n,t);case 4:case 104:return this.doMax(n,t);case 5:case 105:return this.doMin(n,t);case 6:case 106:return this.doProduct(n,t);case 7:case 107:return this.doStdevS(n,t);case 8:case 108:return this.doStdevP(n,t);case 9:case 109:return this.doSum(n,t);case 10:case 110:return this.doVarS(n,t);case 11:case 111:return this.doVarP(n,t);default:return new ln(Ur.VALUE,xe.BadMode)}}reduceAggregate(e,t){return this.reduce(e,t,ul.empty,"_AGGREGATE",(e,t)=>e.compose(t),e=>ul.single(St(e)),dl)}reduceAggregateA(e,t){return this.reduce(e,t,ul.empty,"_AGGREGATE_A",(e,t)=>e.compose(t),e=>ul.single(St(e)),hl)}doAverage(e,t){var r;const n=this.reduceAggregate(e,t);return n instanceof ln?n:null!==(r=n.averageValue())&&void 0!==r?r:new ln(Ur.DIV_BY_ZERO)}doVarS(e,t){var r;const n=this.reduceAggregate(e,t);return n instanceof ln?n:null!==(r=n.varSValue())&&void 0!==r?r:new ln(Ur.DIV_BY_ZERO)}doVarP(e,t){var r;const n=this.reduceAggregate(e,t);return n instanceof ln?n:null!==(r=n.varPValue())&&void 0!==r?r:new ln(Ur.DIV_BY_ZERO)}doStdevS(e,t){const r=this.reduceAggregate(e,t);if(r instanceof ln)return r;{const e=r.varSValue();return void 0===e?new ln(Ur.DIV_BY_ZERO):Math.sqrt(e)}}doStdevP(e,t){const r=this.reduceAggregate(e,t);if(r instanceof ln)return r;{const e=r.varPValue();return void 0===e?new ln(Ur.DIV_BY_ZERO):Math.sqrt(e)}}doCount(e,t){return this.reduce(e,t,0,"COUNT",(e,t)=>e+t,St,e=>Ot(e)?1:0)}doCounta(e,t){return this.reduce(e,t,0,"COUNTA",(e,t)=>e+t,St,e=>e===_t?0:1)}doMax(e,t){const r=this.reduce(e,t,Number.NEGATIVE_INFINITY,"MAX",(e,t)=>Math.max(e,t),St,dl);return ll(r)}doMin(e,t){const r=this.reduce(e,t,Number.POSITIVE_INFINITY,"MIN",(e,t)=>Math.min(e,t),St,dl);return ll(r)}doSum(e,t){return this.reduce(e,t,0,"SUM",this.addWithEpsilonRaw,St,dl)}doProduct(e,t){return this.reduce(e,t,1,"PRODUCT",(e,t)=>e*t,St,dl)}reduce(e,t,r,n,i,a,o){return e.length<1?new ln(Ur.NA,xe.WrongArgNumber):e.reduce((e,s)=>{if(e instanceof ln)return e;if(s.type===z.CELL_RANGE||s.type===z.COLUMN_RANGE||s.type===z.ROW_RANGE){const l=this.evaluateRange(s,t,r,n,i,a,o);return l instanceof ln?l:i(l,e)}let l;if(l=this.evaluateAst(s,t),l instanceof Pt){const t=Array.from(l.valuesFromTopLeftCorner()).map(o).filter(e=>void 0!==e);return t.map(e=>e instanceof ln?e:a(e)).reduce((e,t)=>e instanceof ln?e:t instanceof ln?t:i(e,t),e)}if(s.type===z.CELL_REFERENCE){if(l=o(l),void 0===l)return e}else if(l=this.coerceScalarToNumberOrError(l),l=o(l),void 0===l)return e;return l instanceof ln?l:i(e,a(l))},r)}evaluateRange(e,t,r,n,i,a,o){let s;try{s=En.fromAst(e,t.formulaAddress)}catch(c){if(c instanceof Xt)return new ln(Ur.REF,xe.RangeManySheets);throw c}const l=this.dependencyGraph.getRange(s.start,s.end);if(void 0===l)throw new Error("Range does not exists in graph");let u=l.getFunctionValue(n);if(void 0===u){const e=this.getRangeValues(n,s,l,a,o);u=e.reduce((e,t)=>e instanceof ln?e:t instanceof ln?t:i(e,t),r),l.setFunctionValue(n,u)}return u}getRangeValues(e,t,r,n,i){const a=[],{smallerRangeVertex:o,restRange:s}=this.dependencyGraph.rangeMapping.findSmallerRange(t);let l;if(void 0!==o&&this.dependencyGraph.existsEdge(o,r)){const t=o.getFunctionValue(e);if(void 0!==t)a.push(t);else for(const e of o.range.addresses(this.dependencyGraph)){const t=i(this.dependencyGraph.getScalarValue(e));t instanceof ln?a.push(t):void 0!==t&&a.push(n(t))}l=s}else l=t;for(const u of l.addresses(this.dependencyGraph)){const e=i(this.dependencyGraph.getScalarValue(u));e instanceof ln?a.push(e):void 0!==e&&a.push(n(e))}return a}}function dl(e){return Ot(e)||e instanceof ln?e:void 0}function hl(e){return"boolean"===typeof e?kn(e):Ot(e)||e instanceof ln?e:"string"===typeof e?0:void 0}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */cl.implementedFunctions={SUM:{method:"sum",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},SUMSQ:{method:"sumsq",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},MAX:{method:"max",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},MIN:{method:"min",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},MAXA:{method:"maxa",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},MINA:{method:"mina",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},COUNT:{method:"count",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},COUNTA:{method:"counta",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},AVERAGE:{method:"average",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},AVERAGEA:{method:"averagea",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},PRODUCT:{method:"product",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},"VAR.S":{method:"vars",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},"VAR.P":{method:"varp",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},VARA:{method:"vara",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},VARPA:{method:"varpa",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},"STDEV.S":{method:"stdevs",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},"STDEV.P":{method:"stdevp",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},STDEVA:{method:"stdeva",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},STDEVPA:{method:"stdevpa",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},SUBTOTAL:{method:"subtotal",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.ANY}],repeatLastArgs:1}},cl.aliases={VAR:"VAR.S",VARP:"VAR.P",STDEV:"STDEV.S",STDEVP:"STDEV.P",VARS:"VAR.S",STDEVS:"STDEV.S"};class pl extends Qn{power(e,t){return this.runFunction(e.args,t,this.metadata("POWER"),Math.pow)}}pl.implementedFunctions={POWER:{method:"power",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class fl extends Qn{radians(e,t){return this.runFunction(e.args,t,this.metadata("RADIANS"),e=>e*(Math.PI/180))}}fl.implementedFunctions={RADIANS:{method:"radians",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- const ml=10,gl=255,vl=2,bl=36,yl="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";class wl extends Qn{dec2bin(e,t){return this.runFunction(e.args,t,this.metadata("DEC2BIN"),(e,t)=>Sl(e,2,t))}dec2oct(e,t){return this.runFunction(e.args,t,this.metadata("DEC2OCT"),(e,t)=>Sl(e,8,t))}dec2hex(e,t){return this.runFunction(e.args,t,this.metadata("DEC2HEX"),(e,t)=>Sl(e,16,t))}bin2dec(e,t){return this.runFunction(e.args,t,this.metadata("BIN2DEC"),e=>{const t=_l(e,2,ml);return void 0===t?new ln(Ur.NUM,xe.NotBinary):xl(t,2)})}bin2oct(e,t){return this.runFunction(e.args,t,this.metadata("BIN2OCT"),(e,t)=>{const r=_l(e,2,ml);return void 0===r?new ln(Ur.NUM,xe.NotBinary):Sl(xl(r,2),8,t)})}bin2hex(e,t){return this.runFunction(e.args,t,this.metadata("BIN2HEX"),(e,t)=>{const r=_l(e,2,ml);return void 0===r?new ln(Ur.NUM,xe.NotBinary):Sl(xl(r,2),16,t)})}oct2dec(e,t){return this.runFunction(e.args,t,this.metadata("OCT2DEC"),e=>{const t=_l(e,8,ml);return void 0===t?new ln(Ur.NUM,xe.NotOctal):xl(t,8)})}oct2bin(e,t){return this.runFunction(e.args,t,this.metadata("OCT2BIN"),(e,t)=>{const r=_l(e,8,ml);return void 0===r?new ln(Ur.NUM,xe.NotOctal):Sl(xl(r,8),2,t)})}oct2hex(e,t){return this.runFunction(e.args,t,this.metadata("OCT2HEX"),(e,t)=>{const r=_l(e,8,ml);return void 0===r?new ln(Ur.NUM,xe.NotOctal):Sl(xl(r,8),16,t)})}hex2dec(e,t){return this.runFunction(e.args,t,this.metadata("HEX2DEC"),e=>{const t=_l(e,16,ml);return void 0===t?new ln(Ur.NUM,xe.NotHex):xl(t,16)})}hex2bin(e,t){return this.runFunction(e.args,t,this.metadata("HEX2BIN"),(e,t)=>{const r=_l(e,16,ml);return void 0===r?new ln(Ur.NUM,xe.NotHex):Sl(xl(r,16),2,t)})}hex2oct(e,t){return this.runFunction(e.args,t,this.metadata("HEX2OCT"),(e,t)=>{const r=_l(e,16,ml);return void 0===r?new ln(Ur.NUM,xe.NotHex):Sl(xl(r,16),8,t)})}base(e,t){return this.runFunction(e.args,t,this.metadata("BASE"),Tl)}decimal(e,t){return this.runFunction(e.args,t,this.metadata("DECIMAL"),(e,t)=>{const r=_l(e,t,gl);return void 0===r?new ln(Ur.NUM,xe.NotHex):parseInt(r,t)})}}function _l(e,t,r){const n=yl.substr(0,t),i=new RegExp(`^[${n}]+$`);if(!(e.length>r)&&i.test(e))return e}function Sl(e,t,r){if(e>Ml(t))return new ln(Ur.NUM,xe.ValueBaseLarge);if(e<El(t))return new ln(Ur.NUM,xe.ValueBaseSmall);const n=Cl(e,t);return void 0===r||e<0?n:n.length>r?new ln(Ur.NUM,xe.ValueBaseLong):ra(n,r)}function El(e){return-Math.pow(e,ml)/2}function Ml(e){return-El(e)-1}function Tl(e,t,r){const n=Cl(e,t);return void 0!==r&&r>n.length?ra(n,r):n}function Cl(e,t){const r=e<0?Math.pow(t,ml):0;return(e+r).toString(t).toUpperCase()}function xl(e,t){const r=parseInt(e,t),n=Math.pow(t,ml);return r>=n/2?r-n:r}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */wl.implementedFunctions={DEC2BIN:{method:"dec2bin",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},DEC2OCT:{method:"dec2oct",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},DEC2HEX:{method:"dec2hex",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},BIN2DEC:{method:"bin2dec",parameters:[{argumentType:Jn.STRING}]},BIN2OCT:{method:"bin2oct",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},BIN2HEX:{method:"bin2hex",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},OCT2DEC:{method:"oct2dec",parameters:[{argumentType:Jn.STRING}]},OCT2BIN:{method:"oct2bin",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},OCT2HEX:{method:"oct2hex",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},HEX2DEC:{method:"hex2dec",parameters:[{argumentType:Jn.STRING}]},HEX2BIN:{method:"hex2bin",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},HEX2OCT:{method:"hex2oct",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},DECIMAL:{method:"decimal",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,minValue:vl,maxValue:bl}]},BASE:{method:"base",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:vl,maxValue:bl},{argumentType:Jn.NUMBER,optionalArg:!0,minValue:0,maxValue:gl}]}};class Al extends Qn{rand(e,t){return this.runFunction(e.args,t,this.metadata("RAND"),Math.random)}randbetween(e,t){return this.runFunction(e.args,t,this.metadata("RANDBETWEEN"),(e,t)=>t<e?new ln(Ur.NUM,xe.WrongOrder):(e=Math.ceil(e),t=Math.floor(t)+1,e===t&&(t+=1),e+Math.floor(Math.random()*(t-e))))}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- function Nl(e){const t=Math.ceil(e);return t%2===1?t:t+1}function Ol(e){const t=Math.ceil(e);return t%2===0?t:t+1}Al.implementedFunctions={RAND:{method:"rand",parameters:[],isVolatile:!0},RANDBETWEEN:{method:"randbetween",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}],isVolatile:!0}};class Rl extends Qn{roundup(e,t){return this.runFunction(e.args,t,this.metadata("ROUNDDOWN"),(e,t)=>{const r=Math.pow(10,t);return e<0?-Math.ceil(-e*r)/r:Math.ceil(e*r)/r})}rounddown(e,t){return this.runFunction(e.args,t,this.metadata("ROUNDDOWN"),(e,t)=>{const r=Math.pow(10,t);return e<0?-Math.floor(-e*r)/r:Math.floor(e*r)/r})}round(e,t){return this.runFunction(e.args,t,this.metadata("ROUND"),(e,t)=>{const r=Math.pow(10,t);return e<0?-Math.round(-e*r)/r:Math.round(e*r)/r})}intFunc(e,t){return this.runFunction(e.args,t,this.metadata("INT"),e=>e<0?-Math.floor(-e):Math.floor(e))}even(e,t){return this.runFunction(e.args,t,this.metadata("EVEN"),e=>e<0?-Ol(-e):Ol(e))}odd(e,t){return this.runFunction(e.args,t,this.metadata("ODD"),e=>e<0?-Nl(-e):Nl(e))}ceilingmath(e,t){return this.runFunction(e.args,t,this.metadata("CEILING.MATH"),(e,t,r)=>0===t||0===e?0:(t=Math.abs(t),1===r&&e<0&&(t=-t),Math.ceil(e/t)*t))}ceiling(e,t){return this.runFunction(e.args,t,this.metadata("CEILING"),(e,t)=>0===e?0:0===t?new ln(Ur.DIV_BY_ZERO):e>0&&t<0?new ln(Ur.NUM,xe.DistinctSigns):Math.ceil(e/t)*t)}ceilingprecise(e,t){return this.runFunction(e.args,t,this.metadata("CEILING.PRECISE"),(e,t)=>0===t||0===e?0:(t=Math.abs(t),Math.ceil(e/t)*t))}floormath(e,t){return this.runFunction(e.args,t,this.metadata("FLOOR.MATH"),(e,t,r)=>0===t||0===e?0:(t=Math.abs(t),1===r&&e<0&&(t*=-1),Math.floor(e/t)*t))}floor(e,t){return this.runFunction(e.args,t,this.metadata("FLOOR"),(e,t)=>0===e?0:0===t?new ln(Ur.DIV_BY_ZERO):e>0&&t<0?new ln(Ur.NUM,xe.DistinctSigns):Math.floor(e/t)*t)}floorprecise(e,t){return this.runFunction(e.args,t,this.metadata("FLOOR.PRECISE"),(e,t)=>0===t||0===e?0:(t=Math.abs(t),Math.floor(e/t)*t))}}Rl.implementedFunctions={ROUNDUP:{method:"roundup",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0}]},ROUNDDOWN:{method:"rounddown",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0}]},ROUND:{method:"round",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:0}]},INT:{method:"intFunc",parameters:[{argumentType:Jn.NUMBER}]},EVEN:{method:"even",parameters:[{argumentType:Jn.NUMBER}]},ODD:{method:"odd",parameters:[{argumentType:Jn.NUMBER}]},"CEILING.MATH":{method:"ceilingmath",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:1},{argumentType:Jn.NUMBER,defaultValue:0}]},CEILING:{method:"ceiling",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]},"CEILING.PRECISE":{method:"ceilingprecise",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:1}]},"FLOOR.MATH":{method:"floormath",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:1},{argumentType:Jn.NUMBER,defaultValue:0}]},FLOOR:{method:"floor",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]},"FLOOR.PRECISE":{method:"floorprecise",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,defaultValue:1}]}},Rl.aliases={"ISO.CEILING":"CEILING.PRECISE",TRUNC:"ROUNDDOWN"};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Ll extends Qn{sqrt(e,t){return this.runFunction(e.args,t,this.metadata("SQRT"),Math.sqrt)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- function*kl(){}function Il(e){const t=e[Symbol.iterator](),{done:r,value:n}=t.next();return r?{rest:kl()}:{value:n,rest:t}}Ll.implementedFunctions={SQRT:{method:"sqrt",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- const Dl=(e,t,r)=>{if(r.end.row>r.start.row){const n=pn(r.end.sheet,r.end.col,r.end.row-1),i=e.getRange(r.start,n);if(void 0!==i)return{smallerRangeVertex:i,restValuesRange:r.withStart(pn(r.start.sheet,r.start.col,r.end.row)),restConditionRanges:t.map(e=>e.withStart(pn(e.start.sheet,e.start.col,e.end.row)))}}return{restValuesRange:r,restConditionRanges:t}};class Pl{constructor(e,t,r,n,i){this.interpreter=e,this.cacheKey=t,this.reduceInitialValue=r,this.composeFunction=n,this.mapFunction=i,this.dependencyGraph=this.interpreter.dependencyGraph}compute(e,t){for(const i of t)if(!i.conditionRange.sameDimensionsAs(e))return new ln(Ur.VALUE,xe.EqualLength);const r=this.tryToGetRangeVertexForRangeValue(e),n=t.map(e=>this.tryToGetRangeVertexForRangeValue(e.conditionRange));if(r&&n.every(e=>void 0!==e)){const i=t.map(e=>e.criterionPackage.raw).join(","),a=this.findAlreadyComputedValueInCache(r,this.cacheKey(t),i);if(void 0!==a)return this.interpreter.stats.incrementCriterionFunctionFullCacheUsed(),a;const o=this.buildNewCriterionCache(this.cacheKey(t),t.map(e=>e.conditionRange.range),e.range);return o.has(i)||o.set(i,[this.evaluateRangeValue(e,t),t.map(e=>e.criterionPackage.lambda)]),r.setCriterionFunctionValues(this.cacheKey(t),o),n.forEach(e=>{void 0!==e&&e.addDependentCacheRange(r)}),o.get(i)[0]}return this.evaluateRangeValue(e,t)}tryToGetRangeVertexForRangeValue(e){const t=e.range;return void 0===t?void 0:this.dependencyGraph.getRange(t.start,t.end)}reduceFunction(e){let t=this.reduceInitialValue;for(const r of e)t=this.composeFunction(t,r);return t}findAlreadyComputedValueInCache(e,t,r){return e.getCriterionFunctionValue(t,r)}evaluateRangeValue(e,t){const r=t.map(e=>e.criterionPackage.lambda),n=Array.from(e.valuesFromTopLeftCorner()).map(this.mapFunction)[Symbol.iterator](),i=t.map(e=>e.conditionRange.iterateValuesFromTopLeftCorner()),a=Hl(r,i,n);return this.reduceFunction(a)}buildNewCriterionCache(e,t,r){const n=this.dependencyGraph.getRange(r.start,r.end),{smallerRangeVertex:i,restConditionRanges:a,restValuesRange:o}=Dl(this.dependencyGraph,t,r);let s;s=void 0!==i&&this.dependencyGraph.existsEdge(i,n)?i.getCriterionFunctionValues(e):new Map;const l=new Map;return s.forEach(([e,t],r)=>{const n=Hl(t,a.map(e=>Fl(this.dependencyGraph,e)),Array.from(Fl(this.dependencyGraph,o)).map(this.mapFunction)[Symbol.iterator]()),i=this.composeFunction(e,this.reduceFunction(n));this.interpreter.stats.incrementCriterionFunctionPartialCacheUsed(),l.set(r,[i,t])}),l}}class jl{constructor(e,t){this.conditionRange=e,this.criterionPackage=t}}function*Fl(e,t){for(const r of t.addresses(e))yield St(e.getScalarValue(r))}function*Hl(e,t,r){for(const n of r){const r=t.map(e=>Il(e));if(!r.every(e=>Object.prototype.hasOwnProperty.call(e,"value")))return;const i=r.map(e=>St(e.value));Bl(i,e).every(([e,t])=>t(e))&&(yield n),t=r.map(e=>e.rest)}}function Bl(e,t){const r=[];for(let n=0;n<Math.min(e.length,t.length);n++)r.push([e[n],t[n]]);return r}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Ul{constructor(e,t){this.sum=e,this.count=t}static single(e){return new Ul(e,1)}compose(e){return new Ul(this.sum+e.sum,this.count+e.count)}averageValue(){return this.count>0?this.sum/this.count:void 0}}function Vl(e){return t=>{const r=t.map(e=>`${e.conditionRange.range.sheet},${e.conditionRange.range.start.col},${e.conditionRange.range.start.row}`);return[e,...r].join(",")}}function Yl(e){return Ot(e)&&!Number.isFinite(St(e))?0:e}function zl(e){return e instanceof ln?e:Ot(e)?St(e):void 0}Ul.empty=new Ul(0,0);class Wl extends Qn{sumif(e,t){const r="SUMIF",n=(e,t,n)=>this.computeConditionalAggregationFunction(null!==n&&void 0!==n?n:e,[e,t],r,0,(e,t)=>this.arithmeticHelper.nonstrictadd(e,t),zl);return this.runFunction(e.args,t,this.metadata(r),n)}sumifs(e,t){const r="SUMIFS",n=(e,...t)=>this.computeConditionalAggregationFunction(e,t,r,0,(e,t)=>this.arithmeticHelper.nonstrictadd(e,t),zl);return this.runFunction(e.args,t,this.metadata(r),n)}averageif(e,t){const r="AVERAGEIF",n=(e,t,n)=>{const i=this.computeConditionalAggregationFunction(null!==n&&void 0!==n?n:e,[e,t],r,Ul.empty,(e,t)=>e.compose(t),e=>Ot(e)?Ul.single(St(e)):Ul.empty);return i instanceof ln?i:i.averageValue()||new ln(Ur.DIV_BY_ZERO)};return this.runFunction(e.args,t,this.metadata(r),n)}countif(e,t){const r="COUNTIF",n=(e,t)=>this.computeConditionalAggregationFunction(e,[e,t],r,0,(e,t)=>e+t,()=>1);return this.runFunction(e.args,t,this.metadata(r),n)}countifs(e,t){const r="COUNTIFS",n=(...e)=>this.computeConditionalAggregationFunction(e[0],e,r,0,(e,t)=>e+t,()=>1);return this.runFunction(e.args,t,this.metadata(r),n)}minifs(e,t){const r="MINIFS",n=(e,t)=>void 0===t||void 0===e?void 0===t?e:t:Math.min(e,t),i=(e,...t)=>{const i=this.computeConditionalAggregationFunction(e,t,r,Number.POSITIVE_INFINITY,n,zl);return Yl(i)};return this.runFunction(e.args,t,this.metadata(r),i)}maxifs(e,t){const r="MAXIFS",n=(e,t)=>void 0===t||void 0===e?void 0===t?e:t:Math.max(e,t),i=(e,...t)=>{const i=this.computeConditionalAggregationFunction(e,t,r,Number.NEGATIVE_INFINITY,n,zl);return Yl(i)};return this.runFunction(e.args,t,this.metadata(r),i)}computeConditionalAggregationFunction(e,t,r,n,i,a){const o=[];for(let s=0;s<t.length;s+=2){const e=t[s],r=this.interpreter.criterionBuilder.fromCellValue(t[s+1],this.arithmeticHelper);if(void 0===r)return new ln(Ur.VALUE,xe.BadCriterion);o.push(new jl(e,r))}return new Pl(this.interpreter,Vl(r),n,i,a).compute(e,o)}}Wl.implementedFunctions={SUMIF:{method:"sumif",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NOERROR},{argumentType:Jn.RANGE,optionalArg:!0}]},COUNTIF:{method:"countif",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NOERROR}]},AVERAGEIF:{method:"averageif",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NOERROR},{argumentType:Jn.RANGE,optionalArg:!0}]},SUMIFS:{method:"sumifs",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE},{argumentType:Jn.NOERROR}],repeatLastArgs:2},COUNTIFS:{method:"countifs",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NOERROR}],repeatLastArgs:2},MINIFS:{method:"minifs",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE},{argumentType:Jn.NOERROR}],repeatLastArgs:2},MAXIFS:{method:"maxifs",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE},{argumentType:Jn.NOERROR}],repeatLastArgs:2}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class ql extends Qn{sumproduct(e,t){return this.runFunction(e.args,t,this.metadata("SUMPRODUCT"),(...e)=>{const t=e[0].width(),r=e[0].height();for(const a of e)if(a.width()!==t||a.height()!==r)return new ln(Ur.VALUE,xe.EqualLength);let n=0;const i=e.map(e=>e.iterateValuesFromTopLeftCorner());for(let a=0;a<t*r;a++){let e=1;for(const t of i){const r=t.next().value;if(r instanceof ln)return r;const n=this.coerceScalarToNumberOrError(r);Ot(n)?e*=St(n):e=0}n+=e}return n})}}ql.implementedFunctions={SUMPRODUCT:{method:"sumproduct",parameters:[{argumentType:Jn.RANGE}],repeatLastArgs:1}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Gl extends Qn{concatenate(e,t){return this.runFunction(e.args,t,this.metadata("CONCATENATE"),(...e)=>"".concat(...e))}split(e,t){return this.runFunction(e.args,t,this.metadata("SPLIT"),(e,t)=>{const r=e.split(" ");return t>=r.length||t<0?new ln(Ur.VALUE,xe.IndexBounds):r[t]})}len(e,t){return this.runFunction(e.args,t,this.metadata("LEN"),e=>e.length)}lower(e,t){return this.runFunction(e.args,t,this.metadata("LOWER"),e=>e.toLowerCase())}trim(e,t){return this.runFunction(e.args,t,this.metadata("TRIM"),e=>e.replace(/^ +| +$/g,"").replace(/ +/g," "))}proper(e,t){return this.runFunction(e.args,t,this.metadata("PROPER"),e=>e.replace(/\p{L}+/gu,e=>e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()))}clean(e,t){return this.runFunction(e.args,t,this.metadata("CLEAN"),e=>e.replace(/[\u0000-\u001F]/g,""))}exact(e,t){return this.runFunction(e.args,t,this.metadata("EXACT"),(e,t)=>e===t)}rept(e,t){return this.runFunction(e.args,t,this.metadata("REPT"),(e,t)=>t<0?new ln(Ur.VALUE,xe.NegativeCount):e.repeat(t))}right(e,t){return this.runFunction(e.args,t,this.metadata("RIGHT"),(e,t)=>t<0?new ln(Ur.VALUE,xe.NegativeLength):0===t?"":e.slice(-t))}left(e,t){return this.runFunction(e.args,t,this.metadata("LEFT"),(e,t)=>t<0?new ln(Ur.VALUE,xe.NegativeLength):e.slice(0,t))}mid(e,t){return this.runFunction(e.args,t,this.metadata("MID"),(e,t,r)=>t<1?new ln(Ur.VALUE,xe.LessThanOne):r<0?new ln(Ur.VALUE,xe.NegativeLength):e.substring(t-1,t+r-1))}replace(e,t){return this.runFunction(e.args,t,this.metadata("REPLACE"),(e,t,r,n)=>t<1?new ln(Ur.VALUE,xe.LessThanOne):r<0?new ln(Ur.VALUE,xe.NegativeLength):e.substring(0,t-1)+n+e.substring(t+r-1))}search(e,t){return this.runFunction(e.args,t,this.metadata("SEARCH"),(e,t,r)=>{if(r<1||r>t.length)return new ln(Ur.VALUE,xe.LengthBounds);const n=e.toLowerCase(),i=t.substring(r-1).toLowerCase(),a=this.arithmeticHelper.requiresRegex(n)?this.arithmeticHelper.searchString(n,i):i.indexOf(n);return a>-1?a+r:new ln(Ur.VALUE,xe.PatternNotFound)})}substitute(e,t){return this.runFunction(e.args,t,this.metadata("SUBSTITUTE"),(e,t,r,n)=>{const i=this.escapeRegExpSpecialCharacters(t),a=new RegExp(i,"g");if(void 0===n)return e.replace(a,r);if(n<1)return new ln(Ur.VALUE,xe.LessThanOne);let o,s=0;while(null!==(o=a.exec(e)))if(n===++s)return e.substring(0,o.index)+r+e.substring(a.lastIndex);return e})}find(e,t){return this.runFunction(e.args,t,this.metadata("FIND"),(e,t,r)=>{if(r<1||r>t.length)return new ln(Ur.VALUE,xe.IndexBounds);const n=t.substring(r-1),i=n.indexOf(e)+r;return i>0?i:new ln(Ur.VALUE,xe.PatternNotFound)})}t(e,t){return this.runFunction(e.args,t,this.metadata("T"),e=>e instanceof ln||"string"===typeof e?e:"")}upper(e,t){return this.runFunction(e.args,t,this.metadata("UPPER"),e=>e.toUpperCase())}escapeRegExpSpecialCharacters(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}Gl.implementedFunctions={CONCATENATE:{method:"concatenate",parameters:[{argumentType:Jn.STRING}],repeatLastArgs:1,expandRanges:!0},EXACT:{method:"exact",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.STRING}]},SPLIT:{method:"split",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER}]},LEN:{method:"len",parameters:[{argumentType:Jn.STRING}]},LOWER:{method:"lower",parameters:[{argumentType:Jn.STRING}]},MID:{method:"mid",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]},TRIM:{method:"trim",parameters:[{argumentType:Jn.STRING}]},T:{method:"t",parameters:[{argumentType:Jn.SCALAR}]},PROPER:{method:"proper",parameters:[{argumentType:Jn.STRING}]},CLEAN:{method:"clean",parameters:[{argumentType:Jn.STRING}]},REPT:{method:"rept",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER}]},RIGHT:{method:"right",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,defaultValue:1}]},LEFT:{method:"left",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,defaultValue:1}]},REPLACE:{method:"replace",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.STRING}]},SEARCH:{method:"search",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,defaultValue:1}]},SUBSTITUTE:{method:"substitute",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.STRING},{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,optionalArg:!0}]},FIND:{method:"find",parameters:[{argumentType:Jn.STRING},{argumentType:Jn.STRING},{argumentType:Jn.NUMBER,defaultValue:1}]},UPPER:{method:"upper",parameters:[{argumentType:Jn.STRING}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Kl extends Qn{acos(e,t){return this.runFunction(e.args,t,this.metadata("ACOS"),Math.acos)}asin(e,t){return this.runFunction(e.args,t,this.metadata("ASIN"),Math.asin)}cos(e,t){return this.runFunction(e.args,t,this.metadata("COS"),Math.cos)}sin(e,t){return this.runFunction(e.args,t,this.metadata("SIN"),Math.sin)}tan(e,t){return this.runFunction(e.args,t,this.metadata("TAN"),Math.tan)}atan(e,t){return this.runFunction(e.args,t,this.metadata("ATAN"),Math.atan)}atan2(e,t){return this.runFunction(e.args,t,this.metadata("ATAN2"),(e,t)=>0===e&&0===t?new ln(Ur.DIV_BY_ZERO):Math.atan2(t,e))}cot(e,t){return this.runFunction(e.args,t,this.metadata("COT"),e=>0===e?new ln(Ur.DIV_BY_ZERO):1/Math.tan(e))}acot(e,t){return this.runFunction(e.args,t,this.metadata("ACOT"),e=>0===e?tl/2:Math.atan(1/e))}sec(e,t){return this.runFunction(e.args,t,this.metadata("SEC"),e=>1/Math.cos(e))}csc(e,t){return this.runFunction(e.args,t,this.metadata("CSC"),e=>0===e?new ln(Ur.DIV_BY_ZERO):1/Math.sin(e))}sinh(e,t){return this.runFunction(e.args,t,this.metadata("SINH"),Math.sinh)}asinh(e,t){return this.runFunction(e.args,t,this.metadata("ASINH"),Math.asinh)}cosh(e,t){return this.runFunction(e.args,t,this.metadata("COSH"),Math.cosh)}acosh(e,t){return this.runFunction(e.args,t,this.metadata("ACOSH"),Math.acosh)}tanh(e,t){return this.runFunction(e.args,t,this.metadata("TANH"),Math.tanh)}atanh(e,t){return this.runFunction(e.args,t,this.metadata("ATANH"),Math.atanh)}coth(e,t){return this.runFunction(e.args,t,this.metadata("COTH"),e=>0===e?new ln(Ur.DIV_BY_ZERO):1/Math.tanh(e))}acoth(e,t){return this.runFunction(e.args,t,this.metadata("ACOTH"),e=>0===e?new ln(Ur.NUM,xe.NonZero):Math.atanh(1/e))}sech(e,t){return this.runFunction(e.args,t,this.metadata("SECH"),e=>1/Math.cosh(e))}csch(e,t){return this.runFunction(e.args,t,this.metadata("CSCH"),e=>0===e?new ln(Ur.DIV_BY_ZERO):1/Math.sinh(e))}}Kl.implementedFunctions={ACOS:{method:"acos",parameters:[{argumentType:Jn.NUMBER}]},ASIN:{method:"asin",parameters:[{argumentType:Jn.NUMBER}]},COS:{method:"cos",parameters:[{argumentType:Jn.NUMBER}]},SIN:{method:"sin",parameters:[{argumentType:Jn.NUMBER}]},TAN:{method:"tan",parameters:[{argumentType:Jn.NUMBER}]},ATAN:{method:"atan",parameters:[{argumentType:Jn.NUMBER}]},ATAN2:{method:"atan2",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]},COT:{method:"cot",parameters:[{argumentType:Jn.NUMBER}]},SEC:{method:"sec",parameters:[{argumentType:Jn.NUMBER}]},CSC:{method:"csc",parameters:[{argumentType:Jn.NUMBER}]},SINH:{method:"sinh",parameters:[{argumentType:Jn.NUMBER}]},COSH:{method:"cosh",parameters:[{argumentType:Jn.NUMBER}]},TANH:{method:"tanh",parameters:[{argumentType:Jn.NUMBER}]},COTH:{method:"coth",parameters:[{argumentType:Jn.NUMBER}]},SECH:{method:"sech",parameters:[{argumentType:Jn.NUMBER}]},CSCH:{method:"csch",parameters:[{argumentType:Jn.NUMBER}]},ACOT:{method:"acot",parameters:[{argumentType:Jn.NUMBER}]},ASINH:{method:"asinh",parameters:[{argumentType:Jn.NUMBER}]},ACOSH:{method:"acosh",parameters:[{argumentType:Jn.NUMBER}]},ATANH:{method:"atanh",parameters:[{argumentType:Jn.NUMBER}]},ACOTH:{method:"acoth",parameters:[{argumentType:Jn.NUMBER}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Xl extends Jo{constructor(e){super(e),this.dependencyGraph=e}find(e,t,r){return this.basicFind(e,t,"col",r)}}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class Zl extends Qn{constructor(){super(...arguments),this.rowSearch=new Xl(this.dependencyGraph)}vlookup(e,t){return this.runFunction(e.args,t,this.metadata("VLOOKUP"),(e,t,r,n)=>{const i=t.range;return void 0===i?new ln(Ur.VALUE,xe.WrongType):r<1?new ln(Ur.VALUE,xe.LessThanOne):r>i.width()?new ln(Ur.REF,xe.IndexLarge):this.doVlookup(jn(e),t,r-1,n)})}hlookup(e,t){return this.runFunction(e.args,t,this.metadata("HLOOKUP"),(e,t,r,n)=>{const i=t.range;return void 0===i?new ln(Ur.VALUE,xe.WrongType):r<1?new ln(Ur.VALUE,xe.LessThanOne):r>i.height()?new ln(Ur.REF,xe.IndexLarge):this.doHlookup(jn(e),t,r-1,n)})}match(e,t){return this.runFunction(e.args,t,this.metadata("MATCH"),(e,t,r)=>this.doMatch(jn(e),t,r))}searchInRange(e,t,r,n){if(!r&&"string"===typeof e&&this.arithmeticHelper.requiresRegex(e))return n.advancedFind(this.arithmeticHelper.eqMatcherFunction(e),t);{const i=r?{ordering:"asc"}:{ordering:"none",matchExactly:!0};return n.find(e,t,i)}}doVlookup(e,t,r,n){this.dependencyGraph.stats.start(Lt.VLOOKUP);const i=t.range;let a;a=void 0===i?Pt.onlyValues(t.data.map(e=>[e[0]])):Pt.onlyRange(En.spanFrom(i.start,1,i.height()),this.dependencyGraph);const o=this.searchInRange(e,a,n,this.columnSearch);if(this.dependencyGraph.stats.end(Lt.VLOOKUP),-1===o)return new ln(Ur.NA,xe.ValueNotFound);let s;if(void 0===i)s=t.data[o][r];else{const e=pn(i.sheet,i.start.col+r,i.start.row+o);s=this.dependencyGraph.getCellValue(e)}return s instanceof Pt?new ln(Ur.VALUE,xe.WrongType):s}doHlookup(e,t,r,n){const i=t.range;let a;a=void 0===i?Pt.onlyValues([t.data[0]]):Pt.onlyRange(En.spanFrom(i.start,i.width(),1),this.dependencyGraph);const o=this.searchInRange(e,a,n,this.rowSearch);if(-1===o)return new ln(Ur.NA,xe.ValueNotFound);let s;if(void 0===i)s=t.data[r][o];else{const e=pn(i.sheet,i.start.col+o,i.start.row+r);s=this.dependencyGraph.getCellValue(e)}return s instanceof Pt?new ln(Ur.VALUE,xe.WrongType):s}doMatch(e,t,r){if(![-1,0,1].includes(r))return new ln(Ur.VALUE,xe.BadMode);if(t.width()>1&&t.height()>1)return new ln(Ur.NA);const n=1===t.width()?this.columnSearch:this.rowSearch,i=0===r?{ordering:"none",matchExactly:!0}:{ordering:-1===r?"desc":"asc"},a=n.find(e,t,i);return-1===a?new ln(Ur.NA,xe.ValueNotFound):a+1}}Zl.implementedFunctions={VLOOKUP:{method:"vlookup",parameters:[{argumentType:Jn.NOERROR},{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER},{argumentType:Jn.BOOLEAN,defaultValue:!0}]},HLOOKUP:{method:"hlookup",parameters:[{argumentType:Jn.NOERROR},{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER},{argumentType:Jn.BOOLEAN,defaultValue:!0}]},MATCH:{method:"match",parameters:[{argumentType:Jn.NOERROR},{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER,defaultValue:1}]}};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class $l extends Qn{roman(e,t){return this.runFunction(e.args,t,this.metadata("ROMAN"),(e,t)=>(e=Math.trunc(e),!1===t?t=4:!0===t&&(t=0),t=St(this.coerceScalarToNumberOrError(t)),t instanceof ln?t:(t=Math.trunc(t),t<0?new ln(Ur.VALUE,xe.ValueSmall):t>4?new ln(Ur.VALUE,xe.ValueLarge):Ql(e,t))))}arabic(e,t){return this.runFunction(e.args,t,this.metadata("ARABIC"),e=>{e=e.trim().toUpperCase();let t=!1;if(e.startsWith("-")&&(e=e.slice(1),t=!0,""===e))return new ln(Ur.VALUE,xe.InvalidRoman);const r={input:e,acc:0};return Jl(r,{token:"MMM",val:3e3},{token:"MM",val:2e3},{token:"M",val:1e3}),Jl(r,{token:"IM",val:999},{token:"VM",val:995},{token:"XM",val:990},{token:"LM",val:950},{token:"CM",val:900}),Jl(r,{token:"D",val:500},{token:"ID",val:499},{token:"VD",val:495},{token:"XD",val:490},{token:"LD",val:450},{token:"CD",val:400}),Jl(r,{token:"CCC",val:300},{token:"CC",val:200},{token:"C",val:100}),Jl(r,{token:"IC",val:99},{token:"VC",val:95},{token:"XC",val:90}),Jl(r,{token:"L",val:50},{token:"IL",val:49},{token:"VL",val:45},{token:"XL",val:40}),Jl(r,{token:"XXX",val:30},{token:"XX",val:20},{token:"X",val:10}),Jl(r,{token:"IX",val:9}),Jl(r,{token:"V",val:5},{token:"IV",val:4}),Jl(r,{token:"III",val:3},{token:"II",val:2},{token:"I",val:1}),""!==r.input?new ln(Ur.VALUE,xe.InvalidRoman):t?-r.acc:r.acc})}}function Jl(e,...t){for(const r of t)if(e.input.startsWith(r.token)){e.input=e.input.slice(r.token.length),e.acc+=r.val;break}}function Ql(e,t){const r={val:e%1e3,acc:"M".repeat(Math.floor(e/1e3))};return 4===t&&(eu(r,"IM",999,1e3),eu(r,"ID",499,500)),t>=3&&(eu(r,"VM",995,1e3),eu(r,"VD",495,500)),t>=2&&(eu(r,"XM",990,1e3),eu(r,"XD",490,500)),t>=1&&(eu(r,"LM",950,1e3),eu(r,"LD",450,500)),eu(r,"CM",900,1e3),eu(r,"CD",400,500),eu(r,"D",500,900),r.acc+="C".repeat(Math.floor(r.val/100)),r.val%=100,t>=2&&(eu(r,"IC",99,100),eu(r,"IL",49,50)),t>=1&&(eu(r,"VC",95,100),eu(r,"VL",45,50)),eu(r,"XC",90,100),eu(r,"XL",40,50),eu(r,"L",50,90),r.acc+="X".repeat(Math.floor(r.val/10)),r.val%=10,eu(r,"IX",9,10),eu(r,"IV",4,5),eu(r,"V",5,9),r.acc+="I".repeat(r.val),r.acc}function eu(e,t,r,n){e.val>=r&&e.val<n&&(e.val-=r,e.acc+=t)}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */$l.implementedFunctions={ROMAN:{method:"roman",parameters:[{argumentType:Jn.NUMBER,minValue:1,lessThan:4e3},{argumentType:Jn.NOERROR,optionalArg:!0,defaultValue:0}]},ARABIC:{method:"arabic",parameters:[{argumentType:Jn.STRING}]}};class tu extends Qn{add(e,t){return this.runFunction(e.args,t,this.metadata("HF.ADD"),this.arithmeticHelper.addWithEpsilon)}concat(e,t){return this.runFunction(e.args,t,this.metadata("HF.CONCAT"),this.arithmeticHelper.concat)}divide(e,t){return this.runFunction(e.args,t,this.metadata("HF.DIVIDE"),this.arithmeticHelper.divide)}eq(e,t){return this.runFunction(e.args,t,this.metadata("HF.EQ"),this.arithmeticHelper.eq)}gt(e,t){return this.runFunction(e.args,t,this.metadata("HF.GT"),this.arithmeticHelper.gt)}gte(e,t){return this.runFunction(e.args,t,this.metadata("HF.GTE"),this.arithmeticHelper.geq)}lt(e,t){return this.runFunction(e.args,t,this.metadata("HF.LT"),this.arithmeticHelper.lt)}lte(e,t){return this.runFunction(e.args,t,this.metadata("HF.LTE"),this.arithmeticHelper.leq)}minus(e,t){return this.runFunction(e.args,t,this.metadata("HF.MINUS"),this.arithmeticHelper.subtract)}multiply(e,t){return this.runFunction(e.args,t,this.metadata("HF.MULTIPLY"),this.arithmeticHelper.multiply)}ne(e,t){return this.runFunction(e.args,t,this.metadata("HF.NE"),this.arithmeticHelper.neq)}pow(e,t){return this.runFunction(e.args,t,this.metadata("HF.POW"),this.arithmeticHelper.pow)}uminus(e,t){return this.runFunction(e.args,t,this.metadata("HF.UMINUS"),this.arithmeticHelper.unaryMinus)}upercent(e,t){return this.runFunction(e.args,t,this.metadata("HF.UNARY_PERCENT"),this.arithmeticHelper.unaryPercent)}uplus(e,t){return this.runFunction(e.args,t,this.metadata("HF.UPLUS"),this.arithmeticHelper.unaryPlus)}}tu.implementedFunctions={"HF.ADD":{method:"add",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0},{argumentType:Jn.NUMBER,passSubtype:!0}]},"HF.CONCAT":{method:"concat",parameters:[{argumentType:Jn.STRING,passSubtype:!0},{argumentType:Jn.STRING,passSubtype:!0}]},"HF.DIVIDE":{method:"divide",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0},{argumentType:Jn.NUMBER,passSubtype:!0}]},"HF.EQ":{method:"eq",parameters:[{argumentType:Jn.NOERROR,passSubtype:!0},{argumentType:Jn.NOERROR,passSubtype:!0}]},"HF.GT":{method:"gt",parameters:[{argumentType:Jn.NOERROR,passSubtype:!0},{argumentType:Jn.NOERROR,passSubtype:!0}]},"HF.GTE":{method:"gte",parameters:[{argumentType:Jn.NOERROR,passSubtype:!0},{argumentType:Jn.NOERROR,passSubtype:!0}]},"HF.LT":{method:"lt",parameters:[{argumentType:Jn.NOERROR,passSubtype:!0},{argumentType:Jn.NOERROR,passSubtype:!0}]},"HF.LTE":{method:"lte",parameters:[{argumentType:Jn.NOERROR,passSubtype:!0},{argumentType:Jn.NOERROR,passSubtype:!0}]},"HF.MINUS":{method:"minus",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0},{argumentType:Jn.NUMBER,passSubtype:!0}]},"HF.MULTIPLY":{method:"multiply",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0},{argumentType:Jn.NUMBER,passSubtype:!0}]},"HF.NE":{method:"ne",parameters:[{argumentType:Jn.NOERROR,passSubtype:!0},{argumentType:Jn.NOERROR,passSubtype:!0}]},"HF.POW":{method:"pow",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0},{argumentType:Jn.NUMBER,passSubtype:!0}]},"HF.UMINUS":{method:"uminus",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0}]},"HF.UNARY_PERCENT":{method:"upercent",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0}]},"HF.UPLUS":{method:"uplus",parameters:[{argumentType:Jn.NUMBER,passSubtype:!0}]}};
- /**
- * @license
- bessel.js (C) 2013-present SheetJS -- http://sheetjs.com
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
- 1. Definitions.
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
- END OF TERMS AND CONDITIONS
- APPENDIX: How to apply the Apache License to your work.
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
- Copyright (C) 2013-present SheetJS LLC
- 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
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
- var ru=Math;function nu(e,t){for(var r=0,n=0;r<e.length;++r)n=t*n+e[r];return n}function iu(e,t,r,n,i){if(0===t)return r;if(1===t)return n;for(var a=2/e,o=n,s=1;s<t;++s)o=n*s*a+i*r,r=n,n=o;return o}function au(e,t,r,n,i){return function(r,a){if(n){if(0===r)return 1==n?-1/0:1/0;if(r<0)return NaN}if(0===a)return e(r);if(1===a)return t(r);if(a<0)return NaN;a|=0;var o=e(r),s=t(r);return iu(r,a,o,s,i)}}var ou=function(){var e=.636619772,t=[57568490574,-13362590354,651619640.7,-11214424.18,77392.33017,-184.9052456].reverse(),r=[57568490411,1029532985,9494680.718,59272.64853,267.8532712,1].reverse(),n=[1,-.001098628627,2734510407e-14,-2073370639e-15,2.093887211e-7].reverse(),i=[-.01562499995,.0001430488765,-6911147651e-15,7.621095161e-7,-9.34935152e-8].reverse();function a(a){var o=0,s=0,l=0,u=a*a;if(a<8)s=nu(t,u),l=nu(r,u),o=s/l;else{var c=a-.785398164;u=64/u,s=nu(n,u),l=nu(i,u),o=ru.sqrt(e/a)*(ru.cos(c)*s-ru.sin(c)*l*8/a)}return o}var o=[72362614232,-7895059235,242396853.1,-2972611.439,15704.4826,-30.16036606].reverse(),s=[144725228442,2300535178,18583304.74,99447.43394,376.9991397,1].reverse(),l=[1,.00183105,-3516396496e-14,2457520174e-15,-2.40337019e-7].reverse(),u=[.04687499995,-.0002002690873,8449199096e-15,-8.8228987e-7,1.05787412e-7].reverse();function c(t){var r=0,n=0,i=0,a=t*t,c=ru.abs(t)-2.356194491;return Math.abs(t)<8?(n=t*nu(o,a),i=nu(s,a),r=n/i):(a=64/a,n=nu(l,a),i=nu(u,a),r=ru.sqrt(e/ru.abs(t))*(ru.cos(c)*n-ru.sin(c)*i*8/ru.abs(t)),t<0&&(r=-r)),r}return function e(t,r){if(r=Math.round(r),!isFinite(t))return isNaN(t)?t:0;if(r<0)return(r%2?-1:1)*e(t,-r);if(t<0)return(r%2?-1:1)*e(-t,r);if(0===r)return a(t);if(1===r)return c(t);if(0===t)return 0;var n=0;if(t>r)n=iu(t,r,a(t),c(t),-1);else{for(var i=2*ru.floor((r+ru.floor(ru.sqrt(40*r)))/2),o=!1,s=0,l=0,u=1,d=0,h=2/t,p=i;p>0;p--)d=p*h*u-s,s=u,u=d,ru.abs(u)>1e10&&(u*=1e-10,s*=1e-10,n*=1e-10,l*=1e-10),o&&(l+=u),o=!o,p==r&&(n=s);l=2*l-u,n/=l}return n}}(),su=function(){var e=.636619772,t=[-2957821389,7062834065,-512359803.6,10879881.29,-86327.92757,228.4622733].reverse(),r=[40076544269,745249964.8,7189466.438,47447.2647,226.1030244,1].reverse(),n=[1,-.001098628627,2734510407e-14,-2073370639e-15,2.093887211e-7].reverse(),i=[-.01562499995,.0001430488765,-6911147651e-15,7.621095161e-7,-9.34945152e-8].reverse();function a(a){var o=0,s=0,l=0,u=a*a,c=a-.785398164;return a<8?(s=nu(t,u),l=nu(r,u),o=s/l+e*ou(a,0)*ru.log(a)):(u=64/u,s=nu(n,u),l=nu(i,u),o=ru.sqrt(e/a)*(ru.sin(c)*s+ru.cos(c)*l*8/a)),o}var o=[-4900604943e3,127527439e4,-51534381390,734926455.1,-4237922.726,8511.937935].reverse(),s=[249958057e5,424441966400,3733650367,22459040.02,102042.605,354.9632885,1].reverse(),l=[1,.00183105,-3516396496e-14,2457520174e-15,-2.40337019e-7].reverse(),u=[.04687499995,-.0002002690873,8449199096e-15,-8.8228987e-7,1.05787412e-7].reverse();function c(t){var r=0,n=0,i=0,a=t*t,c=t-2.356194491;return t<8?(n=t*nu(o,a),i=nu(s,a),r=n/i+e*(ou(t,1)*ru.log(t)-1/t)):(a=64/a,n=nu(l,a),i=nu(u,a),r=ru.sqrt(e/t)*(ru.sin(c)*n+ru.cos(c)*i*8/t)),r}return au(a,c,"BESSELY",1,-1)}(),lu=function(){var e=[1,3.5156229,3.0899424,1.2067492,.2659732,.0360768,.0045813].reverse(),t=[.39894228,.01328592,.00225319,-.00157565,.00916281,-.02057706,.02635537,-.01647633,.00392377].reverse();function r(r){return r<=3.75?nu(e,r*r/14.0625):ru.exp(ru.abs(r))/ru.sqrt(ru.abs(r))*nu(t,3.75/ru.abs(r))}var n=[.5,.87890594,.51498869,.15084934,.02658733,.00301532,32411e-8].reverse(),i=[.39894228,-.03988024,-.00362018,.00163801,-.01031555,.02282967,-.02895312,.01787654,-.00420059].reverse();function a(e){return e<3.75?e*nu(n,e*e/14.0625):(e<0?-1:1)*ru.exp(ru.abs(e))/ru.sqrt(ru.abs(e))*nu(i,3.75/ru.abs(e))}return function e(t,n){if(n=Math.round(n),0===n)return r(t);if(1===n)return a(t);if(n<0)return NaN;if(0===ru.abs(t))return 0;if(t==1/0)return 1/0;var i,o=0,s=2/ru.abs(t),l=0,u=1,c=0,d=2*ru.round((n+ru.round(ru.sqrt(40*n)))/2);for(i=d;i>0;i--)c=i*s*u+l,l=u,u=c,ru.abs(u)>1e10&&(u*=1e-10,l*=1e-10,o*=1e-10),i==n&&(o=l);return o*=e(t,0)/u,t<0&&n%2?-o:o}}(),uu=function(){var e=[-.57721566,.4227842,.23069756,.0348859,.00262698,1075e-7,74e-7].reverse(),t=[1.25331414,-.07832358,.02189568,-.01062446,.00587872,-.0025154,53208e-8].reverse();function r(r){return r<=2?-ru.log(r/2)*lu(r,0)+nu(e,r*r/4):ru.exp(-r)/ru.sqrt(r)*nu(t,2/r)}var n=[1,.15443144,-.67278579,-.18156897,-.01919402,-.00110404,-4686e-8].reverse(),i=[1.25331414,.23498619,-.0365562,.01504268,-.00780353,.00325614,-68245e-8].reverse();function a(e){return e<=2?ru.log(e/2)*lu(e,1)+1/e*nu(n,e*e/4):ru.exp(-e)/ru.sqrt(e)*nu(i,2/e)}return au(r,a,"BESSELK",2,1)}();
- /**
- * @license
- Copyright (c) 2013 jStat
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
- */
- function cu(e){const t=[-1.3026537197817094,.6419697923564902,.019476473204185836,-.00956151478680863,-.000946595344482036,.000366839497852761,42523324806907e-18,-20278578112534e-18,-1624290004647e-18,130365583558e-17,1.5626441722e-8,-8.5238095915e-8,6.529054439e-9,5.059343495e-9,-9.91364156e-10,-2.27365122e-10,96467911e-18,2394038e-18,-6886027e-18,894487e-18,313092e-18,-112708e-18,381e-18,7106e-18,-1523e-18,-94e-18,121e-18,-28e-18];let r,n,i,a,o=t.length-1,s=!1,l=0,u=0;if(0===e)return 0;for(e<0&&(e=-e,s=!0),r=2/(2+e),n=4*r-2;o>0;o--)i=l,l=n*l-u+t[o],u=i;return a=r*Math.exp(-e*e+.5*(t[0]+n*l)-u),s?a-1:1-a}function du(e){return 1-cu(e)}function hu(e){let t,r,n,i,a=0;if(e>=2)return-100;if(e<=0)return 100;for(i=e<1?e:2-e,n=Math.sqrt(-2*Math.log(i/2)),t=-.70711*((2.30753+.27061*n)/(1+n*(.99229+.04481*n))-n);a<2;a++)r=du(t)-i,t+=r/(1.1283791670955126*Math.exp(-t*t)-t*r);return e<1?t:-t}const pu={pdf:(e,t)=>e<0?0:t*Math.exp(-t*e),cdf:(e,t)=>e<0?0:1-Math.exp(-t*e)};function fu(e){const t=[-1.716185138865495,24.76565080557592,-379.80425647094563,629.3311553128184,866.9662027904133,-31451.272968848367,-36144.413418691176,66456.14382024054],r=[-30.8402300119739,315.35062697960416,-1015.1563674902192,-3107.771671572311,22538.11842098015,4755.846277527881,-134659.9598649693,-115132.2596755535];let n,i,a,o,s=!1,l=0,u=0,c=0,d=e;if(e>171.6243769536076)return 1/0;if(d<=0){if(o=d%1,!o)return 1/0;s=(1&d?-1:1)*Math.PI/Math.sin(Math.PI*o),d=1-d}for(a=d,i=d<1?d++:(d-=l=(0|d)-1)-1,n=0;n<8;++n)c=(c+t[n])*i,u=u*i+r[n];if(o=c/u+1,a<d)o/=a;else if(a>d)for(n=0;n<l;++n)o*=d,d++;return s&&(o=s/o),o}const mu={pdf:function(e,t,r){return e<0?0:0===e&&1===t?1/r:Math.exp((t-1)*Math.log(e)-e/r-gu(t)-t*Math.log(r))},cdf:function(e,t,r){return e<0?0:vu(t,e/r)},inv:function(e,t,r){return bu(e,t)*r}};function gu(e){let t=0;const r=[76.18009172947146,-86.50532032941678,24.01409824083091,-1.231739572450155,.001208650973866179,-5395239384953e-18];let n,i,a,o=1.000000000190015;for(a=(i=n=e)+5.5,a-=(n+.5)*Math.log(a);t<6;t++)o+=r[t]/++i;return Math.log(2.5066282746310007*o/n)-a}function vu(e,t){const r=gu(e);let n=e,i=1/e,a=i,o=t+1-e,s=1/1e-30,l=1/o,u=l,c=1;const d=-~(8.5*Math.log(e>=1?e:1/e)+.4*e+17);let h;if(t<0||e<=0)return NaN;if(t<e+1){for(;c<=d;c++)i+=a*=t/++n;return i*Math.exp(-t+e*Math.log(t)-r)}for(;c<=d;c++)h=-c*(c-e),o+=2,l=h*l+o,s=o+h/s,l=1/l,u*=l*s;return 1-u*Math.exp(-t+e*Math.log(t)-r)}function bu(e,t){let r=0;const n=t-1,i=1e-8,a=gu(t);let o,s,l,u,c,d,h;if(e>=1)return Math.max(100,t+100*Math.sqrt(t));if(e<=0)return 0;for(t>1?(d=Math.log(n),h=Math.exp(n*(d-1)-a),c=e<.5?e:1-e,l=Math.sqrt(-2*Math.log(c)),o=(2.30753+.27061*l)/(1+l*(.99229+.04481*l))-l,e<.5&&(o=-o),o=Math.max(.001,t*Math.pow(1-1/(9*t)-o/(3*Math.sqrt(t)),3))):(l=1-t*(.253+.12*t),o=e<l?Math.pow(e/l,1/t):1-Math.log(1-(e-l)/(1-l)));r<12;r++){if(o<=0)return 0;if(s=vu(t,o)-e,l=t>1?h*Math.exp(-(o-n)+n*(Math.log(o)-d)):Math.exp(-o+n*Math.log(o)-a),u=s/l,o-=l=u/(1-.5*Math.min(1,u*((t-1)/o-1))),o<=0&&(o=.5*(o+l)),Math.abs(l)<i*o)break}return o}const yu={pdf:function(e,t,r){return Math.exp(-.5*Math.log(2*Math.PI)-Math.log(r)-Math.pow(e-t,2)/(2*r*r))},cdf:function(e,t,r){return.5*(1+cu((e-t)/Math.sqrt(2*r*r)))},inv:function(e,t,r){return-1.4142135623730951*r*hu(2*e)+t}},wu={pdf:function(e,t,r){return e>1||e<0?0:1==t&&1==r?1:t<512&&r<512?Math.pow(e,t-1)*Math.pow(1-e,r-1)/_u(t,r):Math.exp((t-1)*Math.log(e)+(r-1)*Math.log(1-e)-Su(t,r))},cdf:function(e,t,r){return e>1||e<0?+(e>1):Mu(e,t,r)},inv:function(e,t,r){return Eu(e,t,r)}};function _u(e,t){if(!(e<=0||t<=0))return e+t>170?Math.exp(Su(e,t)):fu(e)*fu(t)/fu(e+t)}function Su(e,t){return gu(e)+gu(t)-gu(e+t)}function Eu(e,t,r){var n,i,a,o,s,l,u,c,d,h,p,f=1e-8,m=t-1,g=r-1,v=0;if(e<=0)return 0;if(e>=1)return 1;for(t>=1&&r>=1?(a=e<.5?e:1-e,o=Math.sqrt(-2*Math.log(a)),u=(2.30753+.27061*o)/(1+o*(.99229+.04481*o))-o,e<.5&&(u=-u),c=(u*u-3)/6,d=2/(1/(2*t-1)+1/(2*r-1)),h=u*Math.sqrt(c+d)/d-(1/(2*r-1)-1/(2*t-1))*(c+5/6-2/(3*d)),u=t/(t+r*Math.exp(2*h))):(n=Math.log(t/(t+r)),i=Math.log(r/(t+r)),o=Math.exp(t*n)/t,s=Math.exp(r*i)/r,h=o+s,u=e<o/h?Math.pow(t*h*e,1/t):1-Math.pow(r*h*(1-e),1/r)),p=-gu(t)-gu(r)+gu(t+r);v<10;v++){if(0===u||1===u)return u;if(l=Mu(u,t,r)-e,o=Math.exp(m*Math.log(u)+g*Math.log(1-u)+p),s=l/o,u-=o=s/(1-.5*Math.min(1,s*(m/u-g/(1-u)))),u<=0&&(u=.5*(u+o)),u>=1&&(u=.5*(u+o+1)),Math.abs(o)<f*u&&v>0)break}return u}function Mu(e,t,r){var n=0===e||1===e?0:Math.exp(gu(t+r)-gu(t)-gu(r)+t*Math.log(e)+r*Math.log(1-e));return!(e<0||e>1)&&(e<(t+1)/(t+r+2)?n*Tu(e,t,r)/t:1-n*Tu(1-e,r,t)/r)}function Tu(e,t,r){var n,i,a,o,s=1e-30,l=1,u=t+r,c=t+1,d=t-1,h=1,p=1-u*e/c;for(Math.abs(p)<s&&(p=s),p=1/p,o=p;l<=100;l++)if(n=2*l,i=l*(r-l)*e/((d+n)*(t+n)),p=1+i*p,Math.abs(p)<s&&(p=s),h=1+i/h,Math.abs(h)<s&&(h=s),p=1/p,o*=p*h,i=-(t+l)*(u+l)*e/((t+n)*(c+n)),p=1+i*p,Math.abs(p)<s&&(p=s),h=1+i/h,Math.abs(h)<s&&(h=s),p=1/p,a=p*h,o*=a,Math.abs(a-1)<3e-7)break;return o}const Cu={pdf:function(e,t,r){return 0===r||1===r?t*r===e?1:0:Au(t,e)*Math.pow(r,e)*Math.pow(1-r,t-e)},cdf:function(e,t,r){var n,i=1e-10;if(e<0)return 0;if(e>=t)return 1;if(r<0||r>1||t<=0)return NaN;e=Math.floor(e);var a=r,o=e+1,s=t-e,l=o+s,u=Math.exp(gu(l)-gu(s)-gu(o)+o*Math.log(a)+s*Math.log(1-a));return n=a<(o+1)/(l+2)?u*xu(a,o,s,i):1-u*xu(1-a,s,o,i),Math.round(1/i*(1-n))/(1/i)}};function xu(e,t,r,n){var i,a=0,o=1,s=1,l=1,u=0,c=0;while(Math.abs((s-c)/s)>n)c=s,i=-(t+u)*(t+r+u)*e/(t+2*u)/(t+2*u+1),a=s+i*a,o=l+i*o,u+=1,i=u*(r-u)*e/(t+2*u-1)/(t+2*u),s=a+i*s,l=o+i*l,a/=l,o/=l,s/=l,l=1;return s/t}function Au(e,t){return e>170||t>170?Math.exp(Nu(e,t)):Ru(e)/Ru(t)/Ru(e-t)}function Nu(e,t){return Ou(e)-Ou(t)-Ou(e-t)}function Ou(e){return e<0?NaN:gu(e+1)}function Ru(e){return e<0?NaN:fu(e+1)}const Lu={pdf:function(e,t){return e<0?0:0===e&&2===t?.5:Math.exp((t/2-1)*Math.log(e)-e/2-t/2*Math.log(2)-gu(t/2))},cdf:function(e,t){return e<0?0:vu(t/2,e/2)},inv:function(e,t){return 2*bu(e,.5*t)}},ku={pdf:function(e,t,r){var n,i,a;return e<0?0:t<=2?0===e&&t<2?1/0:0===e&&2===t?1:1/_u(t/2,r/2)*Math.pow(t/r,t/2)*Math.pow(e,t/2-1)*Math.pow(1+t/r*e,-(t+r)/2):(n=t*e/(r+e*t),i=r/(r+e*t),a=t*i/2,a*Cu.pdf((t-2)/2,(t+r-2)/2,n))},cdf:function(e,t,r){return e<0?0:Mu(t*e/(t*e+r),t/2,r/2)},inv:function(e,t,r){return r/(t*(1/Eu(e,t/2,r/2)-1))}},Iu={pdf:function(e,t,r){return e<0||t<0||r<0?0:r/t*Math.pow(e/t,r-1)*Math.exp(-Math.pow(e/t,r))},cdf:function(e,t,r){return e<0?0:1-Math.exp(-Math.pow(e/t,r))}},Du={pdf:function(e,t){return t<0||e%1!==0||e<0?0:Math.pow(t,e)*Math.exp(-t)/Ru(e)},cdf:function(e,t){var r=0;if(e<0)return 0;for(var n=0;r<=e;r++)n+=Du.pdf(r,t);return n}},Pu={pdf:function(e,t,r,n){if(e<0||e<r-(t-n))return 0;if(e>n||e>r)return 0;if(2*r>t)return 2*n>t?Pu.pdf(t-r-n+e,t,t-r,t-n):Pu.pdf(n-e,t,t-r,n);if(2*n>t)return Pu.pdf(r-e,t,r,t-n);if(r<n)return Pu.pdf(e,t,n,r);for(var i=1,a=0,o=0;o<e;o++){while(i>1&&a<n)i*=1-r/(t-a),a++;i*=(n-o)*(r-o)/((o+1)*(t-r-n+o+1))}for(;a<n;a++)i*=1-r/(t-a);return Math.min(1,Math.max(0,i))},cdf:function e(t,r,n,i){if(t<0||t<n-(r-i))return 0;if(t>=i||t>=n)return 1;if(2*n>r)return 2*i>r?e(r-n-i+t,r,r-n,r-i):1-Pu.cdf(i-t-1,r,r-n,i);if(2*i>r)return 1-Pu.cdf(n-t-1,r,n,r-i);if(n<i)return Pu.cdf(t,r,i,n);for(var a=1,o=1,s=0,l=0;l<t;l++){while(a>1&&s<i){var u=1-n/(r-s);o*=u,a*=u,s++}o*=(i-l)*(n-l)/((l+1)*(r-n-i+l+1)),a+=o}for(;s<i;s++)a*=1-n/(r-s);return Math.min(1,Math.max(0,a))}},ju={pdf:function(e,t){return t=t>1e100?1e100:t,1/(Math.sqrt(t)*_u(.5,t/2))*Math.pow(1+e*e/t,-(t+1)/2)},cdf:function(e,t){var r=t/2;return Mu((e+Math.sqrt(e*e+t))/(2*Math.sqrt(e*e+t)),r,r)},inv:function(e,t){var r=Eu(2*Math.min(e,1-e),.5*t,.5);return r=Math.sqrt(t*(1-r)/r),e>.5?r:-r}},Fu={pdf:function(e,t,r){return e<=0?0:Math.exp(-Math.log(e)-.5*Math.log(2*Math.PI)-Math.log(r)-Math.pow(Math.log(e)-t,2)/(2*r*r))},cdf:function(e,t,r){return e<0?0:.5+.5*cu((Math.log(e)-t)/Math.sqrt(2*r*r))},inv:function(e,t,r){return Math.exp(-1.4142135623730951*r*hu(2*e)+t)}},Hu={pdf:function(e,t,r){return e===e>>>0&&(e<0?0:Au(e+t-1,t-1)*Math.pow(1-r,e)*Math.pow(r,t))},cdf:function(e,t,r){var n=0,i=0;if(e<0)return 0;for(;i<=e;i++)n+=Hu.pdf(i,t,r);return n}};function Bu(e){var t=0,r=e.length;while(--r>=0)t+=e[r];return t}function Uu(e){return Bu(e)/e.length}function Vu(e){var t,r=Uu(e),n=0,i=e.length;while(--i>=0)t=e[i]-r,n+=t*t;return n}function Yu(e,t){return Vu(e)/(e.length-(t?1:0))}function zu(e,t){return Math.sqrt(Yu(e,t))}function Wu(){var e,t=[].slice.call(arguments),r=new Array(2);return e=4===t.length?Math.abs(yu.inv(t[1]/2,0,1)*t[2]/Math.sqrt(t[3])):Math.abs(yu.inv(t[1]/2,0,1)*zu(t[2])/Math.sqrt(t[2].length)),r[0]=t[0]-e,r[1]=t[0]+e,r}function qu(){var e,t=[].slice.call(arguments),r=new Array(2);return e=4===t.length?Math.abs(ju.inv(t[1]/2,t[3]-1)*t[2]/Math.sqrt(t[3])):Math.abs(ju.inv(t[1]/2,t[2].length-1)*zu(t[2],!0)/Math.sqrt(t[2].length)),r[0]=t[0]-e,r[1]=t[0]+e,r}function Gu(e){var t=1,r=e.length;while(--r>=0)t*=e[r];return t}function Ku(e){return Math.pow(Gu(e),1/e.length)}function Xu(e,t){var r,n=Uu(e),i=Uu(t),a=e.length,o=new Array(a);for(r=0;r<a;r++)o[r]=(e[r]-n)*(t[r]-i);return Bu(o)/(a-1)}function Zu(e,t){return Xu(e,t)/zu(e,1)/zu(t,1)}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */class $u extends Qn{erf(e,t){return this.runFunction(e.args,t,this.metadata("ERF"),(e,t)=>void 0===t?cu(e):cu(t)-cu(e))}erfc(e,t){return this.runFunction(e.args,t,this.metadata("ERFC"),du)}expondist(e,t){return this.runFunction(e.args,t,this.metadata("EXPON.DIST"),(e,t,r)=>r?pu.cdf(e,t):pu.pdf(e,t))}fisher(e,t){return this.runFunction(e.args,t,this.metadata("FISHER"),e=>Math.log((1+e)/(1-e))/2)}fisherinv(e,t){return this.runFunction(e.args,t,this.metadata("FISHERINV"),e=>1-2/(Math.exp(2*e)+1))}gamma(e,t){return this.runFunction(e.args,t,this.metadata("GAMMA"),fu)}gammadist(e,t){return this.runFunction(e.args,t,this.metadata("GAMMA.DIST"),(e,t,r,n)=>n?mu.cdf(e,t,r):mu.pdf(e,t,r))}gammaln(e,t){return this.runFunction(e.args,t,this.metadata("GAMMALN"),gu)}gammainv(e,t){return this.runFunction(e.args,t,this.metadata("GAMMA.INV"),mu.inv)}gauss(e,t){return this.runFunction(e.args,t,this.metadata("GAUSS"),e=>yu.cdf(e,0,1)-.5)}betadist(e,t){return this.runFunction(e.args,t,this.metadata("BETA.DIST"),(e,t,r,n,i,a)=>e<=i?new ln(Ur.NUM,xe.ValueSmall):e>=a?new ln(Ur.NUM,xe.ValueLarge):(e=(e-i)/(a-i),n?wu.cdf(e,t,r):wu.pdf(e,t,r)))}betainv(e,t){return this.runFunction(e.args,t,this.metadata("BETA.INV"),(e,t,r,n,i)=>n>=i?new ln(Ur.NUM,xe.WrongOrder):wu.inv(e,t,r)*(i-n)+n)}binomialdist(e,t){return this.runFunction(e.args,t,this.metadata("BINOM.DIST"),(e,t,r,n)=>e>t?new ln(Ur.NUM,xe.WrongOrder):(e=Math.trunc(e),t=Math.trunc(t),n?Cu.cdf(e,t,r):Cu.pdf(e,t,r)))}binomialinv(e,t){return this.runFunction(e.args,t,this.metadata("BINOM.INV"),(e,t,r)=>{e=Math.trunc(e);let n=-1,i=e;while(i>n+1){const a=Math.trunc((n+i)/2);Cu.cdf(a,e,t)>=r?i=a:n=a}return i})}besselifn(e,t){return this.runFunction(e.args,t,this.metadata("BESSELI"),(e,t)=>lu(e,Math.trunc(t)))}besseljfn(e,t){return this.runFunction(e.args,t,this.metadata("BESSELJ"),(e,t)=>ou(e,Math.trunc(t)))}besselkfn(e,t){return this.runFunction(e.args,t,this.metadata("BESSELK"),(e,t)=>uu(e,Math.trunc(t)))}besselyfn(e,t){return this.runFunction(e.args,t,this.metadata("BESSELY"),(e,t)=>su(e,Math.trunc(t)))}chisqdist(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.DIST"),(e,t,r)=>(t=Math.trunc(t),r?Lu.cdf(e,t):Lu.pdf(e,t)))}chisqdistrt(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.DIST.RT"),(e,t)=>1-Lu.cdf(e,Math.trunc(t)))}chisqinv(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.INV"),(e,t)=>Lu.inv(e,Math.trunc(t)))}chisqinvrt(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.INV.RT"),(e,t)=>Lu.inv(1-e,Math.trunc(t)))}fdist(e,t){return this.runFunction(e.args,t,this.metadata("F.DIST"),(e,t,r,n)=>(t=Math.trunc(t),r=Math.trunc(r),n?ku.cdf(e,t,r):ku.pdf(e,t,r)))}fdistrt(e,t){return this.runFunction(e.args,t,this.metadata("F.DIST.RT"),(e,t,r)=>1-ku.cdf(e,Math.trunc(t),Math.trunc(r)))}finv(e,t){return this.runFunction(e.args,t,this.metadata("F.INV"),(e,t,r)=>ku.inv(e,Math.trunc(t),Math.trunc(r)))}finvrt(e,t){return this.runFunction(e.args,t,this.metadata("F.INV.RT"),(e,t,r)=>ku.inv(1-e,Math.trunc(t),Math.trunc(r)))}weibulldist(e,t){return this.runFunction(e.args,t,this.metadata("WEIBULL.DIST"),(e,t,r,n)=>n?Iu.cdf(e,r,t):Iu.pdf(e,r,t))}poissondist(e,t){return this.runFunction(e.args,t,this.metadata("POISSON.DIST"),(e,t,r)=>(e=Math.trunc(e),r?Du.cdf(e,t):Du.pdf(e,t)))}hypgeomdist(e,t){return this.runFunction(e.args,t,this.metadata("HYPGEOM.DIST"),(e,t,r,n,i)=>e>t||e>r||t>n||r>n||e+n<r+t?new ln(Ur.NUM,xe.ValueLarge):(e=Math.trunc(e),t=Math.trunc(t),r=Math.trunc(r),n=Math.trunc(n),i?Pu.cdf(e,n,r,t):Pu.pdf(e,n,r,t)))}tdist(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST"),(e,t,r)=>(t=Math.trunc(t),r?ju.cdf(e,t):ju.pdf(e,t)))}tdist2t(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST.2T"),(e,t)=>2*(1-ju.cdf(e,Math.trunc(t))))}tdistrt(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST.RT"),(e,t)=>1-ju.cdf(e,Math.trunc(t)))}tdistold(e,t){return this.runFunction(e.args,t,this.metadata("TDIST"),(e,t,r)=>r*(1-ju.cdf(e,Math.trunc(t))))}tinv(e,t){return this.runFunction(e.args,t,this.metadata("T.INV"),(e,t)=>ju.inv(e,Math.trunc(t)))}tinv2t(e,t){return this.runFunction(e.args,t,this.metadata("T.INV.2T"),(e,t)=>ju.inv(1-e/2,Math.trunc(t)))}lognormdist(e,t){return this.runFunction(e.args,t,this.metadata("LOGNORM.DIST"),(e,t,r,n)=>n?Fu.cdf(e,t,r):Fu.pdf(e,t,r))}lognorminv(e,t){return this.runFunction(e.args,t,this.metadata("LOGNORM.INV"),(e,t,r)=>Fu.inv(e,t,r))}normdist(e,t){return this.runFunction(e.args,t,this.metadata("NORM.DIST"),(e,t,r,n)=>n?yu.cdf(e,t,r):yu.pdf(e,t,r))}norminv(e,t){return this.runFunction(e.args,t,this.metadata("NORM.INV"),(e,t,r)=>yu.inv(e,t,r))}normsdist(e,t){return this.runFunction(e.args,t,this.metadata("NORM.S.DIST"),(e,t)=>t?yu.cdf(e,0,1):yu.pdf(e,0,1))}normsinv(e,t){return this.runFunction(e.args,t,this.metadata("NORM.S.INV"),e=>yu.inv(e,0,1))}phi(e,t){return this.runFunction(e.args,t,this.metadata("PHI"),e=>yu.pdf(e,0,1))}negbinomdist(e,t){return this.runFunction(e.args,t,this.metadata("NEGBINOM.DIST"),(e,t,r,n)=>(e=Math.trunc(e),t=Math.trunc(t),n?Hu.cdf(e,t,r):Hu.pdf(e,t,r)))}confidencenorm(e,t){return this.runFunction(e.args,t,this.metadata("CONFIDENCE.NORM"),(e,t,r)=>Wu(1,e,t,Math.trunc(r))[1]-1)}confidencet(e,t){return this.runFunction(e.args,t,this.metadata("CONFIDENCE.T"),(e,t,r)=>(r=Math.trunc(r),1===r?new ln(Ur.DIV_BY_ZERO):qu(1,e,t,r)[1]-1))}standardize(e,t){return this.runFunction(e.args,t,this.metadata("STANDARDIZE"),(e,t,r)=>(e-t)/r)}}$u.implementedFunctions={ERF:{method:"erf",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0}]},ERFC:{method:"erfc",parameters:[{argumentType:Jn.NUMBER}]},"EXPON.DIST":{method:"expondist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.BOOLEAN}]},FISHER:{method:"fisher",parameters:[{argumentType:Jn.NUMBER,greaterThan:-1,lessThan:1}]},FISHERINV:{method:"fisherinv",parameters:[{argumentType:Jn.NUMBER}]},GAMMA:{method:"gamma",parameters:[{argumentType:Jn.NUMBER}]},"GAMMA.DIST":{method:"gammadist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.BOOLEAN}]},GAMMALN:{method:"gammaln",parameters:[{argumentType:Jn.NUMBER,greaterThan:0}]},"GAMMA.INV":{method:"gammainv",parameters:[{argumentType:Jn.NUMBER,minValue:0,lessThan:1},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0}]},GAUSS:{method:"gauss",parameters:[{argumentType:Jn.NUMBER}]},"BETA.DIST":{method:"betadist",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.BOOLEAN},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:1}]},"BETA.INV":{method:"betainv",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,maxValue:1},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,defaultValue:0},{argumentType:Jn.NUMBER,defaultValue:1}]},"BINOM.DIST":{method:"binomialdist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0,maxValue:1},{argumentType:Jn.BOOLEAN}]},"BINOM.INV":{method:"binomialinv",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0,maxValue:1},{argumentType:Jn.NUMBER,greaterThan:0,lessThan:1}]},BESSELI:{method:"besselifn",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:0}]},BESSELJ:{method:"besseljfn",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:0}]},BESSELK:{method:"besselkfn",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:0}]},BESSELY:{method:"besselyfn",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:0}]},"CHISQ.DIST":{method:"chisqdist",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:1,maxValue:1e10},{argumentType:Jn.BOOLEAN}]},"CHISQ.DIST.RT":{method:"chisqdistrt",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:1,maxValue:1e10}]},"CHISQ.INV":{method:"chisqinv",parameters:[{argumentType:Jn.NUMBER,minValue:0,maxValue:1},{argumentType:Jn.NUMBER,minValue:1,maxValue:1e10}]},"CHISQ.INV.RT":{method:"chisqinvrt",parameters:[{argumentType:Jn.NUMBER,minValue:0,maxValue:1},{argumentType:Jn.NUMBER,minValue:1}]},"F.DIST":{method:"fdist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.BOOLEAN}]},"F.DIST.RT":{method:"fdistrt",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.NUMBER,minValue:1}]},"F.INV":{method:"finv",parameters:[{argumentType:Jn.NUMBER,minValue:0,maxValue:1},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.NUMBER,minValue:1}]},"F.INV.RT":{method:"finvrt",parameters:[{argumentType:Jn.NUMBER,minValue:0,maxValue:1},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.NUMBER,minValue:1}]},"WEIBULL.DIST":{method:"weibulldist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.BOOLEAN}]},"POISSON.DIST":{method:"poissondist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.BOOLEAN}]},"HYPGEOM.DIST":{method:"hypgeomdist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.BOOLEAN}]},"T.DIST":{method:"tdist",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.BOOLEAN}]},"T.DIST.2T":{method:"tdist2t",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:1}]},"T.DIST.RT":{method:"tdistrt",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,minValue:1}]},TDIST:{method:"tdistold",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.INTEGER,minValue:1,maxValue:2}]},"T.INV":{method:"tinv",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jn.NUMBER,minValue:1}]},"T.INV.2T":{method:"tinv2t",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,maxValue:1},{argumentType:Jn.NUMBER,minValue:1}]},"LOGNORM.DIST":{method:"lognormdist",parameters:[{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.BOOLEAN}]},"LOGNORM.INV":{method:"lognorminv",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,greaterThan:0}]},"NORM.DIST":{method:"normdist",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.BOOLEAN}]},"NORM.INV":{method:"norminv",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,greaterThan:0}]},"NORM.S.DIST":{method:"normsdist",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.BOOLEAN}]},"NORM.S.INV":{method:"normsinv",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,lessThan:1}]},PHI:{method:"phi",parameters:[{argumentType:Jn.NUMBER}]},"NEGBINOM.DIST":{method:"negbinomdist",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:1},{argumentType:Jn.NUMBER,minValue:0,maxValue:1},{argumentType:Jn.BOOLEAN}]},"CONFIDENCE.NORM":{method:"confidencenorm",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,minValue:1}]},"CONFIDENCE.T":{method:"confidencet",parameters:[{argumentType:Jn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jn.NUMBER,greaterThan:0},{argumentType:Jn.NUMBER,minValue:1}]},STANDARDIZE:{method:"standardize",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,greaterThan:0}]}},$u.aliases={NEGBINOMDIST:"NEGBINOM.DIST",EXPONDIST:"EXPON.DIST",BETADIST:"BETA.DIST",NORMDIST:"NORM.DIST",NORMINV:"NORM.INV",NORMSDIST:"NORM.S.DIST",NORMSINV:"NORM.S.INV",LOGNORMDIST:"LOGNORM.DIST",LOGINV:"LOGNORM.INV",TINV:"T.INV.2T",HYPGEOMDIST:"HYPGEOM.DIST",POISSON:"POISSON.DIST",WEIBULL:"WEIBULL.DIST",FINV:"F.INV.RT",FDIST:"F.DIST.RT",CHIDIST:"CHISQ.DIST.RT",CHIINV:"CHISQ.INV.RT",GAMMADIST:"GAMMA.DIST","GAMMALN.PRECISE":"GAMMALN",GAMMAINV:"GAMMA.INV",BETAINV:"BETA.INV",BINOMDIST:"BINOM.DIST",CONFIDENCE:"CONFIDENCE.NORM",CRITBINOM:"BINOM.INV",WEIBULLDIST:"WEIBULL.DIST",TINV2T:"T.INV.2T",TDISTRT:"T.DIST.RT",TDIST2T:"T.DIST.2T",FINVRT:"F.INV.RT",FDISTRT:"F.DIST.RT",CHIDISTRT:"CHISQ.DIST.RT",CHIINVRT:"CHISQ.INV.RT",LOGNORMINV:"LOGNORM.INV",POISSONDIST:"POISSON.DIST"};
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- class Ju extends Qn{fact(e,t){return this.runFunction(e.args,t,this.metadata("FACT"),e=>{e=Math.trunc(e);let t=1;for(let r=1;r<=e;r++)t*=r;return t})}factdouble(e,t){return this.runFunction(e.args,t,this.metadata("FACTDOUBLE"),e=>{e=Math.trunc(e);let t=1;for(let r=e;r>=1;r-=2)t*=r;return t})}combin(e,t){return this.runFunction(e.args,t,this.metadata("COMBIN"),(e,t)=>t>e?new ln(Ur.NUM,xe.WrongOrder):(e=Math.trunc(e),t=Math.trunc(t),Qu(e,t)))}combina(e,t){return this.runFunction(e.args,t,this.metadata("COMBINA"),(e,t)=>(e=Math.trunc(e),t=Math.trunc(t),e+t-1>=1030?new ln(Ur.NUM,xe.ValueLarge):0===e&&0===t?1:Qu(e+t-1,t)))}gcd(e,t){return this.runFunction(e.args,t,this.metadata("GCD"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersCoerceRangesDropNulls(e);if(t instanceof ln)return t;let r=0;for(const n of t){if(n<0)return new ln(Ur.NUM,xe.ValueSmall);r=ec(r,Math.trunc(n))}return r>Number.MAX_SAFE_INTEGER?new ln(Ur.NUM,xe.ValueLarge):r})}lcm(e,t){return this.runFunction(e.args,t,this.metadata("LCM"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersCoerceRangesDropNulls(e);if(t instanceof ln)return t;let r=1;for(const n of t){if(n<0)return new ln(Ur.NUM,xe.ValueSmall);r=tc(r,Math.trunc(n))}return r>Number.MAX_SAFE_INTEGER?new ln(Ur.NUM,xe.ValueLarge):r})}mround(e,t){return this.runFunction(e.args,t,this.metadata("MROUND"),(e,t)=>0===t?0:e>0&&t<0||e<0&&t>0?new ln(Ur.NUM,xe.DistinctSigns):Math.round(e/t)*t)}multinomial(e,t){return this.runFunction(e.args,t,this.metadata("MULTINOMIAL"),(...e)=>{let t=0,r=1;for(let n of e){if(n<0)return new ln(Ur.NUM,xe.ValueSmall);n=Math.trunc(n);for(let e=1;e<=n;e++)r*=(t+e)/e;t+=n}return Math.round(r)})}quotient(e,t){return this.runFunction(e.args,t,this.metadata("QUOTIENT"),(e,t)=>0===t?new ln(Ur.DIV_BY_ZERO):Math.trunc(e/t))}seriessum(e,t){return this.runFunction(e.args,t,this.metadata("SERIESSUM"),(e,t,r,n)=>{const i=this.arithmeticHelper.manyToOnlyNumbersDropNulls(n.valuesFromTopLeftCorner());if(i instanceof ln)return i;let a=0;i.reverse();for(const o of i)a*=Math.pow(e,r),a+=o;return a*Math.pow(e,t)})}sign(e,t){return this.runFunction(e.args,t,this.metadata("SIGN"),e=>e>0?1:e<0?-1:0)}sumx2my2(e,t){return this.runFunction(e.args,t,this.metadata("SUMX2MY2"),(e,t)=>{const r=e.valuesFromTopLeftCorner(),n=t.valuesFromTopLeftCorner();if(r.length!==n.length)return new ln(Ur.NA,xe.EqualLength);const i=r.length;let a=0;for(let o=0;o<i;o++){const e=r[o],t=n[o];if(e instanceof ln)return e;if(t instanceof ln)return t;"number"===typeof e&&"number"===typeof t&&(a+=Math.pow(e,2)-Math.pow(t,2))}return a})}sumx2py2(e,t){return this.runFunction(e.args,t,this.metadata("SUMX2PY2"),(e,t)=>{const r=e.valuesFromTopLeftCorner(),n=t.valuesFromTopLeftCorner();if(r.length!==n.length)return new ln(Ur.NA,xe.EqualLength);const i=r.length;let a=0;for(let o=0;o<i;o++){const e=r[o],t=n[o];if(e instanceof ln)return e;if(t instanceof ln)return t;"number"===typeof e&&"number"===typeof t&&(a+=Math.pow(e,2)+Math.pow(t,2))}return a})}sumxmy2(e,t){return this.runFunction(e.args,t,this.metadata("SUMXMY2"),(e,t)=>{const r=e.valuesFromTopLeftCorner(),n=t.valuesFromTopLeftCorner();if(r.length!==n.length)return new ln(Ur.NA,xe.EqualLength);const i=r.length;let a=0;for(let o=0;o<i;o++){const e=r[o],t=n[o];if(e instanceof ln)return e;if(t instanceof ln)return t;"number"===typeof e&&"number"===typeof t&&(a+=Math.pow(e-t,2))}return a})}}function Qu(e,t){2*t>e&&(t=e-t);let r=1;for(let n=1;n<=t;n++)r*=(e-t+n)/n;return Math.round(r)}function ec(e,t){e<t&&([e,t]=[t,e]);while(t>0)[e,t]=[t,e%t];return e}function tc(e,t){return 0===e||0===t?0:e*(t/ec(e,t))}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */Ju.implementedFunctions={FACT:{method:"fact",parameters:[{argumentType:Jn.NUMBER,minValue:0,maxValue:170}]},FACTDOUBLE:{method:"factdouble",parameters:[{argumentType:Jn.NUMBER,minValue:0,maxValue:288}]},COMBIN:{method:"combin",parameters:[{argumentType:Jn.NUMBER,minValue:0,lessThan:1030},{argumentType:Jn.NUMBER,minValue:0}]},COMBINA:{method:"combina",parameters:[{argumentType:Jn.NUMBER,minValue:0},{argumentType:Jn.NUMBER,minValue:0}]},GCD:{method:"gcd",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},LCM:{method:"lcm",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},MROUND:{method:"mround",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]},MULTINOMIAL:{method:"multinomial",parameters:[{argumentType:Jn.NUMBER}],repeatLastArgs:1,expandRanges:!0},QUOTIENT:{method:"quotient",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER}]},SERIESSUM:{method:"seriessum",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.RANGE}]},SIGN:{method:"sign",parameters:[{argumentType:Jn.NUMBER}]},SUMX2MY2:{method:"sumx2my2",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},SUMX2PY2:{method:"sumx2py2",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},SUMXMY2:{method:"sumxmy2",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]}};class rc extends Qn{complex(e,t){return this.runFunction(e.args,t,this.metadata("COMPLEX"),(e,t,r)=>"i"!==r&&"j"!==r?new ln(Ur.VALUE,xe.ShouldBeIorJ):Rn([e,t],r))}imabs(e,t){return this.runFunction(e.args,t,this.metadata("IMABS"),hc)}imaginary(e,t){return this.runFunction(e.args,t,this.metadata("IMAGINARY"),([e,t])=>t)}imreal(e,t){return this.runFunction(e.args,t,this.metadata("IMREAL"),([e,t])=>e)}imargument(e,t){return this.runFunction(e.args,t,this.metadata("IMARGUMENT"),([e,t])=>0===e&&0===t?new ln(Ur.DIV_BY_ZERO):Math.atan2(t,e))}imconjugate(e,t){return this.runFunction(e.args,t,this.metadata("IMCONJUGATE"),([e,t])=>Rn([e,-t]))}imcos(e,t){return this.runFunction(e.args,t,this.metadata("IMCOS"),e=>Rn(sc(e)))}imcosh(e,t){return this.runFunction(e.args,t,this.metadata("IMCOSH"),e=>Rn(lc(e)))}imcot(e,t){return this.runFunction(e.args,t,this.metadata("IMCOT"),e=>Rn(oc(sc(e),uc(e))))}imcsc(e,t){return this.runFunction(e.args,t,this.metadata("IMCSC"),e=>Rn(oc([1,0],uc(e))))}imcsch(e,t){return this.runFunction(e.args,t,this.metadata("IMCSCH"),e=>Rn(oc([1,0],cc(e))))}imsec(e,t){return this.runFunction(e.args,t,this.metadata("IMSEC"),e=>Rn(oc([1,0],sc(e))))}imsech(e,t){return this.runFunction(e.args,t,this.metadata("IMSECH"),e=>Rn(oc([1,0],lc(e))))}imsin(e,t){return this.runFunction(e.args,t,this.metadata("IMSIN"),e=>Rn(uc(e)))}imsinh(e,t){return this.runFunction(e.args,t,this.metadata("IMSINH"),e=>Rn(cc(e)))}imtan(e,t){return this.runFunction(e.args,t,this.metadata("IMTAN"),e=>Rn(oc(uc(e),sc(e))))}imdiv(e,t){return this.runFunction(e.args,t,this.metadata("IMDIV"),(e,t)=>Rn(oc(e,t)))}improduct(e,t){return this.runFunction(e.args,t,this.metadata("IMPRODUCT"),(...e)=>{const t=this.arithmeticHelper.coerceComplexExactRanges(e);if(t instanceof ln)return t;let r=[1,0];for(const n of t)r=ac(r,n);return Rn(r)})}imsum(e,t){return this.runFunction(e.args,t,this.metadata("IMSUM"),(...e)=>{const t=this.arithmeticHelper.coerceComplexExactRanges(e);if(t instanceof ln)return t;let r=[0,0];for(const n of t)r=nc(r,n);return Rn(r)})}imsub(e,t){return this.runFunction(e.args,t,this.metadata("IMSUB"),(e,t)=>Rn(ic(e,t)))}imexp(e,t){return this.runFunction(e.args,t,this.metadata("IMEXP"),e=>Rn(dc(e)))}imln(e,t){return this.runFunction(e.args,t,this.metadata("IMLN"),e=>Rn(pc(e)))}imlog10(e,t){return this.runFunction(e.args,t,this.metadata("IMLOG10"),e=>{const[t,r]=pc(e),n=Math.log(10);return Rn([t/n,r/n])})}imlog2(e,t){return this.runFunction(e.args,t,this.metadata("IMLOG2"),e=>{const[t,r]=pc(e),n=Math.log(2);return Rn([t/n,r/n])})}impower(e,t){return this.runFunction(e.args,t,this.metadata("IMPOWER"),(e,t)=>Rn(fc(e,t)))}imsqrt(e,t){return this.runFunction(e.args,t,this.metadata("IMSQRT"),e=>Rn(fc(e,.5)))}}function nc([e,t],[r,n]){return[e+r,t+n]}function ic([e,t],[r,n]){return[e-r,t-n]}function ac([e,t],[r,n]){return[e*r-t*n,e*n+r*t]}function oc([e,t],[r,n]){const i=Math.pow(r,2)+Math.pow(n,2),[a,o]=ac([e,t],[r,-n]);return[a/i,o/i]}function sc([e,t]){return[Math.cos(e)*Math.cosh(t),-Math.sin(e)*Math.sinh(t)]}function lc([e,t]){return[Math.cosh(e)*Math.cos(t),Math.sinh(e)*Math.sin(t)]}function uc([e,t]){return[Math.sin(e)*Math.cosh(t),Math.cos(e)*Math.sinh(t)]}function cc([e,t]){return[Math.sinh(e)*Math.cos(t),Math.cosh(e)*Math.sin(t)]}function dc([e,t]){return[Math.exp(e)*Math.cos(t),Math.exp(e)*Math.sin(t)]}function hc([e,t]){return Math.sqrt(e*e+t*t)}function pc([e,t]){return[Math.log(hc([e,t])),Math.atan2(t,e)]}function fc(e,t){const[r,n]=pc(e);return dc([t*r,t*n])}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */rc.implementedFunctions={COMPLEX:{method:"complex",parameters:[{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER},{argumentType:Jn.STRING,defaultValue:"i"}]},IMABS:{method:"imabs",parameters:[{argumentType:Jn.COMPLEX}]},IMAGINARY:{method:"imaginary",parameters:[{argumentType:Jn.COMPLEX}]},IMREAL:{method:"imreal",parameters:[{argumentType:Jn.COMPLEX}]},IMARGUMENT:{method:"imargument",parameters:[{argumentType:Jn.COMPLEX}]},IMCONJUGATE:{method:"imconjugate",parameters:[{argumentType:Jn.COMPLEX}]},IMCOS:{method:"imcos",parameters:[{argumentType:Jn.COMPLEX}]},IMCOSH:{method:"imcosh",parameters:[{argumentType:Jn.COMPLEX}]},IMCOT:{method:"imcot",parameters:[{argumentType:Jn.COMPLEX}]},IMCSC:{method:"imcsc",parameters:[{argumentType:Jn.COMPLEX}]},IMCSCH:{method:"imcsch",parameters:[{argumentType:Jn.COMPLEX}]},IMSEC:{method:"imsec",parameters:[{argumentType:Jn.COMPLEX}]},IMSECH:{method:"imsech",parameters:[{argumentType:Jn.COMPLEX}]},IMSIN:{method:"imsin",parameters:[{argumentType:Jn.COMPLEX}]},IMSINH:{method:"imsinh",parameters:[{argumentType:Jn.COMPLEX}]},IMTAN:{method:"imtan",parameters:[{argumentType:Jn.COMPLEX}]},IMDIV:{method:"imdiv",parameters:[{argumentType:Jn.COMPLEX},{argumentType:Jn.COMPLEX}]},IMPRODUCT:{method:"improduct",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},IMSUM:{method:"imsum",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},IMSUB:{method:"imsub",parameters:[{argumentType:Jn.COMPLEX},{argumentType:Jn.COMPLEX}]},IMEXP:{method:"imexp",parameters:[{argumentType:Jn.COMPLEX}]},IMLN:{method:"imln",parameters:[{argumentType:Jn.COMPLEX}]},IMLOG10:{method:"imlog10",parameters:[{argumentType:Jn.COMPLEX}]},IMLOG2:{method:"imlog2",parameters:[{argumentType:Jn.COMPLEX}]},IMPOWER:{method:"impower",parameters:[{argumentType:Jn.COMPLEX},{argumentType:Jn.NUMBER}]},IMSQRT:{method:"imsqrt",parameters:[{argumentType:Jn.COMPLEX}]}};class mc extends Qn{avedev(e,t){return this.runFunction(e.args,t,this.metadata("AVEDEV"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof ln)return t;if(0===t.length)return new ln(Ur.DIV_BY_ZERO);const r=Uu(t);return t.reduce((e,t)=>e+Math.abs(t-r),0)/t.length})}devsq(e,t){return this.runFunction(e.args,t,this.metadata("DEVSQ"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);return t instanceof ln?t:0===t.length?0:Vu(t)})}geomean(e,t){return this.runFunction(e.args,t,this.metadata("GEOMEAN"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof ln)return t;if(0===t.length)return new ln(Ur.NUM,xe.OneValue);for(const r of t)if(r<=0)return new ln(Ur.NUM,xe.ValueSmall);return Ku(t)})}harmean(e,t){return this.runFunction(e.args,t,this.metadata("HARMEAN"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof ln)return t;if(0===t.length)return new ln(Ur.NUM,xe.OneValue);for(const r of t)if(r<=0)return new ln(Ur.NUM,xe.ValueSmall);return t.length/t.reduce((e,t)=>e+1/t,0)})}correl(e,t){return this.runFunction(e.args,t,this.metadata("CORREL"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new ln(Ur.NA,xe.EqualLength);const r=gc(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Ur.DIV_BY_ZERO,xe.TwoValues):Zu(r[0],r[1])})}rsq(e,t){return this.runFunction(e.args,t,this.metadata("RSQ"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new ln(Ur.NA,xe.EqualLength);const r=gc(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Ur.DIV_BY_ZERO,xe.TwoValues):Math.pow(Zu(r[0],r[1]),2)})}covariancep(e,t){return this.runFunction(e.args,t,this.metadata("COVARIANCE.P"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new ln(Ur.NA,xe.EqualLength);const r=gc(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<1?new ln(Ur.DIV_BY_ZERO,xe.OneValue):1===n?0:Xu(r[0],r[1])*(n-1)/n})}covariances(e,t){return this.runFunction(e.args,t,this.metadata("COVARIANCE.S"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new ln(Ur.NA,xe.EqualLength);const r=gc(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Ur.DIV_BY_ZERO,xe.TwoValues):Xu(r[0],r[1])})}ztest(e,t){return this.runFunction(e.args,t,this.metadata("Z.TEST"),(e,t,r)=>{const n=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());if(n instanceof ln)return n;const i=n.length;if(void 0===r){if(i<2)return new ln(Ur.DIV_BY_ZERO,xe.TwoValues);r=zu(n,!0)}return i<1?new ln(Ur.NA,xe.OneValue):0===r?new ln(Ur.DIV_BY_ZERO):1-yu.cdf((Uu(n)-t)/(r/Math.sqrt(i)),0,1)})}ftest(e,t){return this.runFunction(e.args,t,this.metadata("F.TEST"),(e,t)=>{const r=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner()),n=this.arithmeticHelper.manyToExactNumbers(t.valuesFromTopLeftCorner());if(r instanceof ln)return r;if(n instanceof ln)return n;if(r.length<=1||n.length<=1)return new ln(Ur.DIV_BY_ZERO);const i=Yu(r,!0),a=Yu(n,!0);if(0===i||0===a)return new ln(Ur.DIV_BY_ZERO);const o=i/a,s=ku.cdf(o,r.length-1,n.length-1);return 2*Math.min(s,1-s)})}steyx(e,t){return this.runFunction(e.args,t,this.metadata("STEYX"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new ln(Ur.NA,xe.EqualLength);const r=gc(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=2?new ln(Ur.DIV_BY_ZERO,xe.ThreeValues):Math.sqrt((Vu(r[0])-Math.pow(Xu(r[0],r[1])*(n-1),2)/Vu(r[1]))/(n-2))})}slope(e,t){return this.runFunction(e.args,t,this.metadata("SLOPE"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new ln(Ur.NA,xe.EqualLength);const r=gc(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Ur.DIV_BY_ZERO,xe.TwoValues):Xu(r[0],r[1])*(n-1)/Vu(r[1])})}chisqtest(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.TEST"),(e,t)=>{const r=e.height(),n=e.width();if(t.height()!==r||t.width()!==n)return new ln(Ur.NA,xe.EqualLength);const i=gc(e,t);if(i instanceof ln)return i;if(i[0].length<=1)return new ln(Ur.DIV_BY_ZERO,xe.TwoValues);let a=0;for(let o=0;o<i[0].length;o++){if(0===i[1][o])return new ln(Ur.DIV_BY_ZERO);a+=Math.pow(i[0][o]-i[1][o],2)/i[1][o]}return a<0?new ln(Ur.NUM,xe.NaN):1-Lu.cdf(a,r>1&&n>1?(r-1)*(n-1):r*n-1)})}ttest(e,t){return this.runFunction(e.args,t,this.metadata("T.TEST"),(e,t,r,n)=>{const i=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner()),a=this.arithmeticHelper.manyToExactNumbers(t.valuesFromTopLeftCorner());if(i instanceof ln)return i;if(a instanceof ln)return a;const o=i.length,s=a.length;if(1===n){if(s!==o)return new ln(Ur.NA,xe.EqualLength);if(o<=1)return new ln(Ur.DIV_BY_ZERO,xe.TwoValues);const e=Array(o);for(let r=0;r<o;r++)e[r]=i[r]-a[r];const t=zu(e,!0);if(0===t)return new ln(Ur.DIV_BY_ZERO);const n=Math.abs(Math.sqrt(o)*Uu(e)/t);return r*(1-ju.cdf(n,o-1))}if(2===n){if(o<=1||s<=1)return new ln(Ur.DIV_BY_ZERO,xe.TwoValues);const e=(Vu(i)+Vu(a))/(o+s-2);if(0===e)return new ln(Ur.DIV_BY_ZERO);const t=Math.abs((Uu(i)-Uu(a))/Math.sqrt(e*(1/o+1/s)));return r*(1-ju.cdf(t,o+s-2))}{if(o<=1||s<=1)return new ln(Ur.DIV_BY_ZERO,xe.TwoValues);const e=Yu(i,!0),t=Yu(a,!0);if(0===e&&0===t)return new ln(Ur.DIV_BY_ZERO);const n=Math.abs((Uu(i)-Uu(a))/Math.sqrt(e/o+t/s)),l=Math.pow(e/o+t/s,2)/(Math.pow(e/o,2)/(o-1)+Math.pow(t/s,2)/(s-1));return r*(1-ju.cdf(n,l))}})}skew(e,t){return this.runFunction(e.args,t,this.metadata("SKEW"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof ln)return t;const r=t.length;if(r<3)return new ln(Ur.DIV_BY_ZERO,xe.ThreeValues);const n=Uu(t),i=zu(t,!0);return 0===i?new ln(Ur.DIV_BY_ZERO):t.reduce((e,t)=>e+Math.pow((t-n)/i,3),0)*r/(r-1)/(r-2)})}skewp(e,t){return this.runFunction(e.args,t,this.metadata("SKEW.P"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof ln)return t;const r=t.length;if(r<3)return new ln(Ur.DIV_BY_ZERO,xe.ThreeValues);const n=Uu(t),i=zu(t,!1);return 0===i?new ln(Ur.DIV_BY_ZERO):t.reduce((e,t)=>e+Math.pow((t-n)/i,3),0)/r})}}function gc(e,t){const r=e.iterateValuesFromTopLeftCorner(),n=t.iterateValuesFromTopLeftCorner();let i,a;const o=[],s=[];while(i=r.next(),a=n.next(),!i.done&&!a.done){const e=i.value,t=a.value;if(e instanceof ln)return e;if(t instanceof ln)return t;Ot(e)&&Ot(t)&&(o.push(St(e)),s.push(St(t)))}return[o,s]}
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */
- /**
- * @license
- * Copyright (c) 2024 Handsoncode. All rights reserved.
- */mc.implementedFunctions={AVEDEV:{method:"avedev",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},DEVSQ:{method:"devsq",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},GEOMEAN:{method:"geomean",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},HARMEAN:{method:"harmean",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},CORREL:{method:"correl",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},RSQ:{method:"rsq",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},"COVARIANCE.P":{method:"covariancep",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},"COVARIANCE.S":{method:"covariances",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},"Z.TEST":{method:"ztest",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.NUMBER},{argumentType:Jn.NUMBER,optionalArg:!0}]},"F.TEST":{method:"ftest",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},STEYX:{method:"steyx",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},SLOPE:{method:"slope",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},"CHISQ.TEST":{method:"chisqtest",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE}]},"T.TEST":{method:"ttest",parameters:[{argumentType:Jn.RANGE},{argumentType:Jn.RANGE},{argumentType:Jn.INTEGER,minValue:1,maxValue:2},{argumentType:Jn.INTEGER,minValue:1,maxValue:3}]},SKEW:{method:"skew",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1},"SKEW.P":{method:"skewp",parameters:[{argumentType:Jn.ANY}],repeatLastArgs:1}},mc.aliases={COVAR:"COVARIANCE.P",FTEST:"F.TEST",PEARSON:"CORREL",ZTEST:"Z.TEST",CHITEST:"CHISQ.TEST",TTEST:"T.TEST",COVARIANCEP:"COVARIANCE.P",COVARIANCES:"COVARIANCE.S",SKEWP:"SKEW.P"};class vc extends ds{}vc.HyperFormula=ds,vc.ErrorType=Ur,vc.CellError=ln,vc.CellType=Vr,vc.CellValueType=tn,vc.CellValueDetailedType=rn,vc.DetailedCellError=ii,vc.ExportedCellChange=xo,vc.ExportedNamedExpressionChange=Ao,vc.ConfigValueTooBigError=sr,vc.ConfigValueTooSmallError=or,vc.EvaluationSuspendedError=ur,vc.ExpectedOneOfValuesError=lr,vc.ExpectedValueOfTypeError=ir,vc.ArraySize=ei,vc.SimpleRangeValue=Pt,vc.EmptyValue=_t,vc.FunctionPlugin=Qn,vc.FunctionArgumentType=Jn,vc.FunctionPluginValidationError=fr,vc.InvalidAddressError=Gt,vc.InvalidArgumentsError=Kt,vc.LanguageNotRegisteredError=hr,vc.LanguageAlreadyRegisteredError=pr,vc.MissingTranslationError=cr,vc.NamedExpressionDoesNotExistError=Jt,vc.NamedExpressionNameIsAlreadyTakenError=Zt,vc.NamedExpressionNameIsInvalidError=$t,vc.NoOperationToRedoError=er,vc.NoOperationToUndoError=Qt,vc.NoRelativeAddressesAllowedError=br,vc.NoSheetWithIdError=Vt,vc.NoSheetWithNameError=Yt,vc.NotAFormulaError=qt,vc.NothingToPasteError=tr,vc.ProtectedFunctionTranslationError=dr,vc.SheetNameAlreadyTakenError=zt,vc.SheetSizeLimitExceededError=Wt,vc.SourceLocationHasArrayError=gr,vc.TargetLocationHasArrayError=vr,vc.UnableToParseError=nr;const bc=ps.defaultConfig.language;ds.registerLanguage(bc,bs),ds.languages[bs.langCode]=bs;for(const yc of Object.getOwnPropertyNames(a))yc.startsWith("_")||ds.registerFunctionPlugin(a[yc])},ccac:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("e0c1"),i=r("c1b2"),a=r("4c4e"),o=r("7d2e");function s(e,t){let r=0;while(1){const n=r<e.length?e.charCodeAt(r):null,i=r<t.length?t.charCodeAt(r):null;if(null===n)return!0;if(n!==i)return!1;r++}}function l(e,t){if(s(t,e))return!1;if(s(e,t))return!0;for(let r=0;r<Math.min(e.length,t.length);r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)return n<i}return!1}function u(e){const t=Array.from(e),r=new Uint8Array(t.length);let n=0;for(const i of e){const e=i.codePointAt(0);console.assert(void 0!==e&&e<=255,"isomorphicEncode requires string bytes to be less than or equal to 0x00FF."),void 0!==e&&e<=255&&(r[n++]=e)}return r}function c(e){return/^[\u0000-\u007F]*$/.test(e)}function d(e){let t="";for(const r of e){const e=r.codePointAt(0);t+=void 0!==e&&e>=65&&e<=90?String.fromCodePoint(e+32):r}return t}function h(e){let t="";for(const r of e){const e=r.codePointAt(0);t+=void 0!==e&&e>=97&&e<=122?String.fromCodePoint(e-32):r}return t}function p(e,t){return d(e)===d(t)}function f(e){return console.assert(c(e),"asciiEncode requires an ASCII string."),u(e)}function m(e){for(const t of e)console.assert(a.isASCIIByte(t),"asciiDecode requires an ASCII byte sequence.");return i.isomorphicDecode(e)}function g(e){return e.replace(/[\n\r]/g,"")}function v(e){return e.replace(/\r\n/g,"\n").replace(/\r/g,"\n")}function b(e){return e.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function y(e){return b(e.replace(/[\t\n\f\r ]{2,}/g," "))}function w(e,t,r){if(!o.isArray(t))return w(e,Array.from(t),r);let n="";while(r.position<t.length&&e.call(null,t[r.position]))n+=t[r.position],r.position++;return n}function _(e,t){w(e=>n.ASCIIWhiteSpace.test(e),e,t)}function S(e,t){if(!o.isArray(e))return S(Array.from(e),t);const r={position:0},n=[];let i=w(e=>t!==e,e,r);n.push(i);while(r.position<e.length)console.assert(e[r.position]===t,"strictlySplit found no delimiter in input string."),r.position++,i=w(e=>t!==e,e,r),n.push(i);return n}function E(e){if(!o.isArray(e))return E(Array.from(e));const t={position:0},r=[];_(e,t);while(t.position<e.length){const i=w(e=>!n.ASCIIWhiteSpace.test(e),e,t);r.push(i),_(e,t)}return r}function M(e){if(!o.isArray(e))return M(Array.from(e));const t={position:0},r=[];while(t.position<e.length){const n=w(e=>","!==e,e,t);r.push(b(n)),t.position<e.length&&(console.assert(","===e[t.position],"splitAStringOnCommas found no delimiter in input string."),t.position++)}return r}function T(e,t=""){return 0===e.length?"":e.join(t)}t.isCodeUnitPrefix=s,t.isCodeUnitLessThan=l,t.isomorphicEncode=u,t.isASCIIString=c,t.asciiLowercase=d,t.asciiUppercase=h,t.asciiCaseInsensitiveMatch=p,t.asciiEncode=f,t.asciiDecode=m,t.stripNewlines=g,t.normalizeNewlines=v,t.stripLeadingAndTrailingASCIIWhitespace=b,t.stripAndCollapseASCIIWhitespace=y,t.collectASequenceOfCodePoints=w,t.skipASCIIWhitespace=_,t.strictlySplit=S,t.splitAStringOnASCIIWhitespace=E,t.splitAStringOnCommas=M,t.concatenate=T},cd4e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("7d2e"),i=r("9c78");function a(e){const t=i.utf8Decode(e);return JSON.parse.call(void 0,t)}function o(e){const t=JSON.stringify.call(void 0,e);return i.utf8Encode(t)}function s(e){const t=JSON.parse.call(void 0,e);return l(t)}function l(e){if(null===e||n.isString(e)||n.isNumber(e))return e;if(n.isArray(e)){const t=new Array;for(const r of e)t.push(l(r));return t}if(n.isObject(e)){const t=new Map;for(const r in e)if(e.hasOwnProperty(r)){const n=e[r];t.set(r,l(n))}return t}return e}t.parseJSONFromBytes=a,t.serializeJSONToBytes=o,t.parseJSONIntoInfraValues=s,t.convertAJSONDerivedJavaScriptValueToAnInfraValue=l},cd91:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},cef7:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("d06e");var n=r("9f10"),i=r("81ea");class a extends n["a"]{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];super(e)}getHiddenIndexes(){return Object(i["arrayReduce"])(this.getValues(),(e,t,r)=>(t&&e.push(r),e),[])}}},cf1e9:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,r,n,i){var a,o=t.words[n];return 1===n.length?"y"===n&&r?"jedna godina":i||r?o[0]:o[1]:(a=t.correctGrammaticalCase(e,o),"yy"===n&&r&&"godinu"===a?e+" godina":e+" "+a)}},r=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},cf35:function(e,t,r){"use strict";(function(t,n){var i=r("966d");e.exports=S;var a,o=r("172d");S.ReadableState=_;r("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=r("f12a"),u=r("53b7").Buffer,c=("undefined"!==typeof t?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function d(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof c}var p=Object.create(r("3a7c"));p.inherits=r("3fb5");var f=r(8),m=void 0;m=f&&f.debuglog?f.debuglog("stream"):function(){};var g,v=r("18a2"),b=r("9019");p.inherits(S,l);var y=["error","close","destroy","pause","resume"];function w(e,t,r){if("function"===typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function _(e,t){a=a||r("5e7d"),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=r("aa22").StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function S(e){if(a=a||r("5e7d"),!(this instanceof S))return new S(e);this._readableState=new _(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function E(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,O(e,o)):(i||(a=T(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"===typeof t||o.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=d(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):M(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?M(e,o,t,!1):k(e,o)):M(e,o,t,!1))):n||(o.reading=!1));return C(o)}function M(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&R(e)),k(e,t)}function T(e,t){var r;return h(t)||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function C(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(S.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=b.destroy,S.prototype._undestroy=b.undestroy,S.prototype._destroy=function(e,t){this.push(null),t(e)},S.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=u.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},S.prototype.unshift=function(e){return E(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){return g||(g=r("aa22").StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var x=8388608;function A(e){return e>=x?e=x:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function N(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=A(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,R(e)}}function R(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(L,e):L(e))}function L(e){m("emit readable"),e.emit("readable"),H(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(I,e,t))}function I(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(m("maybeReadMore read 0"),e.read(0),r===t.length)break;r=t.length}t.readingMore=!1}function D(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,H(e))}}function P(e){m("readable nexttick read 0"),e.read(0)}function j(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(F,e,t))}function F(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),H(e),t.flowing&&!t.reading&&e.read(0)}function H(e){var t=e._readableState;m("flow",t.flowing);while(t.flowing&&null!==e.read());}function B(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=U(e,t.buffer,t.decoder),r);var r}function U(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?V(e,t):Y(e,t),n}function V(e,t){var r=t.head,n=1,i=r.data;e-=i.length;while(r=r.next){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,0===e){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}function Y(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;while(n=n.next){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),e-=o,0===e){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}function z(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(W,t,e))}function W(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function q(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}S.prototype.read=function(e){m("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?z(this):R(this),null;if(e=N(e,t),0===e&&t.ended)return 0===t.length&&z(this),null;var n,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,m("length less than watermark",i)),t.ended||t.reading?(i=!1,m("reading or ended",i)):i&&(m("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=N(r,t))),n=e>0?B(e,t):null,null===n?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&z(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},S.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e);break}a.pipesCount+=1,m("pipe count=%d opts=%j",a.pipesCount,t);var o=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr,l=o?c:_;function u(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function c(){m("onend"),e.end()}a.endEmitted?i.nextTick(l):r.once("end",l),e.on("unpipe",u);var d=D(r);e.on("drain",d);var h=!1;function p(){m("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",v),e.removeListener("unpipe",u),r.removeListener("end",c),r.removeListener("end",_),r.removeListener("data",g),h=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}var f=!1;function g(t){m("ondata"),f=!1;var n=e.write(t);!1!==n||f||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==q(a.pipes,e))&&!h&&(m("false write response, pause",a.awaitDrain),a.awaitDrain++,f=!0),r.pause())}function v(t){m("onerror",t),_(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",y),_()}function y(){m("onfinish"),e.removeListener("close",b),_()}function _(){m("unpipe"),r.unpipe(e)}return r.on("data",g),w(e,"error",v),e.once("close",b),e.once("finish",y),e.emit("pipe",r),a.flowing||(m("pipe resume"),r.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=q(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&R(this):i.nextTick(P,this))}return r},S.prototype.addListener=S.prototype.on,S.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,j(this,e)),this},S.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(m("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(m("wrapped data"),r.decoder&&(i=r.decoder.write(i)),(!r.objectMode||null!==i&&void 0!==i)&&(r.objectMode||i&&i.length)){var a=t.push(i);a||(n=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<y.length;a++)e.on(y[a],this.emit.bind(this,y[a]));return this._read=function(t){m("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),S._fromList=B}).call(this,r("c8ba"),r("4362"))},cf36:function(e,t,r){"use strict";var n=r("b343"),i=r("1caf");e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},cf51:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,r){return e>11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function r(e,t,r,n){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?i[r][0]:i[r][1]}return t}))},cf75:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function i(e,t,r,n){var i=a(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function a(e){var r=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,a="";return r>0&&(a+=t[r]+"vatlh"),n>0&&(a+=(""!==a?" ":"")+t[n]+"maH"),i>0&&(a+=(""!==a?" ":"")+t[i]),""===a?"pagh":a}var o=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:r,past:n,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},cfbd:function(e,t,r){var n=r("3fb5"),i=r("7f7a"),a=i.base,o=i.bignum,s=i.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.Node.call(this,"der",e)}function c(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=s.tagClass[r>>6],i=0===(32&r);if(31===(31&r)){var a=r;r=0;while(128===(128&a)){if(a=e.readUInt8(t),e.isError(a))return a;r<<=7,r|=127&a}}else r&=31;var o=s.tag[r];return{cls:n,primitive:i,tag:r,tagStr:o}}function d(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0===(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var a=0;a<i;a++){n<<=8;var o=e.readUInt8(r);if(e.isError(o))return o;n|=o}return n}e.exports=l,l.prototype.decode=function(e,t){return e instanceof a.DecoderBuffer||(e=new a.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(u,a.Node),u.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=c(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},u.prototype._decodeTag=function(e,t,r){var n=c(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=d(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var a=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(i=e.offset-a.offset,e.restore(a),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){while(1){var r=c(e,t);if(e.isError(r))return r;var n,i=d(e,r.primitive,t);if(e.isError(i))return i;if(n=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,r,n){var i=[];while(!e.isEmpty()){var a=this._peekTag(e,"end");if(e.isError(a))return a;var o=r.decode(e,"der",n);if(e.isError(o)&&a)break;i.push(o)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",a=0;a<n.length/2;a++)i+=String.fromCharCode(n.readUInt16BE(2*a));return i}if("numstr"===t){var o=e.raw().toString("ascii");return this._isNumstr(o)?o:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,r){var n,i=[],a=0;while(!e.isEmpty()){var o=e.readUInt8();a<<=7,a|=127&o,0===(128&o)&&(i.push(a),a=0)}128&o&&i.push(a);var s=i[0]/40|0,l=i[0]%40;if(n=r?i:[s,l].concat(i.slice(1)),t){var u=t[n.join(" ")];void 0===u&&(u=t[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),a=0|r.slice(6,8),o=0|r.slice(8,10),s=0|r.slice(10,12),l=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),i=0|r.slice(2,4),a=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),l=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,a,o,s,l,0)},u.prototype._decodeNull=function(e){return null},u.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){var r=e.raw(),n=new o(r);return t&&(n=t[n.toString(10)]||n),n},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getDecoder("der").tree}},cfc0:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("68b1");t.XMLBuilderImpl=n.XMLBuilderImpl;var i=r("7f4b");t.XMLBuilderCBImpl=i.XMLBuilderCBImpl},d009:function(e,t,r){"use strict";var n=r("00ce"),i=r("7992"),a=r("64b0")(),o=r("2aa9"),s=r("0d25"),l=n("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&o){var c=o(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(a?i(e,"length",t,!0,!0):i(e,"length",t)),e}},d06e:function(e,t,r){"use strict";var n=r("ac4f"),i=r("fc2d"),a=r("7dcf4"),o=r("2349"),s=r("ae20"),l=r("b343"),u=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=u||!c();n({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=i(this),r=a(t),n=arguments.length;s(r+n);for(var l=0;l<n;l++)t[r]=arguments[l],r++;return o(t,r),r}})},d0eb:function(e,t,r){(function(e){(function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(6).Buffer}catch(x){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,s+=24,s>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,a=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else{var s=e.length-t;for(n=s%2===0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<a,this.words[o]|=67108863&i,a>=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8}this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var d=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},a.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,l=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=h;p++){var f=u-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,c+=o/67108864|0,d=67108863&o}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}a.prototype.toString=function(e,t){var r;if(e=e||10,t=0|t||1,16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=(16777215&(s<<i|a)).toString(16);a=s>>>24-i&16777215,r=0!==a||o!==this.length-1?c[6-l.length]+l+r:l+r,i+=2,i>=26&&(i-=26,o--)}0!==a&&(r=a.toString(16)+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],p=h[e];r="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),r=f.isZero()?m+r:c[u-m.length]+m+r}this.isZero()&&(r="0"+r);while(r.length%t!==0)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n("undefined"!==typeof o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,l="le"===t,u=new e(a),c=this.clone();if(l){for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!c.isZero();s++)o=c.andln(255),c.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){while(this.length<e.length)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)t=(0|r.words[o])-(0|n.words[o])+a,a=t>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)t=(0|r.words[o])+a,a=t>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,u=0,c=0|o[0],d=8191&c,h=c>>>13,p=0|o[1],f=8191&p,m=p>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],w=8191&y,_=y>>>13,S=0|o[4],E=8191&S,M=S>>>13,T=0|o[5],C=8191&T,x=T>>>13,A=0|o[6],N=8191&A,O=A>>>13,R=0|o[7],L=8191&R,k=R>>>13,I=0|o[8],D=8191&I,P=I>>>13,j=0|o[9],F=8191&j,H=j>>>13,B=0|s[0],U=8191&B,V=B>>>13,Y=0|s[1],z=8191&Y,W=Y>>>13,q=0|s[2],G=8191&q,K=q>>>13,X=0|s[3],Z=8191&X,$=X>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,U),i=Math.imul(d,V),i=i+Math.imul(h,U)|0,a=Math.imul(h,V);var ge=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=Math.imul(f,V),i=i+Math.imul(m,U)|0,a=Math.imul(m,V),n=n+Math.imul(d,z)|0,i=i+Math.imul(d,W)|0,i=i+Math.imul(h,z)|0,a=a+Math.imul(h,W)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,U),i=Math.imul(v,V),i=i+Math.imul(b,U)|0,a=Math.imul(b,V),n=n+Math.imul(f,z)|0,i=i+Math.imul(f,W)|0,i=i+Math.imul(m,z)|0,a=a+Math.imul(m,W)|0,n=n+Math.imul(d,G)|0,i=i+Math.imul(d,K)|0,i=i+Math.imul(h,G)|0,a=a+Math.imul(h,K)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,U),i=Math.imul(w,V),i=i+Math.imul(_,U)|0,a=Math.imul(_,V),n=n+Math.imul(v,z)|0,i=i+Math.imul(v,W)|0,i=i+Math.imul(b,z)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(f,G)|0,i=i+Math.imul(f,K)|0,i=i+Math.imul(m,G)|0,a=a+Math.imul(m,K)|0,n=n+Math.imul(d,Z)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,Z)|0,a=a+Math.imul(h,$)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(E,U),i=Math.imul(E,V),i=i+Math.imul(M,U)|0,a=Math.imul(M,V),n=n+Math.imul(w,z)|0,i=i+Math.imul(w,W)|0,i=i+Math.imul(_,z)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(b,G)|0,a=a+Math.imul(b,K)|0,n=n+Math.imul(f,Z)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,Q)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,ee)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(C,U),i=Math.imul(C,V),i=i+Math.imul(x,U)|0,a=Math.imul(x,V),n=n+Math.imul(E,z)|0,i=i+Math.imul(E,W)|0,i=i+Math.imul(M,z)|0,a=a+Math.imul(M,W)|0,n=n+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(v,$)|0,i=i+Math.imul(b,Z)|0,a=a+Math.imul(b,$)|0,n=n+Math.imul(f,Q)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ne)|0;var _e=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(N,U),i=Math.imul(N,V),i=i+Math.imul(O,U)|0,a=Math.imul(O,V),n=n+Math.imul(C,z)|0,i=i+Math.imul(C,W)|0,i=i+Math.imul(x,z)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(M,G)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,Z)|0,i=i+Math.imul(w,$)|0,i=i+Math.imul(_,Z)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=i+Math.imul(f,ne)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(h,ae)|0,a=a+Math.imul(h,oe)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,U),i=Math.imul(L,V),i=i+Math.imul(k,U)|0,a=Math.imul(k,V),n=n+Math.imul(N,z)|0,i=i+Math.imul(N,W)|0,i=i+Math.imul(O,z)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(C,G)|0,i=i+Math.imul(C,K)|0,i=i+Math.imul(x,G)|0,a=a+Math.imul(x,K)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(M,Z)|0,a=a+Math.imul(M,$)|0,n=n+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=i+Math.imul(v,ne)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(f,ae)|0,i=i+Math.imul(f,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,n=n+Math.imul(d,le)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ue)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(D,U),i=Math.imul(D,V),i=i+Math.imul(P,U)|0,a=Math.imul(P,V),n=n+Math.imul(L,z)|0,i=i+Math.imul(L,W)|0,i=i+Math.imul(k,z)|0,a=a+Math.imul(k,W)|0,n=n+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(O,G)|0,a=a+Math.imul(O,K)|0,n=n+Math.imul(C,Z)|0,i=i+Math.imul(C,$)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,n=n+Math.imul(w,re)|0,i=i+Math.imul(w,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(v,ae)|0,i=i+Math.imul(v,oe)|0,i=i+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ue)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,a=a+Math.imul(h,he)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,U),i=Math.imul(F,V),i=i+Math.imul(H,U)|0,a=Math.imul(H,V),n=n+Math.imul(D,z)|0,i=i+Math.imul(D,W)|0,i=i+Math.imul(P,z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(L,G)|0,i=i+Math.imul(L,K)|0,i=i+Math.imul(k,G)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(N,Z)|0,i=i+Math.imul(N,$)|0,i=i+Math.imul(O,Z)|0,a=a+Math.imul(O,$)|0,n=n+Math.imul(C,Q)|0,i=i+Math.imul(C,ee)|0,i=i+Math.imul(x,Q)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ne)|0,n=n+Math.imul(w,ae)|0,i=i+Math.imul(w,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(v,le)|0,i=i+Math.imul(v,ue)|0,i=i+Math.imul(b,le)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,he)|0,n=n+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,a=a+Math.imul(h,me)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,z),i=Math.imul(F,W),i=i+Math.imul(H,z)|0,a=Math.imul(H,W),n=n+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(P,G)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(k,Z)|0,a=a+Math.imul(k,$)|0,n=n+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(C,re)|0,i=i+Math.imul(C,ne)|0,i=i+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(E,ae)|0,i=i+Math.imul(E,oe)|0,i=i+Math.imul(M,ae)|0,a=a+Math.imul(M,oe)|0,n=n+Math.imul(w,le)|0,i=i+Math.imul(w,ue)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(b,de)|0,a=a+Math.imul(b,he)|0,n=n+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,a=a+Math.imul(m,me)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,G),i=Math.imul(F,K),i=i+Math.imul(H,G)|0,a=Math.imul(H,K),n=n+Math.imul(D,Z)|0,i=i+Math.imul(D,$)|0,i=i+Math.imul(P,Z)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(L,Q)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(N,re)|0,i=i+Math.imul(N,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(C,ae)|0,i=i+Math.imul(C,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(E,le)|0,i=i+Math.imul(E,ue)|0,i=i+Math.imul(M,le)|0,a=a+Math.imul(M,ue)|0,n=n+Math.imul(w,de)|0,i=i+Math.imul(w,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,he)|0,n=n+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(b,fe)|0,a=a+Math.imul(b,me)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,Z),i=Math.imul(F,$),i=i+Math.imul(H,Z)|0,a=Math.imul(H,$),n=n+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(P,Q)|0,a=a+Math.imul(P,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(N,ae)|0,i=i+Math.imul(N,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(C,le)|0,i=i+Math.imul(C,ue)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(M,de)|0,a=a+Math.imul(M,he)|0,n=n+Math.imul(w,fe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,Q),i=Math.imul(F,ee),i=i+Math.imul(H,Q)|0,a=Math.imul(H,ee),n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(P,re)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(N,le)|0,i=i+Math.imul(N,ue)|0,i=i+Math.imul(O,le)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(C,de)|0,i=i+Math.imul(C,he)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,he)|0,n=n+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(M,fe)|0,a=a+Math.imul(M,me)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(F,re),i=Math.imul(F,ne),i=i+Math.imul(H,re)|0,a=Math.imul(H,ne),n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(P,ae)|0,a=a+Math.imul(P,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ue)|0,i=i+Math.imul(k,le)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(N,de)|0,i=i+Math.imul(N,he)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,he)|0,n=n+Math.imul(C,fe)|0,i=i+Math.imul(C,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,ae),i=Math.imul(F,oe),i=i+Math.imul(H,ae)|0,a=Math.imul(H,oe),n=n+Math.imul(D,le)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(P,le)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,he)|0,n=n+Math.imul(N,fe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(O,fe)|0,a=a+Math.imul(O,me)|0;var Re=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,le),i=Math.imul(F,ue),i=i+Math.imul(H,le)|0,a=Math.imul(H,ue),n=n+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(P,de)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(k,fe)|0,a=a+Math.imul(k,me)|0;var Le=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,de),i=Math.imul(F,he),i=i+Math.imul(H,de)|0,a=Math.imul(H,he),n=n+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(P,fe)|0,a=a+Math.imul(P,me)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,fe),i=Math.imul(F,me),i=i+Math.imul(H,fe)|0,a=Math.imul(H,me);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,l[0]=ge,l[1]=ve,l[2]=be,l[3]=ye,l[4]=we,l[5]=_e,l[6]=Se,l[7]=Ee,l[8]=Me,l[9]=Te,l[10]=Ce,l[11]=xe,l[12]=Ae,l[13]=Ne,l[14]=Oe,l[15]=Re,l[16]=Le,l[17]=ke,l[18]=Ie,0!==u&&(l[19]=u,r.length++),r};function g(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,l=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=l;u++){var c=a-u,d=0|e.words[c],h=0|t.words[u],p=d*h,f=67108863&p;o=o+(p/67108864|0)|0,f=f+s|0,s=67108863&f,o=o+(f>>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function v(e,t,r){var n=new b;return n.mulp(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?m(this,e,t):n<63?f(this,e,t):n<1024?g(this,e,t):v(this,e,t),r},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},b.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,p=0;p<o;p++){var f=r[c+p],m=n[c+p],g=r[c+p+o],v=n[c+p+o],b=d*g-h*v;v=d*v+h*g,g=b,r[c+p]=f+g,n[c+p]=m+v,r[c+p+o]=f-g,n[c+p+o]=m-v,p!==s&&(b=l*d-u*h,h=l*h+u*d,d=b)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,l,n,i),this.transform(u,a,c,d,n,i);for(var p=0;p<n;p++){var f=s[p]*c[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*c[p],s[p]=f}return this.conjugate(s,l,n),this.transform(s,l,h,a,n,i),this.conjugate(h,a,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),v(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=p(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length;n++,r=r.sqr())if(0!==t[n])break;if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;var a=this.words[r];return!!(a&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;a-=67108863&l,s=(a>>26)-(l/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)a=(0|this.words[i+r])+s,s=a>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)a=-(0|this.words[i])+s,s=a>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1],s=this._countBits(o);r=26-s,0!==r&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var l,u=n.length-i.length;if("mod"!==t){l=new a(null),l.length=u+1,l.words=new Array(l.length);for(var c=0;c<l.length;c++)l.words[c]=0}var d=n.clone()._ishlnsubmul(i,1,u);0===d.negative&&(n=d,l&&(l.words[u]=1));for(var h=u-1;h>=0;h--){var p=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,h);while(0!==n.negative)p--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:l||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new a(1),o=new a(0),s=new a(0),l=new a(1),u=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++u;var c=r.clone(),d=t.clone();while(!t.isZero()){for(var h=0,p=1;0===(t.words[0]&p)&&h<26;++h,p<<=1);if(h>0){t.iushrn(h);while(h-- >0)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(d)),i.iushrn(1),o.iushrn(1)}for(var f=0,m=1;0===(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0){r.iushrn(f);while(f-- >0)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1)}t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(l)):(r.isub(t),s.isub(i),l.isub(o))}return{a:s,b:l,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,o=new a(1),s=new a(0),l=r.clone();while(t.cmpn(1)>0&&r.cmpn(1)>0){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0){t.iushrn(u);while(u-- >0)o.isOdd()&&o.iadd(l),o.iushrn(1)}for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0){r.iushrn(d);while(d-- >0)s.isOdd()&&s.iadd(l),s.iushrn(1)}t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return i=0===t.cmpn(1)?o:s,i.cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);do{while(t.isEven())t.iushrn(1);while(r.isEven())r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}while(1);return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new T(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var a=e.words[9];for(t.words[t.length++]=a&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,w),i(E,w),i(M,w),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return y[e]=t,t},T.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},T.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},T.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},T.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},T.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},T.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},T.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}var i=this.m.subn(1),o=0;while(!i.isZero()&&0===i.andln(1))o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new a(2*c*c).toRed(this);while(0!==this.pow(c,u).cmp(l))c.redIAdd(l);var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),f=o;while(0!==p.cmp(s)){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<f);var v=this.pow(d,new a(1).iushln(f-g-1));h=h.redMul(v),d=v.redSqr(),p=p.redMul(d),f=g}return h},T.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},T.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,n=new Array(1<<r);n[0]=new a(1).toRed(this),n[1]=e;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],e);var o=n[0],s=0,l=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var h=c>>d&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==s?(s<<=1,s|=h,l++,(l===r||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)):l=0}u=26}return o},T.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},T.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new C(e)},i(C,T),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},C.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,r("62e4")(e))},d128:function(e,t,r){"use strict";var n=r("b343");e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},d1c8:function(e,t,r){var n=r("3fb5");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof a},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof a;if(t=n?e:new a(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(a,Error),a.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},d1e8:function(e,t,r){e.exports=i;var n=r("8769");function i(e){n.call(this,new a(this),e)}function a(e){this.scope=e}r("3fb5")(i,n),i.prototype.readable=!0;var o=r("852e").EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])a.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===o[e])a.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==o[e])throw Error("wrong number of arguments!");a.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},d1f1:function(e,t,r){function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var i=r("852e").EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var r=this.events[e].length;1===r?this._cbs[this.events[e][0]]():2===r?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},d26a:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},r={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},n=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,r){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return n}))},d287:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("32d8"),i=r("9688");class a extends n.NodeImpl{constructor(e){super(),this._data=e}get data(){return this._data}set data(e){i.characterData_replaceData(this,0,this._data.length,e)}get length(){return this._data.length}substringData(e,t){return i.characterData_substringData(this,e,t)}appendData(e){return i.characterData_replaceData(this,this._data.length,0,e)}insertData(e,t){i.characterData_replaceData(this,e,0,t)}deleteData(e,t){i.characterData_replaceData(this,e,t,"")}replaceData(e,t,r){i.characterData_replaceData(this,e,t,r)}get previousElementSibling(){throw new Error("Mixin: NonDocumentTypeChildNode not implemented.")}get nextElementSibling(){throw new Error("Mixin: NonDocumentTypeChildNode not implemented.")}before(...e){throw new Error("Mixin: ChildNode not implemented.")}after(...e){throw new Error("Mixin: ChildNode not implemented.")}replaceWith(...e){throw new Error("Mixin: ChildNode not implemented.")}remove(){throw new Error("Mixin: ChildNode not implemented.")}}t.CharacterDataImpl=a},d2d4:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},d2e4:function(e,t,r){"use strict";var n,i,a,o,s=r("f2e8"),l=r("0204"),u=r("7d61"),c=r("73fa"),d=r("69ba"),h=r("b343"),p=r("f808"),f=r("9674"),m=r("2179"),g=r("6038"),v=r("dd8d"),b=r("5bc5"),y=s.setImmediate,w=s.clearImmediate,_=s.process,S=s.Dispatch,E=s.Function,M=s.MessageChannel,T=s.String,C=0,x={},A="onreadystatechange";h((function(){n=s.location}));var N=function(e){if(d(x,e)){var t=x[e];delete x[e],t()}},O=function(e){return function(){N(e)}},R=function(e){N(e.data)},L=function(e){s.postMessage(T(e),n.protocol+"//"+n.host)};y&&w||(y=function(e){g(arguments.length,1);var t=c(e)?e:E(e),r=f(arguments,1);return x[++C]=function(){l(t,void 0,r)},i(C),C},w=function(e){delete x[e]},b?i=function(e){_.nextTick(O(e))}:S&&S.now?i=function(e){S.now(O(e))}:M&&!v?(a=new M,o=a.port2,a.port1.onmessage=R,i=u(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(L)?(i=L,s.addEventListener("message",R,!1)):i=A in m("script")?function(e){p.appendChild(m("script"))[A]=function(){p.removeChild(this),N(e)}}:function(e){setTimeout(O(e),0)}),e.exports={set:y,clear:w}},d3a3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e["SchemeStart"]=0]="SchemeStart",e[e["Scheme"]=1]="Scheme",e[e["NoScheme"]=2]="NoScheme",e[e["SpecialRelativeOrAuthority"]=3]="SpecialRelativeOrAuthority",e[e["PathOrAuthority"]=4]="PathOrAuthority",e[e["Relative"]=5]="Relative",e[e["RelativeSlash"]=6]="RelativeSlash",e[e["SpecialAuthoritySlashes"]=7]="SpecialAuthoritySlashes",e[e["SpecialAuthorityIgnoreSlashes"]=8]="SpecialAuthorityIgnoreSlashes",e[e["Authority"]=9]="Authority",e[e["Host"]=10]="Host",e[e["Hostname"]=11]="Hostname",e[e["Port"]=12]="Port",e[e["File"]=13]="File",e[e["FileSlash"]=14]="FileSlash",e[e["FileHost"]=15]="FileHost",e[e["PathStart"]=16]="PathStart",e[e["Path"]=17]="Path",e[e["CannotBeABaseURLPath"]=18]="CannotBeABaseURLPath",e[e["Query"]=19]="Query",e[e["Fragment"]=20]="Fragment"}(t.ParserState||(t.ParserState={})),t.OpaqueOrigin=["","",null,null]},d3c5:function(e,t,r){"use strict";r.d(t,"a",(function(){return T}));r("7a89"),r("d06e");var n=r("351d"),i=r("81ea"),a=r("24b5"),o=r("76ab"),s=r("491c"),l=r("3d76"),u=r("169f"),c=r("87d6");function d(e,t){p(e,t),t.add(e)}function h(e,t,r){p(e,t),t.set(e,r)}function p(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(e,t,r){return t=m(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){var t=g(e,"string");return"symbol"==typeof t?t:t+""}function g(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function v(e,t){return e.get(b(e,t))}function b(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}const y=new Map([["plugin",a["c"]],["cell-type",o["c"]],["editor",s["d"]],["renderer",l["c"]],["validator",u["c"]]]),w="base",_=[];let S=null;var E=new WeakMap,M=new WeakSet;class T{static get PLUGIN_KEY(){return w}static get SETTING_KEYS(){return[this.PLUGIN_KEY]}constructor(e){d(this,M),f(this,"eventManager",new c["a"](this)),f(this,"pluginName",null),f(this,"pluginsInitializedCallbacks",[]),f(this,"isPluginsReady",!1),f(this,"enabled",!1),f(this,"initialized",!1),h(this,E,{}),Object(n["defineGetter"])(this,"hot",e,{writable:!1}),S=null,this.hot.addHook("afterPluginsInitialized",()=>this.onAfterPluginsInitialized()),this.hot.addHook("afterUpdateSettings",e=>this.onUpdateSettings(e)),this.hot.addHook("beforeInit",()=>this.init())}init(){this.pluginName=this.hot.getPluginName(this);const e=this.constructor.PLUGIN_DEPS,t=Array.isArray(e)?e:[];if(t.length>0){const e=[];if(t.forEach(t=>{const[r,n]=t.split(":");if(!y.has(r))throw new Error(`Unknown plugin dependency type "${r}" was found.`);y.get(r)(n)||e.push(` - ${n} (${r})`)}),e.length>0){const t=[`The ${this.pluginName} plugin requires the following modules:\n`,e.join("\n")+"\n"].join("");_.push(t)}}S||(S=Object(a["b"])()),S.indexOf("UndoRedo")>=0&&S.splice(S.indexOf("UndoRedo"),1),S.indexOf(this.pluginName)>=0&&S.splice(S.indexOf(this.pluginName),1),this.hot.addHookOnce("afterPluginsInitialized",()=>{this.isEnabled&&this.isEnabled()&&this.enablePlugin()});const r=0===S.length;if(r){if(_.length>0){const e=[_.join("\n")+"\n","You have to import and register them manually."].join("");throw new Error(e)}this.hot.runHooks("afterPluginsInitialized")}this.initialized=!0}enablePlugin(){this.enabled=!0}disablePlugin(){var e;null===(e=this.eventManager)||void 0===e||e.clear(),this.clearHooks(),this.enabled=!1}addHook(e,t){v(E,this)[e]=v(E,this)[e]||[];const r=v(E,this)[e];this.hot.addHook(e,t),r.push(t),v(E,this)[e]=r}removeHooks(e){Object(i["arrayEach"])(v(E,this)[e]||[],t=>{this.hot.removeHook(e,t)})}clearHooks(){const e=v(E,this);Object(n["objectEach"])(e,(e,t)=>this.removeHooks(t)),e.length=0}callOnPluginsReady(e){this.isPluginsReady?e():this.pluginsInitializedCallbacks.push(e)}onAfterPluginsInitialized(){Object(i["arrayEach"])(this.pluginsInitializedCallbacks,e=>e()),this.pluginsInitializedCallbacks.length=0,this.isPluginsReady=!0}onUpdateSettings(e){const t=b(M,this,C).call(this,e);this.isEnabled&&(this.enabled&&!this.isEnabled()&&this.disablePlugin(),!this.enabled&&this.isEnabled()&&this.enablePlugin(),this.enabled&&this.isEnabled()&&t&&this.updatePlugin(e))}updatePlugin(){}destroy(){var e;null===(e=this.eventManager)||void 0===e||e.destroy(),this.clearHooks(),Object(n["objectEach"])(this,(e,t)=>{"hot"!==t&&(this[t]=null)}),delete this.t,delete this.hot}}function C(e){if(!e)return!1;const t=this.constructor.SETTING_KEYS;if("boolean"===typeof t)return t;for(let r=0;r<t.length;r++)if(void 0!==e[t[r]])return!0;return!1}},d3e6:function(e,t,r){"use strict";var n=r("7d61"),i=r("7b69"),a=r("088f"),o=r("71ca"),s=r("cbf2"),l=r("7dcf4"),u=r("1e92"),c=r("bb2a"),d=r("9582"),h=r("142d"),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,r){var g,v,b,y,w,_,S,E=r&&r.that,M=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),C=!(!r||!r.IS_ITERATOR),x=!(!r||!r.INTERRUPTED),A=n(t,E),N=function(e){return g&&h(g,"normal",e),new f(!0,e)},O=function(e){return M?(a(e),x?A(e[0],e[1],N):A(e[0],e[1])):x?A(e,N):A(e)};if(T)g=e.iterator;else if(C)g=e;else{if(v=d(e),!v)throw new p(o(e)+" is not iterable");if(s(v)){for(b=0,y=l(e);y>b;b++)if(w=O(e[b]),w&&u(m,w))return w;return new f(!1)}g=c(e,v)}_=T?e.next:g.next;while(!(S=i(_,g)).done){try{w=O(S.value)}catch(R){h(g,"throw",R)}if("object"==typeof w&&w&&u(m,w))return w}return new f(!1)}},d424:function(e,t,r){"use strict";var n=r("3fb5"),i=r("8707").Buffer,a=r("6430"),o=i.alloc(128),s=64;function l(e,t){a.call(this,"digest"),"string"===typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=i.concat([t,o],s));for(var r=this._ipad=i.allocUnsafe(s),n=this._opad=i.allocUnsafe(s),l=0;l<s;l++)r[l]=54^t[l],n[l]=92^t[l];this._hash=[r]}n(l,a),l.prototype._update=function(e){this._hash.push(e)},l.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=l},d435:function(e,t,r){"use strict";var n=r("d128"),i=r("b343"),a=r("2179");e.exports=!n&&!i((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},d485:function(e,t,r){e.exports=a;var n=r("faa1").EventEmitter,i=r("3fb5");function a(){n.call(this)}i(a,n),a.Readable=r("0ac3"),a.Writable=r("af7e"),a.Duplex=r("7c16"),a.Transform=r("89fd"),a.PassThrough=r("51a2"),a.Stream=a,a.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",a),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var o=!1;function s(){o||(o=!0,e.end())}function l(){o||(o=!0,"function"===typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},d4ab:function(e,t,r){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}},d4ec:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},d550:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}check(e,t){if(this._items.get(e)===t)return!0;if(this._items.get(t)===e)return!1;const r=Math.random()<.5;if(r?this._items.set(e,t):this._items.set(t,e),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}return r}}t.CompareCache=n},d5ec:function(e,t,r){"use strict";var n;function i(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style}r.r(t),r.d(t,"ElementType",(function(){return n})),r.d(t,"isTag",(function(){return i})),r.d(t,"Root",(function(){return a})),r.d(t,"Text",(function(){return o})),r.d(t,"Directive",(function(){return s})),r.d(t,"Comment",(function(){return l})),r.d(t,"Script",(function(){return u})),r.d(t,"Style",(function(){return c})),r.d(t,"Tag",(function(){return d})),r.d(t,"CDATA",(function(){return h})),r.d(t,"Doctype",(function(){return p})),function(e){e["Root"]="root",e["Text"]="text",e["Directive"]="directive",e["Comment"]="comment",e["Script"]="script",e["Style"]="style",e["Tag"]="tag",e["CDATA"]="cdata",e["Doctype"]="doctype"}(n||(n={}));const a=n.Root,o=n.Text,s=n.Directive,l=n.Comment,u=n.Script,c=n.Style,d=n.Tag,h=n.CDATA,p=n.Doctype},d60a:function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},d62b:function(e,t,r){"use strict";e.exports=!1},d69a:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},d6b6:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},d6c7:function(e,t,r){"use strict";var n=Array.prototype.slice,i=r("d4ab"),a=Object.keys,o=a?function(e){return a(e)}:r("b189"),s=Object.keys;o.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?s(n.call(e)):s(e)})}else Object.keys=o;return Object.keys||o},e.exports=o},d6dd:function(e,t,r){"use strict";var n=r("966d"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r("3a7c"));a.inherits=r("3fb5");var o=r("6f2e"),s=r("6ffa");a.inherits(d,o);for(var l=i(s.prototype),u=0;u<l.length;u++){var c=l[u];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},d70e:function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},d7167:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}});return t}))},d7ff:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}check(e,t){if(this._items.get(e)===t)return!0;if(this._items.get(t)===e)return!1;const r=Math.random()<.5;if(r?this._items.set(e,t):this._items.set(t,e),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}return r}}t.CompareCache=n},d852:function(e,t,r){"use strict";r("7a89"),r("d06e");var n=r("0716");function i(e,t,r){a(e,t),t.set(e,r)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o(e,t,r){return t=s(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=l(e,"string");return"symbol"==typeof t?t:t+""}function l(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function u(e,t){return e.get(d(e,t))}function c(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var h=new WeakMap;class p{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];o(this,"highlight",null),o(this,"from",null),o(this,"to",null),i(this,h,!1),this.highlight=e.clone(),this.from=t.clone(),this.to=r.clone(),c(h,this,n)}setHighlight(e){return this.highlight=e.clone(),this}setFrom(e){return this.from=e.clone(),this}setTo(e){return this.to=e.clone(),this}isValid(e){return this.from.isValid(e)&&this.to.isValid(e)}isSingle(){return this.isSingleCell()||this.isSingleHeader()}isSingleCell(){return this.from.row>=0&&this.from.row===this.to.row&&this.from.col>=0&&this.from.col===this.to.col}isSingleHeader(){return(this.from.row<0||this.from.col<0)&&this.from.row===this.to.row&&this.from.col===this.to.col}isHeader(){return!(!this.from.isHeader()||!this.to.isHeader())||(this.from.col<0&&this.to.col<0||this.from.row<0&&this.to.row<0)}containsHeaders(){return this.from.isHeader()||this.to.isHeader()}getOuterHeight(){return Math.max(this.from.row,this.to.row)-Math.min(this.from.row,this.to.row)+1}getOuterWidth(){return Math.max(this.from.col,this.to.col)-Math.min(this.from.col,this.to.col)+1}getHeight(){if(this.from.row<0&&this.to.row<0)return 0;const e=Math.max(this.from.row,0),t=Math.max(this.to.row,0);return Math.max(e,t)-Math.min(e,t)+1}getWidth(){if(this.from.col<0&&this.to.col<0)return 0;const e=Math.max(this.from.col,0),t=Math.max(this.to.col,0);return Math.max(e,t)-Math.min(e,t)+1}getCellsCount(){return this.getWidth()*this.getHeight()}includes(e){const{row:t,col:r}=e,n=this.getOuterTopStartCorner(),i=this.getOuterBottomEndCorner();return n.row<=t&&i.row>=t&&n.col<=r&&i.col>=r}includesRange(e){return this.includes(e.getOuterTopStartCorner())&&this.includes(e.getOuterBottomEndCorner())}isEqual(e){return Math.min(this.from.row,this.to.row)===Math.min(e.from.row,e.to.row)&&Math.max(this.from.row,this.to.row)===Math.max(e.from.row,e.to.row)&&Math.min(this.from.col,this.to.col)===Math.min(e.from.col,e.to.col)&&Math.max(this.from.col,this.to.col)===Math.max(e.from.col,e.to.col)}overlaps(e){return e.isSouthEastOf(this.getOuterTopLeftCorner())&&e.isNorthWestOf(this.getOuterBottomRightCorner())}isSouthEastOf(e){return this.getOuterTopLeftCorner().isSouthEastOf(e)||this.getOuterBottomRightCorner().isSouthEastOf(e)}isNorthWestOf(e){return this.getOuterTopLeftCorner().isNorthWestOf(e)||this.getOuterBottomRightCorner().isNorthWestOf(e)}isOverlappingHorizontally(e){return this.getOuterTopEndCorner().col>=e.getOuterTopStartCorner().col&&this.getOuterTopEndCorner().col<=e.getOuterTopEndCorner().col||this.getOuterTopStartCorner().col<=e.getOuterTopEndCorner().col&&this.getOuterTopStartCorner().col>=e.getOuterTopStartCorner().col}isOverlappingVertically(e){return this.getOuterBottomStartCorner().row>=e.getOuterTopRightCorner().row&&this.getOuterBottomStartCorner().row<=e.getOuterBottomStartCorner().row||this.getOuterTopEndCorner().row<=e.getOuterBottomStartCorner().row&&this.getOuterTopEndCorner().row>=e.getOuterTopRightCorner().row}expand(e){const t=this.getOuterTopStartCorner(),r=this.getOuterBottomEndCorner();return(e.row<t.row||e.col<t.col||e.row>r.row||e.col>r.col)&&(this.from=this._createCellCoords(Math.min(t.row,e.row),Math.min(t.col,e.col)),this.to=this._createCellCoords(Math.max(r.row,e.row),Math.max(r.col,e.col)),!0)}expandByRange(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.includesRange(e)||!this.overlaps(e))return!1;const r=this.getOuterTopStartCorner(),n=this.getOuterBottomEndCorner(),i=this.getDirection(),a=e.getOuterTopStartCorner(),o=e.getOuterBottomEndCorner(),s=Math.min(r.row,a.row),l=Math.min(r.col,a.col),u=Math.max(n.row,o.row),c=Math.max(n.col,o.col),d=this._createCellCoords(s,l),h=this._createCellCoords(u,c);return this.from=d,this.to=h,this.setDirection(i),t&&(this.highlight.row===this.getOuterBottomRightCorner().row&&"N-S"===this.getVerticalDirection()&&this.flipDirectionVertically(),this.highlight.col===this.getOuterTopRightCorner().col&&"W-E"===this.getHorizontalDirection()&&this.flipDirectionHorizontally()),!0}getDirection(){return this.from.isNorthWestOf(this.to)?"NW-SE":this.from.isNorthEastOf(this.to)?"NE-SW":this.from.isSouthEastOf(this.to)?"SE-NW":this.from.isSouthWestOf(this.to)?"SW-NE":void 0}setDirection(e){switch(e){case"NW-SE":[this.from,this.to]=[this.getOuterTopLeftCorner(),this.getOuterBottomRightCorner()];break;case"NE-SW":[this.from,this.to]=[this.getOuterTopRightCorner(),this.getOuterBottomLeftCorner()];break;case"SE-NW":[this.from,this.to]=[this.getOuterBottomRightCorner(),this.getOuterTopLeftCorner()];break;case"SW-NE":[this.from,this.to]=[this.getOuterBottomLeftCorner(),this.getOuterTopRightCorner()];break;default:break}}getVerticalDirection(){return["NE-SW","NW-SE"].indexOf(this.getDirection())>-1?"N-S":"S-N"}getHorizontalDirection(){return["NW-SE","SW-NE"].indexOf(this.getDirection())>-1?"W-E":"E-W"}flipDirectionVertically(){const e=this.getDirection();switch(e){case"NW-SE":this.setDirection("SW-NE");break;case"NE-SW":this.setDirection("SE-NW");break;case"SE-NW":this.setDirection("NE-SW");break;case"SW-NE":this.setDirection("NW-SE");break;default:break}}flipDirectionHorizontally(){const e=this.getDirection();switch(e){case"NW-SE":this.setDirection("NE-SW");break;case"NE-SW":this.setDirection("NW-SE");break;case"SE-NW":this.setDirection("SW-NE");break;case"SW-NE":this.setDirection("SE-NW");break;default:break}}getTopStartCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.min(this.from.col,this.to.col)).normalize()}getTopLeftCorner(){return u(h,this)?this.getTopEndCorner():this.getTopStartCorner()}getBottomEndCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.max(this.from.col,this.to.col)).normalize()}getBottomRightCorner(){return u(h,this)?this.getBottomStartCorner():this.getBottomEndCorner()}getTopEndCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.max(this.from.col,this.to.col)).normalize()}getTopRightCorner(){return u(h,this)?this.getTopStartCorner():this.getTopEndCorner()}getBottomStartCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.min(this.from.col,this.to.col)).normalize()}getBottomLeftCorner(){return u(h,this)?this.getBottomEndCorner():this.getBottomStartCorner()}getOuterTopStartCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.min(this.from.col,this.to.col))}getOuterTopLeftCorner(){return u(h,this)?this.getOuterTopEndCorner():this.getOuterTopStartCorner()}getOuterBottomEndCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.max(this.from.col,this.to.col))}getOuterBottomRightCorner(){return u(h,this)?this.getOuterBottomStartCorner():this.getOuterBottomEndCorner()}getOuterTopEndCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.max(this.from.col,this.to.col))}getOuterTopRightCorner(){return u(h,this)?this.getOuterTopStartCorner():this.getOuterTopEndCorner()}getOuterBottomStartCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.min(this.from.col,this.to.col))}getOuterBottomLeftCorner(){return u(h,this)?this.getOuterBottomEndCorner():this.getOuterBottomStartCorner()}isCorner(e){return e.isEqual(this.getOuterTopLeftCorner())||e.isEqual(this.getOuterTopRightCorner())||e.isEqual(this.getOuterBottomLeftCorner())||e.isEqual(this.getOuterBottomRightCorner())}getOppositeCorner(e){return e instanceof n["a"]&&(e.isEqual(this.getOuterBottomEndCorner())?this.getOuterTopStartCorner():e.isEqual(this.getOuterTopStartCorner())?this.getOuterBottomEndCorner():e.isEqual(this.getOuterTopEndCorner())?this.getOuterBottomStartCorner():e.isEqual(this.getOuterBottomStartCorner())?this.getOuterTopEndCorner():void 0)}getBordersSharedWith(e){if(!this.includesRange(e))return[];const t={top:Math.min(this.from.row,this.to.row),bottom:Math.max(this.from.row,this.to.row),left:Math.min(this.from.col,this.to.col),right:Math.max(this.from.col,this.to.col)},r={top:Math.min(e.from.row,e.to.row),bottom:Math.max(e.from.row,e.to.row),left:Math.min(e.from.col,e.to.col),right:Math.max(e.from.col,e.to.col)},n=[];return t.top===r.top&&n.push("top"),t.right===r.right&&n.push(u(h,this)?"left":"right"),t.bottom===r.bottom&&n.push("bottom"),t.left===r.left&&n.push(u(h,this)?"right":"left"),n}getInner(){const e=this.getOuterTopStartCorner(),t=this.getOuterBottomEndCorner(),r=[];for(let n=e.row;n<=t.row;n++)for(let i=e.col;i<=t.col;i++)this.from.row===n&&this.from.col===i||this.to.row===n&&this.to.col===i||r.push(this._createCellCoords(n,i));return r}getAll(){const e=this.getOuterTopStartCorner(),t=this.getOuterBottomEndCorner(),r=[];for(let n=e.row;n<=t.row;n++)for(let i=e.col;i<=t.col;i++)e.row===n&&e.col===i?r.push(e):t.row===n&&t.col===i?r.push(t):r.push(this._createCellCoords(n,i));return r}forAll(e){const t=this.getOuterTopStartCorner(),r=this.getOuterBottomEndCorner();for(let n=t.row;n<=r.row;n++)for(let i=t.col;i<=r.col;i++){const t=e(n,i);if(!1===t)return}}clone(){return new p(this.highlight,this.from,this.to,u(h,this))}toObject(){return{from:this.from.toObject(),to:this.to.toObject()}}_createCellCoords(e,t){return new n["a"](e,t,u(h,this))}}t["a"]=p},d938:function(e,t,r){var n=r("b639").Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"===typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,i=0;i<r;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},d9f8:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},da3e:function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},db29:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},dc14:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{get size(){return 0}add(e){throw new Error("Cannot add to an empty set.")}clear(){}delete(e){return!1}forEach(e,t){}has(e){return!1}[Symbol.iterator](){return new i}entries(){return new i}keys(){return new i}values(){return new i}get[Symbol.toStringTag](){return"EmptySet"}}t.EmptySet=n;class i{[Symbol.iterator](){return this}next(){return{done:!0,value:null}}}},dc3b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("ff74"),i=r("8d23"),a=r("ad99");class o extends a.BaseWriter{serialize(e,t){const r=n.applyDefaults(t,{format:"map",wellFormed:!1,noDoubleEncoding:!1,group:!1}),a=n.applyDefaults(r,{format:"object",wellFormed:!1,noDoubleEncoding:!1}),o=new i.ObjectWriter(this._builderOptions),s=o.serialize(e,a);return this._convertObject(s)}_convertObject(e){if(n.isArray(e)){for(let t=0;t<e.length;t++)e[t]=this._convertObject(e[t]);return e}if(n.isObject(e)){const t=new Map;for(const r in e)t.set(r,this._convertObject(e[r]));return t}return e}}t.MapWriter=o},dc4d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],a=e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:i,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return a}))},dc6b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("4b7d"),a=r("9af8"),o=r("7ef7"),s=new Map;function l(e,t){}function u(e,t,r,n){}function c(e,t){}function d(e,t,r,i,a){n.dom.features.slots&&(w.call(e,e,t,r,i,a),y.call(e,e,t,r,i,a)),_.call(e,e,t,i,a);for(const n of e._attributeChangeSteps)n.call(e,e,t,r,i,a)}function h(e){}function p(e,t){b.call(e,e,t)}function f(e){return s.has(e)}function m(e){return s.get(e)||new Set}function g(e){}function v(e){}function b(e,t){if(t!==e._root&&i.tree_isAncestorOf(e._reference,t,!0)){if(e._pointerBeforeReference)while(1){const r=i.tree_getFollowingNode(e._root,t);if(null!==r&&i.tree_isDescendantOf(e._root,r,!0)&&!i.tree_isDescendantOf(t,r,!0))return void(e._reference=r);if(null===r)return void(e._pointerBeforeReference=!1)}if(null===t._previousSibling)null!==t._parent&&(e._reference=t._parent);else{let r=t._previousSibling,n=i.tree_getFirstDescendantNode(t._previousSibling,!0,!1);while(null!==n)null!==n&&(r=n),n=i.tree_getNextDescendantNode(t._previousSibling,n,!0,!1);e._reference=r}}}function y(e,t,r,n,s){if(a.Guard.isSlot(e)&&"name"===t&&null===s){if(n===r)return;if(null===n&&""===r)return;if(""===n&&null===r)return;e._name=null===n||""===n?"":n,o.shadowTree_assignSlotablesForATree(i.tree_rootNode(e))}}function w(e,t,r,n,i){if(a.Guard.isSlotable(e)&&"slot"===t&&null===i){if(n===r)return;if(null===n&&""===r)return;if(""===n&&null===r)return;e._name=null===n||""===n?"":n,o.shadowTree_isAssigned(e)&&o.shadowTree_assignSlotables(e._assignedSlot),o.shadowTree_assignASlot(e)}}function _(e,t,r,n){"id"===t&&null===n&&(e._uniqueIdentifier=r||void 0)}t.dom_runRemovingSteps=l,t.dom_runCloningSteps=u,t.dom_runAdoptingSteps=c,t.dom_runAttributeChangeSteps=d,t.dom_runInsertionSteps=h,t.dom_runNodeIteratorPreRemovingSteps=p,t.dom_hasSupportedTokens=f,t.dom_getSupportedTokens=m,t.dom_runEventConstructingSteps=g,t.dom_runChildTextContentChangeSteps=v},dc99:function(e,t,r){"use strict";e.exports=RangeError},dcd0:function(e,t,r){"use strict";e.exports=o;var n=r("d6dd"),i=Object.create(r("3a7c"));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush((function(t,r){l(e,t,r)})):l(this,null,null)}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r("3fb5"),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},dd49:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r("a357"),i=r("5d7f"),a=r("7b9c");const o="text";function s(e,t,r,o,s,l,u){n["a"].apply(this,[e,t,r,o,s,l,u]);let c=l;if(!c&&u.placeholder&&(c=u.placeholder),c=Object(a["stringify"])(c),u.trimWhitespace&&(c=c.trim()),u.rendererTemplate){Object(i["empty"])(t);const n=e.rootDocument.createElement("TEMPLATE");n.setAttribute("bind","{{}}"),n.innerHTML=u.rendererTemplate,HTMLTemplateElement.decorate(n),n.model=e.getSourceDataAtRow(r),t.appendChild(n)}else Object(i["fastInnerText"])(t,c)}s.RENDERER_TYPE=o},dd8d:function(e,t,r){"use strict";var n=r("65c6");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},de26:function(e,t,r){"use strict";var n=r("54d7");e.exports=function(e,t){return n[e]||(n[e]=t||{})}},de3b:function(e,t,r){"use strict";function n(e){e.isImmediatePropagationEnabled=!1,e.cancelBubble=!0}function i(e){return!1===e.isImmediatePropagationEnabled}function a(e){return 2===e.button}function o(e){return 0===e.button}function s(e,t){const r={x:e.offsetX,y:e.offsetY};let n=e.target;if(!(t instanceof HTMLElement)||n!==t&&n.contains(t))return r;while(n!==t)r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;return r}r.r(t),r.d(t,"stopImmediatePropagation",(function(){return n})),r.d(t,"isImmediatePropagationStopped",(function(){return i})),r.d(t,"isRightClick",(function(){return a})),r.d(t,"isLeftClick",(function(){return o})),r.d(t,"offsetRelativeTo",(function(){return s}))},df7e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{}t.DocumentOrShadowRootImpl=n},e07b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("1fa5"),i=r("9688");class a extends n.TraverserImpl{constructor(e,t,r){super(e),this._iteratorCollection=void 0,this._reference=t,this._pointerBeforeReference=r,i.nodeIterator_iteratorList().add(this)}get referenceNode(){return this._reference}get pointerBeforeReferenceNode(){return this._pointerBeforeReference}nextNode(){return i.nodeIterator_traverse(this,!0)}previousNode(){return i.nodeIterator_traverse(this,!1)}detach(){i.nodeIterator_iteratorList().delete(this)}static _create(e,t,r){return new a(e,t,r)}}t.NodeIteratorImpl=a},e07bf:function(e,t,r){var n=r("5a76"),i=r("b5ca"),a=r("69f2"),o=r("8707").Buffer,s=r("7d2a"),l=r("9f9d"),u=r("8be6"),c=o.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,r){var n=p(e),i="sha512"===e||"sha384"===e?128:64;t.length>i?t=n(t):t.length<i&&(t=o.concat([t,c],i));for(var a=o.allocUnsafe(i+d[e]),s=o.allocUnsafe(i+d[e]),l=0;l<i;l++)a[l]=54^t[l],s[l]=92^t[l];var u=o.allocUnsafe(i+r+4);a.copy(u,0,0,i),this.ipad1=u,this.ipad2=a,this.opad=s,this.alg=e,this.blocksize=i,this.hash=n,this.size=d[e]}function p(e){function t(t){return a(e).update(t).digest()}function r(e){return(new i).update(e).digest()}return"rmd160"===e||"ripemd160"===e?r:"md5"===e?n:t}function f(e,t,r,n,i){s(r,n),e=u(e,l,"Password"),t=u(t,l,"Salt"),i=i||"sha1";var a=new h(i,e,t.length),c=o.allocUnsafe(n),p=o.allocUnsafe(t.length+4);t.copy(p,0,0,t.length);for(var f=0,m=d[i],g=Math.ceil(n/m),v=1;v<=g;v++){p.writeUInt32BE(v,t.length);for(var b=a.run(p,a.ipad1),y=b,w=1;w<r;w++){y=a.run(y,a.ipad2);for(var _=0;_<m;_++)b[_]^=y[_]}b.copy(c,f),f+=m}return c}h.prototype.run=function(e,t){e.copy(t,this.blocksize);var r=this.hash(t);return r.copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=f},e0c1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Surrogate=/[\uD800-\uDFFF]/,t.ScalarValue=/[\uD800-\uDFFF]/,t.NonCharacter=/[\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]/,t.ASCIICodePoint=/[\u0000-\u007F]/,t.ASCIITabOrNewLine=/[\t\n\r]/,t.ASCIIWhiteSpace=/[\t\n\f\r ]/,t.C0Control=/[\u0000-\u001F]/,t.C0ControlOrSpace=/[\u0000-\u001F ]/,t.Control=/[\u0000-\u001F\u007F-\u009F]/,t.ASCIIDigit=/[0-9]/,t.ASCIIUpperHexDigit=/[0-9A-F]/,t.ASCIILowerHexDigit=/[0-9a-f]/,t.ASCIIHexDigit=/[0-9A-Fa-f]/,t.ASCIIUpperAlpha=/[A-Z]/,t.ASCIILowerAlpha=/[a-z]/,t.ASCIIAlpha=/[A-Za-z]/,t.ASCIIAlphanumeric=/[0-9A-Za-z]/},e0c5:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},r={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},n=e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return n}))},e156:function(e,t,r){"use strict";var n=r("12e9"),i=r("73fa"),a=r("939b"),o=r("80dd"),s=o("toStringTag"),l=Object,u="Arguments"===a(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(r){}};e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=l(e),s))?r:u?a(t):"Object"===(n=a(t))&&i(t.callee)?"Arguments":n}},e1c6:function(e,t,r){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},e1d3:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},e1d30:function(e,t,r){(function(t){var n=r("3337"),i=r("37e6");e.exports=function(e){return new o(e)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(e,r,n){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(n&&i.length<n){var a=new t(n-i.length);a.fill(0),i=t.concat([a,i])}return r?i.toString(r):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,o.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},o.prototype.computeSecret=function(e,r,n){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var i=this.curve.keyFromPublic(e).getPublic(),a=i.mul(this.keys.getPrivate()).getX();return s(a,n,this.curveType.byteLength)},o.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,e)},o.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},o.prototype.setPublicKey=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.keys._importPublic(e),this},o.prototype.setPrivateKey=function(e,r){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var n=new i(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r("b639").Buffer)},e234:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("579c");t.DOMParser=n.DOMParserImpl},e2c6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("4f09");function i(e){const t=n.utf8Decode(e);return JSON.parse.call(void 0,t)}function a(e){const t=JSON.stringify.call(void 0,e);return n.utf8Encode(t)}function o(e){const t=JSON.parse.call(void 0,e);return s(t)}function s(e){if(null===e||n.isString(e)||n.isNumber(e))return e;if(n.isArray(e)){const t=new Array;for(const r of e)t.push(s(r));return t}if(n.isObject(e)){const t=new Map;for(const r in e)if(e.hasOwnProperty(r)){const n=e[r];t.set(r,s(n))}return t}return e}t.parseJSONFromBytes=i,t.serializeJSONToBytes=a,t.parseJSONIntoInfraValues=o,t.convertAJSONDerivedJavaScriptValueToAnInfraValue=s},e437:function(e,t,r){"use strict";var n=r("c0d8"),i=r("8c7e"),a=r("87d6"),o=r("c5cd");r("7a89");function s(e){const t="undefined"!==typeof window&&window.jQuery;t&&(t.fn.handsontable=function(t){const r=this.first();let n,i=r.data("handsontable");if("string"!==typeof t){const n=t||{};return i?i.updateSettings(n):(i=new e.Core(r[0],n),r.data("handsontable",i),i.init()),r}if(i){if("undefined"===typeof i[t])throw new Error("Handsontable do not provide action: "+t);for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];n=i[t].call(i,...o),"destroy"===t&&r.removeData()}return n})}var l,u,c,d,h,p=r("220a"),f=r("a776"),m=r("81ea"),g=r("63d8"),v=r("480c"),b=r("3eb5"),y=r("7dd09"),w=r("97b9"),_=r("7b9c"),S=r("ffec"),E=r("351d"),M=r("29b0"),T=r("f938"),C=r("5d7f"),x=r("de3b"),A=r("491c"),N=r("3d76"),O=r("169f"),R=r("76ab"),L=r("24b5"),k=r("d3c5");Object(i["a"])(),s(n["a"]),n["a"].__GhostTable=p["a"],n["a"]._getListenersCounter=a["b"],n["a"]._getRegisteredMapsCounter=o["b"],n["a"].EventManager=a["a"];const I=[m,g,v,b,y,w,_,S,E,M,T,f],D=[C,x];n["a"].helper={},n["a"].dom={},m["arrayEach"](I,e=>{m["arrayEach"](Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(n["a"].helper[t]=e[t])})}),m["arrayEach"](D,e=>{m["arrayEach"](Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(n["a"].dom[t]=e[t])})}),n["a"].cellTypes=null!==(l=n["a"].cellTypes)&&void 0!==l?l:{},m["arrayEach"](Object(R["b"])(),e=>{n["a"].cellTypes[e]=Object(R["a"])(e)}),n["a"].cellTypes.registerCellType=R["d"],n["a"].cellTypes.getCellType=R["a"],n["a"].editors=null!==(u=n["a"].editors)&&void 0!==u?u:{},m["arrayEach"](Object(A["c"])(),e=>{n["a"].editors[M["toUpperCaseFirst"](e)+"Editor"]=Object(A["a"])(e)}),n["a"].editors.registerEditor=A["e"],n["a"].editors.getEditor=A["a"],n["a"].renderers=null!==(c=n["a"].renderers)&&void 0!==c?c:{},m["arrayEach"](Object(N["a"])(),e=>{const t=Object(N["b"])(e);"base"===e&&(n["a"].renderers.cellDecorator=t),n["a"].renderers[M["toUpperCaseFirst"](e)+"Renderer"]=t}),n["a"].renderers.registerRenderer=N["d"],n["a"].renderers.getRenderer=N["b"],n["a"].validators=null!==(d=n["a"].validators)&&void 0!==d?d:{},m["arrayEach"](Object(O["a"])(),e=>{n["a"].validators[M["toUpperCaseFirst"](e)+"Validator"]=Object(O["b"])(e)}),n["a"].validators.registerValidator=O["d"],n["a"].validators.getValidator=O["b"],n["a"].plugins=null!==(h=n["a"].plugins)&&void 0!==h?h:{},m["arrayEach"](Object(L["b"])(),e=>{n["a"].plugins[e]=Object(L["a"])(e)}),n["a"].plugins[M["toUpperCaseFirst"](k["a"].PLUGIN_KEY)+"Plugin"]=k["a"],n["a"].plugins.registerPlugin=L["d"],n["a"].plugins.getPlugin=L["a"];t["a"]=n["a"]},e4ae:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("7d2e");function i(e,t){return e.get(t)}function a(e,t,r){e.set(t,r)}function o(e,t){if(n.isFunction(t)){const r=[];for(const n of e)t.call(null,n)&&r.push(n[0]);for(const t of r)e.delete(t)}else e.delete(t)}function s(e,t){if(n.isFunction(t)){for(const r of e)if(t.call(null,r))return!0;return!1}return e.has(t)}function l(e){return new Set(e.keys())}function u(e){return[...e.values()]}function c(e,t){if(void 0===t)return e.size;{let r=0;for(const n of e)t.call(null,n)&&r++;return r}}function d(e){return 0===e.size}function*h(e,t){if(void 0===t)yield*e;else for(const r of e)t.call(null,r)&&(yield r)}function p(e){return new Map(e)}function f(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?-1:1),new Map(r)}function m(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?1:-1),new Map(r)}t.get=i,t.set=a,t.remove=o,t.contains=s,t.keys=l,t.values=u,t.size=c,t.isEmpty=d,t.forEach=h,t.clone=p,t.sortInAscendingOrder=f,t.sortInDescendingOrder=m},e564:function(e,t,r){"use strict";function n(e){return e.length}function i(e){for(let t=0;t<e.length;t++){const r=e[t];r>=65&&r<=90&&(e[t]=r+32)}}function a(e){for(let t=0;t<e.length;t++){const r=e[t];r>=97&&r<=122&&(e[t]=r-32)}}function o(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=e[r],i=t[r];if(n>=65&&n<=90&&(n+=32),i>=65&&i<=90&&(i+=32),n!==i)return!1}return!0}function s(e,t){let r=0;while(1){if(r>=e.length)return!1;if(r>=t.length)return!0;if(e[r]!==t[r])return!1;r++}}function l(e,t){let r=0;while(1){if(r>=e.length)return!1;if(r>=t.length)return!0;const n=e[r],i=t[r];if(n<i)return!0;if(n>i)return!1;r++}}function u(e){return String.fromCodePoint(...e)}Object.defineProperty(t,"__esModule",{value:!0}),t.length=n,t.byteLowercase=i,t.byteUppercase=a,t.byteCaseInsensitiveMatch=o,t.startsWith=s,t.byteLessThan=l,t.isomorphicDecode=u},e718:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e){this._initialized=!1,this._value=void 0,this._initFunc=e}get value(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value}}t.Lazy=n},e81d:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},r={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},n=e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,r){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return n}))},e85c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("32d8"),a=r("68d5");class o extends i.NodeImpl{constructor(e,t,r){super(),this._name="",this._publicId="",this._systemId="",this._name=e,this._publicId=t,this._systemId=r}get name(){return this._name}get publicId(){return this._publicId}get systemId(){return this._systemId}before(...e){throw new Error("Mixin: ChildNode not implemented.")}after(...e){throw new Error("Mixin: ChildNode not implemented.")}replaceWith(...e){throw new Error("Mixin: ChildNode not implemented.")}remove(){throw new Error("Mixin: ChildNode not implemented.")}static _create(e,t,r="",n=""){const i=new o(t,r,n);return i._nodeDocument=e,i}}t.DocumentTypeImpl=o,a.idl_defineConst(o.prototype,"_nodeType",n.NodeType.DocumentType)},e85f:function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},e871:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r("f304"));t.base64=i;const a=n(r("4c4e"));t.byte=a;const o=n(r("c1b2"));t.byteSequence=o;const s=n(r("e0c1"));t.codePoint=s;const l=n(r("cd4e"));t.json=l;const u=n(r("be94"));t.list=u;const c=n(r("e4ae"));t.map=c;const d=n(r("caa7"));t.namespace=d;const h=n(r("6141"));t.queue=h;const p=n(r("a616"));t.set=p;const f=n(r("73d6"));t.stack=f;const m=n(r("ccac"));t.string=m},e90f:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var n=r("97b9"),i=r("81ea");function a(e,t,r,i){const a=r.length?r[0]:void 0;return[...e.slice(0,a),...r.map((e,t)=>Object(n["isFunction"])(i)?i(e,t):i),...void 0===a?[]:e.slice(a)]}function o(e,t){return Object(i["arrayFilter"])(e,(e,r)=>!1===t.includes(r))}},ea53:function(e,t,r){"use strict";var n=r("80af"),i=r("f3a3"),a=i.getNAF,o=i.getJSF,s=i.assert;function l(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=a(t,1,this._bitLength),i=(1<<r.step+1)-(r.step%2===0?2:1);i/=3;var o,l,u=[];for(o=0;o<n.length;o+=r.step){l=0;for(var c=o+r.step-1;c>=o;c--)l=(l<<1)+n[c];u.push(l)}for(var d=this.jpoint(null,null,null),h=this.jpoint(null,null,null),p=i;p>0;p--){for(o=0;o<u.length;o++)l=u[o],l===p?h=h.mixedAdd(r.points[o]):l===-p&&(h=h.mixedAdd(r.points[o].neg()));d=d.add(h)}return d.toP()},l.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,o=a(t,r,this._bitLength),l=this.jpoint(null,null,null),u=o.length-1;u>=0;u--){for(var c=0;u>=0&&0===o[u];u--)c++;if(u>=0&&c++,l=l.dblp(c),u<0)break;var d=o[u];s(0!==d),l="affine"===e.type?d>0?l.mixedAdd(i[d-1>>1]):l.mixedAdd(i[-d-1>>1].neg()):d>0?l.add(i[d-1>>1]):l.add(i[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,r,n,i){var s,l,u,c=this._wnafT1,d=this._wnafT2,h=this._wnafT3,p=0;for(s=0;s<n;s++){u=t[s];var f=u._getNAFPoints(e);c[s]=f.wnd,d[s]=f.points}for(s=n-1;s>=1;s-=2){var m=s-1,g=s;if(1===c[m]&&1===c[g]){var v=[t[m],null,null,t[g]];0===t[m].y.cmp(t[g].y)?(v[1]=t[m].add(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg())):0===t[m].y.cmp(t[g].y.redNeg())?(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].add(t[g].neg())):(v[1]=t[m].toJ().mixedAdd(t[g]),v[2]=t[m].toJ().mixedAdd(t[g].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=o(r[m],r[g]);for(p=Math.max(y[0].length,p),h[m]=new Array(p),h[g]=new Array(p),l=0;l<p;l++){var w=0|y[0][l],_=0|y[1][l];h[m][l]=b[3*(w+1)+(_+1)],h[g][l]=0,d[m]=v}}else h[m]=a(r[m],c[m],this._bitLength),h[g]=a(r[g],c[g],this._bitLength),p=Math.max(h[m].length,p),p=Math.max(h[g].length,p)}var S=this.jpoint(null,null,null),E=this._wnafT4;for(s=p;s>=0;s--){var M=0;while(s>=0){var T=!0;for(l=0;l<n;l++)E[l]=0|h[l][s],0!==E[l]&&(T=!1);if(!T)break;M++,s--}if(s>=0&&M++,S=S.dblp(M),s<0)break;for(l=0;l<n;l++){var C=E[l];0!==C&&(C>0?u=d[l][C-1>>1]:C<0&&(u=d[l][-C-1>>1].neg()),S="affine"===u.type?S.mixedAdd(u):S.add(u))}}for(s=0;s<n;s++)d[s]=null;return i?S:S.toP()},l.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*r){6===e[0]?s(e[e.length-1]%2===0):7===e[0]&&s(e[e.length-1]%2===1);var n=this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));return n}if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var a=0;a<e;a++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},eb36:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));r("7a89"),r("b879"),r("d06e");var n=r("a6de");function i(e,t,r){a(e,t),t.set(e,r)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o(e,t,r){return t=s(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=l(e,"string");return"symbol"==typeof t?t:t+""}function l(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function u(e,t){return e.get(d(e,t))}function c(e,t,r){return e.set(d(e,t),r),r}function d(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var h=new WeakMap;class p{static get DEFAULT_HEIGHT(){return 23}constructor(e){o(this,"count",0),o(this,"startRow",null),o(this,"endRow",null),o(this,"startPosition",null),o(this,"isVisibleInTrimmingContainer",!1),i(this,h,void 0),c(h,this,e),this.calculate()}calculate(){const{calculationType:e,overrideFn:t,rowHeightFn:r,scrollOffset:i,totalRows:a,viewportHeight:o}=u(h,this),s=Math.max(u(h,this).scrollOffset,0),l=u(h,this).horizontalScrollbarHeight||0;let c=0,d=!0;const f=[];let m,g=0,v=0;for(let u=0;u<a;u++)if(m=r(u),isNaN(m)&&(m=p.DEFAULT_HEIGHT),c<=s&&e!==n["a"]&&(this.startRow=u,g=m),c>=s&&c+(e===n["a"]?m:0)<=s+o-l&&(null===this.startRow&&(this.startRow=u,g=m),this.endRow=u),f.push(c),c+=m,v=m,e!==n["a"]&&(this.endRow=u),c>=s+o-l){d=!1;break}const b=i+o-l,y=e===n["a"]?g:0,w=e===n["a"]?0:v;if(b<y||i>f.at(-1)+w?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,this.endRow===a-1&&d){this.startRow=this.endRow;while(this.startRow>0){const t=f[this.endRow]+m-f[this.startRow-1];if((t<=o-l||e!==n["a"])&&(this.startRow-=1),t>=o-l)break}}e===n["c"]&&null!==this.startRow&&t&&t(this),this.startPosition=f[this.startRow],void 0===this.startPosition&&(this.startPosition=null),a<this.endRow&&(this.endRow=a-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}},ebe4:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},ec01:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("68d5");class a{constructor(){}acceptNode(e){return n.FilterResult.Accept}static _create(){return new a}}t.NodeFilterImpl=a,a.FILTER_ACCEPT=1,a.FILTER_REJECT=2,a.FILTER_SKIP=3,a.SHOW_ALL=4294967295,a.SHOW_ELEMENT=1,a.SHOW_ATTRIBUTE=2,a.SHOW_TEXT=4,a.SHOW_CDATA_SECTION=8,a.SHOW_ENTITY_REFERENCE=16,a.SHOW_ENTITY=32,a.SHOW_PROCESSING_INSTRUCTION=64,a.SHOW_COMMENT=128,a.SHOW_DOCUMENT=256,a.SHOW_DOCUMENT_TYPE=512,a.SHOW_DOCUMENT_FRAGMENT=1024,a.SHOW_NOTATION=2048,i.idl_defineConst(a.prototype,"FILTER_ACCEPT",1),i.idl_defineConst(a.prototype,"FILTER_REJECT",2),i.idl_defineConst(a.prototype,"FILTER_SKIP",3),i.idl_defineConst(a.prototype,"SHOW_ALL",4294967295),i.idl_defineConst(a.prototype,"SHOW_ELEMENT",1),i.idl_defineConst(a.prototype,"SHOW_ATTRIBUTE",2),i.idl_defineConst(a.prototype,"SHOW_TEXT",4),i.idl_defineConst(a.prototype,"SHOW_CDATA_SECTION",8),i.idl_defineConst(a.prototype,"SHOW_ENTITY_REFERENCE",16),i.idl_defineConst(a.prototype,"SHOW_ENTITY",32),i.idl_defineConst(a.prototype,"SHOW_PROCESSING_INSTRUCTION",64),i.idl_defineConst(a.prototype,"SHOW_COMMENT",128),i.idl_defineConst(a.prototype,"SHOW_DOCUMENT",256),i.idl_defineConst(a.prototype,"SHOW_DOCUMENT_TYPE",512),i.idl_defineConst(a.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),i.idl_defineConst(a.prototype,"SHOW_NOTATION",2048)},ec18:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- function t(e,t,r,n){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[r][2]?i[r][2]:i[r][1]:n?i[r][0]:i[r][1]}var r=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},ec2e:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:0,doy:6}});return t}))},eda5:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,r){return e>11?r?"ප.ව.":"පස් වරු":r?"පෙ.ව.":"පෙර වරු"}});return t}))},edc9:function(e,t,r){"use strict";var n=r("c3c0"),i=r("da3e");function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var r=e.length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,a=8;a<this.padLength;a++)n[i++]=0;return n}},eeda:function(e,t,r){"use strict";function n(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}var i=n();function a(e,t,r,n){var a=i,o=n+r;e^=-1;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}e.exports=a},ef07:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("03529"),i=r("dd49");const a="text",o={CELL_TYPE:a,editor:n["a"],renderer:i["a"]}},ef3a:function(e,t,r){var n=r("7f7a"),i=r("3fb5"),a=t;function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}a.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){var t;try{t=r("0706").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(n){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},o.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},o.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},f05c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("dc3b");t.MapWriter=n.MapWriter;var i=r("4b78");t.XMLWriter=i.XMLWriter;var a=r("8d23");t.ObjectWriter=a.ObjectWriter;var o=r("5318");t.JSONWriter=o.JSONWriter},f072:function(e,t,r){"use strict";var n=r("fd18"),i=r("73fa"),a=r("54d7"),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},f12a:function(e,t,r){e.exports=r("faa1").EventEmitter},f141:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("0fc1"),i=r("a45a"),a=r("1178");function o(e){if(!a.xml_isName(e))throw new n.InvalidCharacterError("Invalid XML name: "+e);if(!a.xml_isQName(e))throw new n.InvalidCharacterError(`Invalid XML qualified name: ${e}.`)}function s(e,t){e||(e=null),o(t);const r=t.split(":"),a=2===r.length?r[0]:null,s=2===r.length?r[1]:t;if(a&&null===e)throw new n.NamespaceError("Qualified name includes a prefix but the namespace is null.");if("xml"===a&&e!==i.namespace.XML)throw new n.NamespaceError('Qualified name includes the "xml" prefix but the namespace is not the XML namespace.');if(e!==i.namespace.XMLNS&&("xmlns"===a||"xmlns"===t))throw new n.NamespaceError('Qualified name includes the "xmlns" prefix but the namespace is not the XMLNS namespace.');if(e===i.namespace.XMLNS&&"xmlns"!==a&&"xmlns"!==t)throw new n.NamespaceError('Qualified name does not include the "xmlns" prefix but the namespace is the XMLNS namespace.');return[e,a,s]}function l(e){o(e);const t=e.split(":"),r=2===t.length?t[0]:null,n=2===t.length?t[1]:e;return[r,n]}t.namespace_validate=o,t.namespace_validateAndExtract=s,t.namespace_extractQName=l},f177:function(e,t,r){"use strict";var n=r("5402"),i=r("a29f"),a=r("bbc7"),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=a["default"],p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,format:h,formatter:a.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},g=function e(t,r,a,o,s,u,d,h,g,v,b,y,w,_,S,E,M,T){var C=t,x=T,A=0,N=!1;while(void 0!==(x=x.get(m))&&!N){var O=x.get(t);if(A+=1,"undefined"!==typeof O){if(O===A)throw new RangeError("Cyclic object value");N=!0}"undefined"===typeof x.get(m)&&(A=0)}if("function"===typeof v?C=v(r,C):C instanceof Date?C=w(C):"comma"===a&&l(C)&&(C=i.maybeMap(C,(function(e){return e instanceof Date?w(e):e}))),null===C){if(u)return g&&!E?g(r,p.encoder,M,"key",_):r;C=""}if(f(C)||i.isBuffer(C)){if(g){var R=E?r:g(r,p.encoder,M,"key",_);return[S(R)+"="+S(g(C,p.encoder,M,"value",_))]}return[S(r)+"="+S(String(C))]}var L,k=[];if("undefined"===typeof C)return k;if("comma"===a&&l(C))E&&g&&(C=i.maybeMap(C,g)),L=[{value:C.length>0?C.join(",")||null:void 0}];else if(l(v))L=v;else{var I=Object.keys(C);L=b?I.sort(b):I}var D=h?r.replace(/\./g,"%2E"):r,P=o&&l(C)&&1===C.length?D+"[]":D;if(s&&l(C)&&0===C.length)return P+"[]";for(var j=0;j<L.length;++j){var F=L[j],H="object"===typeof F&&"undefined"!==typeof F.value?F.value:C[F];if(!d||null!==H){var B=y&&h?F.replace(/\./g,"%2E"):F,U=l(C)?"function"===typeof a?a(P,B):P:P+(y?"."+B:"["+B+"]");T.set(t,A);var V=n();V.set(m,T),c(k,e(H,U,a,o,s,u,d,h,"comma"===a&&E&&l(C)?null:g,v,b,y,w,_,S,E,M,V))}}return k},v=function(e){if(!e)return p;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a["default"];if("undefined"!==typeof e.format){if(!o.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,i=a.formatters[r],u=p.filter;if(("function"===typeof e.filter||l(e.filter))&&(u=e.filter),n=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:p.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:u,format:r,formatter:i,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var r,i,a=e,o=v(t);"function"===typeof o.filter?(i=o.filter,a=i("",a)):l(o.filter)&&(i=o.filter,r=i);var u=[];if("object"!==typeof a||null===a)return"";var d=s[o.arrayFormat],h="comma"===d&&o.commaRoundTrip;r||(r=Object.keys(a)),o.sort&&r.sort(o.sort);for(var p=n(),f=0;f<r.length;++f){var m=r[f];o.skipNulls&&null===a[m]||c(u,g(a[m],m,d,h,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,p))}var b=u.join(o.delimiter),y=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},f17c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("42e9"),i=r("d287"),a=r("9688"),o=r("68d5");class s extends i.CharacterDataImpl{constructor(e=""){super(e),this._name="",this._assignedSlot=null}get wholeText(){let e="";for(const t of a.text_contiguousTextNodes(this,!0))e+=t._data;return e}splitText(e){return a.text_split(this,e)}get assignedSlot(){throw new Error("Mixin: Slotable not implemented.")}static _create(e,t=""){const r=new s(t);return r._nodeDocument=e,r}}t.TextImpl=s,o.idl_defineConst(s.prototype,"_nodeType",n.NodeType.Text)},f1c8:function(e,t,r){"use strict";e.exports=o;var n=r("5e7d"),i=Object.create(r("3a7c"));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush((function(t,r){l(e,t,r)})):l(this,null,null)}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r("3fb5"),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},f260:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},f2e8:function(e,t,r){"use strict";(function(t){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},f304:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r("e0c1");function i(t){return e.from(t).toString("base64")}function a(t){return""===t?"":(t=t.replace(n.ASCIIWhiteSpace,""),t.length%4===0&&(t.endsWith("==")?t=t.substr(0,t.length-2):t.endsWith("=")&&(t=t.substr(0,t.length-1))),t.length%4===1?null:/[0-9A-Za-z+/]/.test(t)?e.from(t,"base64").toString("utf8"):null)}t.forgivingBase64Encode=i,t.forgivingBase64Decode=a}).call(this,r("b639").Buffer)},f3a3:function(e,t,r){"use strict";var n=t,i=r("80af"),a=r("da3e"),o=r("7658");function s(e,t,r){var n,i=new Array(Math.max(e.bitLength(),r)+1);for(n=0;n<i.length;n+=1)i[n]=0;var a=1<<t+1,o=e.clone();for(n=0;n<i.length;n++){var s,l=o.andln(a-1);o.isOdd()?(s=l>(a>>1)-1?(a>>1)-l:l,o.isubn(s)):s=0,i[n]=s,o.iushrn(1)}return i}function l(e,t){var r=[[],[]];e=e.clone(),t=t.clone();var n,i=0,a=0;while(e.cmpn(-i)>0||t.cmpn(-a)>0){var o,s,l=e.andln(3)+i&3,u=t.andln(3)+a&3;3===l&&(l=-1),3===u&&(u=-1),0===(1&l)?o=0:(n=e.andln(7)+i&7,o=3!==n&&5!==n||2!==u?l:-l),r[0].push(o),0===(1&u)?s=0:(n=t.andln(7)+a&7,s=3!==n&&5!==n||2!==l?u:-u),r[1].push(s),2*i===o+1&&(i=1-i),2*a===s+1&&(a=1-a),e.iushrn(1),t.iushrn(1)}return r}function u(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function c(e){return"string"===typeof e?n.toArray(e,"hex"):e}function d(e){return new i(e,"hex","le")}n.assert=a,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=s,n.getJSF=l,n.cachedProperty=u,n.parseBytes=c,n.intFromLE=d},f3ff:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},r={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},n=e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return n}))},f41c:function(e,t,r){"use strict";var n=r("80dd"),i=r("0ad8"),a=r("a60d").f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},f460:function(e,t,r){var n=r("98e6"),i=r("8707").Buffer;function a(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){var r,o=i.alloc(0),s=0;while(o.length<t)r=a(s++),o=i.concat([o,n("sha1").update(e).update(r).digest()]);return o.slice(0,t)}},f4db:function(e,t,r){"use strict";r("0eec"),r("59a2")},f576:function(e,t,r){"use strict";var n=r("3fb5"),i=r("93e6"),a=r("8707").Buffer,o=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,i,a,o){return l(e+(t&r|~t&n)+i+a|0,o)+t|0}function c(e,t,r,n,i,a,o){return l(e+(t&n|r&~n)+i+a|0,o)+t|0}function d(e,t,r,n,i,a,o){return l(e+(t^r^n)+i+a|0,o)+t|0}function h(e,t,r,n,i,a,o){return l(e+(r^(t|~n))+i+a|0,o)+t|0}n(s,i),s.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,a=this._d;r=u(r,n,i,a,e[0],3614090360,7),a=u(a,r,n,i,e[1],3905402710,12),i=u(i,a,r,n,e[2],606105819,17),n=u(n,i,a,r,e[3],3250441966,22),r=u(r,n,i,a,e[4],4118548399,7),a=u(a,r,n,i,e[5],1200080426,12),i=u(i,a,r,n,e[6],2821735955,17),n=u(n,i,a,r,e[7],4249261313,22),r=u(r,n,i,a,e[8],1770035416,7),a=u(a,r,n,i,e[9],2336552879,12),i=u(i,a,r,n,e[10],4294925233,17),n=u(n,i,a,r,e[11],2304563134,22),r=u(r,n,i,a,e[12],1804603682,7),a=u(a,r,n,i,e[13],4254626195,12),i=u(i,a,r,n,e[14],2792965006,17),n=u(n,i,a,r,e[15],1236535329,22),r=c(r,n,i,a,e[1],4129170786,5),a=c(a,r,n,i,e[6],3225465664,9),i=c(i,a,r,n,e[11],643717713,14),n=c(n,i,a,r,e[0],3921069994,20),r=c(r,n,i,a,e[5],3593408605,5),a=c(a,r,n,i,e[10],38016083,9),i=c(i,a,r,n,e[15],3634488961,14),n=c(n,i,a,r,e[4],3889429448,20),r=c(r,n,i,a,e[9],568446438,5),a=c(a,r,n,i,e[14],3275163606,9),i=c(i,a,r,n,e[3],4107603335,14),n=c(n,i,a,r,e[8],1163531501,20),r=c(r,n,i,a,e[13],2850285829,5),a=c(a,r,n,i,e[2],4243563512,9),i=c(i,a,r,n,e[7],1735328473,14),n=c(n,i,a,r,e[12],2368359562,20),r=d(r,n,i,a,e[5],4294588738,4),a=d(a,r,n,i,e[8],2272392833,11),i=d(i,a,r,n,e[11],1839030562,16),n=d(n,i,a,r,e[14],4259657740,23),r=d(r,n,i,a,e[1],2763975236,4),a=d(a,r,n,i,e[4],1272893353,11),i=d(i,a,r,n,e[7],4139469664,16),n=d(n,i,a,r,e[10],3200236656,23),r=d(r,n,i,a,e[13],681279174,4),a=d(a,r,n,i,e[0],3936430074,11),i=d(i,a,r,n,e[3],3572445317,16),n=d(n,i,a,r,e[6],76029189,23),r=d(r,n,i,a,e[9],3654602809,4),a=d(a,r,n,i,e[12],3873151461,11),i=d(i,a,r,n,e[15],530742520,16),n=d(n,i,a,r,e[2],3299628645,23),r=h(r,n,i,a,e[0],4096336452,6),a=h(a,r,n,i,e[7],1126891415,10),i=h(i,a,r,n,e[14],2878612391,15),n=h(n,i,a,r,e[5],4237533241,21),r=h(r,n,i,a,e[12],1700485571,6),a=h(a,r,n,i,e[3],2399980690,10),i=h(i,a,r,n,e[10],4293915773,15),n=h(n,i,a,r,e[1],2240044497,21),r=h(r,n,i,a,e[8],1873313359,6),a=h(a,r,n,i,e[15],4264355552,10),i=h(i,a,r,n,e[6],2734768916,15),n=h(n,i,a,r,e[13],1309151649,21),r=h(r,n,i,a,e[4],4149444226,6),a=h(a,r,n,i,e[11],3174756917,10),i=h(i,a,r,n,e[2],718787259,15),n=h(n,i,a,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+a|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},f60b:function(e,t,r){var n=r("b639"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},f654:function(e,t,r){"use strict";(function(t){var n=r("c8ba6")();
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
- * @license MIT
- */function i(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function a(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var o=r("3022"),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u=function(){return"foo"===function(){}.name}();function c(e){return Object.prototype.toString.call(e)}function d(e){return!a(e)&&("function"===typeof t.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var h=e.exports=y,p=/\s*function\s+([^\(\s]*)\s*/;function f(e){if(o.isFunction(e)){if(u)return e.name;var t=e.toString(),r=t.match(p);return r&&r[1]}}function m(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(u||!o.isFunction(e))return o.inspect(e);var t=f(e),r=t?": "+t:"";return"[Function"+r+"]"}function v(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}function b(e,t,r,n,i){throw new h.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function y(e,t){e||b(e,!0,t,"==",h.ok)}function w(e,t,r,n){if(e===t)return!0;if(a(e)&&a(t))return 0===i(e,t);if(o.isDate(e)&&o.isDate(t))return e.getTime()===t.getTime();if(o.isRegExp(e)&&o.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(d(e)&&d(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(a(e)!==a(t))return!1;n=n||{actual:[],expected:[]};var s=n.actual.indexOf(e);return-1!==s&&s===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),S(e,t,r,n))}return r?e===t:e==t}function _(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function S(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(o.isPrimitive(e)||o.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=_(e),a=_(t);if(i&&!a||!i&&a)return!1;if(i)return e=l.call(e),t=l.call(t),w(e,t,r);var s,u,c=A(e),d=A(t);if(c.length!==d.length)return!1;for(c.sort(),d.sort(),u=c.length-1;u>=0;u--)if(c[u]!==d[u])return!1;for(u=c.length-1;u>=0;u--)if(s=c[u],!w(e[s],t[s],r,n))return!1;return!0}function E(e,t,r){w(e,t,!0)&&b(e,t,r,"notDeepStrictEqual",E)}function M(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(r){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function T(e){var t;try{e()}catch(r){t=r}return t}function C(e,t,r,n){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof r&&(n=r,r=null),i=T(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&b(i,r,"Missing expected exception"+n);var a="string"===typeof n,s=!e&&o.isError(i),l=!e&&i&&!r;if((s&&a&&M(i,r)||l)&&b(i,r,"Got unwanted exception"+n),e&&i&&r&&!M(i,r)||!e&&i)throw i}function x(e,t){e||b(e,!0,t,"==",x)}h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=v(this),this.generatedMessage=!0);var t=e.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=f(t),a=n.indexOf("\n"+i);if(a>=0){var o=n.indexOf("\n",a+1);n=n.substring(o+1)}this.stack=n}}},o.inherits(h.AssertionError,Error),h.fail=b,h.ok=y,h.equal=function(e,t,r){e!=t&&b(e,t,r,"==",h.equal)},h.notEqual=function(e,t,r){e==t&&b(e,t,r,"!=",h.notEqual)},h.deepEqual=function(e,t,r){w(e,t,!1)||b(e,t,r,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,r){w(e,t,!0)||b(e,t,r,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,r){w(e,t,!1)&&b(e,t,r,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=E,h.strictEqual=function(e,t,r){e!==t&&b(e,t,r,"===",h.strictEqual)},h.notStrictEqual=function(e,t,r){e===t&&b(e,t,r,"!==",h.notStrictEqual)},h.throws=function(e,t,r){C(!0,e,t,r)},h.doesNotThrow=function(e,t,r){C(!1,e,t,r)},h.ifError=function(e){if(e)throw e},h.strict=n(x,h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var A=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(this,r("c8ba"))},f67e:function(e,t){t.removeSubsets=function(e){var t,r,n,i=e.length;while(--i>-1){t=r=e[i],e[i]=null,n=!0;while(r){if(e.indexOf(r)>-1){n=!1,e.splice(i,1);break}r=r.parent}n&&(e[i]=t)}return e};var r={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},n=t.compareDocumentPosition=function(e,t){var n,i,a,o,s,l,u=[],c=[];if(e===t)return 0;n=e;while(n)u.unshift(n),n=n.parent;n=t;while(n)c.unshift(n),n=n.parent;l=0;while(u[l]===c[l])l++;return 0===l?r.DISCONNECTED:(i=u[l-1],a=i.children,o=u[l],s=c[l],a.indexOf(o)>a.indexOf(s)?i===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:i===e?r.PRECEDING|r.CONTAINS:r.PRECEDING)};t.uniqueSort=function(e){var t,i,a=e.length;e=e.slice();while(--a>-1)t=e[a],i=e.indexOf(t),i>-1&&i<a&&e.splice(a,1);return e.sort((function(e,t){var i=n(e,t);return i&r.PRECEDING?-1:i&r.FOLLOWING?1:0})),e}},f6b46:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],r=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],n=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],a=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],o=e.defineLocale("gd",{months:t,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return o}))},f6cb:function(e,t,r){"use strict";var n=r("f2e8"),i=r("0204"),a=r("73fa"),o=r("b46a"),s=r("65c6"),l=r("9674"),u=r("6038"),c=n.Function,d=/MSIE .\./.test(s)||o&&function(){var e=n.Bun.version.split(".");return e.length<3||"0"===e[0]&&(e[1]<3||"3"===e[1]&&"0"===e[2])}();e.exports=function(e,t){var r=t?2:1;return d?function(n,o){var s=u(arguments.length,1)>r,d=a(n)?n:c(n),h=s?l(arguments,r):[],p=s?function(){i(d,this,h)}:d;return t?e(p,o):e(p)}:e}},f6ef0:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("07a0"),i=r("e564"),a=r("26d6"),o=r("4f09");function s(e,t){let r=0;while(1){const n=r<e.length?e.charCodeAt(r):null,i=r<t.length?t.charCodeAt(r):null;if(null===n)return!0;if(n!==i)return!1;r++}}function l(e,t){if(s(t,e))return!1;if(s(e,t))return!0;for(let r=0;r<Math.min(e.length,t.length);r++){const n=e.charCodeAt(r),i=t.charCodeAt(r);if(n!==i)return n<i}return!1}function u(e){const t=Array.from(e),r=new Uint8Array(t.length);let n=0;for(const i of e){const e=i.codePointAt(0);console.assert(void 0!==e&&e<=255,"isomorphicEncode requires string bytes to be less than or equal to 0x00FF."),void 0!==e&&e<=255&&(r[n++]=e)}return r}function c(e){return/^[\u0000-\u007F]*$/.test(e)}function d(e){let t="";for(const r of e){const e=r.codePointAt(0);t+=void 0!==e&&e>=65&&e<=90?String.fromCodePoint(e+32):r}return t}function h(e){let t="";for(const r of e){const e=r.codePointAt(0);t+=void 0!==e&&e>=97&&e<=122?String.fromCodePoint(e-32):r}return t}function p(e,t){return d(e)===d(t)}function f(e){return console.assert(c(e),"asciiEncode requires an ASCII string."),u(e)}function m(e){for(const t of e)console.assert(a.isASCIIByte(t),"asciiDecode requires an ASCII byte sequence.");return i.isomorphicDecode(e)}function g(e){return e.replace(/[\n\r]/g,"")}function v(e){return e.replace(/\r\n/g,"\n").replace(/\r/g,"\n")}function b(e){return e.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function y(e){return b(e.replace(/[\t\n\f\r ]{2,}/g," "))}function w(e,t,r){if(!o.isArray(t))return w(e,Array.from(t),r);let n="";while(r.position<t.length&&e.call(null,t[r.position]))n+=t[r.position],r.position++;return n}function _(e,t){w(e=>n.ASCIIWhiteSpace.test(e),e,t)}function S(e,t){if(!o.isArray(e))return S(Array.from(e),t);const r={position:0},n=[];let i=w(e=>t!==e,e,r);n.push(i);while(r.position<e.length)console.assert(e[r.position]===t,"strictlySplit found no delimiter in input string."),r.position++,i=w(e=>t!==e,e,r),n.push(i);return n}function E(e){if(!o.isArray(e))return E(Array.from(e));const t={position:0},r=[];_(e,t);while(t.position<e.length){const i=w(e=>!n.ASCIIWhiteSpace.test(e),e,t);r.push(i),_(e,t)}return r}function M(e){if(!o.isArray(e))return M(Array.from(e));const t={position:0},r=[];while(t.position<e.length){const n=w(e=>","!==e,e,t);r.push(b(n)),t.position<e.length&&(console.assert(","===e[t.position],"splitAStringOnCommas found no delimiter in input string."),t.position++)}return r}function T(e,t=""){return 0===e.length?"":e.join(t)}t.isCodeUnitPrefix=s,t.isCodeUnitLessThan=l,t.isomorphicEncode=u,t.isASCIIString=c,t.asciiLowercase=d,t.asciiUppercase=h,t.asciiCaseInsensitiveMatch=p,t.asciiEncode=f,t.asciiDecode=m,t.stripNewlines=g,t.normalizeNewlines=v,t.stripLeadingAndTrailingASCIIWhitespace=b,t.stripAndCollapseASCIIWhitespace=y,t.collectASequenceOfCodePoints=w,t.skipASCIIWhitespace=_,t.strictlySplit=S,t.splitAStringOnASCIIWhitespace=E,t.splitAStringOnCommas=M,t.concatenate=T},f808:function(e,t,r){"use strict";var n=r("0227");e.exports=n("document","documentElement")},f91d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("69a8"),a=r("9688");class o{constructor(e){return this._live=!0,this._filter=null,this._length=0,this._root=e,new Proxy(this,this)}get length(){return this._root._children.size}item(e){if(e<0||e>this.length-1)return null;if(e<this.length/2){let t=0,r=this._root._firstChild;while(null!==r&&t!==e)r=r._nextSibling,t++;return r}{let t=this.length-1,r=this._root._lastChild;while(null!==r&&t!==e)r=r._previousSibling,t--;return r}}keys(){return{[Symbol.iterator]:function(){let e=0;return{next:function(){return e===this.length?{done:!0,value:null}:{done:!1,value:e++}}.bind(this)}}.bind(this)}}values(){return{[Symbol.iterator]:function(){const e=this[Symbol.iterator]();return{next(){return e.next()}}}.bind(this)}}entries(){return{[Symbol.iterator]:function(){const e=this[Symbol.iterator]();let t=0;return{next(){const r=e.next();return r.done?{done:!0,value:null}:{done:!1,value:[t++,r.value]}}}}.bind(this)}}[Symbol.iterator](){return this._root._children[Symbol.iterator]()}forEach(e,t){void 0===t&&(t=n.dom.window);let r=0;for(const n of this._root._children)e.call(t,n,r++,this)}get(e,t,r){if(!i.isString(t))return Reflect.get(e,t,r);const n=Number(t);return isNaN(n)?Reflect.get(e,t,r):e.item(n)||void 0}set(e,t,r,n){if(!i.isString(t))return Reflect.set(e,t,r,n);const o=Number(t);if(isNaN(o))return Reflect.set(e,t,r,n);const s=e.item(o)||void 0;return!!s&&(!!s._parent&&(a.mutation_replace(s,r,s._parent),!0))}static _create(e){return new o(e)}}t.NodeListImpl=o},f938:function(e,t,r){"use strict";r.r(t),r.d(t,"KEY_CODES",(function(){return a})),r.d(t,"isPrintableChar",(function(){return s})),r.d(t,"isFunctionKey",(function(){return l})),r.d(t,"isCtrlKey",(function(){return u})),r.d(t,"isCtrlMetaKey",(function(){return c})),r.d(t,"isKey",(function(){return d}));r("d06e");var n=r("81ea"),i=r("63d8");const a={ALT:18,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,ARROW_UP:38,AUDIO_DOWN:Object(i["isFirefox"])()?182:174,AUDIO_MUTE:Object(i["isFirefox"])()?181:173,AUDIO_UP:Object(i["isFirefox"])()?183:175,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND_LEFT:91,COMMAND_RIGHT:93,COMMAND_FIREFOX:224,CONTROL:17,DELETE:46,END:35,ENTER:13,ESCAPE:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,HOME:36,INSERT:45,MEDIA_NEXT:176,MEDIA_PLAY_PAUSE:179,MEDIA_PREV:177,MEDIA_STOP:178,NULL:0,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PERIOD:190,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,A:65,C:67,D:68,F:70,L:76,O:79,P:80,S:83,V:86,X:88,Y:89,Z:90},o=[a.ALT,a.ARROW_DOWN,a.ARROW_LEFT,a.ARROW_RIGHT,a.ARROW_UP,a.AUDIO_DOWN,a.AUDIO_MUTE,a.AUDIO_UP,a.BACKSPACE,a.CAPS_LOCK,a.DELETE,a.END,a.ENTER,a.ESCAPE,a.F1,a.F2,a.F3,a.F4,a.F5,a.F6,a.F7,a.F8,a.F9,a.F10,a.F11,a.F12,a.F13,a.F14,a.F15,a.F16,a.F17,a.F18,a.F19,a.HOME,a.INSERT,a.MEDIA_NEXT,a.MEDIA_PLAY_PAUSE,a.MEDIA_PREV,a.MEDIA_STOP,a.NULL,a.NUM_LOCK,a.PAGE_DOWN,a.PAGE_UP,a.PAUSE,a.SCROLL_LOCK,a.SHIFT,a.TAB];function s(e){return 32===e||e>=48&&e<=57||e>=96&&e<=111||e>=186&&e<=192||e>=219&&e<=222||e>=226||e>=65&&e<=90}function l(e){return o.includes(e)}function u(e){const t=[];return Object(i["isMacOS"])()?t.push(a.COMMAND_LEFT,a.COMMAND_RIGHT,a.COMMAND_FIREFOX):t.push(a.CONTROL),t.includes(e)}function c(e){return[a.CONTROL,a.COMMAND_LEFT,a.COMMAND_RIGHT,a.COMMAND_FIREFOX].includes(e)}function d(e,t){const r=t.split("|");let i=!1;return Object(n["arrayEach"])(r,t=>{if(e===a[t])return i=!0,!1}),i}},f9a6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9ccc"),i=r("42e9"),a=r("0fc1"),o=r("32d8"),s=r("9af8"),l=r("69a8"),u=r("a45a"),c=r("2bfb9"),d=r("9688"),h=r("68d5");class p extends o.NodeImpl{constructor(){super(),this._children=new Set,this._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},this._contentType="application/xml",this._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},this._origin=null,this._type="xml",this._mode="no-quirks",this._documentElement=null,this._hasNamespaces=!1,this._nodeDocumentOverwrite=null}get _nodeDocument(){return this._nodeDocumentOverwrite||this}set _nodeDocument(e){this._nodeDocumentOverwrite=e}get implementation(){return this._implementation||(this._implementation=d.create_domImplementation(this))}get URL(){return c.urlSerializer(this._URL)}get documentURI(){return this.URL}get origin(){return"null"}get compatMode(){return"quirks"===this._mode?"BackCompat":"CSS1Compat"}get characterSet(){return this._encoding.name}get charset(){return this._encoding.name}get inputEncoding(){return this._encoding.name}get contentType(){return this._contentType}get doctype(){for(const e of this._children)if(s.Guard.isDocumentTypeNode(e))return e;return null}get documentElement(){return this._documentElement}getElementsByTagName(e){return d.node_listOfElementsWithQualifiedName(e,this)}getElementsByTagNameNS(e,t){return d.node_listOfElementsWithNamespace(e,t,this)}getElementsByClassName(e){return d.node_listOfElementsWithClassNames(e,this)}createElement(e,t){if(!d.xml_isName(e))throw new a.InvalidCharacterError;"html"===this._type&&(e=e.toLowerCase());let r=null;void 0!==t&&(r=l.isString(t)?t:t.is);const n="html"===this._type||"application/xhtml+xml"===this._contentType?u.namespace.HTML:null;return d.element_createAnElement(this,e,n,null,r,!0)}createElementNS(e,t,r){return d.document_internalCreateElementNS(this,e,t,r)}createDocumentFragment(){return d.create_documentFragment(this)}createTextNode(e){return d.create_text(this,e)}createCDATASection(e){if("html"===this._type)throw new a.NotSupportedError;if(-1!==e.indexOf("]]>"))throw new a.InvalidCharacterError;return d.create_cdataSection(this,e)}createComment(e){return d.create_comment(this,e)}createProcessingInstruction(e,t){if(!d.xml_isName(e))throw new a.InvalidCharacterError;if(-1!==t.indexOf("?>"))throw new a.InvalidCharacterError;return d.create_processingInstruction(this,e,t)}importNode(e,t=!1){if(s.Guard.isDocumentNode(e)||s.Guard.isShadowRoot(e))throw new a.NotSupportedError;return d.node_clone(e,this,t)}adoptNode(e){if(s.Guard.isDocumentNode(e))throw new a.NotSupportedError;if(s.Guard.isShadowRoot(e))throw new a.HierarchyRequestError;return d.document_adopt(e,this),e}createAttribute(e){if(!d.xml_isName(e))throw new a.InvalidCharacterError;"html"===this._type&&(e=e.toLowerCase());const t=d.create_attr(this,e);return t}createAttributeNS(e,t){const[r,n,i]=d.namespace_validateAndExtract(e,t),a=d.create_attr(this,i);return a._namespace=r,a._namespacePrefix=n,a}createEvent(e){return d.event_createLegacyEvent(e)}createRange(){const e=d.create_range();return e._start=[this,0],e._end=[this,0],e}createNodeIterator(e,t=i.WhatToShow.All,r=null){const n=d.create_nodeIterator(e,e,!0);return n._whatToShow=t,n._iteratorCollection=d.create_nodeList(e),l.isFunction(r)?(n._filter=d.create_nodeFilter(),n._filter.acceptNode=r):n._filter=r,n}createTreeWalker(e,t=i.WhatToShow.All,r=null){const n=d.create_treeWalker(e,e);return n._whatToShow=t,l.isFunction(r)?(n._filter=d.create_nodeFilter(),n._filter.acceptNode=r):n._filter=r,n}_getTheParent(e){return"load"===e._type?null:n.dom.window}getElementById(e){throw new Error("Mixin: NonElementParentNode not implemented.")}get children(){throw new Error("Mixin: ParentNode not implemented.")}get firstElementChild(){throw new Error("Mixin: ParentNode not implemented.")}get lastElementChild(){throw new Error("Mixin: ParentNode not implemented.")}get childElementCount(){throw new Error("Mixin: ParentNode not implemented.")}prepend(...e){throw new Error("Mixin: ParentNode not implemented.")}append(...e){throw new Error("Mixin: ParentNode not implemented.")}querySelector(e){throw new Error("Mixin: ParentNode not implemented.")}querySelectorAll(e){throw new Error("Mixin: ParentNode not implemented.")}}t.DocumentImpl=p,h.idl_defineConst(p.prototype,"_nodeType",i.NodeType.Document)},fa31:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e=1e3){this._items=new Map,this._limit=e}get(e){return this._items.get(e)}set(e,t){if(this._items.set(e,t),this._items.size>this._limit){const e=this._items.keys().next();e.done||this._items.delete(e.value)}}delete(e){return this._items.delete(e)}has(e){return this._items.has(e)}clear(){this._items.clear()}get size(){return this._items.size}forEach(e,t){this._items.forEach((r,n)=>e.call(t,n,r))}*keys(){yield*this._items.keys()}*values(){yield*this._items.values()}*entries(){yield*this._items.entries()}*[Symbol.iterator](){yield*this._items}get[Symbol.toStringTag](){return"ObjectCache"}}t.ObjectCache=n},fa83:function(e,t,r){"use strict";r.r(t),r.d(t,"VERSION",(function(){return n})),r.d(t,"Parser",(function(){return Zn})),r.d(t,"CstParser",(function(){return $n})),r.d(t,"EmbeddedActionsParser",(function(){return Jn})),r.d(t,"ParserDefinitionErrorType",(function(){return qn})),r.d(t,"EMPTY_ALT",(function(){return Xn})),r.d(t,"Lexer",(function(){return Ee})),r.d(t,"LexerDefinitionErrorType",(function(){return we})),r.d(t,"createToken",(function(){return Pe})),r.d(t,"createTokenInstance",(function(){return He})),r.d(t,"EOF",(function(){return Fe})),r.d(t,"tokenLabel",(function(){return Me})),r.d(t,"tokenMatcher",(function(){return Be})),r.d(t,"tokenName",(function(){return Te})),r.d(t,"defaultGrammarResolverErrorProvider",(function(){return Vr})),r.d(t,"defaultGrammarValidatorErrorProvider",(function(){return Yr})),r.d(t,"defaultParserErrorProvider",(function(){return Ur})),r.d(t,"EarlyExitException",(function(){return on})),r.d(t,"isRecognitionException",(function(){return tn})),r.d(t,"MismatchedTokenException",(function(){return rn})),r.d(t,"NotAllInputParsedException",(function(){return an})),r.d(t,"NoViableAltException",(function(){return nn})),r.d(t,"defaultLexerErrorProvider",(function(){return _e})),r.d(t,"Alternation",(function(){return $e})),r.d(t,"Flat",(function(){return We})),r.d(t,"NonTerminal",(function(){return Ye})),r.d(t,"Option",(function(){return qe})),r.d(t,"Repetition",(function(){return Xe})),r.d(t,"RepetitionMandatory",(function(){return Ge})),r.d(t,"RepetitionMandatoryWithSeparator",(function(){return Ke})),r.d(t,"RepetitionWithSeparator",(function(){return Ze})),r.d(t,"Rule",(function(){return ze})),r.d(t,"Terminal",(function(){return Je})),r.d(t,"serializeGrammar",(function(){return Qe})),r.d(t,"serializeProduction",(function(){return et})),r.d(t,"GAstVisitor",(function(){return nt})),r.d(t,"assignOccurrenceIndices",(function(){return Xr})),r.d(t,"resolveGrammar",(function(){return Gr})),r.d(t,"validateGrammar",(function(){return Kr})),r.d(t,"clearCache",(function(){return vi})),r.d(t,"createSyntaxDiagramsCode",(function(){return Qn})),r.d(t,"generateParserFactory",(function(){return mi})),r.d(t,"generateParserModule",(function(){return gi}));var n="6.5.0",i=r("77aa"),a=r("890f"),o={},s=new a["RegExpParser"];function l(e){var t=e.toString();if(o.hasOwnProperty(t))return o[t];var r=s.pattern(t);return o[t]=r,r}function u(){o={}}var c=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d="Complement Sets are not supported for first char optimization",h='Unable to use "first char" lexer optimizations:\n';function p(e,t){void 0===t&&(t=!1);try{var r=l(e),n=f(r.value,{},r.flags.ignoreCase);return n}catch(s){if(s.message===d)t&&Object(i["d"])(h+"\tUnable to optimize: < "+e.toString()+" >\n\tComplement Sets cannot be automatically optimized.\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.");else{var o="";t&&(o="\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),Object(i["c"])(h+"\n\tFailed parsing: < "+e.toString()+" >\n\tUsing the regexp-to-ast library version: "+a["VERSION"]+"\n\tPlease open an issue at: https://github.com/bd82/regexp-to-ast/issues"+o)}}return[]}function f(e,t,r){switch(e.type){case"Disjunction":for(var n=0;n<e.value.length;n++)f(e.value[n],t,r);break;case"Alternative":var a=e.value;for(n=0;n<a.length;n++){var o=a[n];switch(o.type){case"EndAnchor":case"GroupBackReference":case"Lookahead":case"NegativeLookahead":case"StartAnchor":case"WordBoundary":case"NonWordBoundary":continue}var s=o;switch(s.type){case"Character":m(s.value,t,r);break;case"Set":if(!0===s.complement)throw Error(d);Object(i["u"])(s.value,(function(e){if("number"===typeof e)m(e,t,r);else{var n=e;if(!0===r)for(var i=n.from;i<=n.to;i++)m(i,t,r);else{for(i=n.from;i<=n.to&&i<te;i++)m(i,t,r);if(n.to>=te)for(var a=n.from>=te?n.from:te,o=n.to,s=re(a),l=re(o),u=s;u<=l;u++)t[u]=u}}}));break;case"Group":f(s.value,t,r);break;default:throw Error("Non Exhaustive Match")}var l=void 0!==s.quantifier&&0===s.quantifier.atLeast;if("Group"===s.type&&!1===b(s)||"Group"!==s.type&&!1===l)break}break;default:throw Error("non exhaustive match!")}return Object(i["U"])(t)}function m(e,t,r){var n=re(e);t[n]=n,!0===r&&g(e,t)}function g(e,t){var r=String.fromCharCode(e),n=r.toUpperCase();if(n!==r){var i=re(n.charCodeAt(0));t[i]=i}else{var a=r.toLowerCase();if(a!==r){i=re(a.charCodeAt(0));t[i]=i}}}function v(e,t){return Object(i["q"])(e.value,(function(e){if("number"===typeof e)return Object(i["j"])(t,e);var r=e;return void 0!==Object(i["q"])(t,(function(e){return r.from<=e&&e<=r.to}))}))}function b(e){return!(!e.quantifier||0!==e.quantifier.atLeast)||!!e.value&&(Object(i["y"])(e.value)?Object(i["o"])(e.value,b):b(e.value))}var y=function(e){function t(t){var r=e.call(this)||this;return r.targetCharCodes=t,r.found=!1,r}return c(t,e),t.prototype.visitChildren=function(t){if(!0!==this.found){switch(t.type){case"Lookahead":return void this.visitLookahead(t);case"NegativeLookahead":return void this.visitNegativeLookahead(t)}e.prototype.visitChildren.call(this,t)}},t.prototype.visitCharacter=function(e){Object(i["j"])(this.targetCharCodes,e.value)&&(this.found=!0)},t.prototype.visitSet=function(e){e.complement?void 0===v(e,this.targetCharCodes)&&(this.found=!0):void 0!==v(e,this.targetCharCodes)&&(this.found=!0)},t}(a["BaseRegExpVisitor"]);function w(e,t){if(t instanceof RegExp){var r=l(t),n=new y(e);return n.visit(r),n.found}return void 0!==Object(i["q"])(t,(function(t){return Object(i["j"])(e,t.charCodeAt(0))}))}var _=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),S="PATTERN",E="defaultMode",M="modes",T="boolean"===typeof new RegExp("(?:)").sticky;function C(e,t){t=Object(i["k"])(t,{useSticky:T,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:function(e,t){return t()}});var r,n=t.tracer;n("initCharCodeToOptimizedIndexMap",(function(){ie()})),n("Reject Lexer.NA",(function(){r=Object(i["P"])(e,(function(e){return e[S]===Ee.NA}))}));var a,o,s,l,u,c,d,f,m,g,v,b=!1;n("Transform Patterns",(function(){b=!1,a=Object(i["I"])(r,(function(e){var r=e[S];if(Object(i["D"])(r)){var n=r.source;return 1===n.length&&"^"!==n&&"$"!==n&&"."!==n?n:2!==n.length||"\\"!==n[0]||Object(i["j"])(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],n[1])?t.useSticky?z(r):Y(r):n[1]}if(Object(i["B"])(r))return b=!0,{exec:r};if(Object(i["w"])(r,"exec"))return b=!0,r;if("string"===typeof r){if(1===r.length)return r;var a=r.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),o=new RegExp(a);return t.useSticky?z(o):Y(o)}throw Error("non exhaustive match")}))})),n("misc mapping",(function(){o=Object(i["I"])(r,(function(e){return e.tokenTypeIdx})),s=Object(i["I"])(r,(function(e){var t=e.GROUP;if(t!==Ee.SKIPPED){if(Object(i["E"])(t))return t;if(Object(i["F"])(t))return!1;throw Error("non exhaustive match")}})),l=Object(i["I"])(r,(function(e){var t=e.LONGER_ALT;if(t){var n=Object(i["x"])(r,t);return n}})),u=Object(i["I"])(r,(function(e){return e.PUSH_MODE})),c=Object(i["I"])(r,(function(e){return Object(i["w"])(e,"POP_MODE")}))})),n("Line Terminator Handling",(function(){var e=Q(t.lineTerminatorCharacters);d=Object(i["I"])(r,(function(e){return!1})),"onlyOffset"!==t.positionTracking&&(d=Object(i["I"])(r,(function(t){return Object(i["w"])(t,"LINE_BREAKS")?t.LINE_BREAKS:!1===$(t,e)?w(e,t.PATTERN):void 0})))})),n("Misc Mapping #2",(function(){f=Object(i["I"])(r,K),m=Object(i["I"])(a,X),g=Object(i["O"])(r,(function(e,t){var r=t.GROUP;return Object(i["E"])(r)&&r!==Ee.SKIPPED&&(e[r]=[]),e}),{}),v=Object(i["I"])(a,(function(e,t){return{pattern:a[t],longerAlt:l[t],canLineTerminator:d[t],isCustom:f[t],short:m[t],group:s[t],push:u[t],pop:c[t],tokenTypeIdx:o[t],tokenType:r[t]}}))}));var y=!0,_=[];return t.safeMode||n("First Char Optimization",(function(){_=Object(i["O"])(r,(function(e,r,n){if("string"===typeof r.PATTERN){var a=r.PATTERN.charCodeAt(0),o=re(a);ee(e,o,v[n])}else if(Object(i["y"])(r.START_CHARS_HINT)){var s;Object(i["u"])(r.START_CHARS_HINT,(function(t){var r="string"===typeof t?t.charCodeAt(0):t,i=re(r);s!==i&&(s=i,ee(e,i,v[n]))}))}else if(Object(i["D"])(r.PATTERN))if(r.PATTERN.unicode)y=!1,t.ensureOptimizations&&Object(i["c"])(h+"\tUnable to analyze < "+r.PATTERN.toString()+" > pattern.\n\tThe regexp unicode flag is not currently supported by the regexp-to-ast library.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE");else{var l=p(r.PATTERN,t.ensureOptimizations);Object(i["A"])(l)&&(y=!1),Object(i["u"])(l,(function(t){ee(e,t,v[n])}))}else t.ensureOptimizations&&Object(i["c"])(h+"\tTokenType: <"+r.name+"> is using a custom token pattern without providing <start_chars_hint> parameter.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE"),y=!1;return e}),[])})),n("ArrayPacking",(function(){_=Object(i["L"])(_)})),{emptyGroups:g,patternIdxToConfig:v,charCodeToPatternIdxToConfig:_,hasCustom:b,canBeOptimized:y}}function x(e,t){var r=[],n=N(e);r=r.concat(n.errors);var i=O(n.valid),a=i.valid;return r=r.concat(i.errors),r=r.concat(A(a)),r=r.concat(F(a)),r=r.concat(H(a,t)),r=r.concat(B(a)),r}function A(e){var t=[],r=Object(i["p"])(e,(function(e){return Object(i["D"])(e[S])}));return t=t.concat(L(r)),t=t.concat(D(r)),t=t.concat(P(r)),t=t.concat(j(r)),t=t.concat(k(r)),t}function N(e){var t=Object(i["p"])(e,(function(e){return!Object(i["w"])(e,S)})),r=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:we.MISSING_PATTERN,tokenTypes:[e]}})),n=Object(i["l"])(e,t);return{errors:r,valid:n}}function O(e){var t=Object(i["p"])(e,(function(e){var t=e[S];return!Object(i["D"])(t)&&!Object(i["B"])(t)&&!Object(i["w"])(t,"exec")&&!Object(i["E"])(t)})),r=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:we.INVALID_PATTERN,tokenTypes:[e]}})),n=Object(i["l"])(e,t);return{errors:r,valid:n}}var R=/[^\\][\$]/;function L(e){var t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.found=!1,t}return _(t,e),t.prototype.visitEndAnchor=function(e){this.found=!0},t}(a["BaseRegExpVisitor"]),r=Object(i["p"])(e,(function(e){var r=e[S];try{var n=l(r),i=new t;return i.visit(n),i.found}catch(a){return R.test(r.source)}})),n=Object(i["I"])(r,(function(e){return{message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+e.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n\tSee sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:we.EOI_ANCHOR_FOUND,tokenTypes:[e]}}));return n}function k(e){var t=Object(i["p"])(e,(function(e){var t=e[S];return t.test("")})),r=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:we.EMPTY_MATCH_PATTERN,tokenTypes:[e]}}));return r}var I=/[^\\[][\^]|^\^/;function D(e){var t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.found=!1,t}return _(t,e),t.prototype.visitStartAnchor=function(e){this.found=!0},t}(a["BaseRegExpVisitor"]),r=Object(i["p"])(e,(function(e){var r=e[S];try{var n=l(r),i=new t;return i.visit(n),i.found}catch(a){return I.test(r.source)}})),n=Object(i["I"])(r,(function(e){return{message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+e.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n\tSee https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:we.SOI_ANCHOR_FOUND,tokenTypes:[e]}}));return n}function P(e){var t=Object(i["p"])(e,(function(e){var t=e[S];return t instanceof RegExp&&(t.multiline||t.global)})),r=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:we.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}}));return r}function j(e){var t=[],r=Object(i["I"])(e,(function(r){return Object(i["O"])(e,(function(e,n){return r.PATTERN.source!==n.PATTERN.source||Object(i["j"])(t,n)||n.PATTERN===Ee.NA||(t.push(n),e.push(n)),e}),[])}));r=Object(i["i"])(r);var n=Object(i["p"])(r,(function(e){return e.length>1})),a=Object(i["I"])(n,(function(e){var t=Object(i["I"])(e,(function(e){return e.name})),r=Object(i["s"])(e).PATTERN;return{message:"The same RegExp pattern ->"+r+"<-has been used in all of the following Token Types: "+t.join(", ")+" <-",type:we.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}}));return a}function F(e){var t=Object(i["p"])(e,(function(e){if(!Object(i["w"])(e,"GROUP"))return!1;var t=e.GROUP;return t!==Ee.SKIPPED&&t!==Ee.NA&&!Object(i["E"])(t)})),r=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:we.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}}));return r}function H(e,t){var r=Object(i["p"])(e,(function(e){return void 0!==e.PUSH_MODE&&!Object(i["j"])(t,e.PUSH_MODE)})),n=Object(i["I"])(r,(function(e){var t="Token Type: ->"+e.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+e.PUSH_MODE+"<-which does not exist";return{message:t,type:we.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}}));return n}function B(e){var t=[],r=Object(i["O"])(e,(function(e,t,r){var n=t.PATTERN;return n===Ee.NA||(Object(i["E"])(n)?e.push({str:n,idx:r,tokenType:t}):Object(i["D"])(n)&&V(n)&&e.push({str:n.source,idx:r,tokenType:t})),e}),[]);return Object(i["u"])(e,(function(e,n){Object(i["u"])(r,(function(r){var i=r.str,a=r.idx,o=r.tokenType;if(n<a&&U(i,e.PATTERN)){var s="Token: ->"+o.name+"<- can never be matched.\nBecause it appears AFTER the Token Type ->"+e.name+"<-in the lexer's definition.\nSee https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#UNREACHABLE";t.push({message:s,type:we.UNREACHABLE_PATTERN,tokenTypes:[e,o]})}}))})),t}function U(e,t){if(Object(i["D"])(t)){var r=t.exec(e);return null!==r&&0===r.index}if(Object(i["B"])(t))return t(e,0,[],{});if(Object(i["w"])(t,"exec"))return t.exec(e,0,[],{});if("string"===typeof t)return t===e;throw Error("non exhaustive match")}function V(e){var t=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return void 0===Object(i["q"])(t,(function(t){return-1!==e.source.indexOf(t)}))}function Y(e){var t=e.ignoreCase?"i":"";return new RegExp("^(?:"+e.source+")",t)}function z(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}function W(e,t,r){var n=[];return Object(i["w"])(e,E)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+E+"> property in its definition\n",type:we.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),Object(i["w"])(e,M)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+M+"> property in its definition\n",type:we.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),Object(i["w"])(e,M)&&Object(i["w"])(e,E)&&!Object(i["w"])(e.modes,e.defaultMode)&&n.push({message:"A MultiMode Lexer cannot be initialized with a "+E+": <"+e.defaultMode+">which does not exist\n",type:we.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),Object(i["w"])(e,M)&&Object(i["u"])(e.modes,(function(e,t){Object(i["u"])(e,(function(e,r){Object(i["F"])(e)&&n.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:<"+t+"> at index: <"+r+">\n",type:we.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})}))})),n}function q(e,t,r){var n=[],a=!1,o=Object(i["i"])(Object(i["t"])(Object(i["J"])(e.modes,(function(e){return e})))),s=Object(i["P"])(o,(function(e){return e[S]===Ee.NA})),l=Q(r);return t&&Object(i["u"])(s,(function(e){var t=$(e,l);if(!1!==t){var r=J(e,t),o={message:r,type:t.issue,tokenType:e};n.push(o)}else Object(i["w"])(e,"LINE_BREAKS")?!0===e.LINE_BREAKS&&(a=!0):w(l,e.PATTERN)&&(a=!0)})),t&&!a&&n.push({message:"Warning: No LINE_BREAKS Found.\n\tThis Lexer has been defined to track line and column information,\n\tBut none of the Token Types can be identified as matching a line terminator.\n\tSee https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n\tfor details.",type:we.NO_LINE_BREAKS_FLAGS}),n}function G(e){var t={},r=Object(i["G"])(e);return Object(i["u"])(r,(function(r){var n=e[r];if(!Object(i["y"])(n))throw Error("non exhaustive match");t[r]=[]})),t}function K(e){var t=e.PATTERN;if(Object(i["D"])(t))return!1;if(Object(i["B"])(t))return!0;if(Object(i["w"])(t,"exec"))return!0;if(Object(i["E"])(t))return!1;throw Error("non exhaustive match")}function X(e){return!(!Object(i["E"])(e)||1!==e.length)&&e.charCodeAt(0)}var Z={test:function(e){for(var t=e.length,r=this.lastIndex;r<t;r++){var n=e.charCodeAt(r);if(10===n)return this.lastIndex=r+1,!0;if(13===n)return 10===e.charCodeAt(r+1)?this.lastIndex=r+2:this.lastIndex=r+1,!0}return!1},lastIndex:0};function $(e,t){if(Object(i["w"])(e,"LINE_BREAKS"))return!1;if(Object(i["D"])(e.PATTERN)){try{w(t,e.PATTERN)}catch(r){return{issue:we.IDENTIFY_TERMINATOR,errMsg:r.message}}return!1}if(Object(i["E"])(e.PATTERN))return!1;if(K(e))return{issue:we.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}function J(e,t){if(t.issue===we.IDENTIFY_TERMINATOR)return"Warning: unable to identify line terminator usage in pattern.\n\tThe problem is in the <"+e.name+"> Token Type\n\t Root cause: "+t.errMsg+".\n\tFor details See: https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(t.issue===we.CUSTOM_LINE_BREAK)return"Warning: A Custom Token Pattern should specify the <line_breaks> option.\n\tThe problem is in the <"+e.name+"> Token Type\n\tFor details See: https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}function Q(e){var t=Object(i["I"])(e,(function(e){return Object(i["E"])(e)&&e.length>0?e.charCodeAt(0):e}));return t}function ee(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}var te=256;function re(e){return e<te?e:ne[e]}var ne=[];function ie(){if(Object(i["A"])(ne)){ne=new Array(65536);for(var e=0;e<65536;e++)ne[e]=e>255?255+~~(e/255):e}}function ae(e,t){var r=e.tokenTypeIdx;return r===t.tokenTypeIdx||!0===t.isParent&&!0===t.categoryMatchesMap[r]}function oe(e,t){return e.tokenTypeIdx===t.tokenTypeIdx}var se=1,le={};function ue(e){var t=ce(e);de(t),pe(t),he(t),Object(i["u"])(t,(function(e){e.isParent=e.categoryMatches.length>0}))}function ce(e){var t=Object(i["g"])(e),r=e,n=!0;while(n){r=Object(i["i"])(Object(i["t"])(Object(i["I"])(r,(function(e){return e.CATEGORIES}))));var a=Object(i["l"])(r,t);t=t.concat(a),Object(i["A"])(a)?n=!1:r=a}return t}function de(e){Object(i["u"])(e,(function(e){me(e)||(le[se]=e,e.tokenTypeIdx=se++),ge(e)&&!Object(i["y"])(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),ge(e)||(e.CATEGORIES=[]),ve(e)||(e.categoryMatches=[]),be(e)||(e.categoryMatchesMap={})}))}function he(e){Object(i["u"])(e,(function(e){e.categoryMatches=[],Object(i["u"])(e.categoryMatchesMap,(function(t,r){e.categoryMatches.push(le[r].tokenTypeIdx)}))}))}function pe(e){Object(i["u"])(e,(function(e){fe([],e)}))}function fe(e,t){Object(i["u"])(e,(function(e){t.categoryMatchesMap[e.tokenTypeIdx]=!0})),Object(i["u"])(t.CATEGORIES,(function(r){var n=e.concat(t);Object(i["j"])(n,r)||fe(n,r)}))}function me(e){return Object(i["w"])(e,"tokenTypeIdx")}function ge(e){return Object(i["w"])(e,"CATEGORIES")}function ve(e){return Object(i["w"])(e,"categoryMatches")}function be(e){return Object(i["w"])(e,"categoryMatchesMap")}function ye(e){return Object(i["w"])(e,"tokenTypeIdx")}var we,_e={buildUnableToPopLexerModeMessage:function(e){return"Unable to pop Lexer Mode after encountering Token ->"+e.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(e,t,r,n,i){return"unexpected character: ->"+e.charAt(t)+"<- at offset: "+t+", skipped "+r+" characters."}};(function(e){e[e["MISSING_PATTERN"]=0]="MISSING_PATTERN",e[e["INVALID_PATTERN"]=1]="INVALID_PATTERN",e[e["EOI_ANCHOR_FOUND"]=2]="EOI_ANCHOR_FOUND",e[e["UNSUPPORTED_FLAGS_FOUND"]=3]="UNSUPPORTED_FLAGS_FOUND",e[e["DUPLICATE_PATTERNS_FOUND"]=4]="DUPLICATE_PATTERNS_FOUND",e[e["INVALID_GROUP_TYPE_FOUND"]=5]="INVALID_GROUP_TYPE_FOUND",e[e["PUSH_MODE_DOES_NOT_EXIST"]=6]="PUSH_MODE_DOES_NOT_EXIST",e[e["MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE"]=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e[e["MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY"]=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e[e["MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST"]=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e[e["LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED"]=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e[e["SOI_ANCHOR_FOUND"]=11]="SOI_ANCHOR_FOUND",e[e["EMPTY_MATCH_PATTERN"]=12]="EMPTY_MATCH_PATTERN",e[e["NO_LINE_BREAKS_FLAGS"]=13]="NO_LINE_BREAKS_FLAGS",e[e["UNREACHABLE_PATTERN"]=14]="UNREACHABLE_PATTERN",e[e["IDENTIFY_TERMINATOR"]=15]="IDENTIFY_TERMINATOR",e[e["CUSTOM_LINE_BREAK"]=16]="CUSTOM_LINE_BREAK"})(we||(we={}));var Se={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:_e,traceInitPerf:!1,skipValidations:!1};Object.freeze(Se);var Ee=function(){function e(e,t){var r=this;if(void 0===t&&(t=Se),this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},"boolean"===typeof t)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=Object(i["K"])(Se,t);var n=this.config.traceInitPerf;!0===n?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"===typeof n&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",(function(){var n,a=!0;r.TRACE_INIT("Lexer Config handling",(function(){if(r.config.lineTerminatorsPattern===Se.lineTerminatorsPattern)r.config.lineTerminatorsPattern=Z;else if(r.config.lineTerminatorCharacters===Se.lineTerminatorCharacters)throw Error("Error: Missing <lineTerminatorCharacters> property on the Lexer config.\n\tFor details See: https://sap.github.io/chevrotain/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');r.trackStartLines=/full|onlyStart/i.test(r.config.positionTracking),r.trackEndLines=/full/i.test(r.config.positionTracking),Object(i["y"])(e)?(n={modes:{}},n.modes[E]=Object(i["g"])(e),n[E]=E):(a=!1,n=Object(i["h"])(e))})),!1===r.config.skipValidations&&(r.TRACE_INIT("performRuntimeChecks",(function(){r.lexerDefinitionErrors=r.lexerDefinitionErrors.concat(W(n,r.trackStartLines,r.config.lineTerminatorCharacters))})),r.TRACE_INIT("performWarningRuntimeChecks",(function(){r.lexerDefinitionWarning=r.lexerDefinitionWarning.concat(q(n,r.trackStartLines,r.config.lineTerminatorCharacters))}))),n.modes=n.modes?n.modes:{},Object(i["u"])(n.modes,(function(e,t){n.modes[t]=Object(i["P"])(e,(function(e){return Object(i["F"])(e)}))}));var o=Object(i["G"])(n.modes);if(Object(i["u"])(n.modes,(function(e,n){r.TRACE_INIT("Mode: <"+n+"> processing",(function(){var a;(r.modes.push(n),!1===r.config.skipValidations&&r.TRACE_INIT("validatePatterns",(function(){r.lexerDefinitionErrors=r.lexerDefinitionErrors.concat(x(e,o))})),Object(i["A"])(r.lexerDefinitionErrors))&&(ue(e),r.TRACE_INIT("analyzeTokenTypes",(function(){a=C(e,{lineTerminatorCharacters:r.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:r.TRACE_INIT.bind(r)})})),r.patternIdxToConfig[n]=a.patternIdxToConfig,r.charCodeToPatternIdxToConfig[n]=a.charCodeToPatternIdxToConfig,r.emptyGroups=Object(i["K"])(r.emptyGroups,a.emptyGroups),r.hasCustom=a.hasCustom||r.hasCustom,r.canModeBeOptimized[n]=a.canBeOptimized)}))})),r.defaultMode=n.defaultMode,!Object(i["A"])(r.lexerDefinitionErrors)&&!r.config.deferDefinitionErrorsHandling){var s=Object(i["I"])(r.lexerDefinitionErrors,(function(e){return e.message})),l=s.join("-----------------------\n");throw new Error("Errors detected in definition of Lexer:\n"+l)}Object(i["u"])(r.lexerDefinitionWarning,(function(e){Object(i["d"])(e.message)})),r.TRACE_INIT("Choosing sub-methods implementations",(function(){if(T?(r.chopInput=i["a"],r.match=r.matchWithTest):(r.updateLastIndex=i["b"],r.match=r.matchWithExec),a&&(r.handleModes=i["b"]),!1===r.trackStartLines&&(r.computeNewColumn=i["a"]),!1===r.trackEndLines&&(r.updateTokenEndLineColumnLocation=i["b"]),/full/i.test(r.config.positionTracking))r.createTokenInstance=r.createFullToken;else if(/onlyStart/i.test(r.config.positionTracking))r.createTokenInstance=r.createStartOnlyToken;else{if(!/onlyOffset/i.test(r.config.positionTracking))throw Error('Invalid <positionTracking> config option: "'+r.config.positionTracking+'"');r.createTokenInstance=r.createOffsetOnlyToken}r.hasCustom?(r.addToken=r.addTokenUsingPush,r.handlePayload=r.handlePayloadWithCustom):(r.addToken=r.addTokenUsingMemberAccess,r.handlePayload=r.handlePayloadNoCustom)})),r.TRACE_INIT("Failed Optimization Warnings",(function(){var e=Object(i["O"])(r.canModeBeOptimized,(function(e,t,r){return!1===t&&e.push(r),e}),[]);if(t.ensureOptimizations&&!Object(i["A"])(e))throw Error("Lexer Modes: < "+e.join(", ")+' > cannot be optimized.\n\t Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.\n\t Or inspect the console log for details on how to resolve these issues.')})),r.TRACE_INIT("clearRegExpParserCache",(function(){u()})),r.TRACE_INIT("toFastProperties",(function(){Object(i["S"])(r)}))}))}return e.prototype.tokenize=function(e,t){if(void 0===t&&(t=this.defaultMode),!Object(i["A"])(this.lexerDefinitionErrors)){var r=Object(i["I"])(this.lexerDefinitionErrors,(function(e){return e.message})),n=r.join("-----------------------\n");throw new Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+n)}var a=this.tokenizeInternal(e,t);return a},e.prototype.tokenizeInternal=function(e,t){var r,n,a,o,s,l,u,c,d,h,p,f,m,g,v=this,b=e,y=b.length,w=0,_=0,S=this.hasCustom?0:Math.floor(e.length/10),E=new Array(S),M=[],T=this.trackStartLines?1:void 0,C=this.trackStartLines?1:void 0,x=G(this.emptyGroups),A=this.trackStartLines,N=this.config.lineTerminatorsPattern,O=0,R=[],L=[],k=[],I=[];Object.freeze(I);var D=void 0;function P(){return R}function j(e){var t=re(e),r=L[t];return void 0===r?I:r}var F,H=function(e){if(1===k.length&&void 0===e.tokenType.PUSH_MODE){var t=v.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);M.push({offset:e.startOffset,line:void 0!==e.startLine?e.startLine:void 0,column:void 0!==e.startColumn?e.startColumn:void 0,length:e.image.length,message:t})}else{k.pop();var r=Object(i["H"])(k);R=v.patternIdxToConfig[r],L=v.charCodeToPatternIdxToConfig[r],O=R.length;var n=v.canModeBeOptimized[r]&&!1===v.config.safeMode;D=L&&n?j:P}};function B(e){k.push(e),L=this.charCodeToPatternIdxToConfig[e],R=this.patternIdxToConfig[e],O=R.length,O=R.length;var t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;D=L&&t?j:P}B.call(this,t);while(w<y){s=null;var U=b.charCodeAt(w),V=D(U),Y=V.length;for(r=0;r<Y;r++){F=V[r];var z=F.pattern;l=null;var W=F.short;if(!1!==W?U===W&&(s=z):!0===F.isCustom?(g=z.exec(b,w,E,x),null!==g?(s=g[0],void 0!==g.payload&&(l=g.payload)):s=null):(this.updateLastIndex(z,w),s=this.match(z,e,w)),null!==s){if(o=F.longerAlt,void 0!==o){var q=R[o],K=q.pattern;u=null,!0===q.isCustom?(g=K.exec(b,w,E,x),null!==g?(a=g[0],void 0!==g.payload&&(u=g.payload)):a=null):(this.updateLastIndex(K,w),a=this.match(K,e,w)),a&&a.length>s.length&&(s=a,l=u,F=q)}break}}if(null!==s){if(c=s.length,d=F.group,void 0!==d&&(h=F.tokenTypeIdx,p=this.createTokenInstance(s,w,h,F.tokenType,T,C,c),this.handlePayload(p,l),!1===d?_=this.addToken(E,_,p):x[d].push(p)),e=this.chopInput(e,c),w+=c,C=this.computeNewColumn(C,c),!0===A&&!0===F.canLineTerminator){var X=0,Z=void 0,$=void 0;N.lastIndex=0;do{Z=N.test(s),!0===Z&&($=N.lastIndex-1,X++)}while(!0===Z);0!==X&&(T+=X,C=c-$,this.updateTokenEndLineColumnLocation(p,d,$,X,T,C,c))}this.handleModes(F,H,B,p)}else{var J=w,Q=T,ee=C,te=!1;while(!te&&w<y)for(b.charCodeAt(w),e=this.chopInput(e,1),w++,n=0;n<O;n++){var ne=R[n];z=ne.pattern,W=ne.short;if(!1!==W?b.charCodeAt(w)===W&&(te=!0):!0===ne.isCustom?te=null!==z.exec(b,w,E,x):(this.updateLastIndex(z,w),te=null!==z.exec(e)),!0===te)break}f=w-J,m=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(b,J,f,Q,ee),M.push({offset:J,line:Q,column:ee,length:f,message:m})}}return this.hasCustom||(E.length=_),{tokens:E,groups:x,errors:M}},e.prototype.handleModes=function(e,t,r,n){if(!0===e.pop){var i=e.push;t(n),void 0!==i&&r.call(this,i)}else void 0!==e.push&&r.call(this,e.push)},e.prototype.chopInput=function(e,t){return e.substring(t)},e.prototype.updateLastIndex=function(e,t){e.lastIndex=t},e.prototype.updateTokenEndLineColumnLocation=function(e,t,r,n,i,a,o){var s,l;void 0!==t&&(s=r===o-1,l=s?-1:0,1===n&&!0===s||(e.endLine=i+l,e.endColumn=a-1-l))},e.prototype.computeNewColumn=function(e,t){return e+t},e.prototype.createTokenInstance=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return null},e.prototype.createOffsetOnlyToken=function(e,t,r,n){return{image:e,startOffset:t,tokenTypeIdx:r,tokenType:n}},e.prototype.createStartOnlyToken=function(e,t,r,n,i,a){return{image:e,startOffset:t,startLine:i,startColumn:a,tokenTypeIdx:r,tokenType:n}},e.prototype.createFullToken=function(e,t,r,n,i,a,o){return{image:e,startOffset:t,endOffset:t+o-1,startLine:i,endLine:i,startColumn:a,endColumn:a+o-1,tokenTypeIdx:r,tokenType:n}},e.prototype.addToken=function(e,t,r){return 666},e.prototype.addTokenUsingPush=function(e,t,r){return e.push(r),t},e.prototype.addTokenUsingMemberAccess=function(e,t,r){return e[t]=r,t++,t},e.prototype.handlePayload=function(e,t){},e.prototype.handlePayloadNoCustom=function(e,t){},e.prototype.handlePayloadWithCustom=function(e,t){null!==t&&(e.payload=t)},e.prototype.match=function(e,t,r){return null},e.prototype.matchWithTest=function(e,t,r){var n=e.test(t);return!0===n?t.substring(r,e.lastIndex):null},e.prototype.matchWithExec=function(e,t){var r=e.exec(t);return null!==r?r[0]:r},e.prototype.TRACE_INIT=function(e,t){if(!0===this.traceInitPerf){this.traceInitIndent++;var r=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(r+"--\x3e <"+e+">");var n=Object(i["R"])(t),a=n.time,o=n.value,s=a>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&s(r+"<-- <"+e+"> time: "+a+"ms"),this.traceInitIndent--,o}return t()},e.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",e.NA=/NOT_APPLICABLE/,e}();function Me(e){return Ce(e)?e.LABEL:e.name}function Te(e){return e.name}function Ce(e){return Object(i["E"])(e.LABEL)&&""!==e.LABEL}var xe="parent",Ae="categories",Ne="label",Oe="group",Re="push_mode",Le="pop_mode",ke="longer_alt",Ie="line_breaks",De="start_chars_hint";function Pe(e){return je(e)}function je(e){var t=e.pattern,r={};if(r.name=e.name,Object(i["F"])(t)||(r.PATTERN=t),Object(i["w"])(e,xe))throw"The parent property is no longer supported.\nSee: https://github.com/SAP/chevrotain/issues/564#issuecomment-349062346 for details.";return Object(i["w"])(e,Ae)&&(r.CATEGORIES=e[Ae]),ue([r]),Object(i["w"])(e,Ne)&&(r.LABEL=e[Ne]),Object(i["w"])(e,Oe)&&(r.GROUP=e[Oe]),Object(i["w"])(e,Le)&&(r.POP_MODE=e[Le]),Object(i["w"])(e,Re)&&(r.PUSH_MODE=e[Re]),Object(i["w"])(e,ke)&&(r.LONGER_ALT=e[ke]),Object(i["w"])(e,Ie)&&(r.LINE_BREAKS=e[Ie]),Object(i["w"])(e,De)&&(r.START_CHARS_HINT=e[De]),r}var Fe=Pe({name:"EOF",pattern:Ee.NA});function He(e,t,r,n,i,a,o,s){return{image:t,startOffset:r,endOffset:n,startLine:i,endLine:a,startColumn:o,endColumn:s,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}}function Be(e,t){return ae(e,t)}ue([Fe]);var Ue=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ve=function(){function e(e){this.definition=e}return e.prototype.accept=function(e){e.visit(this),Object(i["u"])(this.definition,(function(t){t.accept(e)}))},e}(),Ye=function(e){function t(t){var r=e.call(this,[])||this;return r.idx=1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),Object.defineProperty(t.prototype,"definition",{get:function(){return void 0!==this.referencedRule?this.referencedRule.definition:[]},set:function(e){},enumerable:!0,configurable:!0}),t.prototype.accept=function(e){e.visit(this)},t}(Ve),ze=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.orgText="",Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),We=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.ignoreAmbiguities=!1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),qe=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.idx=1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),Ge=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.idx=1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),Ke=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.idx=1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),Xe=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.idx=1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),Ze=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.idx=1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),$e=function(e){function t(t){var r=e.call(this,t.definition)||this;return r.idx=1,r.ignoreAmbiguities=!1,r.hasPredicates=!1,Object(i["f"])(r,Object(i["N"])(t,(function(e){return void 0!==e}))),r}return Ue(t,e),t}(Ve),Je=function(){function e(e){this.idx=1,Object(i["f"])(this,Object(i["N"])(e,(function(e){return void 0!==e})))}return e.prototype.accept=function(e){e.visit(this)},e}();function Qe(e){return Object(i["I"])(e,et)}function et(e){function t(e){return Object(i["I"])(e,et)}if(e instanceof Ye)return{type:"NonTerminal",name:e.nonTerminalName,idx:e.idx};if(e instanceof We)return{type:"Flat",definition:t(e.definition)};if(e instanceof qe)return{type:"Option",idx:e.idx,definition:t(e.definition)};if(e instanceof Ge)return{type:"RepetitionMandatory",name:e.name,idx:e.idx,definition:t(e.definition)};if(e instanceof Ke)return{type:"RepetitionMandatoryWithSeparator",name:e.name,idx:e.idx,separator:et(new Je({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof Ze)return{type:"RepetitionWithSeparator",name:e.name,idx:e.idx,separator:et(new Je({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof Xe)return{type:"Repetition",name:e.name,idx:e.idx,definition:t(e.definition)};if(e instanceof $e)return{type:"Alternation",name:e.name,idx:e.idx,definition:t(e.definition)};if(e instanceof Je){var r={type:"Terminal",name:e.terminalType.name,label:Me(e.terminalType),idx:e.idx},n=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(r.pattern=Object(i["D"])(n)?n.source:n),r}if(e instanceof ze)return{type:"Rule",name:e.name,orgText:e.orgText,definition:t(e.definition)};throw Error("non exhaustive match")}var tt=function(){function e(){}return e.prototype.walk=function(e,t){var r=this;void 0===t&&(t=[]),Object(i["u"])(e.definition,(function(n,a){var o=Object(i["m"])(e.definition,a+1);if(n instanceof Ye)r.walkProdRef(n,o,t);else if(n instanceof Je)r.walkTerminal(n,o,t);else if(n instanceof We)r.walkFlat(n,o,t);else if(n instanceof qe)r.walkOption(n,o,t);else if(n instanceof Ge)r.walkAtLeastOne(n,o,t);else if(n instanceof Ke)r.walkAtLeastOneSep(n,o,t);else if(n instanceof Ze)r.walkManySep(n,o,t);else if(n instanceof Xe)r.walkMany(n,o,t);else{if(!(n instanceof $e))throw Error("non exhaustive match");r.walkOr(n,o,t)}}))},e.prototype.walkTerminal=function(e,t,r){},e.prototype.walkProdRef=function(e,t,r){},e.prototype.walkFlat=function(e,t,r){var n=t.concat(r);this.walk(e,n)},e.prototype.walkOption=function(e,t,r){var n=t.concat(r);this.walk(e,n)},e.prototype.walkAtLeastOne=function(e,t,r){var n=[new qe({definition:e.definition})].concat(t,r);this.walk(e,n)},e.prototype.walkAtLeastOneSep=function(e,t,r){var n=rt(e,t,r);this.walk(e,n)},e.prototype.walkMany=function(e,t,r){var n=[new qe({definition:e.definition})].concat(t,r);this.walk(e,n)},e.prototype.walkManySep=function(e,t,r){var n=rt(e,t,r);this.walk(e,n)},e.prototype.walkOr=function(e,t,r){var n=this,a=t.concat(r);Object(i["u"])(e.definition,(function(e){var t=new We({definition:[e]});n.walk(t,a)}))},e}();function rt(e,t,r){var n=[new qe({definition:[new Je({terminalType:e.separator})].concat(e.definition)})],i=n.concat(t,r);return i}var nt=function(){function e(){}return e.prototype.visit=function(e){var t=e;switch(t.constructor){case Ye:return this.visitNonTerminal(t);case We:return this.visitFlat(t);case qe:return this.visitOption(t);case Ge:return this.visitRepetitionMandatory(t);case Ke:return this.visitRepetitionMandatoryWithSeparator(t);case Ze:return this.visitRepetitionWithSeparator(t);case Xe:return this.visitRepetition(t);case $e:return this.visitAlternation(t);case Je:return this.visitTerminal(t);case ze:return this.visitRule(t);default:throw Error("non exhaustive match")}},e.prototype.visitNonTerminal=function(e){},e.prototype.visitFlat=function(e){},e.prototype.visitOption=function(e){},e.prototype.visitRepetition=function(e){},e.prototype.visitRepetitionMandatory=function(e){},e.prototype.visitRepetitionMandatoryWithSeparator=function(e){},e.prototype.visitRepetitionWithSeparator=function(e){},e.prototype.visitAlternation=function(e){},e.prototype.visitTerminal=function(e){},e.prototype.visitRule=function(e){},e}(),it=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();function at(e){return e instanceof We||e instanceof qe||e instanceof Xe||e instanceof Ge||e instanceof Ke||e instanceof Ze||e instanceof Je||e instanceof ze}function ot(e,t){void 0===t&&(t=[]);var r=e instanceof qe||e instanceof Xe||e instanceof Ze;return!!r||(e instanceof $e?Object(i["Q"])(e.definition,(function(e){return ot(e,t)})):!(e instanceof Ye&&Object(i["j"])(t,e))&&(e instanceof Ve&&(e instanceof Ye&&t.push(e),Object(i["o"])(e.definition,(function(e){return ot(e,t)})))))}function st(e){return e instanceof $e}function lt(e){if(e instanceof Ye)return"SUBRULE";if(e instanceof qe)return"OPTION";if(e instanceof $e)return"OR";if(e instanceof Ge)return"AT_LEAST_ONE";if(e instanceof Ke)return"AT_LEAST_ONE_SEP";if(e instanceof Ze)return"MANY_SEP";if(e instanceof Xe)return"MANY";if(e instanceof Je)return"CONSUME";throw Error("non exhaustive match")}var ut=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.separator="-",t.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},t}return it(t,e),t.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},t.prototype.visitTerminal=function(e){var t=e.terminalType.name+this.separator+"Terminal";Object(i["w"])(this.dslMethods,t)||(this.dslMethods[t]=[]),this.dslMethods[t].push(e)},t.prototype.visitNonTerminal=function(e){var t=e.nonTerminalName+this.separator+"Terminal";Object(i["w"])(this.dslMethods,t)||(this.dslMethods[t]=[]),this.dslMethods[t].push(e)},t.prototype.visitOption=function(e){this.dslMethods.option.push(e)},t.prototype.visitRepetitionWithSeparator=function(e){this.dslMethods.repetitionWithSeparator.push(e)},t.prototype.visitRepetitionMandatory=function(e){this.dslMethods.repetitionMandatory.push(e)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)},t.prototype.visitRepetition=function(e){this.dslMethods.repetition.push(e)},t.prototype.visitAlternation=function(e){this.dslMethods.alternation.push(e)},t}(nt),ct=new ut;function dt(e){ct.reset(),e.accept(ct);var t=ct.dslMethods;return ct.reset(),t}function ht(e){if(e instanceof Ye)return ht(e.referencedRule);if(e instanceof Je)return mt(e);if(at(e))return pt(e);if(st(e))return ft(e);throw Error("non exhaustive match")}function pt(e){var t,r=[],n=e.definition,a=0,o=n.length>a,s=!0;while(o&&s)t=n[a],s=ot(t),r=r.concat(ht(t)),a+=1,o=n.length>a;return Object(i["T"])(r)}function ft(e){var t=Object(i["I"])(e.definition,(function(e){return ht(e)}));return Object(i["T"])(Object(i["t"])(t))}function mt(e){return[e.terminalType]}var gt="_~IN~_",vt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),bt=function(e){function t(t){var r=e.call(this)||this;return r.topProd=t,r.follows={},r}return vt(t,e),t.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},t.prototype.walkTerminal=function(e,t,r){},t.prototype.walkProdRef=function(e,t,r){var n=wt(e.referencedRule,e.idx)+this.topProd.name,i=t.concat(r),a=new We({definition:i}),o=ht(a);this.follows[n]=o},t}(tt);function yt(e){var t={};return Object(i["u"])(e,(function(e){var r=new bt(e).startWalking();Object(i["f"])(t,r)})),t}function wt(e,t){return e.name+t+gt}var _t=4,St=8,Et=8,Mt=1<<St,Tt=2<<St,Ct=3<<St,xt=4<<St,At=5<<St,Nt=6<<St;function Ot(e,t,r){return r|t|e}var Rt=32-Et;function Lt(e,t,r,n){var i=n+1<<Rt;return Ot(e,t,r)|i}var kt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();function It(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset<t.endOffset===!0&&(e.endOffset=t.endOffset)}function Dt(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.startColumn=t.startColumn,e.startLine=t.startLine,e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine):e.endOffset<t.endOffset===!0&&(e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine)}function Pt(e,t,r){void 0===e.children[r]?e.children[r]=[t]:e.children[r].push(t)}function jt(e,t,r){void 0===e.children[t]?e.children[t]=[r]:e.children[t].push(r)}var Ft=function(e){function t(t){var r=e.call(this)||this;return r.result=[],r.ruleIdx=t,r}return kt(t,e),t.prototype.collectNamedDSLMethod=function(e,t,r){if(!Object(i["F"])(e.name)){var n=void 0;if(e instanceof qe||e instanceof Xe||e instanceof Ge||e instanceof $e)n=new t({definition:e.definition,idx:e.idx});else{if(!(e instanceof Ke||e instanceof Ze))throw Error("non exhaustive match");n=new t({definition:e.definition,idx:e.idx,separator:e.separator})}var a=[n],o=Ot(this.ruleIdx,r,e.idx);this.result.push({def:a,key:o,name:e.name,orgProd:e})}},t.prototype.visitOption=function(e){this.collectNamedDSLMethod(e,qe,Tt)},t.prototype.visitRepetition=function(e){this.collectNamedDSLMethod(e,Xe,Ct)},t.prototype.visitRepetitionMandatory=function(e){this.collectNamedDSLMethod(e,Ge,xt)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.collectNamedDSLMethod(e,Ke,Nt)},t.prototype.visitRepetitionWithSeparator=function(e){this.collectNamedDSLMethod(e,Ze,At)},t.prototype.visitAlternation=function(e){var t=this;this.collectNamedDSLMethod(e,$e,Mt);var r=e.definition.length>1;Object(i["u"])(e.definition,(function(n,a){if(!Object(i["F"])(n.name)){var o=n.definition;o=r?[new qe({definition:n.definition})]:n.definition;var s=Lt(t.ruleIdx,Mt,e.idx,a);t.result.push({def:o,key:s,name:n.name,orgProd:n})}}))},t}(nt);function Ht(e,t){var r={allRuleNames:[]};return Object(i["u"])(e,(function(e){var n=t[e.name];r.allRuleNames.push(e.name);var a=new Ft(n);e.accept(a),Object(i["u"])(a.result,(function(t){t.def,t.key;var n=t.name;r.allRuleNames.push(e.name+n)}))})),r}var Bt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ut=function(e){function t(t,r){var n=e.call(this)||this;return n.topProd=t,n.path=r,n.possibleTokTypes=[],n.nextProductionName="",n.nextProductionOccurrence=0,n.found=!1,n.isAtEndOfPath=!1,n}return Bt(t,e),t.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=Object(i["g"])(this.path.ruleStack).reverse(),this.occurrenceStack=Object(i["g"])(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},t.prototype.walk=function(t,r){void 0===r&&(r=[]),this.found||e.prototype.walk.call(this,t,r)},t.prototype.walkProdRef=function(e,t,r){if(e.referencedRule.name===this.nextProductionName&&e.idx===this.nextProductionOccurrence){var n=t.concat(r);this.updateExpectedNext(),this.walk(e.referencedRule,n)}},t.prototype.updateExpectedNext=function(){Object(i["A"])(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},t}(tt),Vt=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.path=r,n.nextTerminalName="",n.nextTerminalOccurrence=0,n.nextTerminalName=n.path.lastTok.name,n.nextTerminalOccurrence=n.path.lastTokOccurrence,n}return Bt(t,e),t.prototype.walkTerminal=function(e,t,r){if(this.isAtEndOfPath&&e.terminalType.name===this.nextTerminalName&&e.idx===this.nextTerminalOccurrence&&!this.found){var n=t.concat(r),i=new We({definition:n});this.possibleTokTypes=ht(i),this.found=!0}},t}(Ut),Yt=function(e){function t(t,r){var n=e.call(this)||this;return n.topRule=t,n.occurrence=r,n.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},n}return Bt(t,e),t.prototype.startWalking=function(){return this.walk(this.topRule),this.result},t}(tt),zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Bt(t,e),t.prototype.walkMany=function(t,r,n){if(t.idx===this.occurrence){var a=Object(i["s"])(r.concat(n));this.result.isEndOfRule=void 0===a,a instanceof Je&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkMany.call(this,t,r,n)},t}(Yt),Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Bt(t,e),t.prototype.walkManySep=function(t,r,n){if(t.idx===this.occurrence){var a=Object(i["s"])(r.concat(n));this.result.isEndOfRule=void 0===a,a instanceof Je&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkManySep.call(this,t,r,n)},t}(Yt),qt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Bt(t,e),t.prototype.walkAtLeastOne=function(t,r,n){if(t.idx===this.occurrence){var a=Object(i["s"])(r.concat(n));this.result.isEndOfRule=void 0===a,a instanceof Je&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkAtLeastOne.call(this,t,r,n)},t}(Yt),Gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Bt(t,e),t.prototype.walkAtLeastOneSep=function(t,r,n){if(t.idx===this.occurrence){var a=Object(i["s"])(r.concat(n));this.result.isEndOfRule=void 0===a,a instanceof Je&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkAtLeastOneSep.call(this,t,r,n)},t}(Yt);function Kt(e,t,r){void 0===r&&(r=[]),r=Object(i["g"])(r);var n=[],a=0;function o(t){return t.concat(Object(i["m"])(e,a+1))}function s(e){var i=Kt(o(e),t,r);return n.concat(i)}while(r.length<t&&a<e.length){var l=e[a];if(l instanceof We)return s(l.definition);if(l instanceof Ye)return s(l.definition);if(l instanceof qe)n=s(l.definition);else{if(l instanceof Ge){var u=l.definition.concat([new Xe({definition:l.definition})]);return s(u)}if(l instanceof Ke){u=[new We({definition:l.definition}),new Xe({definition:[new Je({terminalType:l.separator})].concat(l.definition)})];return s(u)}if(l instanceof Ze){u=l.definition.concat([new Xe({definition:[new Je({terminalType:l.separator})].concat(l.definition)})]);n=s(u)}else if(l instanceof Xe){u=l.definition.concat([new Xe({definition:l.definition})]);n=s(u)}else{if(l instanceof $e)return Object(i["u"])(l.definition,(function(e){n=s(e.definition)})),n;if(!(l instanceof Je))throw Error("non exhaustive match");r.push(l.terminalType)}}a++}return n.push({partialPath:r,suffixDef:Object(i["m"])(e,a)}),n}function Xt(e,t,r,n){var a="EXIT_NONE_TERMINAL",o=[a],s="EXIT_ALTERNATIVE",l=!1,u=t.length,c=u-n-1,d=[],h=[];h.push({idx:-1,def:e,ruleStack:[],occurrenceStack:[]});while(!Object(i["A"])(h)){var p=h.pop();if(p!==s){var f=p.def,m=p.idx,g=p.ruleStack,v=p.occurrenceStack;if(!Object(i["A"])(f)){var b=f[0];if(b===a){var y={idx:m,def:Object(i["m"])(f),ruleStack:Object(i["n"])(g),occurrenceStack:Object(i["n"])(v)};h.push(y)}else if(b instanceof Je)if(m<u-1){var w=m+1,_=t[w];if(r(_,b.terminalType)){y={idx:w,def:Object(i["m"])(f),ruleStack:g,occurrenceStack:v};h.push(y)}}else{if(m!==u-1)throw Error("non exhaustive match");d.push({nextTokenType:b.terminalType,nextTokenOccurrence:b.idx,ruleStack:g,occurrenceStack:v}),l=!0}else if(b instanceof Ye){var S=Object(i["g"])(g);S.push(b.nonTerminalName);var E=Object(i["g"])(v);E.push(b.idx);y={idx:m,def:b.definition.concat(o,Object(i["m"])(f)),ruleStack:S,occurrenceStack:E};h.push(y)}else if(b instanceof qe){var M={idx:m,def:Object(i["m"])(f),ruleStack:g,occurrenceStack:v};h.push(M),h.push(s);var T={idx:m,def:b.definition.concat(Object(i["m"])(f)),ruleStack:g,occurrenceStack:v};h.push(T)}else if(b instanceof Ge){var C=new Xe({definition:b.definition,idx:b.idx}),x=b.definition.concat([C],Object(i["m"])(f));y={idx:m,def:x,ruleStack:g,occurrenceStack:v};h.push(y)}else if(b instanceof Ke){var A=new Je({terminalType:b.separator});C=new Xe({definition:[A].concat(b.definition),idx:b.idx}),x=b.definition.concat([C],Object(i["m"])(f)),y={idx:m,def:x,ruleStack:g,occurrenceStack:v};h.push(y)}else if(b instanceof Ze){M={idx:m,def:Object(i["m"])(f),ruleStack:g,occurrenceStack:v};h.push(M),h.push(s);A=new Je({terminalType:b.separator});var N=new Xe({definition:[A].concat(b.definition),idx:b.idx});x=b.definition.concat([N],Object(i["m"])(f)),T={idx:m,def:x,ruleStack:g,occurrenceStack:v};h.push(T)}else if(b instanceof Xe){M={idx:m,def:Object(i["m"])(f),ruleStack:g,occurrenceStack:v};h.push(M),h.push(s);N=new Xe({definition:b.definition,idx:b.idx}),x=b.definition.concat([N],Object(i["m"])(f)),T={idx:m,def:x,ruleStack:g,occurrenceStack:v};h.push(T)}else if(b instanceof $e)for(var O=b.definition.length-1;O>=0;O--){var R=b.definition[O],L={idx:m,def:R.definition.concat(Object(i["m"])(f)),ruleStack:g,occurrenceStack:v};h.push(L),h.push(s)}else if(b instanceof We)h.push({idx:m,def:b.definition.concat(Object(i["m"])(f)),ruleStack:g,occurrenceStack:v});else{if(!(b instanceof ze))throw Error("non exhaustive match");h.push(Zt(b,m,g,v))}}}else l&&Object(i["H"])(h).idx<=c&&h.pop()}return d}function Zt(e,t,r,n){var a=Object(i["g"])(r);a.push(e.name);var o=Object(i["g"])(n);return o.push(1),{idx:t,def:e.definition,ruleStack:a,occurrenceStack:o}}var $t,Jt=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();function Qt(e){if(e instanceof qe)return $t.OPTION;if(e instanceof Xe)return $t.REPETITION;if(e instanceof Ge)return $t.REPETITION_MANDATORY;if(e instanceof Ke)return $t.REPETITION_MANDATORY_WITH_SEPARATOR;if(e instanceof Ze)return $t.REPETITION_WITH_SEPARATOR;if(e instanceof $e)return $t.ALTERNATION;throw Error("non exhaustive match")}function er(e,t,r,n,i,a){var o=cr(e,t,r),s=fr(o)?oe:ae;return a(o,n,s,i)}function tr(e,t,r,n,i,a){var o=dr(e,t,i,r),s=fr(o)?oe:ae;return a(o[0],s,n)}function rr(e,t,r,n){var a=e.length,o=Object(i["o"])(e,(function(e){return Object(i["o"])(e,(function(e){return 1===e.length}))}));if(t)return function(t){for(var n=Object(i["I"])(t,(function(e){return e.GATE})),o=0;o<a;o++){var s=e[o],l=s.length,u=n[o];if(void 0===u||!1!==u.call(this))e:for(var c=0;c<l;c++){for(var d=s[c],h=d.length,p=0;p<h;p++){var f=this.LA(p+1);if(!1===r(f,d[p]))continue e}return o}}};if(o&&!n){var s=Object(i["I"])(e,(function(e){return Object(i["t"])(e)})),l=Object(i["O"])(s,(function(e,t,r){return Object(i["u"])(t,(function(t){Object(i["w"])(e,t.tokenTypeIdx)||(e[t.tokenTypeIdx]=r),Object(i["u"])(t.categoryMatches,(function(t){Object(i["w"])(e,t)||(e[t]=r)}))})),e}),[]);return function(){var e=this.LA(1);return l[e.tokenTypeIdx]}}return function(){for(var t=0;t<a;t++){var n=e[t],i=n.length;e:for(var o=0;o<i;o++){for(var s=n[o],l=s.length,u=0;u<l;u++){var c=this.LA(u+1);if(!1===r(c,s[u]))continue e}return t}}}}function nr(e,t,r){var n=Object(i["o"])(e,(function(e){return 1===e.length})),a=e.length;if(n&&!r){var o=Object(i["t"])(e);if(1===o.length&&Object(i["A"])(o[0].categoryMatches)){var s=o[0],l=s.tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===l}}var u=Object(i["O"])(o,(function(e,t,r){return e[t.tokenTypeIdx]=!0,Object(i["u"])(t.categoryMatches,(function(t){e[t]=!0})),e}),[]);return function(){var e=this.LA(1);return!0===u[e.tokenTypeIdx]}}return function(){e:for(var r=0;r<a;r++){for(var n=e[r],i=n.length,o=0;o<i;o++){var s=this.LA(o+1);if(!1===t(s,n[o]))continue e}return!0}return!1}}(function(e){e[e["OPTION"]=0]="OPTION",e[e["REPETITION"]=1]="REPETITION",e[e["REPETITION_MANDATORY"]=2]="REPETITION_MANDATORY",e[e["REPETITION_MANDATORY_WITH_SEPARATOR"]=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e[e["REPETITION_WITH_SEPARATOR"]=4]="REPETITION_WITH_SEPARATOR",e[e["ALTERNATION"]=5]="ALTERNATION"})($t||($t={}));var ir=function(e){function t(t,r,n){var i=e.call(this)||this;return i.topProd=t,i.targetOccurrence=r,i.targetProdType=n,i}return Jt(t,e),t.prototype.startWalking=function(){return this.walk(this.topProd),this.restDef},t.prototype.checkIsTarget=function(e,t,r,n){return e.idx===this.targetOccurrence&&this.targetProdType===t&&(this.restDef=r.concat(n),!0)},t.prototype.walkOption=function(t,r,n){this.checkIsTarget(t,$t.OPTION,r,n)||e.prototype.walkOption.call(this,t,r,n)},t.prototype.walkAtLeastOne=function(t,r,n){this.checkIsTarget(t,$t.REPETITION_MANDATORY,r,n)||e.prototype.walkOption.call(this,t,r,n)},t.prototype.walkAtLeastOneSep=function(t,r,n){this.checkIsTarget(t,$t.REPETITION_MANDATORY_WITH_SEPARATOR,r,n)||e.prototype.walkOption.call(this,t,r,n)},t.prototype.walkMany=function(t,r,n){this.checkIsTarget(t,$t.REPETITION,r,n)||e.prototype.walkOption.call(this,t,r,n)},t.prototype.walkManySep=function(t,r,n){this.checkIsTarget(t,$t.REPETITION_WITH_SEPARATOR,r,n)||e.prototype.walkOption.call(this,t,r,n)},t}(tt),ar=function(e){function t(t,r,n){var i=e.call(this)||this;return i.targetOccurrence=t,i.targetProdType=r,i.targetRef=n,i.result=[],i}return Jt(t,e),t.prototype.checkIsTarget=function(e,t){e.idx!==this.targetOccurrence||this.targetProdType!==t||void 0!==this.targetRef&&e!==this.targetRef||(this.result=e.definition)},t.prototype.visitOption=function(e){this.checkIsTarget(e,$t.OPTION)},t.prototype.visitRepetition=function(e){this.checkIsTarget(e,$t.REPETITION)},t.prototype.visitRepetitionMandatory=function(e){this.checkIsTarget(e,$t.REPETITION_MANDATORY)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.checkIsTarget(e,$t.REPETITION_MANDATORY_WITH_SEPARATOR)},t.prototype.visitRepetitionWithSeparator=function(e){this.checkIsTarget(e,$t.REPETITION_WITH_SEPARATOR)},t.prototype.visitAlternation=function(e){this.checkIsTarget(e,$t.ALTERNATION)},t}(nt);function or(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=[];return t}function sr(e){for(var t=[""],r=0;r<e.length;r++){for(var n=e[r],i=[],a=0;a<t.length;a++){var o=t[a];i.push(o+"_"+n.tokenTypeIdx);for(var s=0;s<n.categoryMatches.length;s++){var l="_"+n.categoryMatches[s];i.push(o+l)}}t=i}return t}function lr(e,t,r){for(var n=0;n<e.length;n++)if(n!==r)for(var i=e[n],a=0;a<t.length;a++){var o=t[a];if(!0===i[o])return!1}return!0}function ur(e,t){for(var r=Object(i["I"])(e,(function(e){return Kt([e],1)})),n=or(r.length),a=Object(i["I"])(r,(function(e){var t={};return Object(i["u"])(e,(function(e){var r=sr(e.partialPath);Object(i["u"])(r,(function(e){t[e]=!0}))})),t})),o=r,s=1;s<=t;s++){var l=o;o=or(l.length);for(var u=function(e){for(var r=l[e],u=0;u<r.length;u++){var c=r[u].partialPath,d=r[u].suffixDef,h=sr(c),p=lr(a,h,e);if(p||Object(i["A"])(d)||c.length===t){var f=n[e];if(!1===hr(f,c)){f.push(c);for(var m=0;m<h.length;m++){var g=h[m];a[e][g]=!0}}}else{var v=Kt(d,s+1,c);o[e]=o[e].concat(v),Object(i["u"])(v,(function(t){var r=sr(t.partialPath);Object(i["u"])(r,(function(t){a[e][t]=!0}))}))}}},c=0;c<l.length;c++)u(c)}return n}function cr(e,t,r,n){var i=new ar(e,$t.ALTERNATION,n);return t.accept(i),ur(i.result,r)}function dr(e,t,r,n){var i=new ar(e,r);t.accept(i);var a=i.result,o=new ir(t,e,r),s=o.startWalking(),l=new We({definition:a}),u=new We({definition:s});return ur([l,u],n)}function hr(e,t){e:for(var r=0;r<e.length;r++){var n=e[r];if(n.length===t.length){for(var i=0;i<n.length;i++){var a=t[i],o=n[i],s=a===o||void 0!==o.categoryMatchesMap[a.tokenTypeIdx];if(!1===s)continue e}return!0}}return!1}function pr(e,t){return e.length<t.length&&Object(i["o"])(e,(function(e,r){var n=t[r];return e===n||n.categoryMatchesMap[e.tokenTypeIdx]}))}function fr(e){return Object(i["o"])(e,(function(e){return Object(i["o"])(e,(function(e){return Object(i["o"])(e,(function(e){return Object(i["A"])(e.categoryMatches)}))}))}))}var mr=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();function gr(e,t,r,n,a,o){var s=i["I"](e,(function(e){return br(e,a)})),l=i["I"](e,(function(e){return Nr(e,e,a)})),u=[],c=[],d=[];Object(i["o"])(l,i["A"])&&(u=Object(i["I"])(e,(function(e){return Lr(e,a)})),c=Object(i["I"])(e,(function(e){return kr(e,t,n,a)})),d=Pr(e,t,a));var h=Hr(e,r,a),p=i["I"](r,(function(e){return Cr(e,a)})),f=vr(e,a),m=Br(e,a),g=Object(i["I"])(e,(function(e){return Dr(e,a)})),v=Object(i["I"])(e,(function(e){return Mr(e,a)})),b=Object(i["I"])(e,(function(t){return xr(t,e,o,a)}));return i["t"](s.concat(p,f,m,d,l,u,c,h,g,v,b))}function vr(e,t){var r=[];return Object(i["u"])(e,(function(e){var n=new Ft("");e.accept(n);var a=Object(i["I"])(n.result,(function(e){return e.orgProd}));r.push(Object(i["I"])(a,(function(r){return Tr(e,r,t)})))})),Object(i["t"])(r)}function br(e,t){var r=new _r;e.accept(r);var n=r.allProductions,a=i["v"](n,yr),o=i["N"](a,(function(e){return e.length>1})),s=i["I"](i["U"](o),(function(r){var n=i["s"](r),a=t.buildDuplicateFoundError(e,r),o=lt(n),s={message:a,type:qn.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:o,occurrence:n.idx},l=wr(n);return l&&(s.parameter=l),s}));return s}function yr(e){return lt(e)+"_#_"+e.idx+"_#_"+wr(e)}function wr(e){return e instanceof Je?e.terminalType.name:e instanceof Ye?e.nonTerminalName:""}var _r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allProductions=[],t}return mr(t,e),t.prototype.visitNonTerminal=function(e){this.allProductions.push(e)},t.prototype.visitOption=function(e){this.allProductions.push(e)},t.prototype.visitRepetitionWithSeparator=function(e){this.allProductions.push(e)},t.prototype.visitRepetitionMandatory=function(e){this.allProductions.push(e)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.allProductions.push(e)},t.prototype.visitRepetition=function(e){this.allProductions.push(e)},t.prototype.visitAlternation=function(e){this.allProductions.push(e)},t.prototype.visitTerminal=function(e){this.allProductions.push(e)},t}(nt),Sr=/^[a-zA-Z_]\w*$/,Er=new RegExp(Sr.source.replace("^","^\\$"));function Mr(e,t){var r=[],n=e.name;return n.match(Sr)||r.push({message:t.buildInvalidRuleNameError({topLevelRule:e,expectedPattern:Sr}),type:qn.INVALID_RULE_NAME,ruleName:n}),r}function Tr(e,t,r){var n,i=[];return t.name.match(Er)||(n=r.buildInvalidNestedRuleNameError(e,t),i.push({message:n,type:qn.INVALID_NESTED_RULE_NAME,ruleName:e.name})),i}function Cr(e,t){var r=[],n=e.name;return n.match(Sr)||r.push({message:t.buildTokenNameError({tokenType:e,expectedPattern:Sr}),type:qn.INVALID_TOKEN_NAME}),r}function xr(e,t,r,n){var a=[],o=Object(i["O"])(t,(function(t,r){return r.name===e.name?t+1:t}),0);if(o>1){var s=n.buildDuplicateRuleNameError({topLevelRule:e,grammarName:r});a.push({message:s,type:qn.DUPLICATE_RULE_NAME,ruleName:e.name})}return a}function Ar(e,t,r){var n,a=[];return i["j"](t,e)||(n="Invalid rule override, rule: ->"+e+"<- cannot be overridden in the grammar: ->"+r+"<-as it is not defined in any of the super grammars ",a.push({message:n,type:qn.INVALID_RULE_OVERRIDE,ruleName:e})),a}function Nr(e,t,r,n){void 0===n&&(n=[]);var a=[],o=Or(t.definition);if(i["A"](o))return[];var s=e.name,l=i["j"](o,e);l&&a.push({message:r.buildLeftRecursionError({topLevelRule:e,leftRecursionPath:n}),type:qn.LEFT_RECURSION,ruleName:s});var u=i["l"](o,n.concat([e])),c=i["I"](u,(function(t){var a=i["g"](n);return a.push(t),Nr(e,t,r,a)}));return a.concat(i["t"](c))}function Or(e){var t=[];if(i["A"](e))return t;var r=i["s"](e);if(r instanceof Ye)t.push(r.referencedRule);else if(r instanceof We||r instanceof qe||r instanceof Ge||r instanceof Ke||r instanceof Ze||r instanceof Xe)t=t.concat(Or(r.definition));else if(r instanceof $e)t=i["t"](i["I"](r.definition,(function(e){return Or(e.definition)})));else if(!(r instanceof Je))throw Error("non exhaustive match");var n=ot(r),a=e.length>1;if(n&&a){var o=i["m"](e);return t.concat(Or(o))}return t}var Rr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.alternations=[],t}return mr(t,e),t.prototype.visitAlternation=function(e){this.alternations.push(e)},t}(nt);function Lr(e,t){var r=new Rr;e.accept(r);var n=r.alternations,a=i["O"](n,(function(r,n){var a=i["n"](n.definition),o=i["I"](a,(function(r,a){var o=Xt([r],[],null,1);return i["A"](o)?{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:n,emptyChoiceIdx:a}),type:qn.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:n.idx,alternative:a+1}:null}));return r.concat(i["i"](o))}),[]);return a}function kr(e,t,r,n){var a=new Rr;e.accept(a);var o=a.alternations,s=r[e.name];s&&(o=Object(i["P"])(o,(function(e){return s[lt(e)+(0===e.idx?"":e.idx)]}))),o=Object(i["P"])(o,(function(e){return!0===e.ignoreAmbiguities}));var l=i["O"](o,(function(r,i){var a=i.idx,o=i.maxLookahead||t,s=cr(a,e,o,i),l=jr(s,i,e,n),u=Fr(s,i,e,n);return r.concat(l,u)}),[]);return l}var Ir=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allProductions=[],t}return mr(t,e),t.prototype.visitRepetitionWithSeparator=function(e){this.allProductions.push(e)},t.prototype.visitRepetitionMandatory=function(e){this.allProductions.push(e)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.allProductions.push(e)},t.prototype.visitRepetition=function(e){this.allProductions.push(e)},t}(nt);function Dr(e,t){var r=new Rr;e.accept(r);var n=r.alternations,a=i["O"](n,(function(r,n){return n.definition.length>255&&r.push({message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:n}),type:qn.TOO_MANY_ALTS,ruleName:e.name,occurrence:n.idx}),r}),[]);return a}function Pr(e,t,r){var n=[];return Object(i["u"])(e,(function(e){var a=new Ir;e.accept(a);var o=a.allProductions;Object(i["u"])(o,(function(a){var o=Qt(a),s=a.maxLookahead||t,l=a.idx,u=dr(l,e,o,s),c=u[0];if(Object(i["A"])(Object(i["t"])(c))){var d=r.buildEmptyRepetitionError({topLevelRule:e,repetition:a});n.push({message:d,type:qn.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}}))})),n}function jr(e,t,r,n){var a=[],o=Object(i["O"])(e,(function(r,n,o){return!0===t.definition[o].ignoreAmbiguities||Object(i["u"])(n,(function(n){var s=[o];Object(i["u"])(e,(function(e,r){o!==r&&hr(e,n)&&!0!==t.definition[r].ignoreAmbiguities&&s.push(r)})),s.length>1&&!hr(a,n)&&(a.push(n),r.push({alts:s,path:n}))})),r}),[]),s=i["I"](o,(function(e){var a=Object(i["I"])(e.alts,(function(e){return e+1})),o=n.buildAlternationAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:a,prefixPath:e.path});return{message:o,type:qn.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:t.idx,alternatives:[e.alts]}}));return s}function Fr(e,t,r,n){var a=[],o=Object(i["O"])(e,(function(e,t,r){var n=Object(i["I"])(t,(function(e){return{idx:r,path:e}}));return e.concat(n)}),[]);return Object(i["u"])(o,(function(e){var s=t.definition[e.idx];if(!0!==s.ignoreAmbiguities){var l=e.idx,u=e.path,c=Object(i["r"])(o,(function(e){return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx<l&&pr(e.path,u)})),d=Object(i["I"])(c,(function(e){var i=[e.idx+1,l+1],a=0===t.idx?"":t.idx,o=n.buildAlternationPrefixAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:i,prefixPath:e.path});return{message:o,type:qn.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:a,alternatives:i}}));a=a.concat(d)}})),a}function Hr(e,t,r){var n=[],a=Object(i["I"])(t,(function(e){return e.name}));return Object(i["u"])(e,(function(e){var t=e.name;if(Object(i["j"])(a,t)){var o=r.buildNamespaceConflictError(e);n.push({message:o,type:qn.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}})),n}function Br(e,t){var r=[];return Object(i["u"])(e,(function(e){var n=new Ft("");e.accept(n);var a=Object(i["v"])(n.result,(function(e){return e.name})),o=Object(i["N"])(a,(function(e){return e.length>1}));Object(i["u"])(Object(i["U"])(o),(function(n){var a=Object(i["I"])(n,(function(e){return e.orgProd})),o=t.buildDuplicateNestedRuleNameError(e,a);r.push({message:o,type:qn.DUPLICATE_NESTED_NAME,ruleName:e.name})}))})),r}var Ur={buildMismatchTokenMessage:function(e){var t=e.expected,r=e.actual,n=(e.previous,e.ruleName,Ce(t)),i=n?"--\x3e "+Me(t)+" <--":"token of type --\x3e "+t.name+" <--",a="Expecting "+i+" but found --\x3e '"+r.image+"' <--";return a},buildNotAllInputParsedMessage:function(e){var t=e.firstRedundant;e.ruleName;return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage:function(e){var t=e.expectedPathsPerAlt,r=e.actual,n=(e.previous,e.customUserDescription),a=(e.ruleName,"Expecting: "),o=Object(i["s"])(r).image,s="\nbut found: '"+o+"'";if(n)return a+n+s;var l=Object(i["O"])(t,(function(e,t){return e.concat(t)}),[]),u=Object(i["I"])(l,(function(e){return"["+Object(i["I"])(e,(function(e){return Me(e)})).join(", ")+"]"})),c=Object(i["I"])(u,(function(e,t){return" "+(t+1)+". "+e})),d="one of these possible Token sequences:\n"+c.join("\n");return a+d+s},buildEarlyExitMessage:function(e){var t=e.expectedIterationPaths,r=e.actual,n=e.customUserDescription,a=(e.ruleName,"Expecting: "),o=Object(i["s"])(r).image,s="\nbut found: '"+o+"'";if(n)return a+n+s;var l=Object(i["I"])(t,(function(e){return"["+Object(i["I"])(e,(function(e){return Me(e)})).join(",")+"]"})),u="expecting at least one iteration which starts with one of these possible Token sequences::\n <"+l.join(" ,")+">";return a+u+s}};Object.freeze(Ur);var Vr={buildRuleNotFoundError:function(e,t){var r="Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+"<-\ninside top level rule: ->"+e.name+"<-";return r}},Yr={buildDuplicateFoundError:function(e,t){function r(e){return e instanceof Je?e.terminalType.name:e instanceof Ye?e.nonTerminalName:""}var n=e.name,a=Object(i["s"])(t),o=a.idx,s=lt(a),l=r(a),u=o>0,c="->"+s+(u?o:"")+"<- "+(l?"with argument: ->"+l+"<-":"")+"\n appears more than once ("+t.length+" times) in the top level rule: ->"+n+"<-. \n For further details see: https://sap.github.io/chevrotain/docs/FAQ.html#NUMERICAL_SUFFIXES \n ";return c=c.replace(/[ \t]+/g," "),c=c.replace(/\s\s+/g,"\n"),c},buildInvalidNestedRuleNameError:function(e,t){var r="Invalid nested rule name: ->"+t.name+"<- inside rule: ->"+e.name+"<-\nit must match the pattern: ->"+Er.toString()+"<-.\nNote that this means a nested rule name must start with the '$'(dollar) sign.";return r},buildDuplicateNestedRuleNameError:function(e,t){var r=Object(i["s"])(t).name,n="Duplicate nested rule name: ->"+r+"<- inside rule: ->"+e.name+"<-\nA nested name must be unique in the scope of a top level grammar rule.";return n},buildNamespaceConflictError:function(e){var t="Namespace conflict found in grammar.\nThe grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+e.name+">.\nTo resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.";return t},buildAlternationPrefixAmbiguityError:function(e){var t=Object(i["I"])(e.prefixPath,(function(e){return Me(e)})).join(", "),r=0===e.alternation.idx?"":e.alternation.idx,n="Ambiguous alternatives: <"+e.ambiguityIndices.join(" ,")+"> due to common lookahead prefix\nin <OR"+r+"> inside <"+e.topLevelRule.name+"> Rule,\n<"+t+"> may appears as a prefix path in all these alternatives.\nSee: https://sap.github.io/chevrotain/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX\nFor Further details.";return n},buildAlternationAmbiguityError:function(e){var t=Object(i["I"])(e.prefixPath,(function(e){return Me(e)})).join(", "),r=0===e.alternation.idx?"":e.alternation.idx,n="Ambiguous Alternatives Detected: <"+e.ambiguityIndices.join(" ,")+"> in <OR"+r+"> inside <"+e.topLevelRule.name+"> Rule,\n<"+t+"> may appears as a prefix path in all these alternatives.\n";return n+="See: https://sap.github.io/chevrotain/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",n},buildEmptyRepetitionError:function(e){var t=lt(e.repetition);0!==e.repetition.idx&&(t+=e.repetition.idx);var r="The repetition <"+t+"> within Rule <"+e.topLevelRule.name+"> can never consume any tokens.\nThis could lead to an infinite loop.";return r},buildTokenNameError:function(e){var t=e.tokenType.name,r="Invalid Grammar Token name: ->"+t+"<- it must match the pattern: ->"+e.expectedPattern.toString()+"<-";return r},buildEmptyAlternationError:function(e){var t="Ambiguous empty alternative: <"+(e.emptyChoiceIdx+1)+"> in <OR"+e.alternation.idx+"> inside <"+e.topLevelRule.name+"> Rule.\nOnly the last alternative may be an empty alternative.";return t},buildTooManyAlternativesError:function(e){var t="An Alternation cannot have more than 256 alternatives:\n<OR"+e.alternation.idx+"> inside <"+e.topLevelRule.name+"> Rule.\n has "+(e.alternation.definition.length+1)+" alternatives.";return t},buildLeftRecursionError:function(e){var t=e.topLevelRule.name,r=i["I"](e.leftRecursionPath,(function(e){return e.name})),n=t+" --\x3e "+r.concat([t]).join(" --\x3e "),a="Left Recursion found in grammar.\nrule: <"+t+"> can be invoked from itself (directly or indirectly)\nwithout consuming any Tokens. The grammar path that causes this is: \n "+n+"\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.";return a},buildInvalidRuleNameError:function(e){var t=e.topLevelRule.name,r=e.expectedPattern.toString(),n="Invalid grammar rule name: ->"+t+"<- it must match the pattern: ->"+r+"<-";return n},buildDuplicateRuleNameError:function(e){var t;t=e.topLevelRule instanceof ze?e.topLevelRule.name:e.topLevelRule;var r="Duplicate definition, rule: ->"+t+"<- is already defined in the grammar: ->"+e.grammarName+"<-";return r}},zr=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();function Wr(e,t){var r=new qr(e,t);return r.resolveRefs(),r.errors}var qr=function(e){function t(t,r){var n=e.call(this)||this;return n.nameToTopRule=t,n.errMsgProvider=r,n.errors=[],n}return zr(t,e),t.prototype.resolveRefs=function(){var e=this;Object(i["u"])(Object(i["U"])(this.nameToTopRule),(function(t){e.currTopLevel=t,t.accept(e)}))},t.prototype.visitNonTerminal=function(e){var t=this.nameToTopRule[e.nonTerminalName];if(t)e.referencedRule=t;else{var r=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:r,type:qn.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}},t}(nt);function Gr(e){e=Object(i["k"])(e,{errMsgProvider:Vr});var t={};return Object(i["u"])(e.rules,(function(e){t[e.name]=e})),Wr(t,e.errMsgProvider)}function Kr(e){return e=Object(i["k"])(e,{errMsgProvider:Yr,ignoredIssues:{}}),gr(e.rules,e.maxLookahead,e.tokenTypes,e.ignoredIssues,e.errMsgProvider,e.grammarName)}function Xr(e){Object(i["u"])(e.rules,(function(e){var t=new ut;e.accept(t),Object(i["u"])(t.dslMethods,(function(e){Object(i["u"])(e,(function(e,t){e.idx=t+1}))}))}))}var Zr="MismatchedTokenException",$r="NoViableAltException",Jr="EarlyExitException",Qr="NotAllInputParsedException",en=[Zr,$r,Jr,Qr];function tn(e){return Object(i["j"])(en,e.name)}function rn(e,t,r){this.name=Zr,this.message=e,this.token=t,this.previousToken=r,this.resyncedTokens=[]}function nn(e,t,r){this.name=$r,this.message=e,this.token=t,this.previousToken=r,this.resyncedTokens=[]}function an(e,t){this.name=Qr,this.message=e,this.token=t,this.resyncedTokens=[]}function on(e,t,r){this.name=Jr,this.message=e,this.token=t,this.previousToken=r,this.resyncedTokens=[]}Object.freeze(en),rn.prototype=Error.prototype,nn.prototype=Error.prototype,an.prototype=Error.prototype,on.prototype=Error.prototype;var sn={},ln="InRuleRecoveryException";function un(e){this.name=ln,this.message=e}un.prototype=Error.prototype;var cn=function(){function e(){}return e.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=Object(i["w"])(e,"recoveryEnabled")?e.recoveryEnabled:Gn.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=dn)},e.prototype.getTokenToInsert=function(e){var t=He(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t},e.prototype.canTokenTypeBeInsertedInRecovery=function(e){return!0},e.prototype.tryInRepetitionRecovery=function(e,t,r,n){var a=this,o=this.findReSyncTokenType(),s=this.exportLexerState(),l=[],u=!1,c=this.LA(1),d=this.LA(1),h=function(){var e=a.LA(0),t=a.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:c,previous:e,ruleName:a.getCurrRuleFullName()}),r=new rn(t,c,a.LA(0));r.resyncedTokens=Object(i["n"])(l),a.SAVE_ERROR(r)};while(!u){if(this.tokenMatcher(d,n))return void h();if(r.call(this))return h(),void e.apply(this,t);this.tokenMatcher(d,o)?u=!0:(d=this.SKIP_TOKEN(),this.addToResyncTokens(d,l))}this.importLexerState(s)},e.prototype.shouldInRepetitionRecoveryBeTried=function(e,t,r){return!1!==r&&(void 0!==e&&void 0!==t&&(!this.tokenMatcher(this.LA(1),e)&&(!this.isBackTracking()&&!this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))))},e.prototype.getFollowsForInRuleRecovery=function(e,t){var r=this.getCurrentGrammarPath(e,t),n=this.getNextPossibleTokenTypes(r);return n},e.prototype.tryInRuleRecovery=function(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t)){var r=this.getTokenToInsert(e);return r}if(this.canRecoverWithSingleTokenDeletion(e)){var n=this.SKIP_TOKEN();return this.consumeToken(),n}throw new un("sad sad panda")},e.prototype.canPerformInRuleRecovery=function(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)},e.prototype.canRecoverWithSingleTokenInsertion=function(e,t){var r=this;if(!this.canTokenTypeBeInsertedInRecovery(e))return!1;if(Object(i["A"])(t))return!1;var n=this.LA(1),a=void 0!==Object(i["q"])(t,(function(e){return r.tokenMatcher(n,e)}));return a},e.prototype.canRecoverWithSingleTokenDeletion=function(e){var t=this.tokenMatcher(this.LA(2),e);return t},e.prototype.isInCurrentRuleReSyncSet=function(e){var t=this.getCurrFollowKey(),r=this.getFollowSetFromFollowKey(t);return Object(i["j"])(r,e)},e.prototype.findReSyncTokenType=function(){var e=this.flattenFollowSet(),t=this.LA(1),r=2;while(1){var n=t.tokenType;if(Object(i["j"])(e,n))return n;t=this.LA(r),r++}},e.prototype.getCurrFollowKey=function(){if(1===this.RULE_STACK.length)return sn;var e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),r=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(r)}},e.prototype.buildFullFollowKeyStack=function(){var e=this,t=this.RULE_STACK,r=this.RULE_OCCURRENCE_STACK;return Object(i["A"])(this.LAST_EXPLICIT_RULE_STACK)||(t=Object(i["I"])(this.LAST_EXPLICIT_RULE_STACK,(function(t){return e.RULE_STACK[t]})),r=Object(i["I"])(this.LAST_EXPLICIT_RULE_STACK,(function(t){return e.RULE_OCCURRENCE_STACK[t]}))),Object(i["I"])(t,(function(n,i){return 0===i?sn:{ruleName:e.shortRuleNameToFullName(n),idxInCallingRule:r[i],inRule:e.shortRuleNameToFullName(t[i-1])}}))},e.prototype.flattenFollowSet=function(){var e=this,t=Object(i["I"])(this.buildFullFollowKeyStack(),(function(t){return e.getFollowSetFromFollowKey(t)}));return Object(i["t"])(t)},e.prototype.getFollowSetFromFollowKey=function(e){if(e===sn)return[Fe];var t=e.ruleName+e.idxInCallingRule+gt+e.inRule;return this.resyncFollows[t]},e.prototype.addToResyncTokens=function(e,t){return this.tokenMatcher(e,Fe)||t.push(e),t},e.prototype.reSyncTo=function(e){var t=[],r=this.LA(1);while(!1===this.tokenMatcher(r,e))r=this.SKIP_TOKEN(),this.addToResyncTokens(r,t);return Object(i["n"])(t)},e.prototype.attemptInRepetitionRecovery=function(e,t,r,n,i,a,o){},e.prototype.getCurrentGrammarPath=function(e,t){var r=this.getHumanReadableRuleStack(),n=Object(i["g"])(this.RULE_OCCURRENCE_STACK),a={ruleStack:r,occurrenceStack:n,lastTok:e,lastTokOccurrence:t};return a},e.prototype.getHumanReadableRuleStack=function(){var e=this;return Object(i["A"])(this.LAST_EXPLICIT_RULE_STACK)?Object(i["I"])(this.RULE_STACK,(function(t){return e.shortRuleNameToFullName(t)})):Object(i["I"])(this.LAST_EXPLICIT_RULE_STACK,(function(t){return e.shortRuleNameToFullName(e.RULE_STACK[t])}))},e}();function dn(e,t,r,n,i,a,o){var s=this.getKeyForAutomaticLookahead(n,i),l=this.firstAfterRepMap[s];if(void 0===l){var u=this.getCurrRuleFullName(),c=this.getGAstProductions()[u],d=new a(c,i);l=d.startWalking(),this.firstAfterRepMap[s]=l}var h=l.token,p=l.occurrence,f=l.isEndOfRule;1===this.RULE_STACK.length&&f&&void 0===h&&(h=Fe,p=1),this.shouldInRepetitionRecoveryBeTried(h,p,o)&&this.tryInRepetitionRecovery(e,t,r,h)}var hn=function(){function e(){}return e.prototype.initLooksAhead=function(e){this.dynamicTokensEnabled=Object(i["w"])(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:Gn.dynamicTokensEnabled,this.maxLookahead=Object(i["w"])(e,"maxLookahead")?e.maxLookahead:Gn.maxLookahead,this.lookAheadFuncsCache=Object(i["z"])()?new Map:[],Object(i["z"])()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},e.prototype.preComputeLookaheadFunctions=function(e){var t=this;Object(i["u"])(e,(function(e){t.TRACE_INIT(e.name+" Rule Lookahead",(function(){var r=dt(e),n=r.alternation,a=r.repetition,o=r.option,s=r.repetitionMandatory,l=r.repetitionMandatoryWithSeparator,u=r.repetitionWithSeparator;Object(i["u"])(n,(function(r){var n=0===r.idx?"":r.idx;t.TRACE_INIT(""+lt(r)+n,(function(){var n=er(r.idx,e,r.maxLookahead||t.maxLookahead,r.hasPredicates,t.dynamicTokensEnabled,t.lookAheadBuilderForAlternatives),i=Ot(t.fullRuleNameToShort[e.name],Mt,r.idx);t.setLaFuncCache(i,n)}))})),Object(i["u"])(a,(function(r){t.computeLookaheadFunc(e,r.idx,Ct,$t.REPETITION,r.maxLookahead,lt(r))})),Object(i["u"])(o,(function(r){t.computeLookaheadFunc(e,r.idx,Tt,$t.OPTION,r.maxLookahead,lt(r))})),Object(i["u"])(s,(function(r){t.computeLookaheadFunc(e,r.idx,xt,$t.REPETITION_MANDATORY,r.maxLookahead,lt(r))})),Object(i["u"])(l,(function(r){t.computeLookaheadFunc(e,r.idx,Nt,$t.REPETITION_MANDATORY_WITH_SEPARATOR,r.maxLookahead,lt(r))})),Object(i["u"])(u,(function(r){t.computeLookaheadFunc(e,r.idx,At,$t.REPETITION_WITH_SEPARATOR,r.maxLookahead,lt(r))}))}))}))},e.prototype.computeLookaheadFunc=function(e,t,r,n,i,a){var o=this;this.TRACE_INIT(""+a+(0===t?"":t),(function(){var a=tr(t,e,i||o.maxLookahead,o.dynamicTokensEnabled,n,o.lookAheadBuilderForOptional),s=Ot(o.fullRuleNameToShort[e.name],r,t);o.setLaFuncCache(s,a)}))},e.prototype.lookAheadBuilderForOptional=function(e,t,r){return nr(e,t,r)},e.prototype.lookAheadBuilderForAlternatives=function(e,t,r,n){return rr(e,t,r,n)},e.prototype.getKeyForAutomaticLookahead=function(e,t){var r=this.getLastExplicitRuleShortName();return Ot(r,e,t)},e.prototype.getLaFuncFromCache=function(e){},e.prototype.getLaFuncFromMap=function(e){return this.lookAheadFuncsCache.get(e)},e.prototype.getLaFuncFromObj=function(e){return this.lookAheadFuncsCache[e]},e.prototype.setLaFuncCache=function(e,t){},e.prototype.setLaFuncCacheUsingMap=function(e,t){this.lookAheadFuncsCache.set(e,t)},e.prototype.setLaFuncUsingObj=function(e,t){this.lookAheadFuncsCache[e]=t},e}();function pn(e){return vn(e.constructor)}var fn,mn=/^\s*function\s*(\S*)\s*\(/,gn="name";function vn(e){var t=e.name;if(t)return t;var r=e.toString().match(mn)[1];return r}function bn(e,t){var r=Object.getOwnPropertyDescriptor(e,gn);return!(!Object(i["F"])(r)&&!r.configurable)&&(Object.defineProperty(e,gn,{enumerable:!1,configurable:!0,writable:!1,value:t}),!0)}function yn(e,t){for(var r=Object(i["G"])(e),n=r.length,a=0;a<n;a++)for(var o=r[a],s=e[o],l=s.length,u=0;u<l;u++){var c=s[u];void 0===c.tokenTypeIdx&&(void 0!==c.fullName?this[c.fullName](c.children,t):this[c.name](c.children,t))}}function wn(e,t){var r=function(){};bn(r,e+"BaseSemantics");var n={visit:function(e,t){if(Object(i["y"])(e)&&(e=e[0]),!Object(i["F"])(e))return void 0!==e.fullName?this[e.fullName](e.children,t):this[e.name](e.children,t)},validateVisitor:function(){var e=Sn(this,t);if(!Object(i["A"])(e)){var r=Object(i["I"])(e,(function(e){return e.msg}));throw Error("Errors Detected in CST Visitor <"+vn(this.constructor)+">:\n\t"+r.join("\n\n").replace(/\n/g,"\n\t"))}}};return r.prototype=n,r.prototype.constructor=r,r._RULE_NAMES=t,r}function _n(e,t,r){var n=function(){};bn(n,e+"BaseSemanticsWithDefaults");var a=Object.create(r.prototype);return Object(i["u"])(t,(function(e){a[e]=yn})),n.prototype=a,n.prototype.constructor=n,n}function Sn(e,t){var r=En(e,t),n=Tn(e,t);return r.concat(n)}function En(e,t){var r=Object(i["I"])(t,(function(t){if(!Object(i["B"])(e[t]))return{msg:"Missing visitor method: <"+t+"> on "+vn(e.constructor)+" CST Visitor.",type:fn.MISSING_METHOD,methodName:t}}));return Object(i["i"])(r)}(function(e){e[e["REDUNDANT_METHOD"]=0]="REDUNDANT_METHOD",e[e["MISSING_METHOD"]=1]="MISSING_METHOD"})(fn||(fn={}));var Mn=["constructor","visit","validateVisitor"];function Tn(e,t){var r=[];for(var n in e)Sr.test(n)&&Object(i["B"])(e[n])&&!Object(i["j"])(Mn,n)&&!Object(i["j"])(t,n)&&r.push({msg:"Redundant visitor method: <"+n+"> on "+vn(e.constructor)+" CST Visitor\nThere is no Grammar Rule corresponding to this method's name.\nFor utility methods on visitor classes use methods names that do not match /"+Sr.source+"/.",type:fn.REDUNDANT_METHOD,methodName:n});return r}var Cn=function(){function e(){}return e.prototype.initTreeBuilder=function(e){if(this.LAST_EXPLICIT_RULE_STACK=[],this.CST_STACK=[],this.outputCst=Object(i["w"])(e,"outputCst")?e.outputCst:Gn.outputCst,this.nodeLocationTracking=Object(i["w"])(e,"nodeLocationTracking")?e.nodeLocationTracking:Gn.nodeLocationTracking,this.outputCst)if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Dt,this.setNodeLocationFromNode=Dt,this.cstPostRule=i["b"],this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=i["b"],this.setNodeLocationFromNode=i["b"],this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=It,this.setNodeLocationFromNode=It,this.cstPostRule=i["b"],this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=i["b"],this.setNodeLocationFromNode=i["b"],this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else{if(!/none/i.test(this.nodeLocationTracking))throw Error('Invalid <nodeLocationTracking> config option: "'+e.nodeLocationTracking+'"');this.setNodeLocationFromToken=i["b"],this.setNodeLocationFromNode=i["b"],this.cstPostRule=i["b"],this.setInitialNodeLocation=i["b"]}else this.cstInvocationStateUpdate=i["b"],this.cstFinallyStateUpdate=i["b"],this.cstPostTerminal=i["b"],this.cstPostNonTerminal=i["b"],this.cstPostRule=i["b"],this.getLastExplicitRuleShortName=this.getLastExplicitRuleShortNameNoCst,this.getPreviousExplicitRuleShortName=this.getPreviousExplicitRuleShortNameNoCst,this.getLastExplicitRuleOccurrenceIndex=this.getLastExplicitRuleOccurrenceIndexNoCst,this.manyInternal=this.manyInternalNoCst,this.orInternal=this.orInternalNoCst,this.optionInternal=this.optionInternalNoCst,this.atLeastOneInternal=this.atLeastOneInternalNoCst,this.manySepFirstInternal=this.manySepFirstInternalNoCst,this.atLeastOneSepFirstInternal=this.atLeastOneSepFirstInternalNoCst},e.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(e){e.location={startOffset:NaN,endOffset:NaN}},e.prototype.setInitialNodeLocationOnlyOffsetRegular=function(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},e.prototype.setInitialNodeLocationFullRecovery=function(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.setInitialNodeLocationFullRegular=function(e){var t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.cstNestedInvocationStateUpdate=function(e,t){var r={name:e,fullName:this.shortRuleNameToFull[this.getLastExplicitRuleShortName()]+e,children:{}};this.setInitialNodeLocation(r),this.CST_STACK.push(r)},e.prototype.cstInvocationStateUpdate=function(e,t){this.LAST_EXPLICIT_RULE_STACK.push(this.RULE_STACK.length-1);var r={name:e,children:{}};this.setInitialNodeLocation(r),this.CST_STACK.push(r)},e.prototype.cstFinallyStateUpdate=function(){this.LAST_EXPLICIT_RULE_STACK.pop(),this.CST_STACK.pop()},e.prototype.cstNestedFinallyStateUpdate=function(){var e=this.CST_STACK.pop();this.cstPostRule(e)},e.prototype.cstPostRuleFull=function(e){var t=this.LA(0),r=e.location;r.startOffset<=t.startOffset===!0?(r.endOffset=t.endOffset,r.endLine=t.endLine,r.endColumn=t.endColumn):(r.startOffset=NaN,r.startLine=NaN,r.startColumn=NaN)},e.prototype.cstPostRuleOnlyOffset=function(e){var t=this.LA(0),r=e.location;r.startOffset<=t.startOffset===!0?r.endOffset=t.endOffset:r.startOffset=NaN},e.prototype.cstPostTerminal=function(e,t){var r=this.CST_STACK[this.CST_STACK.length-1];Pt(r,t,e),this.setNodeLocationFromToken(r.location,t)},e.prototype.cstPostNonTerminal=function(e,t){if(!0!==this.isBackTracking()){var r=this.CST_STACK[this.CST_STACK.length-1];jt(r,t,e),this.setNodeLocationFromNode(r.location,e.location)}},e.prototype.getBaseCstVisitorConstructor=function(){if(Object(i["F"])(this.baseCstVisitorConstructor)){var e=wn(this.className,this.allRuleNames);return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},e.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if(Object(i["F"])(this.baseCstVisitorWithDefaultsConstructor)){var e=_n(this.className,this.allRuleNames,this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor},e.prototype.nestedRuleBeforeClause=function(e,t){var r;return void 0!==e.NAME?(r=e.NAME,this.nestedRuleInvocationStateUpdate(r,t),r):void 0},e.prototype.nestedAltBeforeClause=function(e,t,r,n){var i,a=this.getLastExplicitRuleShortName(),o=Lt(a,r,t,n);return void 0!==e.NAME?(i=e.NAME,this.nestedRuleInvocationStateUpdate(i,o),{shortName:o,nestedName:i}):void 0},e.prototype.nestedRuleFinallyClause=function(e,t){var r=this.CST_STACK,n=r[r.length-1];this.nestedRuleFinallyStateUpdate();var i=r[r.length-1];jt(i,t,n),this.setNodeLocationFromNode(i.location,n.location)},e.prototype.getLastExplicitRuleShortName=function(){var e=this.LAST_EXPLICIT_RULE_STACK[this.LAST_EXPLICIT_RULE_STACK.length-1];return this.RULE_STACK[e]},e.prototype.getLastExplicitRuleShortNameNoCst=function(){var e=this.RULE_STACK;return e[e.length-1]},e.prototype.getPreviousExplicitRuleShortName=function(){var e=this.LAST_EXPLICIT_RULE_STACK[this.LAST_EXPLICIT_RULE_STACK.length-2];return this.RULE_STACK[e]},e.prototype.getPreviousExplicitRuleShortNameNoCst=function(){var e=this.RULE_STACK;return e[e.length-2]},e.prototype.getLastExplicitRuleOccurrenceIndex=function(){var e=this.LAST_EXPLICIT_RULE_STACK[this.LAST_EXPLICIT_RULE_STACK.length-1];return this.RULE_OCCURRENCE_STACK[e]},e.prototype.getLastExplicitRuleOccurrenceIndexNoCst=function(){var e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]},e.prototype.nestedRuleInvocationStateUpdate=function(e,t){this.RULE_OCCURRENCE_STACK.push(1),this.RULE_STACK.push(t),this.cstNestedInvocationStateUpdate(e,t)},e.prototype.nestedRuleFinallyStateUpdate=function(){this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstNestedFinallyStateUpdate()},e}(),xn=function(){function e(){}return e.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(e.prototype,"input",{get:function(){return this.tokVector},set:function(e){if(!0!==this.selfAnalysisDone)throw Error("Missing <performSelfAnalysis> invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length},enumerable:!0,configurable:!0}),e.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Wn},e.prototype.LA=function(e){var t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Wn:this.tokVector[t]},e.prototype.consumeToken=function(){this.currIdx++},e.prototype.exportLexerState=function(){return this.currIdx},e.prototype.importLexerState=function(e){this.currIdx=e},e.prototype.resetLexerState=function(){this.currIdx=-1},e.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},e.prototype.getLexerPosition=function(){return this.exportLexerState()},e}(),An=function(){function e(){}return e.prototype.ACTION=function(e){return e.call(this)},e.prototype.consume=function(e,t,r){return this.consumeInternal(t,e,r)},e.prototype.subrule=function(e,t,r){return this.subruleInternal(t,e,r)},e.prototype.option=function(e,t){return this.optionInternal(t,e)},e.prototype.or=function(e,t){return this.orInternal(t,e)},e.prototype.many=function(e,t){return this.manyInternal(e,t)},e.prototype.atLeastOne=function(e,t){return this.atLeastOneInternal(e,t)},e.prototype.CONSUME=function(e,t){return this.consumeInternal(e,0,t)},e.prototype.CONSUME1=function(e,t){return this.consumeInternal(e,1,t)},e.prototype.CONSUME2=function(e,t){return this.consumeInternal(e,2,t)},e.prototype.CONSUME3=function(e,t){return this.consumeInternal(e,3,t)},e.prototype.CONSUME4=function(e,t){return this.consumeInternal(e,4,t)},e.prototype.CONSUME5=function(e,t){return this.consumeInternal(e,5,t)},e.prototype.CONSUME6=function(e,t){return this.consumeInternal(e,6,t)},e.prototype.CONSUME7=function(e,t){return this.consumeInternal(e,7,t)},e.prototype.CONSUME8=function(e,t){return this.consumeInternal(e,8,t)},e.prototype.CONSUME9=function(e,t){return this.consumeInternal(e,9,t)},e.prototype.SUBRULE=function(e,t){return this.subruleInternal(e,0,t)},e.prototype.SUBRULE1=function(e,t){return this.subruleInternal(e,1,t)},e.prototype.SUBRULE2=function(e,t){return this.subruleInternal(e,2,t)},e.prototype.SUBRULE3=function(e,t){return this.subruleInternal(e,3,t)},e.prototype.SUBRULE4=function(e,t){return this.subruleInternal(e,4,t)},e.prototype.SUBRULE5=function(e,t){return this.subruleInternal(e,5,t)},e.prototype.SUBRULE6=function(e,t){return this.subruleInternal(e,6,t)},e.prototype.SUBRULE7=function(e,t){return this.subruleInternal(e,7,t)},e.prototype.SUBRULE8=function(e,t){return this.subruleInternal(e,8,t)},e.prototype.SUBRULE9=function(e,t){return this.subruleInternal(e,9,t)},e.prototype.OPTION=function(e){return this.optionInternal(e,0)},e.prototype.OPTION1=function(e){return this.optionInternal(e,1)},e.prototype.OPTION2=function(e){return this.optionInternal(e,2)},e.prototype.OPTION3=function(e){return this.optionInternal(e,3)},e.prototype.OPTION4=function(e){return this.optionInternal(e,4)},e.prototype.OPTION5=function(e){return this.optionInternal(e,5)},e.prototype.OPTION6=function(e){return this.optionInternal(e,6)},e.prototype.OPTION7=function(e){return this.optionInternal(e,7)},e.prototype.OPTION8=function(e){return this.optionInternal(e,8)},e.prototype.OPTION9=function(e){return this.optionInternal(e,9)},e.prototype.OR=function(e){return this.orInternal(e,0)},e.prototype.OR1=function(e){return this.orInternal(e,1)},e.prototype.OR2=function(e){return this.orInternal(e,2)},e.prototype.OR3=function(e){return this.orInternal(e,3)},e.prototype.OR4=function(e){return this.orInternal(e,4)},e.prototype.OR5=function(e){return this.orInternal(e,5)},e.prototype.OR6=function(e){return this.orInternal(e,6)},e.prototype.OR7=function(e){return this.orInternal(e,7)},e.prototype.OR8=function(e){return this.orInternal(e,8)},e.prototype.OR9=function(e){return this.orInternal(e,9)},e.prototype.MANY=function(e){this.manyInternal(0,e)},e.prototype.MANY1=function(e){this.manyInternal(1,e)},e.prototype.MANY2=function(e){this.manyInternal(2,e)},e.prototype.MANY3=function(e){this.manyInternal(3,e)},e.prototype.MANY4=function(e){this.manyInternal(4,e)},e.prototype.MANY5=function(e){this.manyInternal(5,e)},e.prototype.MANY6=function(e){this.manyInternal(6,e)},e.prototype.MANY7=function(e){this.manyInternal(7,e)},e.prototype.MANY8=function(e){this.manyInternal(8,e)},e.prototype.MANY9=function(e){this.manyInternal(9,e)},e.prototype.MANY_SEP=function(e){this.manySepFirstInternal(0,e)},e.prototype.MANY_SEP1=function(e){this.manySepFirstInternal(1,e)},e.prototype.MANY_SEP2=function(e){this.manySepFirstInternal(2,e)},e.prototype.MANY_SEP3=function(e){this.manySepFirstInternal(3,e)},e.prototype.MANY_SEP4=function(e){this.manySepFirstInternal(4,e)},e.prototype.MANY_SEP5=function(e){this.manySepFirstInternal(5,e)},e.prototype.MANY_SEP6=function(e){this.manySepFirstInternal(6,e)},e.prototype.MANY_SEP7=function(e){this.manySepFirstInternal(7,e)},e.prototype.MANY_SEP8=function(e){this.manySepFirstInternal(8,e)},e.prototype.MANY_SEP9=function(e){this.manySepFirstInternal(9,e)},e.prototype.AT_LEAST_ONE=function(e){this.atLeastOneInternal(0,e)},e.prototype.AT_LEAST_ONE1=function(e){return this.atLeastOneInternal(1,e)},e.prototype.AT_LEAST_ONE2=function(e){this.atLeastOneInternal(2,e)},e.prototype.AT_LEAST_ONE3=function(e){this.atLeastOneInternal(3,e)},e.prototype.AT_LEAST_ONE4=function(e){this.atLeastOneInternal(4,e)},e.prototype.AT_LEAST_ONE5=function(e){this.atLeastOneInternal(5,e)},e.prototype.AT_LEAST_ONE6=function(e){this.atLeastOneInternal(6,e)},e.prototype.AT_LEAST_ONE7=function(e){this.atLeastOneInternal(7,e)},e.prototype.AT_LEAST_ONE8=function(e){this.atLeastOneInternal(8,e)},e.prototype.AT_LEAST_ONE9=function(e){this.atLeastOneInternal(9,e)},e.prototype.AT_LEAST_ONE_SEP=function(e){this.atLeastOneSepFirstInternal(0,e)},e.prototype.AT_LEAST_ONE_SEP1=function(e){this.atLeastOneSepFirstInternal(1,e)},e.prototype.AT_LEAST_ONE_SEP2=function(e){this.atLeastOneSepFirstInternal(2,e)},e.prototype.AT_LEAST_ONE_SEP3=function(e){this.atLeastOneSepFirstInternal(3,e)},e.prototype.AT_LEAST_ONE_SEP4=function(e){this.atLeastOneSepFirstInternal(4,e)},e.prototype.AT_LEAST_ONE_SEP5=function(e){this.atLeastOneSepFirstInternal(5,e)},e.prototype.AT_LEAST_ONE_SEP6=function(e){this.atLeastOneSepFirstInternal(6,e)},e.prototype.AT_LEAST_ONE_SEP7=function(e){this.atLeastOneSepFirstInternal(7,e)},e.prototype.AT_LEAST_ONE_SEP8=function(e){this.atLeastOneSepFirstInternal(8,e)},e.prototype.AT_LEAST_ONE_SEP9=function(e){this.atLeastOneSepFirstInternal(9,e)},e.prototype.RULE=function(e,t,r){if(void 0===r&&(r=Kn),Object(i["j"])(this.definedRulesNames,e)){var n=Yr.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),a={message:n,type:qn.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(a)}this.definedRulesNames.push(e);var o=this.defineRule(e,t,r);return this[e]=o,o},e.prototype.OVERRIDE_RULE=function(e,t,r){void 0===r&&(r=Kn);var n=[];n=n.concat(Ar(e,this.definedRulesNames,this.className)),this.definitionErrors.push.apply(this.definitionErrors,n);var i=this.defineRule(e,t,r);return this[e]=i,i},e.prototype.BACKTRACK=function(e,t){return function(){this.isBackTrackingStack.push(1);var r=this.saveRecogState();try{return e.apply(this,t),!0}catch(n){if(tn(n))return!1;throw n}finally{this.reloadRecogState(r),this.isBackTrackingStack.pop()}}},e.prototype.getGAstProductions=function(){return this.gastProductionsCache},e.prototype.getSerializedGastProductions=function(){return Qe(Object(i["U"])(this.gastProductionsCache))},e}(),Nn=function(){function e(){}return e.prototype.initRecognizerEngine=function(e,t){if(this.className=pn(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=oe,this.definedRulesNames=[],this.tokensMap={},this.allRuleNames=[],this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},Object(i["w"])(t,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a <serializedGrammar> property.\n\tSee: https://sap.github.io/chevrotain/docs/changes/BREAKING_CHANGES.html#_6-0-0\n\tFor Further details.");if(Object(i["y"])(e)){if(Object(i["A"])(e))throw Error("A Token Vocabulary cannot be empty.\n\tNote that the first argument for the parser constructor\n\tis no longer a Token vector (since v4.0).");if("number"===typeof e[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n\tSee: https://sap.github.io/chevrotain/docs/changes/BREAKING_CHANGES.html#_4-0-0\n\tFor Further details.")}if(Object(i["y"])(e))this.tokensMap=Object(i["O"])(e,(function(e,t){return e[t.name]=t,e}),{});else if(Object(i["w"])(e,"modes")&&Object(i["o"])(Object(i["t"])(Object(i["U"])(e.modes)),ye)){var r=Object(i["t"])(Object(i["U"])(e.modes)),n=Object(i["T"])(r);this.tokensMap=Object(i["O"])(n,(function(e,t){return e[t.name]=t,e}),{})}else{if(!Object(i["C"])(e))throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=Object(i["h"])(e)}this.tokensMap["EOF"]=Fe;var a=Object(i["o"])(Object(i["U"])(e),(function(e){return Object(i["A"])(e.categoryMatches)}));this.tokenMatcher=a?oe:ae,ue(Object(i["U"])(this.tokensMap))},e.prototype.defineRule=function(e,t,r){if(this.selfAnalysisDone)throw Error("Grammar rule <"+e+"> may not be defined after the 'performSelfAnalysis' method has been called'\nMake sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.");var n,a=Object(i["w"])(r,"resyncEnabled")?r.resyncEnabled:Kn.resyncEnabled,o=Object(i["w"])(r,"recoveryValueFunc")?r.recoveryValueFunc:Kn.recoveryValueFunc,s=this.ruleShortNameIdx<<_t+St;function l(e){try{if(!0===this.outputCst){t.apply(this,e);var r=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(r),r}return t.apply(this,e)}catch(n){return this.invokeRuleCatch(n,a,o)}finally{this.ruleFinallyStateUpdate()}}this.ruleShortNameIdx++,this.shortRuleNameToFull[s]=e,this.fullRuleNameToShort[e]=s,n=function(t,r){return void 0===t&&(t=0),this.ruleInvocationStateUpdate(s,e,t),l.call(this,r)};var u="ruleName";return n[u]=e,n["originalGrammarAction"]=t,n},e.prototype.invokeRuleCatch=function(e,t,r){var n=1===this.RULE_STACK.length,i=t&&!this.isBackTracking()&&this.recoveryEnabled;if(tn(e)){var a=e;if(i){var o=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(o)){if(a.resyncedTokens=this.reSyncTo(o),this.outputCst){var s=this.CST_STACK[this.CST_STACK.length-1];return s.recoveredNode=!0,s}return r()}if(this.outputCst){s=this.CST_STACK[this.CST_STACK.length-1];s.recoveredNode=!0,a.partialCstResult=s}throw a}if(n)return this.moveToTerminatedState(),r();throw a}throw e},e.prototype.optionInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(Tt,t),n=this.nestedRuleBeforeClause(e,r);try{return this.optionInternalLogic(e,t,r)}finally{void 0!==n&&this.nestedRuleFinallyClause(r,n)}},e.prototype.optionInternalNoCst=function(e,t){var r=this.getKeyForAutomaticLookahead(Tt,t);return this.optionInternalLogic(e,t,r)},e.prototype.optionInternalLogic=function(e,t,r){var n,i,a=this,o=this.getLaFuncFromCache(r);if(void 0!==e.DEF){if(n=e.DEF,i=e.GATE,void 0!==i){var s=o;o=function(){return i.call(a)&&s.call(a)}}}else n=e;if(!0===o.call(this))return n.call(this)},e.prototype.atLeastOneInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(xt,e),n=this.nestedRuleBeforeClause(t,r);try{return this.atLeastOneInternalLogic(e,t,r)}finally{void 0!==n&&this.nestedRuleFinallyClause(r,n)}},e.prototype.atLeastOneInternalNoCst=function(e,t){var r=this.getKeyForAutomaticLookahead(xt,e);this.atLeastOneInternalLogic(e,t,r)},e.prototype.atLeastOneInternalLogic=function(e,t,r){var n,i,a=this,o=this.getLaFuncFromCache(r);if(void 0!==t.DEF){if(n=t.DEF,i=t.GATE,void 0!==i){var s=o;o=function(){return i.call(a)&&s.call(a)}}}else n=t;if(!0!==o.call(this))throw this.raiseEarlyExitException(e,$t.REPETITION_MANDATORY,t.ERR_MSG);var l=this.doSingleRepetition(n);while(!0===o.call(this)&&!0===l)l=this.doSingleRepetition(n);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,t],o,xt,e,qt)},e.prototype.atLeastOneSepFirstInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(Nt,e),n=this.nestedRuleBeforeClause(t,r);try{this.atLeastOneSepFirstInternalLogic(e,t,r)}finally{void 0!==n&&this.nestedRuleFinallyClause(r,n)}},e.prototype.atLeastOneSepFirstInternalNoCst=function(e,t){var r=this.getKeyForAutomaticLookahead(Nt,e);this.atLeastOneSepFirstInternalLogic(e,t,r)},e.prototype.atLeastOneSepFirstInternalLogic=function(e,t,r){var n=this,i=t.DEF,a=t.SEP,o=this.getLaFuncFromCache(r);if(!0!==o.call(this))throw this.raiseEarlyExitException(e,$t.REPETITION_MANDATORY_WITH_SEPARATOR,t.ERR_MSG);i.call(this);var s=function(){return n.tokenMatcher(n.LA(1),a)};while(!0===this.tokenMatcher(this.LA(1),a))this.CONSUME(a),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,a,s,i,Gt],s,Nt,e,Gt)},e.prototype.manyInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(Ct,e),n=this.nestedRuleBeforeClause(t,r);try{return this.manyInternalLogic(e,t,r)}finally{void 0!==n&&this.nestedRuleFinallyClause(r,n)}},e.prototype.manyInternalNoCst=function(e,t){var r=this.getKeyForAutomaticLookahead(Ct,e);return this.manyInternalLogic(e,t,r)},e.prototype.manyInternalLogic=function(e,t,r){var n,i,a=this,o=this.getLaFuncFromCache(r);if(void 0!==t.DEF){if(n=t.DEF,i=t.GATE,void 0!==i){var s=o;o=function(){return i.call(a)&&s.call(a)}}}else n=t;var l=!0;while(!0===o.call(this)&&!0===l)l=this.doSingleRepetition(n);this.attemptInRepetitionRecovery(this.manyInternal,[e,t],o,Ct,e,zt,l)},e.prototype.manySepFirstInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(At,e),n=this.nestedRuleBeforeClause(t,r);try{this.manySepFirstInternalLogic(e,t,r)}finally{void 0!==n&&this.nestedRuleFinallyClause(r,n)}},e.prototype.manySepFirstInternalNoCst=function(e,t){var r=this.getKeyForAutomaticLookahead(At,e);this.manySepFirstInternalLogic(e,t,r)},e.prototype.manySepFirstInternalLogic=function(e,t,r){var n=this,i=t.DEF,a=t.SEP,o=this.getLaFuncFromCache(r);if(!0===o.call(this)){i.call(this);var s=function(){return n.tokenMatcher(n.LA(1),a)};while(!0===this.tokenMatcher(this.LA(1),a))this.CONSUME(a),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,a,s,i,Wt],s,At,e,Wt)}},e.prototype.repetitionSepSecondInternal=function(e,t,r,n,i){while(r())this.CONSUME(t),n.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,t,r,n,i],r,Nt,e,i)},e.prototype.doSingleRepetition=function(e){var t=this.getLexerPosition();e.call(this);var r=this.getLexerPosition();return r>t},e.prototype.orInternalNoCst=function(e,t){var r=Object(i["y"])(e)?e:e.DEF,n=this.getKeyForAutomaticLookahead(Mt,t),a=this.getLaFuncFromCache(n),o=a.call(this,r);if(void 0!==o){var s=r[o];return s.ALT.call(this)}this.raiseNoAltException(t,e.ERR_MSG)},e.prototype.orInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(Mt,t),n=this.nestedRuleBeforeClause(e,r);try{var a=Object(i["y"])(e)?e:e.DEF,o=this.getLaFuncFromCache(r),s=o.call(this,a);if(void 0!==s){var l=a[s],u=this.nestedAltBeforeClause(l,t,Mt,s);try{return l.ALT.call(this)}finally{void 0!==u&&this.nestedRuleFinallyClause(u.shortName,u.nestedName)}}this.raiseNoAltException(t,e.ERR_MSG)}finally{void 0!==n&&this.nestedRuleFinallyClause(r,n)}},e.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){var e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new an(t,e))}},e.prototype.subruleInternal=function(e,t,r){var n;try{var i=void 0!==r?r.ARGS:void 0;return n=e.call(this,t,i),this.cstPostNonTerminal(n,void 0!==r&&void 0!==r.LABEL?r.LABEL:e.ruleName),n}catch(a){this.subruleInternalError(a,r,e.ruleName)}},e.prototype.subruleInternalError=function(e,t,r){throw tn(e)&&void 0!==e.partialCstResult&&(this.cstPostNonTerminal(e.partialCstResult,void 0!==t&&void 0!==t.LABEL?t.LABEL:r),delete e.partialCstResult),e},e.prototype.consumeInternal=function(e,t,r){var n;try{var i=this.LA(1);!0===this.tokenMatcher(i,e)?(this.consumeToken(),n=i):this.consumeInternalError(e,i,r)}catch(a){n=this.consumeInternalRecovery(e,t,a)}return this.cstPostTerminal(void 0!==r&&void 0!==r.LABEL?r.LABEL:e.name,n),n},e.prototype.consumeInternalError=function(e,t,r){var n,i=this.LA(0);throw n=void 0!==r&&r.ERR_MSG?r.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:i,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new rn(n,t,i))},e.prototype.consumeInternalRecovery=function(e,t,r){if(!this.recoveryEnabled||"MismatchedTokenException"!==r.name||this.isBackTracking())throw r;var n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(i){throw i.name===ln?r:i}},e.prototype.saveRecogState=function(){var e=this.errors,t=Object(i["g"])(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK,LAST_EXPLICIT_RULE_STACK:this.LAST_EXPLICIT_RULE_STACK}},e.prototype.reloadRecogState=function(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK},e.prototype.ruleInvocationStateUpdate=function(e,t,r){this.RULE_OCCURRENCE_STACK.push(r),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t,e)},e.prototype.isBackTracking=function(){return 0!==this.isBackTrackingStack.length},e.prototype.getCurrRuleFullName=function(){var e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]},e.prototype.shortRuleNameToFullName=function(e){return this.shortRuleNameToFull[e]},e.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),Fe)},e.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.LAST_EXPLICIT_RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},e}(),On=function(){function e(){}return e.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=Object(i["k"])(e.errorMessageProvider,Gn.errorMessageProvider)},e.prototype.SAVE_ERROR=function(e){if(tn(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:Object(i["g"])(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(e.prototype,"errors",{get:function(){return Object(i["g"])(this._errors)},set:function(e){this._errors=e},enumerable:!0,configurable:!0}),e.prototype.raiseEarlyExitException=function(e,t,r){for(var n=this.getCurrRuleFullName(),i=this.getGAstProductions()[n],a=dr(e,i,t,this.maxLookahead),o=a[0],s=[],l=1;l<=this.maxLookahead;l++)s.push(this.LA(l));var u=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:o,actual:s,previous:this.LA(0),customUserDescription:r,ruleName:n});throw this.SAVE_ERROR(new on(u,this.LA(1),this.LA(0)))},e.prototype.raiseNoAltException=function(e,t){for(var r=this.getCurrRuleFullName(),n=this.getGAstProductions()[r],i=cr(e,n,this.maxLookahead),a=[],o=1;o<=this.maxLookahead;o++)a.push(this.LA(o));var s=this.LA(0),l=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:i,actual:a,previous:s,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new nn(l,this.LA(1),s))},e}(),Rn=function(){function e(){}return e.prototype.initContentAssist=function(){},e.prototype.computeContentAssist=function(e,t){var r=this.gastProductionsCache[e];if(Object(i["F"])(r))throw Error("Rule ->"+e+"<- does not exist in this grammar.");return Xt([r],t,this.tokenMatcher,this.maxLookahead)},e.prototype.getNextPossibleTokenTypes=function(e){var t=Object(i["s"])(e.ruleStack),r=this.getGAstProductions(),n=r[t],a=new Vt(n,e).startWalking();return a},e}(),Ln={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(Ln);var kn=!0,In=Math.pow(2,St)-1,Dn=Pe({name:"RECORDING_PHASE_TOKEN",pattern:Ee.NA});ue([Dn]);var Pn=He(Dn,"This IToken indicates the Parser is in Recording Phase\n\tSee: https://sap.github.io/chevrotain/docs/guide/internals.html#grammar-recording for details",-1,-1,-1,-1,-1,-1);Object.freeze(Pn);var jn={name:"This CSTNode indicates the Parser is in Recording Phase\n\tSee: https://sap.github.io/chevrotain/docs/guide/internals.html#grammar-recording for details",children:{}},Fn=function(){function e(){}return e.prototype.initGastRecorder=function(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1},e.prototype.enableRecording=function(){var e=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",(function(){for(var t=function(t){var r=t>0?t:"";e["CONSUME"+r]=function(e,r){return this.consumeInternalRecord(e,t,r)},e["SUBRULE"+r]=function(e,r){return this.subruleInternalRecord(e,t,r)},e["OPTION"+r]=function(e){return this.optionInternalRecord(e,t)},e["OR"+r]=function(e){return this.orInternalRecord(e,t)},e["MANY"+r]=function(e){this.manyInternalRecord(t,e)},e["MANY_SEP"+r]=function(e){this.manySepFirstInternalRecord(t,e)},e["AT_LEAST_ONE"+r]=function(e){this.atLeastOneInternalRecord(t,e)},e["AT_LEAST_ONE_SEP"+r]=function(e){this.atLeastOneSepFirstInternalRecord(t,e)}},r=0;r<10;r++)t(r);e["consume"]=function(e,t,r){return this.consumeInternalRecord(t,e,r)},e["subrule"]=function(e,t,r){return this.subruleInternalRecord(t,e,r)},e["option"]=function(e,t){return this.optionInternalRecord(t,e)},e["or"]=function(e,t){return this.orInternalRecord(t,e)},e["many"]=function(e,t){this.manyInternalRecord(e,t)},e["atLeastOne"]=function(e,t){this.atLeastOneInternalRecord(e,t)},e.ACTION=e.ACTION_RECORD,e.BACKTRACK=e.BACKTRACK_RECORD,e.LA=e.LA_RECORD}))},e.prototype.disableRecording=function(){var e=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",(function(){for(var t=0;t<10;t++){var r=t>0?t:"";delete e["CONSUME"+r],delete e["SUBRULE"+r],delete e["OPTION"+r],delete e["OR"+r],delete e["MANY"+r],delete e["MANY_SEP"+r],delete e["AT_LEAST_ONE"+r],delete e["AT_LEAST_ONE_SEP"+r]}delete e["consume"],delete e["subrule"],delete e["option"],delete e["or"],delete e["many"],delete e["atLeastOne"],delete e.ACTION,delete e.BACKTRACK,delete e.LA}))},e.prototype.ACTION_RECORD=function(e){},e.prototype.BACKTRACK_RECORD=function(e,t){return function(){return!0}},e.prototype.LA_RECORD=function(e){return Wn},e.prototype.topLevelRuleRecord=function(e,t){try{var r=new ze({definition:[],name:e});return r.name=e,this.recordingProdStack.push(r),t.call(this),this.recordingProdStack.pop(),r}catch(n){if(!0!==n.KNOWN_RECORDER_ERROR)try{n.message=n.message+'\n\t This error was thrown during the "grammar recording phase" For more info see:\n\thttps://sap.github.io/chevrotain/docs/guide/internals.html#grammar-recording'}catch(i){throw n}throw n}},e.prototype.optionInternalRecord=function(e,t){return Hn.call(this,qe,e,t)},e.prototype.atLeastOneInternalRecord=function(e,t){Hn.call(this,Ge,t,e)},e.prototype.atLeastOneSepFirstInternalRecord=function(e,t){Hn.call(this,Ke,t,e,kn)},e.prototype.manyInternalRecord=function(e,t){Hn.call(this,Xe,t,e)},e.prototype.manySepFirstInternalRecord=function(e,t){Hn.call(this,Ze,t,e,kn)},e.prototype.orInternalRecord=function(e,t){return Bn.call(this,e,t)},e.prototype.subruleInternalRecord=function(e,t,r){if(Vn(t),!e||!1===Object(i["w"])(e,"ruleName")){var n=new Error("<SUBRULE"+Un(t)+"> argument is invalid expecting a Parser method reference but got: <"+JSON.stringify(e)+">\n inside top level rule: <"+this.recordingProdStack[0].name+">");throw n.KNOWN_RECORDER_ERROR=!0,n}var a=Object(i["M"])(this.recordingProdStack),o=e["ruleName"],s=new Ye({idx:t,nonTerminalName:o,referencedRule:void 0});return a.definition.push(s),this.outputCst?jn:Ln},e.prototype.consumeInternalRecord=function(e,t,r){if(Vn(t),!me(e)){var n=new Error("<CONSUME"+Un(t)+"> argument is invalid expecting a TokenType reference but got: <"+JSON.stringify(e)+">\n inside top level rule: <"+this.recordingProdStack[0].name+">");throw n.KNOWN_RECORDER_ERROR=!0,n}var a=Object(i["M"])(this.recordingProdStack),o=new Je({idx:t,terminalType:e});return a.definition.push(o),Pn},e}();function Hn(e,t,r,n){void 0===n&&(n=!1),Vn(r);var a=Object(i["M"])(this.recordingProdStack),o=Object(i["B"])(t)?t:t.DEF,s=new e({definition:[],idx:r});return Object(i["w"])(t,"NAME")&&(s.name=t.NAME),n&&(s.separator=t.SEP),Object(i["w"])(t,"MAX_LOOKAHEAD")&&(s.maxLookahead=t.MAX_LOOKAHEAD),this.recordingProdStack.push(s),o.call(this),a.definition.push(s),this.recordingProdStack.pop(),Ln}function Bn(e,t){var r=this;Vn(t);var n=Object(i["M"])(this.recordingProdStack),a=!1===Object(i["y"])(e),o=!1===a?e:e.DEF,s=new $e({definition:[],idx:t,ignoreAmbiguities:a&&!0===e.IGNORE_AMBIGUITIES});Object(i["w"])(e,"NAME")&&(s.name=e.NAME),Object(i["w"])(e,"MAX_LOOKAHEAD")&&(s.maxLookahead=e.MAX_LOOKAHEAD);var l=Object(i["Q"])(o,(function(e){return Object(i["B"])(e.GATE)}));return s.hasPredicates=l,n.definition.push(s),Object(i["u"])(o,(function(e){var t=new We({definition:[]});s.definition.push(t),Object(i["w"])(e,"NAME")&&(t.name=e.NAME),Object(i["w"])(e,"IGNORE_AMBIGUITIES")?t.ignoreAmbiguities=e.IGNORE_AMBIGUITIES:Object(i["w"])(e,"GATE")&&(t.ignoreAmbiguities=!0),r.recordingProdStack.push(t),e.ALT.call(r),r.recordingProdStack.pop()})),Ln}function Un(e){return 0===e?"":""+e}function Vn(e){if(e<0||e>In){var t=new Error("Invalid DSL Method idx value: <"+e+">\n\tIdx value must be a none negative value smaller than "+(In+1));throw t.KNOWN_RECORDER_ERROR=!0,t}}var Yn=function(){function e(){}return e.prototype.initPerformanceTracer=function(e){if(Object(i["w"])(e,"traceInitPerf")){var t=e.traceInitPerf,r="number"===typeof t;this.traceInitMaxIdent=r?t:1/0,this.traceInitPerf=r?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=Gn.traceInitPerf;this.traceInitIndent=-1},e.prototype.TRACE_INIT=function(e,t){if(!0===this.traceInitPerf){this.traceInitIndent++;var r=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(r+"--\x3e <"+e+">");var n=Object(i["R"])(t),a=n.time,o=n.value,s=a>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&s(r+"<-- <"+e+"> time: "+a+"ms"),this.traceInitIndent--,o}return t()},e}(),zn=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Wn=He(Fe,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Wn);var qn,Gn=Object.freeze({recoveryEnabled:!1,maxLookahead:4,ignoredIssues:{},dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:Ur,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),Kn=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});function Xn(e){return void 0===e&&(e=void 0),function(){return e}}(function(e){e[e["INVALID_RULE_NAME"]=0]="INVALID_RULE_NAME",e[e["DUPLICATE_RULE_NAME"]=1]="DUPLICATE_RULE_NAME",e[e["INVALID_RULE_OVERRIDE"]=2]="INVALID_RULE_OVERRIDE",e[e["DUPLICATE_PRODUCTIONS"]=3]="DUPLICATE_PRODUCTIONS",e[e["UNRESOLVED_SUBRULE_REF"]=4]="UNRESOLVED_SUBRULE_REF",e[e["LEFT_RECURSION"]=5]="LEFT_RECURSION",e[e["NONE_LAST_EMPTY_ALT"]=6]="NONE_LAST_EMPTY_ALT",e[e["AMBIGUOUS_ALTS"]=7]="AMBIGUOUS_ALTS",e[e["CONFLICT_TOKENS_RULES_NAMESPACE"]=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e[e["INVALID_TOKEN_NAME"]=9]="INVALID_TOKEN_NAME",e[e["INVALID_NESTED_RULE_NAME"]=10]="INVALID_NESTED_RULE_NAME",e[e["DUPLICATE_NESTED_NAME"]=11]="DUPLICATE_NESTED_NAME",e[e["NO_NON_EMPTY_LOOKAHEAD"]=12]="NO_NON_EMPTY_LOOKAHEAD",e[e["AMBIGUOUS_PREFIX_ALTS"]=13]="AMBIGUOUS_PREFIX_ALTS",e[e["TOO_MANY_ALTS"]=14]="TOO_MANY_ALTS"})(qn||(qn={}));var Zn=function(){function e(e,t){void 0===t&&(t=Gn),this.ignoredIssues=Gn.ignoredIssues,this.definitionErrors=[],this.selfAnalysisDone=!1;var r=this;r.initErrorHandler(t),r.initLexerAdapter(),r.initLooksAhead(t),r.initRecognizerEngine(e,t),r.initRecoverable(t),r.initTreeBuilder(t),r.initContentAssist(),r.initGastRecorder(t),r.initPerformanceTracer(t),Object(i["w"])(t,"ignoredIssues")&&t.ignoredIssues!==Gn.ignoredIssues&&Object(i["d"])("The <ignoredIssues> IParserConfig property is soft-deprecated and will be removed in future versions.\n\tPlease use the <IGNORE_AMBIGUITIES> flag on the relevant DSL method instead."),this.ignoredIssues=Object(i["w"])(t,"ignoredIssues")?t.ignoredIssues:Gn.ignoredIssues,this.skipValidations=Object(i["w"])(t,"skipValidations")?t.skipValidations:Gn.skipValidations}return e.performSelfAnalysis=function(e){e.performSelfAnalysis()},e.prototype.performSelfAnalysis=function(){var t=this;this.TRACE_INIT("performSelfAnalysis",(function(){var r;t.selfAnalysisDone=!0;var n=t.className;t.TRACE_INIT("toFastProps",(function(){Object(i["S"])(t)})),t.TRACE_INIT("Grammar Recording",(function(){try{t.enableRecording(),Object(i["u"])(t.definedRulesNames,(function(e){var r=t[e],n=r["originalGrammarAction"],i=void 0;t.TRACE_INIT(e+" Rule",(function(){i=t.topLevelRuleRecord(e,n)})),t.gastProductionsCache[e]=i}))}finally{t.disableRecording()}}));var a=[];if(t.TRACE_INIT("Grammar Resolving",(function(){a=Gr({rules:Object(i["U"])(t.gastProductionsCache)}),t.definitionErrors.push.apply(t.definitionErrors,a)})),t.TRACE_INIT("Grammar Validations",(function(){if(Object(i["A"])(a)&&!1===t.skipValidations){var e=Kr({rules:Object(i["U"])(t.gastProductionsCache),maxLookahead:t.maxLookahead,tokenTypes:Object(i["U"])(t.tokensMap),ignoredIssues:t.ignoredIssues,errMsgProvider:Yr,grammarName:n});t.definitionErrors.push.apply(t.definitionErrors,e)}})),Object(i["A"])(t.definitionErrors)&&(t.recoveryEnabled&&t.TRACE_INIT("computeAllProdsFollows",(function(){var e=yt(Object(i["U"])(t.gastProductionsCache));t.resyncFollows=e})),t.TRACE_INIT("ComputeLookaheadFunctions",(function(){t.preComputeLookaheadFunctions(Object(i["U"])(t.gastProductionsCache))}))),t.TRACE_INIT("expandAllNestedRuleNames",(function(){var e=Ht(Object(i["U"])(t.gastProductionsCache),t.fullRuleNameToShort);t.allRuleNames=e.allRuleNames})),!e.DEFER_DEFINITION_ERRORS_HANDLING&&!Object(i["A"])(t.definitionErrors))throw r=Object(i["I"])(t.definitionErrors,(function(e){return e.message})),new Error("Parser Definition Errors detected:\n "+r.join("\n-------------------------------\n"))}))},e.DEFER_DEFINITION_ERRORS_HANDLING=!1,e}();Object(i["e"])(Zn,[cn,hn,Cn,xn,Nn,An,On,Rn,Fn,Yn]);var $n=function(e){function t(t,r){void 0===r&&(r=Gn);var n=this,a=Object(i["h"])(r);return a.outputCst=!0,n=e.call(this,t,a)||this,n}return zn(t,e),t}(Zn),Jn=function(e){function t(t,r){void 0===r&&(r=Gn);var n=this,a=Object(i["h"])(r);return a.outputCst=!1,n=e.call(this,t,a)||this,n}return zn(t,e),t}(Zn);function Qn(e,t){var r=void 0===t?{}:t,i=r.resourceBase,a=void 0===i?"https://unpkg.com/chevrotain@"+n+"/diagrams/":i,o=r.css,s=void 0===o?"https://unpkg.com/chevrotain@"+n+"/diagrams/diagrams.css":o,l='\n\x3c!-- This is a generated file --\x3e\n<!DOCTYPE html>\n<meta charset="utf-8">\n<style>\n body {\n background-color: hsl(30, 20%, 95%)\n }\n</style>\n\n',u="\n<link rel='stylesheet' href='"+s+"'>\n",c="\n<script src='"+a+"vendor/railroad-diagrams.js'><\/script>\n<script src='"+a+"src/diagrams_builder.js'><\/script>\n<script src='"+a+"src/diagrams_behavior.js'><\/script>\n<script src='"+a+"src/main.js'><\/script>\n",d='\n<div id="diagrams" align="center"></div> \n',h="\n<script>\n window.serializedGrammar = "+JSON.stringify(e,null," ")+";\n<\/script>\n",p='\n<script>\n var diagramsDiv = document.getElementById("diagrams");\n main.drawDiagramsFromSerializedGrammar(serializedGrammar, diagramsDiv);\n<\/script>\n';return l+u+c+d+h+p}var ei="\n";function ti(e){return"\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['chevrotain'], factory);\n } else if (typeof module === 'object' && module.exports) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory(require('chevrotain'));\n } else {\n // Browser globals (root is window)\n root.returnExports = factory(root.b);\n }\n}(typeof self !== 'undefined' ? self : this, function (chevrotain) {\n\n"+ni(e)+"\n \nreturn {\n "+e.name+": "+e.name+" \n}\n}));\n"}function ri(e){return" \n"+ni(e)+"\nreturn new "+e.name+"(tokenVocabulary, config) \n"}function ni(e){var t="\nfunction "+e.name+"(tokenVocabulary, config) {\n // invoke super constructor\n // No support for embedded actions currently, so we can 'hardcode'\n // The use of CstParser.\n chevrotain.CstParser.call(this, tokenVocabulary, config)\n\n const $ = this\n\n "+ii(e.rules)+"\n\n // very important to call this after all the rules have been defined.\n // otherwise the parser may not work correctly as it will lack information\n // derived during the self analysis phase.\n this.performSelfAnalysis(this)\n}\n\n// inheritance as implemented in javascript in the previous decade... :(\n"+e.name+".prototype = Object.create(chevrotain.CstParser.prototype)\n"+e.name+".prototype.constructor = "+e.name+" \n ";return t}function ii(e){var t=Object(i["I"])(e,(function(e){return ai(e,1)}));return t.join("\n")}function ai(e,t){var r=fi(t,'$.RULE("'+e.name+'", function() {')+ei;return r+=pi(e.definition,t+1),r+=fi(t+1,"})")+ei,r}function oi(e,t){var r=e.terminalType.name;return fi(t,"$.CONSUME"+e.idx+"(this.tokensMap."+r+")"+ei)}function si(e,t){return fi(t,"$.SUBRULE"+e.idx+"($."+e.nonTerminalName+")"+ei)}function li(e,t){var r=fi(t,"$.OR"+e.idx+"([")+ei,n=Object(i["I"])(e.definition,(function(e){return ui(e,t+1)}));return r+=n.join(","+ei),r+=ei+fi(t,"])"+ei),r}function ui(e,t){var r=fi(t,"{")+ei;return e.name&&(r+=fi(t+1,'NAME: "'+e.name+'",')+ei),r+=fi(t+1,"ALT: function() {")+ei,r+=pi(e.definition,t+1),r+=fi(t+1,"}")+ei,r+=fi(t,"}"),r}function ci(e,t){if(e instanceof Ye)return si(e,t);if(e instanceof qe)return di("OPTION",e,t);if(e instanceof Ge)return di("AT_LEAST_ONE",e,t);if(e instanceof Ke)return di("AT_LEAST_ONE_SEP",e,t);if(e instanceof Ze)return di("MANY_SEP",e,t);if(e instanceof Xe)return di("MANY",e,t);if(e instanceof $e)return li(e,t);if(e instanceof Je)return oi(e,t);if(e instanceof We)return pi(e.definition,t);throw Error("non exhaustive match")}function di(e,t,r){var n=fi(r,"$."+(e+t.idx)+"(");return t.name||t.separator?(n+="{"+ei,t.name&&(n+=fi(r+1,'NAME: "'+t.name+'"')+","+ei),t.separator&&(n+=fi(r+1,"SEP: this.tokensMap."+t.separator.name)+","+ei),n+="DEF: "+hi(t.definition,r+2)+ei,n+=fi(r,"}")+ei):n+=hi(t.definition,r+1),n+=fi(r,")")+ei,n}function hi(e,t){var r="function() {"+ei;return r+=pi(e,t),r+=fi(t,"}")+ei,r}function pi(e,t){var r="";return Object(i["u"])(e,(function(e){r+=ci(e,t+1)})),r}function fi(e,t){var r=Array(4*e+1).join(" ");return r+t}function mi(e){var t=ri({name:e.name,rules:e.rules}),n=new Function("tokenVocabulary","config","chevrotain",t);return function(t){return n(e.tokenVocabulary,t,r("fa83"))}}function gi(e){return ti({name:e.name,rules:e.rules})}function vi(){console.warn("The clearCache function was 'soft' removed from the Chevrotain API.\n\t It performs no action other than printing this message.\n\t Please avoid using it as it will be completely removed in the future")}},faa1:function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,a=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};function o(e){console&&console.warn&&console.warn(e)}n=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=w,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 d(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function h(e,t,r,n){var i,a,s;if(c(r),a=e._events,void 0===a?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),s=a[t]),void 0===s)s=a[t]=r,++e._eventsCount;else if("function"===typeof s?s=a[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=d(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,o(l)}return e}function p(){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 f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=p.bind(n);return i.listener=r,n.wrapFn=i,i}function m(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?y(i):v(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function b(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function y(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function w(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,a),n(r)}function a(){"function"===typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}S(e,t,a,{once:!0}),"error"!==t&&_(e,i,{once:!0})}))}function _(e,t,r){"function"===typeof e.on&&S(e,"error",t,r)}function S(e,t,r,n){if("function"===typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(a){n.once&&e.removeEventListener(t,i),r(a)}))}}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 d(this)},l.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)a(l,this,t);else{var u=l.length,c=v(l,u);for(r=0;r<u;++r)a(c[r],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,f(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,f(this,e,t)),this},l.prototype.removeListener=function(e,t){var r,n,i,a,o;if(c(t),n=this._events,void 0===n)return this;if(r=n[e],void 0===r)return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():b(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,a=Object.keys(r);for(n=0;n<a.length;++n)i=a[n],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=r[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},l.prototype.listeners=function(e){return m(this,e,!0)},l.prototype.rawListeners=function(e){return m(this,e,!1)},l.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},l.prototype.listenerCount=g,l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},facd:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,a=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},fb46:function(e,t,r){"use strict";var n=r("0227"),i=r("fd18"),a=r("bef1"),o=r("4aa5"),s=r("088f"),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?l(t,r(e)):t}},fc2d:function(e,t,r){"use strict";var n=r("bf78"),i=Object;e.exports=function(e){return i(n(e))}},fc97:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9688");class i{constructor(){this._signal=n.create_abortSignal()}get signal(){return this._signal}abort(){n.abort_signalAbort(this._signal)}}t.AbortControllerImpl=i},fd18:function(e,t,r){"use strict";var n=r("48ab"),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);e.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}},fd7e:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r},week:{dow:1,doy:4}});return t}))},fda6:function(e,t,r){var n=r("8947"),i=r("4228"),a=r("e85f");function o(){return Object.keys(a)}t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=o},fdac:function(e,t,r){var n;function i(e){this.rand=e}if(e.exports=function(e){return n||(n=new i(null)),n.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=r(7);if("function"!==typeof a.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return a.randomBytes(e)}}catch(o){}},fdba:function(e,t,r){"use strict";var n=r("d128"),i=r("2b75"),a=r("a60d"),o=r("088f"),s=r("9394"),l=r("c041");t.f=n&&!i?Object.defineProperties:function(e,t){o(e);var r,n=s(t),i=l(t),u=i.length,c=0;while(u>c)a.f(e,r=i[c++],n[r]);return e}},fea4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(){this._items={},this._nullItems=[]}copy(){const e=new n;for(const t in this._items)e._items[t]=this._items[t].slice(0);return e._nullItems=this._nullItems.slice(0),e}get(e,t){const r=null===t?this._nullItems:this._items[t]||null;if(null===r)return null;let n=null;for(let i=0;i<r.length;i++)if(n=r[i],n===e)return n;return n}has(e,t){const r=null===t?this._nullItems:this._items[t]||null;return null!==r&&-1!==r.indexOf(e)}hasPrefix(e){if(-1!==this._nullItems.indexOf(e))return!0;for(const t in this._items)if(-1!==this._items[t].indexOf(e))return!0;return!1}set(e,t){const r=null===t?this._nullItems:this._items[t]||null;null!==t&&null===r?this._items[t]=[e]:r.push(e)}}t.NamespacePrefixMap=n},ff6b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r("9af8"),i=r("9688");class a{getElementById(e){let t=i.tree_getFirstDescendantNode(n.Cast.asNode(this),!1,!1,e=>n.Guard.isElementNode(e));while(null!==t){if(t._uniqueIdentifier===e)return t;t=i.tree_getNextDescendantNode(n.Cast.asNode(this),t,!1,!1,e=>n.Guard.isElementNode(e))}return null}}t.NonElementParentNodeImpl=a},ff74:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("abe7");t.FixedSizeSet=n.FixedSizeSet;var i=r("08e0");t.ObjectCache=i.ObjectCache;var a=r("d550");t.CompareCache=a.CompareCache;var o=r("6189");function s(e,t,...r){Object.getOwnPropertyNames(t.prototype).forEach(n=>{if(r.includes(n)){const t=Object.getOwnPropertyDescriptor(e.prototype,n);t&&Object.defineProperty(e.prototype,"_"+n,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&Object.defineProperty(e.prototype,n,i)})}function l(e,t,r=!1){const n=m(e||{});return c(t,(e,t)=>{T(t)?n[e]=l(n[e],t,r):(r||void 0===n[e])&&(n[e]=t)}),n}function u(e,t,r){e.forEach(t,r)}function c(e,t,r){if(E(e))e.forEach((e,n)=>t.call(r,n,e));else for(const n in e)e.hasOwnProperty(n)&&t.call(r,n,e[n])}function d(e){return S(e)?e.size:e.length}function h(e){return E(e)?e.size:Object.keys(e).length}function p(e,t){return E(e)?e.get(t):e[t]}function f(e,t){E(e)?e.delete(t):delete e[t]}function m(e){if(y(e))return e;if(_(e)){const t=[];for(const r of e)t.push(m(r));return t}if(w(e)){const t={};for(const r in e)if(e.hasOwnProperty(r)){const n=e[r];t[r]=m(n)}return t}return e}function g(e){return"boolean"===typeof e}function v(e){return"number"===typeof e}function b(e){return"string"===typeof e}function y(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function w(e){const t=typeof e;return!!e&&("function"===t||"object"===t)}function _(e){return Array.isArray(e)}function S(e){return e instanceof Set}function E(e){return e instanceof Map}function M(e){if(_(e))return!e.length;if(S(e))return!e.size;if(E(e))return!e.size;if(w(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function T(e){if(w(e)){const t=Object.getPrototypeOf(e),r=t.constructor;return t&&r&&"function"===typeof r&&r instanceof r&&Function.prototype.toString.call(r)===Function.prototype.toString.call(Object)}return!1}function C(e){return e&&"function"===typeof e[Symbol.iterator]}function x(e){return y(e.valueOf)?e.valueOf():e}function A(e){const t=new Uint8Array(4*e.length);let r=0;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i<128)t[r++]=i;else{if(i<2048)t[r++]=i>>6|192;else{if(i>55295&&i<56320){if(++n>=e.length)throw new Error("Incomplete surrogate pair.");const a=e.charCodeAt(n);if(a<56320||a>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&a),t[r++]=i>>18|240,t[r++]=i>>12&63|128}else t[r++]=i>>12|224;t[r++]=i>>6&63|128}t[r++]=63&i|128}}return t.subarray(0,r)}function N(e){let t="",r=0;while(r<e.length){var n=e[r++];if(n>127)if(n>191&&n<224){if(r>=e.length)throw new Error("Incomplete 2-byte sequence.");n=(31&n)<<6|63&e[r++]}else if(n>223&&n<240){if(r+1>=e.length)throw new Error("Incomplete 3-byte sequence.");n=(15&n)<<12|(63&e[r++])<<6|63&e[r++]}else{if(!(n>239&&n<248))throw new Error("Unknown multi-byte start.");if(r+2>=e.length)throw new Error("Incomplete 4-byte sequence.");n=(7&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++]}if(n<=65535)t+=String.fromCharCode(n);else{if(!(n<=1114111))throw new Error("Code point exceeds UTF-16 limit.");n-=65536,t+=String.fromCharCode(n>>10|55296),t+=String.fromCharCode(1023&n|56320)}}return t}t.Lazy=o.Lazy,t.applyMixin=s,t.applyDefaults=l,t.forEachArray=u,t.forEachObject=c,t.arrayLength=d,t.objectLength=h,t.getObjectValue=p,t.removeObjectValue=f,t.clone=m,t.isBoolean=g,t.isNumber=v,t.isString=b,t.isFunction=y,t.isObject=w,t.isArray=_,t.isSet=S,t.isMap=E,t.isEmpty=M,t.isPlainObject=T,t.isIterable=C,t.getValue=x,t.utf8Encode=A,t.utf8Decode=N},ffec:function(e,t,r){"use strict";function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=typeof e;if("number"===r)return!isNaN(e)&&isFinite(e);if("string"===r){if(0===e.length)return!1;if(1===e.length)return/\d/.test(e);const r=Array.from(new Set([".",...t])).map(e=>"\\"+e).join("|");return new RegExp(`^[+-]?\\s*(((${r})?\\d+((${r})\\d+)?(e[+-]?\\d+)?)|(0x[a-f\\d]+))$`,"i").test(e.trim())}return"object"===r&&(!!e&&"number"===typeof e.valueOf()&&!(e instanceof Date))}function i(e){return n(e,[","])}function a(e,t,r){let n=-1;"function"===typeof t?(r=t,t=e):n=e-1;while(++n<=t)if(!1===r(n))break}function o(e,t,r){let n=e+1;"function"===typeof t&&(r=t,t=0);while(--n>=t)if(!1===r(n))break}function s(e,t){return t=parseInt(t.toString().replace("%",""),10),t=isNaN(t)?0:t,parseInt(e*t/100,10)}function l(e,t,r){return Math.min(e,t)===e?t:Math.max(e,r)===e?r:e}r.r(t),r.d(t,"isNumeric",(function(){return n})),r.d(t,"isNumericLike",(function(){return i})),r.d(t,"rangeEach",(function(){return a})),r.d(t,"rangeEachReverse",(function(){return o})),r.d(t,"valueAccordingPercent",(function(){return s})),r.d(t,"clamp",(function(){return l}))},ffff:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
- //! moment.js locale configuration
- var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))}}]);
|